PageSourceSearch

https://drosselmeyers.com/cart/230.e431a03f0f44da79d2bd.js

js drosselmeyers.com collected 2026-09-30 22:32:54 UTC 1,482,720 bytes, 2 lines download raw bytes

1/*! For license information please see 230.e431a03f0f44da79d2bd.js.LICENSE.txt */
2(self.webpackChunkcolorme_cart=self.webpackChunkcolorme_cart||[]).push([[230],{36718:function(e,t,n){"use strict";n.r(t),n.d(t,{Breadcrumbs:function(){return vt},BrowserClient:function(){return St},BrowserProfilingIntegration:function(){return Ks},BrowserTracing:function(){return bs},Dedupe:function(){return cn},FunctionToString:function(){return a},GlobalHandlers:function(){return Wt},HttpContext:function(){return un},Hub:function(){return I},InboundFilters:function(){return d},Integrations:function(){return Xs},LinkedErrors:function(){return sn},Replay:function(){return Lo},SDK_VERSION:function(){return j},Scope:function(){return x},TryCatch:function(){return en},WINDOW:function(){return Ve},addBreadcrumb:function(){return U},addGlobalEventProcessor:function(){return C},addTracingExtensions:function(){return fe},captureEvent:function(){return V},captureException:function(){return L},captureMessage:function(){return $},captureUserFeedback:function(){return xn},chromeStackLineParser:function(){return Pt},close:function(){return wn},configureScope:function(){return B},createTransport:function(){return Re},createUserFeedbackEnvelope:function(){return Et},defaultIntegrations:function(){return fn},defaultRequestInstrumentationOptions:function(){return vs},defaultStackLineParsers:function(){return zt},defaultStackParser:function(){return qt},eventFromException:function(){return ut},eventFromMessage:function(){return ct},extractTraceparentData:function(){return Le},flush:function(){return bn},forceLoad:function(){return yn},geckoStackLineParser:function(){return jt},getActiveTransaction:function(){return Q},getCurrentHub:function(){return A},getHubFromCarrier:function(){return R},init:function(){return mn},instrumentOutgoingRequests:function(){return ys},lastEventId:function(){return vn},makeBrowserOfflineTransport:function(){return Os},makeFetchTransport:function(){return Ct},makeMain:function(){return M},makeXHRTransport:function(){return kt},onLoad:function(){return _n},onProfilingStartRouteTransaction:function(){return Ws},opera10StackLineParser:function(){return Bt},opera11StackLineParser:function(){return Ht},setContext:function(){return H},setExtra:function(){return q},setExtras:function(){return z},setTag:function(){return W},setTags:function(){return G},setUser:function(){return Y},showReportDialog:function(){return gn},spanStatusfromHttpCode:function(){return ie},startTransaction:function(){return K},trace:function(){return $e},winjsStackLineParser:function(){return $t},withScope:function(){return Z},wrap:function(){return En}});var r={};n.r(r),n.d(r,{FunctionToString:function(){return a},InboundFilters:function(){return d}});var i={};n.r(i),n.d(i,{Breadcrumbs:function(){return vt},Dedupe:function(){return cn},GlobalHandlers:function(){return Wt},HttpContext:function(){return un},LinkedErrors:function(){return sn},TryCatch:function(){return en}});var o=n(20535);let s;class a{constructor(){a.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=a.id}setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,o.HK)(this)||this;return s.apply(t,e)}}catch(e){}}}a.__initStatic();var u=n(12343),c=n(62844),l=n(57321);const p=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class d{static __initStatic(){this.id="InboundFilters"}__init(){this.name=d.id}constructor(e={}){this._options=e,d.prototype.__init.call(this)}setupOnce(e,t){const n=e=>{const n=t();if(n){const t=n.getIntegration(d);if(t){const r=n.getClient(),i=r?r.getOptions():{},o=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...p],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(t._options,i);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,c.jH)(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(`Cannot extract message for event ${(0,c.jH)(e)}`),[]}return[]}(e).some((e=>(0,l.U0)(e,t)))}(e,t.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,c.jH)(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,l.U0)(n,t)}(e,t.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,c.jH)(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=h(e);return!!n&&(0,l.U0)(n,t)}(e,t.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,c.jH)(e)}.\nUrl: ${h(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=h(e);return!n||(0,l.U0)(n,t)}(e,t.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,c.jH)(e)}.\nUrl: ${h(e)}`),!0;return!1}(e,o)?null:e}}return e};n.id=this.name,e(n)}}function h(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(`Cannot extract url for event ${(0,c.jH)(e)}`),null}}d.__initStatic();var f=n(21170),m=n(71235);const g="production";var v,y=n(67597);function _(e){return new w((t=>{t(e)}))}function b(e){return new w(((t,n)=>{n(e)}))}
2!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(v||(v={}));class w{__init(){this._state=v.PENDING}__init2(){this._handlers=[]}constructor(e){w.prototype.__init.call(this),w.prototype.__init2.call(this),w.prototype.__init3.call(this),w.prototype.__init4.call(this),w.prototype.__init5.call(this),w.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new w(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new w(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init3(){this._resolve=e=>{this._setResult(v.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(v.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{this._state===v.PENDING&&((0,y.J8)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===v.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===v.RESOLVED&&e[1](this._value),this._state===v.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function E(e){const t=(0,f.ph)(),n={sid:(0,c.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,o.Jr)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&S(n,e),n}function S(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,f.ph)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,c.DM)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}class x{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){const t=new x;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments],t._sdkProcessingMetadata={...e._sdkProcessingMetadata}),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&S(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){const t=e(this);return t instanceof x?t:this}return e instanceof x?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...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),e._requestSession&&(this._requestSession=e._requestSession)):(0,y.PO)(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,f.yW)(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const t=this._span.transaction;if(t){e.sdkProcessingMetadata={dynamicSamplingContext:t.getDynamicSamplingContext(),...e.sdkProcessingMetadata};const n=t.name;n&&(e.tags={transaction:n,...e.tags})}}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...D(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n,r=0){return new w(((i,o)=>{const s=e[r];if(null===t||"function"!=typeof s)i(t);else{const a=s({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.id&&null===a&&u.kg.log(`Event processor "${s.id}" dropped event`),(0,y.J8)(a)?a.then((t=>this._notifyEventProcessors(e,t,n,r+1).then(i))).then(null,o):this._notifyEventProcessors(e,a,n,r+1).then(i).then(null,o)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?(0,c.lE)(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function D(){return(0,m.YO)("globalEventProcessors",(()=>[]))}function C(e){D().push(e)}const T=4,k=100;class I{constructor(e,t=new x,n=T){this._version=n,this._stack=[{scope:t}],e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=x.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,c.DM)(),r=new Error("Sentry syntheticException");return this._withClient(((i,o)=>{i.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},o)})),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,c.DM)(),i=new Error(e);return this._withClient(((o,s)=>{o.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},s)})),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,c.DM)();return e.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(e,{...t,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=k}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const s={timestamp:(0,f.yW)(),...e},a=i?(0,u.Cf)((()=>i(s,t))):s;null!==a&&(r.emit&&r.emit("beforeAddBreadcrumb",a,t),n.addBreadcrumb(a,o))}setUser(e){this.getScope().setUser(e)}setTags(e){this.getScope().setTags(e)}setExtras(e){this.getScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=M(this);try{e(this)}finally{M(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);return"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||n||console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),S(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=g}=n&&n.getOptions()||{},{userAgent:o}=m.n2.navigator||{},s=E({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),a=t.getSession&&t.getSession();return a&&"ok"===a.status&&S(a,{status:"exited"}),this.endSession(),t.setSession(s),s}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){const n=O().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function O(){return m.n2.__SENTRY__=m.n2.__SENTRY__||{extensions:{},hub:void 0},m.n2}function M(e){const t=O(),n=R(t);return F(t,e),n}function A(){const e=O();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return N(e)}function N(e=O()){return P(e)&&!R(e).isOlderThan(T)||F(e,new I),R(e)}function P(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function R(e){return(0,m.YO)("hub",(()=>new I),e)}function F(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}const j="7.50.0";function L(e,t){return A().captureException(e,{captureContext:t})}function $(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return A().captureMessage(e,n,r)}function V(e,t){return A().captureEvent(e,t)}function B(e){A().configureScope(e)}function U(e){A().addBreadcrumb(e)}function H(e,t){A().setContext(e,t)}function z(e){A().setExtras(e)}function q(e,t){A().setExtra(e,t)}function G(e){A().setTags(e)}function W(e,t){A().setTag(e,t)}function Y(e){A().setUser(e)}function Z(e){A().withScope(e)}function K(e,t){return A().startTransaction({...e},t)}function J(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=A().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}var X=n(42533);function Q(e){return(e||A()).getScope().getTransaction()}let ee=!1;function te(){const e=Q();if(e){const t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}te.tag="sentry_tracingErrorCallback";class ne{__init(){this.spans=[]}constructor(e=1e3){ne.prototype.__init.call(this),this._maxlen=e}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class re{__init2(){this.traceId=(0,c.DM)()}__init3(){this.spanId=(0,c.DM)().substring(16)}__init4(){this.startTimestamp=(0,f.ph)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(e){if(re.prototype.__init2.call(this),re.prototype.__init3.call(this),re.prototype.__init4.call(this),re.prototype.__init5.call(this),re.prototype.__init6.call(this),re.prototype.__init7.call(this),!e)return this;e.traceId&&(this.traceId=e.traceId),e.spanId&&(this.spanId=e.spanId),e.parentSpanId&&(this.parentSpanId=e.parentSpanId),"sampled"in e&&(this.sampled=e.sampled),e.op&&(this.op=e.op),e.description&&(this.description=e.description),e.data&&(this.data=e.data),e.tags&&(this.tags=e.tags),e.status&&(this.status=e.status),e.startTimestamp&&(this.startTimestamp=e.startTimestamp),e.endTimestamp&&(this.endTimestamp=e.endTimestamp),e.instrumenter&&(this.instrumenter=e.instrumenter)}startChild(e){const t=new re({...e,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t),t.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.transaction){const n=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${t.transaction.name||"< unknown name >"}' (${t.transaction.spanId}).`;t.transaction.metadata.spanMetadata[t.spanId]={logMessage:n},u.kg.log(n)}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setStatus(e){return this.status=e,this}setHttpStatus(e){this.setTag("http.status_code",String(e));const t=ie(e);return"unknown_error"!==t&&this.setStatus(t),this}isSuccess(){return"ok"===this.status}finish(e){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:e}=this.transaction.metadata.spanMetadata[this.spanId];e&&u.kg.log(e.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:(0,f.ph)()}toTraceparent(){let e="";return void 0!==this.sampled&&(e=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${e}`}toContext(){return(0,o.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}getTraceContext(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function ie(e){if(e<400&&e>=100)return"ok";if(e>
2=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class oe extends re{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(e,t){super(e),oe.prototype.__init.call(this),oe.prototype.__init2.call(this),oe.prototype.__init3.call(this),this._hub=t||A(),this._name=e.name||"",this.metadata={source:"custom",...e.metadata,spanMetadata:{}},this._trimEnd=e.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}setName(e,t="custom"){this._name=e,this.metadata.source=t}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new ne(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this.metadata={...this.metadata,...e}}finish(e){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&e.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((e,t)=>e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e)).endTimestamp);const r=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}toContext(){const e=super.toContext();return(0,o.Jr)({...e,name:this.name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const e=this._hub||A(),t=e&&e.getClient();if(!t)return{};const{environment:n,release:r}=t.getOptions()||{},{publicKey:i}=t.getDsn()||{},s=this.metadata.sampleRate,a=void 0!==s?s.toString():void 0,{segment:u}=e.getScope().getUser()||{},c=this.metadata.source,l=c&&"url"!==c?this.name:void 0,p=(0,o.Jr)({environment:n||g,release:r,transaction:l,user_segment:u,public_key:i,trace_id:this.traceId,sample_rate:a});return t.emit&&t.emit("createDsc",p),p}setHub(e){this._hub=e}}const se={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},ae=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class ue extends ne{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){e.spanId!==this.transactionSpanId&&(e.finish=t=>{e.endTimestamp="number"==typeof t?t:(0,f.ph)(),this._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),super.add(e)}}class ce extends oe{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=ae[4]}constructor(e,t,n=se.idleTimeout,r=se.finalTimeout,i=se.heartbeatInterval,o=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,ce.prototype.__init.call(this),ce.prototype.__init2.call(this),ce.prototype.__init3.call(this),ce.prototype.__init4.call(this),ce.prototype.__init5.call(this),ce.prototype.__init6.call(this),o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),t.configureScope((e=>e.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=ae[3],this.finish())}),this._finalTimeout)}finish(e=(0,f.ph)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*e).toISOString(),this.op);
2for(const t of this._beforeFinishCallbacks)t(this,e);this.spanRecorder.spans=this.spanRecorder.spans.filter((t=>{if(t.spanId===this.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));const n=t.startTimestamp<e;return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),n})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.finish(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new ue(t,n,this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=ae[5],this.finish(e)))}setFinishReason(e){this._finishReason=e}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=ae[1],this.finish(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] popActivity ${e}`),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=(0,f.ph)();this._idleTimeoutCanceledPermanently?(this._finishReason=ae[5],this.finish(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=ae[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function le(){const e=this.getScope().getSpan();return e?{"sentry-trace":e.toTraceparent()}:{}}function pe(e,t,n){if(!J(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return"function"==typeof t.tracesSampler?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:void 0!==t.tracesSampleRate?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),function(e){if((0,y.i2)(e)||"number"!=typeof e&&"boolean"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1;if(e<0||e>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Given sample rate is invali
2d. Sample rate must be between 0 and 1. Got ${e}.`),!1;return!0}(r)?r?(e.sampled=Math.random()<r,e.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function de(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",o=e.instrumenter||"sentry";i!==o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(`A transaction was started with instrumenter=\`${o}\`, but the SDK is configured with the \`${i}\` instrumenter.\nThe transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let s=new oe(e,this);return s=pe(s,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),s.sampled&&s.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",s),s}function he(e,t,n,r,i,o,s){const a=e.getClient(),u=a&&a.getOptions()||{};let c=new ce(t,e,n,r,s,i);return c=pe(c,u,{parentSampled:t.parentSampled,transactionContext:t,...o}),c.sampled&&c.initSpanRecorder(u._experiments&&u._experiments.maxSpans),a&&a.emit&&a.emit("startTransaction",c),c}function fe(){const e=O();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=de),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=le),ee||(ee=!0,(0,X.oq)("error",te),(0,X.oq)("unhandledrejection",te)))}class me extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function ge(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return b(new me("Not adding Promise because buffer limit was reached."));const i=r();return-1===t.indexOf(i)&&t.push(i),i.then((()=>n(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new w(((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{_(e).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}const ve=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ye(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:u}=e;return`${a}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function _e(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function be(e){const t="string"==typeof e?function(e){const t=ve.exec(e);if(!t)throw new me(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,s="",a]=t.slice(1);let u="",c=a;const l=c.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),c=l.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return _e({host:o,pass:i,path:u,projectId:c,port:s,protocol:n,publicKey:r})}(e):_e(e);return function(e){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach((t=>{if(!e[t])throw new me(`Invalid Sentry Dsn: ${t} missing`)})),!n.match(/^\d+$/))throw new me(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(e){return"http"===e||"https"===e}(r))throw new me(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new me(`Invalid Sentry Dsn: Invalid port ${t}`)}(t),t}var we=n(88007);function Ee(e,t=[]){return[e,t]}function Se(e,t){const[n,r]=e;return[n,[...r,t]]}function xe(e,t){const n=e[1];for(const e of n){if(t(e,e[0].type))return!0}return!1}function De(e,t){return(t||new TextEncoder).encode(e)}function Ce(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(e){"string"==typeof i?i="string"==typeof e?i+e:[De(i,t),e]:i.push("string"==typeof e?De(e,t):e)}for(const e of r){const[t,n]=e;if(o(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,we.Fv)(n))}o(e)}}return"string"==typeof i?i:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(i)}function Te(e,t){const n="string"==typeof e.data?De(e.data,t):e.data;return[(0,o.Jr)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const ke={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function Ie(e){return ke[e]}function Oe(e){if(!e||!e.sdk)return;
2const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Me(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:ye(r)},...i&&{trace:(0,o.Jr)({...i})}}}const Ae=6e4;function Ne(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Ae:r-t}const Pe=30;function Re(e,t,n=ge(e.bufferSize||Pe)){let r={};function i(i){const o=[];if(xe(i,((t,n)=>{const i=Ie(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Fe(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)})),0===o.length)return _();const s=Ee(i[0],o),a=t=>{xe(s,((n,r)=>{const i=Fe(n,r);e.recordDroppedEvent(t,Ie(r),i)}))};return n.add((()=>t({body:Ce(s,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(const e of o.trim().split(",")){const[t,n]=e.split(":",2),o=parseInt(t,10),s=1e3*(isNaN(o)?60:o);if(n)for(const e of n.split(";"))i[e]=r+s;else i.all=r+s}else s?i.all=r+Ne(s,r):429===t&&(i.all=r+6e4);return i}(r,e),e)),(e=>{throw a("network_error"),e})))).then((e=>e),(e=>{if(e instanceof me)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Skipped sending event because buffer is full."),a("queue_overflow"),_();throw e}))}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function Fe(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}const je=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Le(e){const t=e.match(je);if(!e||!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function $e(e,t,n=(()=>{})){const r={...e};void 0!==r.name&&void 0===r.description&&(r.description=r.name);const i=A(),o=i.getScope(),s=o.getSpan(),a=s?s.startChild(r):i.startTransaction(r);function u(){a&&a.finish(),i.getScope().setSpan(s)}let c;o.setSpan(a);try{c=t(a)}catch(e){throw a&&a.setStatus("internal_error"),n(e),u(),e}return(0,y.J8)(c)?Promise.resolve(c).then((()=>{u()}),(e=>{a&&a.setStatus("internal_error"),n(e),u()})):u(),c}const Ve=m.n2;let Be=0;function Ue(){return Be>0}function He(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,o.HK)(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>He(e,t)));return e.apply(this,i)}catch(e){throw Be++,setTimeout((()=>{Be--})),Z((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,c.Db)(e,void 0,void 0),(0,c.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),L(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,o.$Q)(r,e),(0,o.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch(e){}return r}const ze="7";function qe(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Ge(e,t={}){const n="string"==typeof t?t:t.tunnel,r="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${qe(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,o._j)({sentry_key:e.publicKey,sentry_version:ze,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,r)}`}const We=[];function Ye(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,c.lE)(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(r),o=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(i,(e=>"Debug"===e.name));if(-1!==o){const[e]=i.splice(o,1);i.push(e)}return i}function Ze(e,t){t[e.name]=e,-1===We.indexOf(e.name)&&(e.setupOnce(C,A),We.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`Integration installed: ${e.name}`))}function Ke(e,t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}
2=e,s={...t,event_id:t.event_id||n.event_id||(0,c.DM)(),timestamp:t.timestamp||(0,f.yW)()},a=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:g);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=(0,l.$G)(e.message,o));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,l.$G)(s.value,o));const a=e.request;a&&a.url&&(a.url=(0,l.$G)(a.url,o))}(s,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(s,a),void 0===t.type&&function(e,t){const n=m.n2._sentryDebugIds;if(!n)return;let r;const i=Je.get(t);i?r=i:(r=new Map,Je.set(t,r));const o=Object.keys(n).reduce(((e,i)=>{let o;const s=r.get(i);s?o=s:(o=t(i),r.set(i,o));for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.filename){e[r.filename]=n[i];break}}return e}),{}),s=new Set;try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&s.add(e.filename)}))}))}catch(e){}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const a=e.debug_meta.images;s.forEach((e=>{o[e]&&a.push({type:"sourcemap",code_file:e,debug_id:o[e]})}))}(s,e.stackParser);let u=r;n.captureContext&&(u=x.clone(u).update(n.captureContext));let p=_(s);if(u){if(u.getAttachments){const e=[...n.attachments||[],...u.getAttachments()];e.length&&(n.attachments=e)}p=u.applyToEvent(s,n)}return p.then((e=>"number"==typeof i&&i>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,we.Fv)(e.data,t,n)}})))},...e.user&&{user:(0,we.Fv)(e.user,t,n)},...e.contexts&&{contexts:(0,we.Fv)(e.contexts,t,n)},...e.extra&&{extra:(0,we.Fv)(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,we.Fv)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=(0,we.Fv)(e.data,t,n)),e))));return r}(e,i,o):e))}const Je=new WeakMap;const Xe="Not capturing exception because it's already been captured.";class Qe{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(e){if(Qe.prototype.__init.call(this),Qe.prototype.__init2.call(this),Qe.prototype.__init3.call(this),Qe.prototype.__init4.call(this),Qe.prototype.__init5.call(this),this._options=e,e.dsn){this._dsn=be(e.dsn);const t=Ge(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("No DSN provided, client will not do anything.")}captureException(e,t,n){if((0,c.YO)(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(Xe));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let i=n&&n.event_id;const o=(0,y.pt)(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(o.then((e=>this._captureEvent(e,n,r))).then((e=>{i=e}))),i}captureEvent(e,t,n){if(t&&t.originalException&&(0,c.YO)(t.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(Xe));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),S(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;
2return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):_(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(e){const t={};return e.forEach((e=>{e&&Ze(e,t)})),t}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){Ze(e,this._integrations)}sendEvent(e,t={}){if(this._dsn){let n=function(e,t,n,r){const i=Oe(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const s=Me(e,i,r,t);return delete e.sdkProcessingMetadata,Ee(s,[[{type:o},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=Se(n,Te(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}}sendSession(e){if(this._dsn){const t=function(e,t,n,r){const i=Oe(n);return Ee({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&{dsn:ye(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(S(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new w((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(e,t,n){const r=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),Ke(r,e,t,n)}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=e;"log"===t.logLevel?u.kg.log(t.message):u.kg.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r;if(!this._isEnabled())return b(new me("SDK not enabled, will not capture event.","log"));const o=tt(e),s=et(e),a=e.type||"error",u=`before send for type \`${a}\``;if(s&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),b(new me(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const c="replay_event"===a?"replay":a;return this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,e),new me("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(et(t)&&r)return r(t,n);if(tt(t)&&i)return i(t,n);return t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,y.J8)(e))return e.then((e=>{if(!(0,y.PO)(e)&&null!==e)throw new me(n);return e}),(e=>{throw new me(`${t} rejected with ${e}`)}));if(!(0,y.PO)(e)&&null!==e)throw new me(n);return e}(i,u)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",c,e),new me(`${u} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const s=r.transaction_info;if(o&&s&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...s,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof me)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new me(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}
2_sendEnvelope(e){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",e),this._transport.send(e).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Error while sending event:",e)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function et(e){return void 0===e.type}function tt(e){return"transaction"===e.type}var nt=n(57816);function rt(e,t){const n=ot(e,t),r={type:t&&t.name,value:at(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function it(e,t){return{exception:{values:[rt(e,t)]}}}function ot(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(st.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}const st=/Minified React error #\d+;/i;function at(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function ut(e,t,n,r){const i=lt(e,t,n&&n.syntheticException||void 0,r);return(0,c.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),_(i)}function ct(e,t,n="info",r,i){const o=pt(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),_(o)}function lt(e,t,n,r,i){let s;if((0,y.VW)(t)&&t.error){return it(e,t.error)}if((0,y.TX)(t)||(0,y.fm)(t)){const i=t;if("stack"in t)s=it(e,t);else{const t=i.name||((0,y.TX)(i)?"DOMError":"DOMException"),o=i.message?`${t}: ${i.message}`:t;s=pt(e,o,n,r),(0,c.Db)(s,o)}return"code"in i&&(s.tags={...s.tags,"DOMException.code":`${i.code}`}),s}if((0,y.VZ)(t))return it(e,t);if((0,y.PO)(t)||(0,y.cO)(t)){return s=function(e,t,n,r){const i=A().getClient(),s=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:(0,y.cO)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${(0,o.zf)(t)}`}]},extra:{__serialized__:(0,we.Qy)(t,s)}};if(n){const t=ot(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,i),(0,c.EG)(s,{synthetic:!0}),s}return s=pt(e,t,n,r),(0,c.Db)(s,`${t}`,void 0),(0,c.EG)(s,{synthetic:!0}),s}function pt(e,t,n,r){const i={message:t};if(r&&n){const r=ot(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}return i}var dt=n(58464),ht=n(16547);function ft(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const mt=1024,gt="Breadcrumbs";class vt{static __initStatic(){this.id=gt}__init(){this.name=vt.id}constructor(e){vt.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){this.options.console&&(0,X.oq)("console",yt),this.options.dom&&(0,X.oq)("dom",function(e){function t(t){let n,r="object"==typeof e?e.serializeAttribute:void 0,i="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;i&&i>mt&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=mt),"string"==typeof r&&(r=[r]);try{const e=t.event;n=function(e){return e&&!!e.target}(e)?(0,dt.Rt)(e.target,{keyAttrs:r,maxStringLength:i}):(0,dt.Rt)(e,{keyAttrs:r,maxStringLength:i})}catch(e){n="<unknown>"}0!==n.length&&A().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&(0,X.oq)("xhr",_t),this.options.fetch&&(0,X.oq)("fetch",bt),this.options.history&&(0,X.oq)("history",wt)}addSentryBreadcrumb(e){this.options.sentry&&A().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,c.jH)(e)},{event:e})}}function yt(e){for(let t=0;t<e.args.length;t++)if("ref=Ref<"===e.args[t]){e.args[t+1]="viewRef";break}const t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,ht.VT)(e.level),message:(0,l.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message=`Assertion failed: ${(0,l.nK)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1)}A().addBreadcrumb(t,{input:e.args,level:e.level})}function _t(e){const{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[X.xU];if(!t||!n||!r)return;const{method:i,url:o,status_code:s,body:a}=r,u={method:i,url:o,status_code:s},c={xhr:e.xhr,input:a,startTimestamp:t,endTimestamp:n};A().addBreadcrumb({category:"xhr",data:u,type:"http"},c)}function bt(e){const{startTimestamp:t,endTimestamp:n}=e;
2if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){const r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n};A().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else{const r={...e.fetchData,status_code:e.response&&e.response.status},i={input:e.args,response:e.response,startTimestamp:t,endTimestamp:n};A().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}}function wt(e){let t=e.from,n=e.to;const r=ft(Ve.location.href);let i=ft(t);const o=ft(n);i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),A().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}function Et(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:ye(r)}},o=function(e){return[{type:"user_report"},e]}(e);return Ee(i,[o])}vt.__initStatic();class St extends Qe{constructor(e){const t=Ve.SENTRY_SDK_SOURCE||(0,nt.S)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:j}],version:j},super(e),e.sendClientReports&&Ve.document&&Ve.document.addEventListener("visibilitychange",(()=>{"hidden"===Ve.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return ut(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return ct(this._options.stackParser,e,t,n,this._options.attachStacktrace)}sendEvent(e,t){const n=this.getIntegrationById(gt);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(e),super.sendEvent(e,t)}captureUserFeedback(e){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("SDK not enabled, will not capture user feedback."));const t=Et(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("Sending outcomes:",e);const t=(n=e,Ee((r=this._options.tunnel&&ye(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||(0,f.yW)(),discarded_events:n}]]));var n,r,i;this._sendEnvelope(t)}}var xt=n(8823);let Dt;function Ct(e,t=function(){if(Dt)return Dt;if((0,xt.Du)(Ve.fetch))return Dt=Ve.fetch.bind(Ve);const e=Ve.document;let t=Ve.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Dt=t.bind(Ve)}()){let n=0,r=0;return Re(e,(function(i){const o=i.body.length;n+=o,r++;const s={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,s).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Dt=void 0,n-=o,r--,b(e)}}))}const Tt=4;function kt(e){return Re(e,(function(t){return new w(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===Tt&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)}))}))}var It=n(30360);const Ot="?";
2function Mt(e,t,n,r){const i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const At=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Nt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Pt=[30,e=>{const t=At.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=Nt.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Gt(t[1]||Ot,t[2]);return Mt(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Rt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ft=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,jt=[50,e=>{const t=Rt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ft.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Ot;return[n,e]=Gt(n,e),Mt(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Lt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,$t=[40,e=>{const t=Lt.exec(e);return t?Mt(t[2],t[1]||Ot,+t[3],t[4]?+t[4]:void 0):void 0}],Vt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Bt=[10,e=>{const t=Vt.exec(e);return t?Mt(t[2],t[3]||Ot,+t[1]):void 0}],Ut=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Ht=[20,e=>{const t=Ut.exec(e);return t?Mt(t[5],t[3]||t[4]||Ot,+t[1],+t[2]):void 0}],zt=[Pt,jt,$t],qt=(0,It.pE)(...zt),Gt=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Ot,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class Wt{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Wt.id}__init2(){this._installFunc={onerror:Yt,onunhandledrejection:Zt}}constructor(e){Wt.prototype.__init.call(this),Wt.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`Global Handler attached: ${t}`),r(),this._installFunc[n]=void 0)}var t}}function Yt(){(0,X.oq)("error",(e=>{const[t,n,r]=Xt();if(!t.getIntegration(Wt))return;const{msg:i,url:o,line:s,column:a,error:u}=e;if(Ue()||u&&u.__sentry_own_request__)return;const c=void 0===u&&(0,y.HD)(i)?function(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=(0,y.VW)(e)?e.message:e,s="Error";const a=o.match(i);a&&(s=a[1],o=a[2]);const u={exception:{values:[{type:s,value:o}]}};return Kt(u,t,n,r)}(i,o,s,a):Kt(lt(n,u||i,void 0,r,!1),o,s,a);c.level="error",Jt(t,u,c,"onerror")}))}function Zt(){(0,X.oq)("unhandledrejection",(e=>{const[t,n,r]=Xt();if(!t.getIntegration(Wt))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(e){}if(Ue()||i&&i.__sentry_own_request__)return!0;const o=(0,y.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:lt(n,i,void 0,r,!0);o.level="error",Jt(t,i,o,"onunhandledrejection")}))}function Kt(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,y.HD)(t)&&t.length>0?t:(0,dt.l4)();return 0===u.length&&u.push({colno:c,filename:p,function:"?",in_app:!0,lineno:l}),e}function Jt(e,t,n,r){(0,c.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Xt(){const e=A(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}Wt.__initStatic();const Qt=["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"];class en{static __initStatic(){this.id="TryCatch"}__init(){this.name=en.id}constructor(e){en.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&(0,o.hl)(Ve,"setTimeout",tn),this._options.setInterval&&(0,o.hl)(Ve,"setInterval",tn),this._options.requestAnimationFrame&&(0,o.hl)(Ve,"requestAnimationFrame",nn),this._options.XMLHttpRequest&&"XMLHttpRequest"in Ve&&(0,o.hl)(XMLHttpRequest.prototype,"send",rn);const e=this._options.eventTarget;if(e){(Array.isArray(e)?e:Qt).forEach(on)}}}function tn(e){return function(...t){const n=t[0];return t[0]=He(n,{mechanism:{data:{function:(0,It.$P)(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function nn(e){return function(t){return e.apply(this,[He(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,It.$P)(e)},handled:!0,type:"instrument"}})])}}function rn(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,o.hl)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,It.$P)(t)},handled:!0,type:"instrument"}},r=(0,o.HK)(t);return r&&(n.mechanism.data.handler=(0,It.$P)(r)),He(t,n)}
2))})),e.apply(this,t)}}function on(e){const t=Ve,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.hl)(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=He(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,It.$P)(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,He(r,{mechanism:{data:{function:"addEventListener",handler:(0,It.$P)(r),target:e},handled:!0,type:"instrument"}}),i])}})),(0,o.hl)(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}en.__initStatic();class sn{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=sn.id}constructor(e={}){sn.prototype.__init.call(this),this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){const e=A().getClient();e&&C(((t,n)=>{const r=A().getIntegration(sn);return r?function(e,t,n,r,i){if(!(r.exception&&r.exception.values&&i&&(0,y.V9)(i.originalException,Error)))return r;const o=an(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}(e.getOptions().stackParser,r._key,r._limit,t,n):t}))}}function an(e,t,n,r,i=[]){if(!(0,y.V9)(n[r],Error)||i.length+1>=t)return i;const o=rt(e,n[r]);return an(e,t,n[r],r,[o,...i])}sn.__initStatic();class un{constructor(){un.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=un.id}setupOnce(){C((e=>{if(A().getIntegration(un)){if(!Ve.navigator&&!Ve.location&&!Ve.document)return e;const t=e.request&&e.request.url||Ve.location&&Ve.location.href,{referrer:n}=Ve.document||{},{userAgent:r}=Ve.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};return{...e,request:o}}return e}))}}un.__initStatic();class cn{constructor(){cn.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=cn.id}setupOnce(e,t){const n=e=>{if(e.type)return e;const n=t().getIntegration(cn);if(n){try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!pn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=dn(t),r=dn(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!pn(e,t))return!1;if(!ln(e,t))return!1;return!0}(e,t))return!0;return!1}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function ln(e,t){let n=hn(e),r=hn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function pn(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function dn(e){return e.exception&&e.exception.values&&e.exception.values[0]}function hn(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}cn.__initStatic();const fn=[new d,new a,new en,new vt,new Wt,new sn,new cn,new un];function mn(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=fn),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),Ve.SENTRY_RELEASE&&Ve.SENTRY_RELEASE.id&&(e.release=Ve.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,It.Sq)(e.stackParser||qt),integrations:Ye(e),transport:e.transport||((0,xt.Ak)()?Ct:kt)};!function(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?u.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=A();n.getScope().update(t.initialScope);const r=new e(t);n.bindClient(r)}(St,t),e.autoSessionTracking&&function(){if(void 0===Ve.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Session tracking in non-browser environment with @
2sentry/browser is not supported."));const e=A();if(!e.captureSession)return;Sn(e),(0,X.oq)("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&Sn(A())}))}()}function gn(e={},t=A()){if(!Ve.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("DSN not configured for showReportDialog call"));r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=Ve.document.createElement("script");o.async=!0,o.src=function(e,t){const n=be(e),r=`${qe(n)}embed/error-page/`;let i=`dsn=${ye(n)}`;for(const e in t)if("dsn"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${i}`}(i,e),e.onLoad&&(o.onload=e.onLoad);const s=Ve.document.head||Ve.document.body;s?s.appendChild(o):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Not injecting report dialog. No injection point found in HTML")}function vn(){return A().lastEventId()}function yn(){}function _n(e){e()}function bn(e){const t=A().getClient();return t?t.flush(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Cannot flush events. No client defined."),_(!1))}function wn(e){const t=A().getClient();return t?t.close(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Cannot flush events and disable SDK. No client defined."),_(!1))}function En(e){return He(e)()}function Sn(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function xn(e){const t=A().getClient();t&&t.captureUserFeedback(e)}var Dn=n(61422);const Cn=m.n2,Tn="sentryReplaySession",kn="replay_event",In="Unable to send Replay",On=15e4,Mn=5e3;var An;function Nn(e){const t=null==e?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function Pn({maskInputOptions:e,tagName:t,type:n}){"option"===t.toLowerCase()&&(t="select");const r="string"==typeof n?n.toLowerCase():void 0;return e[t.toLowerCase()]||r&&e[r]||"password"===r||"input"===t&&!n&&e.text}function Rn({input:e,maskInputSelector:t,unmaskInputSelector:n,maskInputOptions:r,tagName:i,type:o,value:s,maskInputFn:a}){let u=s||"";return n&&e.matches(n)||(e.hasAttribute("rr_is_password")&&(o="password"),(Pn({maskInputOptions:r,tagName:i,type:o})||t&&e.matches(t))&&(u=a?a(u):"*".repeat(u.length))),u}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(An||(An={}));const Fn="__rrweb_original__";let jn=1;const Ln=new RegExp("[^a-z0-9-_:]"),$n=-2;function Vn(e){return e?e.replace(/[\S]/g,"*"):""}function Bn(e){try{const t=e.rules||e.cssRules;return t?Array.from(t).map(Un).join(""):null}catch(e){return null}}function Un(e){let t=e.cssText;if(function(e){return"styleSheet"in e}(e))try{t=Bn(e.styleSheet)||t}catch(e){}return t}let Hn,zn;const qn=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Gn=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,Wn=/^(data:)([^,]*),(.*)/i;function Yn(e,t){return(e||"").replace(qn,((e,n,r,i,o,s)=>{const a=r||o||s,u=n||i||"";if(!a)return e;if(!Gn.test(a))return`url(${u}${a}${u})`;if(Wn.test(a))return`url(${u}${a}${u})`;if("/"===a[0])return`url(${u}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${u})`;const c=t.split("/"),l=a.split("/");c.pop();for(const e of l)"."!==e&&(".."===e?c.pop():c.push(e));return`url(${u}${c.join("/")}${u})`}))}const Zn=/^[^ \t\n\r\u000c]+/,Kn=/^[, \t\n\r\u000c]+/;function Jn(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function Xn(){const e=document.createElement("a");return e.href="",e.href}function Qn(e,t,n,r,i,o,s,a){if(!i)return i;const u=r.toLowerCase(),c=n.toLowerCase();return"src"===u||"href"===u||"xlink:href"===u&&"#"!==i[0]?Jn(e,i):"background"!==u||"table"!==c&&"td"!==c&&"th"!==c?"srcset"===u?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(Kn),!(n>=t.length);
2){let o=r(Zn);if(","===o.slice(-1))o=Jn(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=Jn(e,o);let s=!1;for(;;){let e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(s)")"===e&&(s=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(s=!0)}r+=e,n+=1}}}return i.join(", ")}(e,i):"style"===u?Yn(i,Xn()):"object"===c&&"data"===u?Jn(e,i):o&&function(e,t,n,r){if(r&&e.matches(r))return!1;return["placeholder","title","aria-label"].indexOf(t)>-1||"input"===n&&"value"===t&&e.hasAttribute("type")&&["submit","button"].indexOf(e.getAttribute("type").toLowerCase())>-1}(t,u,c,s)?a?a(i):Vn(i):i:Jn(e,i)}function er(e,t,n,r,i){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return er(e.parentNode,t,n,r,i);if(r&&(e.matches(r)||e.closest(r)))return!1;if(i)return!0;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!(!n||!e.matches(n))||er(e.parentNode,t,n,r,i)}function tr(e,t){var n;const{doc:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:u,unmaskTextSelector:c,inlineStylesheet:l,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:f={},maskTextFn:m,maskInputFn:g,dataURLOptions:v={},inlineImages:y,recordCanvas:_,keepIframeSrcFn:b}=t;let w;if(r.__sn){const e=r.__sn.id;w=1===e?void 0:e}switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:An.Document,childNodes:[],compatMode:e.compatMode,rootId:w}:{type:An.Document,childNodes:[],rootId:w};case e.DOCUMENT_TYPE_NODE:return{type:An.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:const t=function(e,t,n,r){if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!!n&&e.matches(n)}(e,i,o,s),x=function(e){if(e instanceof HTMLFormElement)return"form";const t=e.tagName.toLowerCase().trim();return Ln.test(t)?"div":t}(e);let D={};for(const{name:t,value:n}of Array.from(e.attributes))ir(x,t)||(D[t]=Qn(r,e,x,t,n,h,c,m));if("link"===x&&l){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let n=null;t&&(n=Bn(t)),n&&(delete D.rel,delete D.href,D._cssText=Yn(n,t.href))}if("style"===x&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=Bn(e.sheet);t&&(D._cssText=Yn(t,Xn()))}if("input"===x||"textarea"===x||"select"===x||"option"===x){const t=e,n=function(e,t,n){if("input"===e&&("radio"===n.type||"checkbox"===n.type))return t.getAttribute("value")||"";return t.value}(x,t,D),r=e.checked;"submit"!==D.type&&"button"!==D.type&&n&&(D.value=Rn({input:t,type:D.type,tagName:x,value:n,maskInputSelector:p,unmaskInputSelector:d,maskInputOptions:f,maskInputFn:g})),r&&(D.checked=r)}if("option"===x&&(e.selected&&!f.select?D.selected=!0:delete D.selected),"canvas"===x&&_)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,o=Fn in i?i[Fn]:i;if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(D.rr_dataURL=e.toDataURL(v.type,v.quality));else if(!("__context"in e)){const t=e.toDataURL(v.type,v.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(v.type,v.quality)&&(D.rr_dataURL=t)}if("img"===x&&y){Hn||(Hn=r.createElement("canvas"),zn=Hn.getContext("2d"));const t=e,n=t.crossOrigin;t.crossOrigin="anonymous";const i=()=>{try{Hn.width=t.naturalWidth,Hn.height=t.naturalHeight,zn.drawImage(t,0,0),D.rr_dataURL=Hn.toDataURL(v.type,v.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}n?D.crossOrigin=n:delete D.crossOrigin};t.complete&&0!==t.naturalWidth?i():t.onload=i}if("audio"!==x&&"video"!==x||(D.rr_mediaState=e.paused?"paused":"played",D.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(D.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(D.rr_scrollTop=e.scrollTop),t){const{width:t,height:n}=e.getBoundingClientRect();D={class:D.class,rr_width:`${t}px`,rr_height:`${n}px`}}return"iframe"!==x||b(D.src)||(e.contentDocument||(D.rr_src=D.src),delete D.src),{type:An.Element,tagName:x,attributes:D,childNodes:[],isSVG:(S=e,Boolean("svg"===S.tagName||S.ownerSVGElement)||void 0),needBlock:t,rootId:w};case e.TEXT_NODE:const C=e.parentNode&&e.parentNode.tagName;let T=e.textContent;
2const k="STYLE"===C||void 0,I="SCRIPT"===C||void 0;if(k&&T){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(T=(E=e.parentNode.sheet).cssRules?Array.from(E.cssRules).map((e=>e.cssText||"")).join(""):"")}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}T=Yn(T,Xn())}if(I&&(T="SCRIPT_PLACEHOLDER"),"TEXTAREA"===C&&T)T="";else if("OPTION"===C&&T){T=Rn({input:e.parentNode,type:null,tagName:C,value:T,maskInputSelector:p,unmaskInputSelector:d,maskInputOptions:f,maskInputFn:g})}else!k&&!I&&er(e,a,u,c,h)&&T&&(T=m?m(T):Vn(T));return{type:An.Text,textContent:T||"",isStyle:k,rootId:w};case e.CDATA_SECTION_NODE:return{type:An.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:An.Comment,textContent:e.textContent||"",rootId:w};default:return!1}var E,S}function nr(e){return null==e?"":e.toLowerCase()}function rr(e,t){const{doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:u,unmaskTextSelector:c,skipChild:l=!1,inlineStylesheet:p=!0,maskInputSelector:d,unmaskInputSelector:h,maskAllText:f,maskInputOptions:m={},maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:_={},inlineImages:b=!1,recordCanvas:w=!1,onSerialize:E,onIframeLoad:S,iframeLoadTimeout:x=5e3,keepIframeSrcFn:D=(()=>!1)}=t;let{preserveWhiteSpace:C=!0}=t;const T=tr(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:u,unmaskTextSelector:c,inlineStylesheet:p,maskInputSelector:d,unmaskInputSelector:h,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:v,dataURLOptions:_,inlineImages:b,recordCanvas:w,keepIframeSrcFn:D});if(!T)return console.warn(e,"not serialized"),null;let k;k="__sn"in e?e.__sn.id:!function(e,t){if(t.comment&&e.type===An.Comment)return!0;if(e.type===An.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(nr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===nr(e.attributes.name)||"icon"===nr(e.attributes.rel)||"apple-touch-icon"===nr(e.attributes.rel)||"shortcut icon"===nr(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&nr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(nr(e.attributes.property).match(/^(og|twitter|fb):/)||nr(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===nr(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===nr(e.attributes.name)||"googlebot"===nr(e.attributes.name)||"bingbot"===nr(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===nr(e.attributes.name)||"generator"===nr(e.attributes.name)||"framework"===nr(e.attributes.name)||"publisher"===nr(e.attributes.name)||"progid"===nr(e.attributes.name)||nr(e.attributes.property).match(/^article:/)||nr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===nr(e.attributes.name)||"yandex-verification"===nr(e.attributes.name)||"csrf-token"===nr(e.attributes.name)||"p:domain_verify"===nr(e.attributes.name)||"verify-v1"===nr(e.attributes.name)||"verification"===nr(e.attributes.name)||"shopify-checkout-api-token"===nr(e.attributes.name)))return!0}}return!1}(T,y)&&(C||T.type!==An.Text||T.isStyle||T.textContent.replace(/^\s+|\s+$/gm,"").length)?jn++:$n;const I=Object.assign(T,{id:k});if(e.__sn=I,k===$n)return null;r[k]=e,E&&E(e);let O=!l;if(I.type===An.Element&&(O=O&&!I.needBlock,delete I.needBlock,e.shadowRoot&&(I.isShadowHost=!0)),(I.type===An.Document||I.type===An.Element)&&O){y.headWhitespace&&T.type===An.Element&&"head"===T.tagName&&(C=!1);const t={doc:n,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:u,unmaskTextSelector:c,skipChild:l,inlineStylesheet:p,maskInputSelector:d,unmaskInputSelector:h,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:C,onSerialize:E,onIframeLoad:S,iframeLoadTimeout:x,keepIframeSrcFn:D};for(const n of Array.from(e.childNodes)){const e=rr(n,t);e&&I.childNodes.push(e)}
2if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const e=rr(n,t);e&&(e.isShadow=!0,I.childNodes.push(e))}}return e.parentNode&&Nn(e.parentNode)&&(I.isShadow=!0),I.type===An.Element&&"iframe"===I.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(e){return}if("complete"!==i){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const s="about:blank";r.location.href===s&&e.src!==s&&""!==e.src?e.addEventListener("load",t):setTimeout(t,0)}(e,(()=>{const t=e.contentDocument;if(t&&S){const n=rr(t,{doc:t,map:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:a,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:p,maskInputSelector:d,unmaskInputSelector:h,maskAllText:f,maskInputOptions:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:_,inlineImages:b,recordCanvas:w,preserveWhiteSpace:C,onSerialize:E,onIframeLoad:S,iframeLoadTimeout:x,keepIframeSrcFn:D});n&&S(e,n)}}),x),I}function ir(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}var or,sr,ar,ur,cr,lr;function pr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}!function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"}(or||(or={})),function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"}(sr||(sr={})),function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"}
2(ar||(ar={})),function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"}(ur||(ur={})),function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"}(cr||(cr={})),function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"}(lr||(lr={}));const dr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let hr={map:{},getId(){return console.error(dr),-1},getNode(){return console.error(dr),null},removeNodeFromMap(){console.error(dr)},has(){return console.error(dr),!1},reset(){console.error(dr)}};function fr(e,t,n={}){let r=null,i=0;return function(o){let s=Date.now();i||!1!==n.leading||(i=s);let a=t-(s-i),u=this,c=arguments;a<=0||a>t?(r&&(clearTimeout(r),r=null),i=s,e.apply(u,c)):r||!1===n.trailing||(r=setTimeout((()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(u,c)}),a))}}function mr(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>mr(e,t,o||{},!0)}function gr(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}function vr(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function yr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function _r(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){let i=!1;const o=r&&e.matches(r);return"string"==typeof t?i=void 0!==e.closest?!o&&null!==e.closest("."+t):!o&&e.classList.contains(t):!o&&e.classList.forEach((e=>{t.test(e)&&(i=!0)})),!i&&n&&(i=e.matches(n)),!o&&i||_r(e.parentNode,t,n,r)}return e.nodeType,e.TEXT_NODE,_r(e.parentNode,t,n,r)}function br(e){return"__sn"in e&&e.__sn.id===$n}function wr(e,t){if(Nn(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||wr(e.parentNode,t))}function Er(e){return Boolean(e.changedTouches)}function Sr(e){return"__sn"in e&&(e.__sn.type===An.Element&&"iframe"===e.__sn.tagName)}function xr(e){return Boolean(null==e?void 0:e.shadowRoot)}function Dr(e){return"__ln"in e}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(hr=new Proxy(hr,{get(e,t,n){return"map"===t&&console.error(dr),Reflect.get(e,t,n)}}));class Cr{constructor(){this.length=0,this.head=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Dr(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Dr(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next&&(t.next.previous=t.previous)):(this.head=t.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}const Tr=(e,t)=>`${e}@${t}`;function kr(e){return"__sn"in e}class Ir{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>
2{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Cr,n=e=>{let t=e,n=$n;for(;n===$n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},r=r=>{var i,o,s,a,u;const c=r.getRootNode?null===(i=r.getRootNode())||void 0===i?void 0:i.host:null;let l=c;for(;null===(s=null===(o=null==l?void 0:l.getRootNode)||void 0===o?void 0:o.call(l))||void 0===s?void 0:s.host;)l=(null===(u=null===(a=null==l?void 0:l.getRootNode)||void 0===a?void 0:a.call(l))||void 0===u?void 0:u.host)||null;const p=!(this.doc.contains(r)||l&&this.doc.contains(l));if(!r.parentNode||p)return;const d=Nn(r.parentNode)?this.mirror.getId(c):this.mirror.getId(r.parentNode),h=n(r);if(-1===d||-1===h)return t.addNode(r);let f=rr(r,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Sr(e)&&this.iframeManager.addIframe(e),xr(r)&&this.shadowDomManager.addShadowRoot(r.shadowRoot,document)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)}});f&&e.push({parentId:d,nextId:h,node:f})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Mr(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||r(e);for(const e of this.addedSet)Ar(this.droppedSet,e)||Mr(this.removes,e,this.mirror)?Ar(this.movedSet,e)?r(e):this.droppedSet.add(e):r(e);let i=null;for(;t.length;){let e=null;if(i){const t=this.mirror.getId(i.value.parentNode),r=n(i.value);-1!==t&&-1!==r&&(e=i)}if(!e)for(let r=t.length-1;r>=0;r--){const i=t.get(r);if(i){const t=this.mirror.getId(i.value.parentNode),r=n(i.value);if(-1!==t&&-1!==r){e=i;break}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}i=e.previous,t.removeNode(e.value),r(e.value)}const o={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>({id:this.mirror.getId(e.node),attributes:e.attributes}))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!br(e.target))switch(e.type){case"characterData":{const t=e.target.textContent;_r(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||t===e.oldValue||this.texts.push({value:er(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=t.getAttribute(e.attributeName);if("value"===e.attributeName&&(n=Rn({input:t,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:t.getAttribute("type"),value:n,maskInputFn:this.maskInputFn})),_r(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||n===e.oldValue)return;let r=this.attributes.find((t=>t.node===e.target));if(r||(r={node:e.target,attributes:{}},this.attributes.push(r)),"type"===e.attributeName&&"INPUT"===e.target.tagName&&"password"===(e.oldValue||"").toLowerCase()&&e.target.setAttribute("rr_is_password","true"),"style"===e.attributeName){const n=this.doc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue),void 0!==r.attributes.style&&null!==r.attributes.style||(r.attributes.style={});try{const e=r.attributes.style;for(const r of Array.from(t.style)){const i=t.style.getPropertyValue(r),o=t.style.getPropertyPriority(r);i===n.style.getPropertyValue(r)&&o===n.style.getPropertyPriority(r)||(e[r]=""===o?i:[i,o]
2)}for(const r of Array.from(n.style))""===t.style.getPropertyValue(r)&&(e[r]=!1)}catch(e){console.warn("[rrweb] Error when parsing update to style attribute:",e)}}else{const t=e.target;r.attributes[e.attributeName]=Qn(this.doc,t,t.tagName,e.attributeName,n,this.maskAllText,this.unmaskTextSelector,this.maskTextFn)}break}case"childList":e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=Nn(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);_r(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||br(t)||(this.addedSet.has(t)?(Or(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||wr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Tr(n,r)]?Or(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!Nn(e.target)||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!t||!_r(t,this.blockClass,this.blockSelector,this.unblockSelector)){if(kr(e)){if(br(e))return;this.movedSet.add(e);let n=null;t&&kr(t)&&(n=t.__sn.id),n&&(this.movedMap[Tr(e.__sn.id,n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);_r(e,this.blockClass,this.blockSelector,this.unblockSelector)||e.childNodes.forEach((e=>this.genAdds(e)))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Or(e,t){e.delete(t),t.childNodes.forEach((t=>Or(e,t)))}function Mr(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return!!e.some((e=>e.id===i))||Mr(e,r,n)}function Ar(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||Ar(e,n))}const Nr=e=>(...t)=>{try{return e(...t)}catch(e){try{e.__rrweb__=!0}catch(e){}throw e}},Pr=[];function Rr(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Fr(e,t){var n,r;const i=new Ir;Pr.push(i),i.init(e);let o=window.MutationObserver||window.__rrMutationObserver;const s=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");s&&window[s]&&(o=window[s]);const a=new o(Nr((t=>{e.onMutation&&!1===e.onMutation(t)||i.processMutations(t)})));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function jr({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,u=[];return Object.keys(ar).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((s=>{const a=s.toLowerCase(),c=Nr((t=>s=>{const a=Rr(s);if(_r(a,r,i,o))return;const u=Er(s)?s.changedTouches[0]:s;if(!u)return;const c=n.getId(a),{clientX:l,clientY:p}=u;Nr(e)({type:ar[t],id:c,x:l,y:p})})(s));u.push(pr(a,c,t))})),Nr((()=>{u.forEach((e=>e()))}))}function Lr({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){const a=fr((s=>{const a=Rr(s);if(!a||_r(a,r,i,o))return;const u=n.getId(a);if(a===t){const n=t.scrollingElement||t.documentElement;Nr(e)({id:u,x:n.scrollLeft,y:n.scrollTop})}else Nr(e)({id:u,x:a.scrollLeft,y:a.scrollTop})}),s.scroll||100);return pr("scroll",Nr(a),t)}function $r(e,t){const n=Object.assign({},e);return t||delete n.userTriggered,n}const Vr=["INPUT","TEXTAREA","SELECT"],Br=new WeakMap;function Ur({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputSelector:u,unmaskInputSelector:c,maskInputOptions:l,maskInputFn:p,sampling:d,userTr
2iggeredOnInput:h}){function f(e){let n=Rr(e);const d=n&&n.tagName,f=e.isTrusted;if("OPTION"===d&&(n=n.parentElement),!n||!d||Vr.indexOf(d)<0||_r(n,r,i,o))return;let g=n.type;if(n.classList.contains(s)||a&&n.matches(a))return;let v=n.value,y=!1;n.hasAttribute("rr_is_password")&&(g="password"),"radio"===g||"checkbox"===g?y=n.checked:function({tagName:e,type:t,maskInputOptions:n,maskInputSelector:r}){return r||Pn({maskInputOptions:n,tagName:e,type:t})}({maskInputOptions:l,maskInputSelector:u,tagName:d,type:g})&&(v=Rn({input:n,maskInputOptions:l,maskInputSelector:u,unmaskInputSelector:c,tagName:d,type:g,value:v,maskInputFn:p})),m(n,Nr($r)({text:v,isChecked:y,userTriggered:f},h));const _=n.name;"radio"===g&&_&&y&&t.querySelectorAll(`input[type="radio"][name="${_}"]`).forEach((e=>{e!==n&&m(e,Nr($r)({text:e.value,isChecked:!y,userTriggered:!1},h))}))}function m(t,r){const i=Br.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Br.set(t,r);const i=n.getId(t);e(Object.assign(Object.assign({},r),{id:i}))}}const g=("last"===d.input?["change"]:["input","change"]).map((e=>pr(e,Nr(f),t))),v=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),y=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return v&&v.set&&g.push(...y.map((e=>mr(e[0],e[1],{set(){Nr(f)({target:this})}})))),Nr((()=>{g.forEach((e=>e()))}))}function Hr(e){return function(e,t){if(qr("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||qr("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||qr("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||qr("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else{const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function zr(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};!function(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:o,viewportResizeCb:s,inputCb:a,mediaInteractionCb:u,styleSheetRuleCb:c,styleDeclarationCb:l,canvasMutationCb:p,fontCb:d}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),n(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),r(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),i(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),s(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),a(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),u(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),l(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),p(...e)}
2,e.fontCb=(...e)=>{t.font&&t.font(...e),d(...e)}}(e,t);const r=Fr(e,e.doc),i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let s,a=[];const u=fr((t=>{const n=Date.now()-s;Nr(e)(a.map((e=>(e.timeOffset-=n,e))),t),a=[],s=null}),o),c=fr((e=>{const t=Rr(e),{clientX:n,clientY:i}=Er(e)?e.changedTouches[0]:e;s||(s=Date.now()),a.push({x:n,y:i,id:r.getId(t),timeOffset:Date.now()-s}),u("undefined"!=typeof DragEvent&&e instanceof DragEvent?sr.Drag:e instanceof MouseEvent?sr.MouseMove:sr.TouchMove)}),i,{trailing:!1}),l=[pr("mousemove",Nr(c),n),pr("touchmove",Nr(c),n),pr("drag",Nr(c),n)];return Nr((()=>{l.forEach((e=>e()))}))}(e),o=jr(e),s=Lr(e),a=function({viewportResizeCb:e}){let t=-1,n=-1;const r=fr((()=>{const r=vr(),i=yr();t===r&&n===i||(Nr(e)({width:Number(i),height:Number(r)}),t=r,n=i)}),200);return pr("resize",Nr(r),window)}(e),u=Ur(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o}){const s=s=>fr(Nr((o=>{const a=Rr(o);if(!a||_r(a,t,n,r))return;const{currentTime:u,volume:c,muted:l}=a;e({type:s,id:i.getId(a),currentTime:u,volume:c,muted:l})})),o.media||500),a=[pr("play",s(0)),pr("pause",s(1)),pr("seeked",s(2)),pr("volumechange",s(3))];return Nr((()=>{a.forEach((e=>e()))}))}(e),l=function({styleSheetRuleCb:e,mirror:t},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:Nr(((n,r,i)=>{const[o,s]=i,a=t.getId(r.ownerNode);return-1!==a&&e({id:a,adds:[{rule:o,index:s}]}),n.apply(r,i)}))});const i=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:Nr(((n,r,i)=>{const[o]=i,s=t.getId(r.ownerNode);return-1!==s&&e({id:s,removes:[{index:o}]}),n.apply(r,i)}))});const o={};Gr("CSSGroupingRule")?o.CSSGroupingRule=n.CSSGroupingRule:(Gr("CSSMediaRule")&&(o.CSSMediaRule=n.CSSMediaRule),Gr("CSSConditionRule")&&(o.CSSConditionRule=n.CSSConditionRule),Gr("CSSSupportsRule")&&(o.CSSSupportsRule=n.CSSSupportsRule));const s={};return Object.entries(o).forEach((([n,r])=>{s[n]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(s[n].insertRule,{apply:Nr(((n,r,i)=>{const[o,s]=i,a=t.getId(r.parentStyleSheet.ownerNode);return-1!==a&&e({id:a,adds:[{rule:o,index:[...Hr(r),s||0]}]}),n.apply(r,i)}))}),r.prototype.deleteRule=new Proxy(s[n].deleteRule,{apply:Nr(((n,r,i)=>{const[o]=i,s=t.getId(r.parentStyleSheet.ownerNode);return-1!==s&&e({id:s,removes:[{index:[...Hr(r),o]}]}),n.apply(r,i)}))})})),Nr((()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=i,Object.entries(o).forEach((([e,t])=>{t.prototype.insertRule=s[e].insertRule,t.prototype.deleteRule=s[e].deleteRule}))}))}(e,{win:n}),p=function({styleDeclarationCb:e,mirror:t},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:Nr(((n,r,i)=>{var o,s;const[a,u,c]=i,l=t.getId(null===(s=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==l&&e({id:l,set:{property:a,value:u,priority:c},index:Hr(r.parentRule)}),n.apply(r,i)}))});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Nr(((n,r,i)=>{var o,s;const[a]=i,u=t.getId(null===(s=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==u&&e({id:u,remove:{property:a},index:Hr(r.parentRule)}),n.apply(r,i)}))}),Nr((()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:n}),d=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const s=gr(t.fonts,"add",(function(t){return function(n){return setTimeout((()=>{const t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(s),Nr((()=>{r.forEach((e=>e()))}))}(e):()=>{},h=[];for(const t of e.plugins)h.push(t.observer(t.callback,n,t.options));return Nr((()=>{Pr.forEach((e=>e.reset())),r.disconnect(),i(),o(),s(),a(),u(),c();try{l(),p()}catch(e){}d(),h.forEach((e=>e()))}))}function qr(e){return void 0!==window[e]}function Gr(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}
2class Wr{constructor(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}addIframe(e){this.iframes.set(e,!0)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e)}}class Yr{constructor(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;const t=this;this.restorePatches.push(gr(HTMLElement.prototype,"attachShadow",(function(e){return function(){const n=e.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}addShadowRoot(e,t){Fr(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),Lr(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}observeAttachShadow(e){if(e.contentWindow){const t=this;this.restorePatches.push(gr(e.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){const r=n.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,e.contentDocument),r}})))}}reset(){this.restorePatches.forEach((e=>e()))}}for(var Zr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Jr=0;Jr<64;Jr++)Kr[Zr.charCodeAt(Jr)]=Jr;const Xr=new Map;const Qr=(e,t,n)=>{if(!e||!ni(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=Xr.get(e);return n||(n=new Map,Xr.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let i=r.indexOf(e);return-1===i&&(i=r.length,r.push(e)),i};function ei(e,t,n){if(e instanceof Array)return e.map((e=>ei(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,i="";for(t=0;t<r;t+=3)i+=Zr[n[t]>>2],i+=Zr[(3&n[t])<<4|n[t+1]>>4],i+=Zr[(15&n[t+1])<<2|n[t+2]>>6],i+=Zr[63&n[t+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(e);return{rr_type:t,base64:n}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[ei(e.buffer,t,n),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[ei(e.data,t,n),e.width,e.height]}}if(ni(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:Qr(e,t,n)}}return e}const ti=(e,t,n)=>[...e].map((e=>ei(e,t,n))),ni=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function ri(e,t,n,r,i,o,s,a){const u=[],c=Object.getOwnPropertyNames(e);for(const l of c)try{if("function"!=typeof e[l])continue;const c=gr(e,l,(function(u){return function(...c){const p=u.apply(this,c);if(Qr(p,a,e),!_r(this.canvas,r,o,i)){s.getId(this.canvas);const r=ti([...c],a,e),i={type:t,property:l,args:r};n(this.canvas,i)}return p}}));u.push(c)}catch(r){const i=mr(e,l,{set(e){n(this.canvas,{type:t,property:l,args:[e],setter:!0})}});u.push(i)}return u}class ii{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(e,t){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,!0===e.recordCanvas&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=function(e,t,n,r){const i=[];try{const o=gr(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(i,...o){return _r(this,t,n,r)||"__context"in this||(this.__context=i),e.apply(this,[i,...o])}}));i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>
2{i.forEach((e=>e()))}}(e,t,r,n),o=function(e,t,n,r,i,o){const s=[],a=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of a)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;const a=gr(t.CanvasRenderingContext2D.prototype,o,(function(t){return function(...s){return _r(this.canvas,n,i,r)||setTimeout((()=>{const t=[...s];if("drawImage"===o&&t[0]&&t[0]instanceof HTMLCanvasElement){const e=t[0],n=e.getContext("2d");let r=null==n?void 0:n.getImageData(0,0,e.width,e.height),i=null==r?void 0:r.data;t[0]=JSON.stringify(i)}e(this.canvas,{type:ur["2D"],property:o,args:t})}),0),t.apply(this,s)}}));s.push(a)}catch(n){const r=mr(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:ur["2D"],property:o,args:[t],setter:!0})}});s.push(r)}return()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror),s=function(e,t,n,r,i,o){const s=[];return s.push(...ri(t.WebGLRenderingContext.prototype,ur.WebGL,e,n,r,i,o,t)),void 0!==t.WebGL2RenderingContext&&s.push(...ri(t.WebGL2RenderingContext.prototype,ur.WebGL2,e,n,r,i,o,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror);this.resetObservers=()=>{i(),o(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["type"]);return t})),{type:i}=n[0];this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}function oi(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}let si,ai;const ui={map:{},getId(e){return e&&e.__sn?e.__sn.id:-1},getNode(e){return this.map[e]||null},removeNodeFromMap(e){const t=e.__sn&&e.__sn.id;delete this.map[t],e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))},has(e){return this.map.hasOwnProperty(e)},reset(){this.map={}}};function ci(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:u=null,maskTextClass:c="rr-mask",maskTextSelector:l=null,maskInputSelector:p=null,unmaskTextSelector:d=null,unmaskInputSelector:h=null,inlineStylesheet:f=!0,maskAllText:m=!1,maskAllInputs:g,maskInputOptions:v,slimDOMOptions:y,maskInputFn:_,maskTextFn:b,hooks:w,packFn:E,sampling:S={},mousemoveWait:x,recordCanvas:D=!1,userTriggeredOnInput:C=!1,collectFonts:T=!1,inlineImages:k=!1,plugins:I,keepIframeSrcFn:O=(()=>!1),onMutation:M}=e;if(!t)throw new Error("emit function is required");void 0!==x&&void 0===S.mousemove&&(S.mousemove=x);const A=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==v?v:{},N=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let P;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}();let R=0;si=(e,i)=>{var o;if(!(null===(o=Pr[0])||void 0===o?void 0:o.isFrozen())||e.type===or.FullSnapshot||e.type===or.IncrementalSnapshot&&e.data.source===sr.Mutation||Pr.forEach((e=>e.unfreeze())),t((e=>{for(const t of I||[])t.eventProcessor&&(e=t.eventProcessor(e));return E&&(e=E(e)),e})(e),i),e.type===or.FullSnapshot)P=e,R=0;else if(e.type===or.IncrementalSnapshot){if(e.data.source===sr.Mutation&&e.data.isAttachIframe)return;R++;const t=r&&R>=r,i=n&&e.timestamp-P.timestamp>n;(t||i)&&ai(!0)}};const F=e=>{si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.Mutation},e)}))},j=e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.Scroll},e)})),L=e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.CanvasMutation},e)})),$=new Wr({mutationCb:F}),V=new ii({recordCanvas:D,mutationCb:L,win:window,blockClass:i,blockSelector:o,unblockSelector:s,mirror:ui}),B=new Yr({mutationCb:F,scrollCb:j,bypassOptions:{onMutation:M,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,maskInputSelector:p,unmaskInputSelector:h,inlineStylesheet:f,maskAllText:m,maskInputOptions:A,maskTextFn:b,maskInputFn:_,recordCanvas:D,inlineImages:k,sampling:S,slimDOMOptions:N,iframeManager:$,canvasManager:V},mirror:ui});ai=(e=!1)=>{var t,n,r,a;si(oi({type:or.Meta,data:{href:window.location.href,width:yr(),height:vr()}}),e),Pr.forEach((e=>e.lock()));
2const[u,g]=function(e,t){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:i=null,maskTextClass:o="rr-mask",maskTextSelector:s=null,unmaskTextSelector:a=null,inlineStylesheet:u=!0,inlineImages:c=!1,recordCanvas:l=!1,maskInputSelector:p=null,unmaskInputSelector:d=null,maskAllText:h=!1,maskAllInputs:f=!1,maskTextFn:m,maskInputFn:g,slimDOM:v=!1,dataURLOptions:y,preserveWhiteSpace:_,onSerialize:b,onIframeLoad:w,iframeLoadTimeout:E,keepIframeSrcFn:S=(()=>!1)}=t||{},x={};return[rr(e,{doc:e,map:x,blockClass:n,blockSelector:r,unblockSelector:i,maskTextClass:o,maskTextSelector:s,unmaskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputSelector:p,unmaskInputSelector:d,maskAllText:h,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===f?{}:f,maskTextFn:m,maskInputFn:g,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:y,inlineImages:c,recordCanvas:l,preserveWhiteSpace:_,onSerialize:b,onIframeLoad:w,iframeLoadTimeout:E,keepIframeSrcFn:S}),x]}(document,{blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,maskInputSelector:p,unmaskInputSelector:h,inlineStylesheet:f,maskAllText:m,maskAllInputs:A,maskTextFn:b,slimDOM:N,recordCanvas:D,inlineImages:k,onSerialize:e=>{Sr(e)&&$.addIframe(e),xr(e)&&B.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{$.attachIframe(e,t),B.observeAttachShadow(e)},keepIframeSrcFn:O});if(!u)return console.warn("Failed to snapshot the document");ui.map=g,si(oi({type:or.FullSnapshot,data:{node:u,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(t=null===document||void 0===document?void 0:document.body)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(a=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===a?void 0:a.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),Pr.forEach((e=>e.unlock()))};try{const e=[];e.push(pr("DOMContentLoaded",(()=>{si(oi({type:or.DomContentLoaded,data:{}}))})));const t=e=>{var t;return Nr(zr)({onMutation:M,mutationCb:F,mousemoveCb:(e,t)=>si(oi({type:or.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.MouseInteraction},e)})),scrollCb:j,viewportResizeCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.ViewportResize},e)})),inputCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.Input},e)})),mediaInteractionCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.MediaInteraction},e)})),styleSheetRuleCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.StyleSheetRule},e)})),styleDeclarationCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.StyleDeclaration},e)})),canvasMutationCb:L,fontCb:e=>si(oi({type:or.IncrementalSnapshot,data:Object.assign({source:sr.Font},e)})),blockClass:i,ignoreClass:a,ignoreSelector:u,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,maskInputSelector:p,unmaskInputSelector:h,maskInputOptions:A,inlineStylesheet:f,sampling:S,recordCanvas:D,inlineImages:k,userTriggeredOnInput:C,collectFonts:T,doc:e,maskAllText:m,maskInputFn:_,maskTextFn:b,blockSelector:o,unblockSelector:s,slimDOMOptions:N,mirror:ui,iframeManager:$,shadowDomManager:B,canvasManager:V,plugins:(null===(t=null==I?void 0:I.filter((e=>e.observer)))||void 0===t?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>si(oi({type:or.Plugin,data:{plugin:e.name,payload:t}}
2))}))))||[]},w)};$.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{ai(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():e.push(pr("load",(()=>{si(oi({type:or.Load,data:{}})),n()}),window)),()=>{e.forEach((e=>e()))}}catch(e){console.warn(e)}}ci.addCustomEvent=(e,t)=>{if(!si)throw new Error("please add custom event after start recording");si(oi({type:or.Custom,data:{tag:e,payload:t}}))},ci.freezePage=()=>{Pr.forEach((e=>e.freeze()))},ci.takeFullSnapshot=e=>{if(!ai)throw new Error("please take full snapshot after start recording");ai(e)},ci.mirror=ui;const li=["name","type","startTime","transferSize","duration"];function pi(e){return function(t){return li.every((n=>e[n]===t[n]))}}function di(e){const t=new PerformanceObserver((t=>{const n=function(e,t){const[n,r,i]=e.reduce(((e,t)=>("navigation"===t.entryType?e[0].push(t):"largest-contentful-paint"===t.entryType?e[1].push(t):e[2].push(t),e)),[[],[],[]]),o=[],s=[];let a=r.length?r[r.length-1]:void 0;return t.forEach((e=>{if("largest-contentful-paint"!==e.entryType)if("navigation"!==e.entryType)o.push(e);else{const t=e;e.duration>0&&!n.find(pi(t))&&!s.find(pi(t))&&s.push(t)}else(!a||a.startTime<e.startTime)&&(a=e)})),[...a?[a]:[],...n,...i,...o,...s].sort(((e,t)=>e.startTime-t.startTime))}(e.performanceEvents,t.getEntries());e.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((e=>{try{t.observe({type:e,buffered:!0})}catch(e){}})),t}const hi='/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;
vendor: 4,476 bytes, line 2
2h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ER
vendor: 10,438 bytes, line 2
2ROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 2
2if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 4,506 bytes, line 2
20&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new 
vendor: 5,942 bytes, line 2
2Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 2
2{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
2if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';class fi{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(e,t){t?this.events=[e]:this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.events=[],e(JSON.stringify(t))}))}}class mi{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:t})=>{const s=t;if(s.method===e&&s.id===n){if(this._worker.removeEventListener("message",o),!s.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay]",s.response),void i(new Error("Error in compression worker"));r(s.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class gi{constructor(e){this._worker=new mi(e),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(e,t){return this.hasEvents=!0,t&&await this._clear(),this._sendEventToWorker(e)}finish(){return this._finishRequest()}_sendEventToWorker(e){return this._worker.postMessage("addEvent",JSON.stringify(e))}async _finishRequest(){const e=await this._worker.postMessage("finish");return this.hasEvents=!1,e}_clear(){return this._worker.postMessage("clear")}}class vi{constructor(e){this._fallback=new fi,this._compression=new gi(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}
2addEvent(e,t){return this._used.addEvent(e,t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e}=this._fallback,t=[];for(const n of e)t.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(t)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("[Replay] Failed to add events when switching buffers.",e)}}}function yi({useCompression:e}){if(e&&window.Worker)try{const e=function(){const e=new Blob([hi]);return URL.createObjectURL(e)}();("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Using compression worker");const t=new Worker(e);return new vi(t)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Failed to create compression worker")}return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Using simple buffer"),new fi}function _i(e){!function(){if(!("sessionStorage"in Cn))return;try{Cn.sessionStorage.removeItem(Tn)}catch(e){}}(),e.session=void 0}function bi(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function wi(e,t,n=+new Date){return bi(e.started,t.maxSessionLife,n)||bi(e.lastActivity,t.sessionIdleExpire,n)}function Ei(e){return void 0!==e&&Math.random()<e}function Si(e){if("sessionStorage"in Cn)try{Cn.sessionStorage.setItem(Tn,JSON.stringify(e))}catch(e){}}function xi(e){const t=Date.now();return{id:e.id||(0,c.DM)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,shouldRefresh:!0}}function Di({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1}){const r=function(e,t){return Ei(e)?"session":!!t&&"buffer"}(e,t),i=xi({sampled:r});return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Replay] Creating new session: ${i.id}`),n&&Si(i),i}function Ci({timeouts:e,currentSession:t,stickySession:n,sessionSampleRate:r,allowBuffering:i}){const o=t||n&&function(){if(!("sessionStorage"in Cn))return null;try{const e=Cn.sessionStorage.getItem(Tn);return e?xi(JSON.parse(e)):null}catch(e){return null}}();if(o){if(!wi(o,e))return{type:"saved",session:o};if(!o.shouldRefresh){return{type:"new",session:xi({sampled:!1})}}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Session has expired")}return{type:"new",session:Di({stickySession:n,sessionSampleRate:r,allowBuffering:i})}}async function Ti(e,t,n){if(!e.eventBuffer)return null;if(e.isPaused())return null;const r=t.timestamp>9999999999?t.timestamp:1e3*t.timestamp;if(r+e.timeouts.sessionIdlePause<Date.now())return null;const i=e.getContext().earliestEvent;e.session&&0===e.session.segmentId&&(!i||r<i)&&(e.getContext().earliestEvent=r);try{return await e.eventBuffer.addEvent(t,n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(t),await e.stop("addEvent");const n=A().getClient();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function ki(e){return!e.type}function Ii(e){return"transaction"===e.type}function Oi(e){const t=function(){const e=A().getClient();if(!e)return!1;const t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!ki(n)&&!Ii(n))return;const i=r&&r.statusCode;if(!t||!(!i||i<200||i>=300))if(Ii(n)&&n.contexts&&n.contexts.trace&&n.contexts.trace.trace_id)e.getContext().traceIds.add(n.contexts.trace.trace_id);else if(ki(n)&&(n.event_id&&e.getContext().errorIds.add(n.event_id),"buffer"===e.recordingMode&&n.exception&&n.message!==In)){if(!Ei(e.getOptions().errorSampleRate))return;setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}}}var Mi;function Ai(e){return{timestamp:Date.now()/1e3,type:"default",...e}}function Ni(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(Ti(e,{type:or.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,we.Fv)(t,10,1e3)}}),"console"===t.category))))}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Mi||(Mi={}));const Pi=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid"]);function Ri(e){const t={};for(const n in e)if(Pi.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}
2const Fi=e=>t=>{if(!e.isEnabled())return;const n=function(e){let t,n;try{n=function(e){if(t=e.event,t.target)return e.event.target;var t;return e.event}(e),t=(0,dt.Rt)(n)}catch(e){t="<unknown>"}const r=n&&"__sn"in n&&n.__sn.type===Mi.Element?n.__sn:null;return Ai({category:`ui.${e.name}`,message:t,data:r?{nodeId:r.id,node:{id:r.id,tagName:r.tagName,textContent:n?Array.from(n.childNodes).map((e=>"__sn"in e&&e.__sn.type===Mi.Text&&e.__sn.textContent)).filter(Boolean).map((e=>e.trim())).join(""):"",attributes:Ri(r.attributes)}}:{}})}(t);n&&Ni(e,n)};function ji(e,t=!1){const n=t?Oi(e):void 0;return(t,r)=>{if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!ki(t)&&!Ii(t))return t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length)&&(!(!t.originalException||!t.originalException.__rrweb__)||e.exception.values.some((e=>!!(e.stacktrace&&e.stacktrace.frames&&e.stacktrace.frames.length)&&e.stacktrace.frames.some((e=>e.filename&&e.filename.includes("/rrweb/src/"))))))}(t,r)&&!e.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Ignoring error from rrweb internals",t),null;if((ki(t)||Ii(t)&&"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.getOptions()._experiments.traceInternals&&ki(t)){const e=function(e){return{type:"Unknown",value:"n/a",...e.exception&&e.exception.values&&e.exception.values[0]}}(t);!function(e){const{category:t,level:n,message:r,...i}=e;U({category:t||"console",level:n||"debug",message:`[debug]: ${r}`,...i})}({message:`Tagging event (${t.event_id}) - ${t.message} - ${e.type}: ${e.value}`})}return n&&n(t,{statusCode:200}),t}}function Li(e,t){return t.map((({type:t,start:n,end:r,name:i,data:o})=>Ti(e,{type:or.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}})))}function $i(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(Li(e,[n]),!1))))}}function Vi(e,t){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!e.getOptions()._experiments.traceInternals)&&function(e){const t=A().getClient(),n=t&&t.getDsn();return!!n&&e.includes(n.host)}(t)}function Bi(e,t){e.isEnabled()&&null!==t&&(Vi(e,t.name)||e.addUpdate((()=>(Li(e,[t]),!0))))}function Ui(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[X.xU];if(!t||!n||!i)return null;const{method:o,url:s,status_code:a}=i;return void 0===s?null:{type:"resource.xhr",name:s,start:t/1e3,end:n/1e3,data:{method:o,statusCode:a}}}(t);Bi(e,n)}}const Hi=10,zi=11,qi=12,Gi=13,Wi=14,Yi=15,Zi=20,Ki=21,Ji=22,Xi=23,Qi=["true","false","null"];function eo(e,t){if(!t.length)return e;let n=e;const r=t.length-1;n=function(e,t){switch(t){case Hi:return`${e}"~~":"~~"`;case zi:return`${e}:"~~"`;case qi:return`${e}~~":"~~"`;case Gi:return function(e){const t=e.lastIndexOf(":"),n=e.slice(t+1);if(Qi.includes(n.trim()))return`${e},"~~":"~~"`;return`${e.slice(0,t+1)}"~~"`}(e);case Wi:return`${e}~~"`;case Yi:return`${e},"~~":"~~"`;case Zi:return`${e}"~~"`;case Ki:return function(e){const t=function(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(","===n||"["===n)return t}return-1}(e);if(t>-1){const n=e.slice(t+1);return Qi.includes(n.trim())?`${e},"~~"`:`${e.slice(0,t+1)}"~~"`}return e}(e);case Ji:return`${e}~~"`;case Xi:return`${e},"~~"`}return e}(n,t[r]);for(let e=r;e>=0;e--){switch(t[e]){case Hi:n=`${n}}`;break;case Zi:n=`${n}]`}}return n}function to(e,t,n){const r=e[e.length-1],i=t[n];if(!/\s/.test(i))if('"'!==i||no(t,n))switch(i){case"{":!function(e,t){if(!t)return void e.push(Hi);if(t===Gi)return void e.push(Hi);t===Ki&&e.push(Hi);if(t===Zi)e.push(Hi)}(e,r);break;case"[":!function(e,t){if(!t)return e.push(Zi),void e.push(Ki);if(t===Gi)return e.push(Zi),void e.push(Ki);t===Ki&&(e.push(Zi),e.push(Ki));if(t===Zi)e.push(Zi),e.push(Ki)}(e,r);break;case":":!function(e,t){t===zi&&(e.pop(),e.push(Gi))}(e,r);break;case",":!function(e,t){if(t===Gi)return void e.pop();if(t===Yi)return e.pop(),void e.pop();if(t===Ki)return;if(t===Xi)e.pop()}(e,r);break;case"}":!function(e,t){t===Hi&&e.pop();t===Gi&&(e.pop(),e.pop());t===Yi&&(e.pop(),e.pop(),e.pop());e[e.length-1]===Gi&&e.push(Yi);e[e.length-1]===Ki&&e.push(Xi)}(e,r);break;case"]":!function(e,t){t===Zi&&e.pop();t===Ki&&(e.pop(),e.pop());t===Xi&&(e.pop(),e.pop(),e.pop());e[e.length-1]===Gi&&e.push(Yi);e[e.length-1]===Ki&&e.push(Xi)}(e,r)}else!function(e,t){if(t===Wi)return e.pop(),void e.push(Yi);if(t===Ji)return e.pop(),void e.push(Xi);if(t===Gi)return void e.push(Wi);if(t===Ki)return void e.push(Ji);if(t===Hi)return void e.push(qi);
2if(t===qi)e.pop(),e.push(zi)}(e,r)}function no(e,t){return"\\"===e[t-1]&&!no(e,t-1)}function ro(e){return eo(e,function(e){const t=[];for(let n=0;n<e.length;n++)to(t,e,n);return t}(e))}function io(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=po(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function oo(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function so(e){return"string"==typeof e?e:e instanceof URLSearchParams?e.toString():e instanceof FormData?po(e):void 0}function ao(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:s,statusCode:a,request:u,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:(0,o.Jr)({method:s,statusCode:a,request:u,response:c})}}function uo(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function co(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e,warnings:[]};const t=e.length>On;if(function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e))try{const n=t?ro(e.slice(0,On)):e;return{body:JSON.parse(n),warnings:t?["JSON_TRUNCATED"]:[]}}catch(n){return{body:t?`${e.slice(0,On)}…`:e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?`${e.slice(0,On)}…`:e,warnings:t?["TEXT_TRUNCATED"]:[]}}(n);return r.body=i,o.length>0&&(r._meta={warnings:o}),r}function lo(e,t){return Object.keys(e).reduce(((n,r)=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n}),{})}function po(e){return new URLSearchParams(e).toString()}function ho(e,t){return(0,l.U0)(e,t)}async function fo(e,t,n){try{const r=await async function(e,t,n){const{startTimestamp:r,endTimestamp:i}=t,{url:o,method:s,status_code:a=0,request_body_size:u,response_body_size:c}=e.data,l=ho(o,n.networkDetailAllowUrls),p=l?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=function(e,t){if(1===e.length&&"string"!=typeof e[0])return vo(e[0],t);if(2===e.length)return vo(e[1],t);return{}}(n,t);if(!e)return co(i,r,void 0);const o=so(mo(n));return co(i,r,o)}(n,t.input,u):uo(u),d=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return uo(o);const s=go(i.headers,r);if(!t&&void 0!==o)return co(s,o,void 0);try{const r=i.clone(),a=await async function(e){try{return await e.text()}catch(e){return}}(r),u=a&&a.length&&void 0===o?io(a,n):o;return e?co(s,u,t?a:void 0):uo(u)}catch(e){return co(s,o,void 0)}}(l,n,t.response,c);return{startTimestamp:r,endTimestamp:i,url:o,method:s,statusCode:a,request:p,response:d}}(e,t,n),i=ao("resource.fetch",r);Bi(n.replay,i)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay] Failed to capture fetch breadcrumb",e)}}function mo(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function go(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function vo(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?go(n,t):Array.isArray(n)?{}:lo(n,t):{}}async function yo(e,t,n){try{const r=function(e,t,n){const{startTimestamp:r,endTimestamp:i,input:o,xhr:s}=t,{url:a,method:u,status_code:c=0,request_body_size:l,response_body_size:p}=e.data;if(!a)return null;if(!ho(a,n.networkDetailAllowUrls)){return{startTimestamp:r,endTimestamp:i,url:a,method:u,statusCode:c,request:uo(l),response:uo(p)}}const d=s[X.xU],h=d?lo(d.request_headers,n.networkRequestHeaders):{},f=lo(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e}),{})}(s),n.networkResponseHeaders),m=co(h,l,n.networkCaptureBodies?so(o):void 0),g=co(f,p,n.networkCaptureBodies?t.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:a,method:u,statusCode:c,request:m,response:g}}(e,t,n),i=ao("resource.xhr",r);Bi(n.replay,i)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay] Failed to capture fetch breadcrumb",e)}}function _o(e){const t=A().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s}=e.getOptions(),a={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>
2function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(!function(e,t,n){const{xhr:r,input:i}=t,o=io(i,n.textEncoder),s=r.getResponseHeader("content-length")?oo(r.getResponseHeader("content-length")):io(r.response,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}(t,n,e),yo(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(!function(e,t,n){const{input:r,response:i}=t,o=io(mo(r),n.textEncoder),s=i?oo(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==s&&(e.data.response_body_size=s)}(t,n,e),fo(t,n,e))}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Error when enriching network breadcrumb")}}(a,e,t))):((0,X.oq)("fetch",function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;const{method:o,url:s}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:s,data:{method:o,statusCode:i&&i.status}}}(t);Bi(e,n)}}(e)),(0,X.oq)("xhr",Ui(e)))}catch(e){}}let bo=null;const wo=e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(bo===t||!t)return null;if(bo=t,t.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui.")))return null;if("console"===t.category)return function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return Ai(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>Mn?(n=!0,`${e.slice(0,Mn)}…`):e;if("object"==typeof e)try{const t=(0,we.Fv)(e,7),r=JSON.stringify(t);if(r.length>Mn){const e=ro(r.slice(0,Mn)),t=JSON.parse(e);return n=!0,t}return t}catch(e){}return e}));return Ai({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t);return Ai(t)}(t);n&&Ni(e,n)};function Eo(e){return!(!e||!e.on)}function So(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const xo={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:u,transferSize:c}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:Co(o),end:Co(i),name:r,data:{size:c,statusCode:u,decodedBodySize:s,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=Co(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:p,redirectCount:d,startTime:h,transferSize:f,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:Co(h),end:Co(o),name:n,data:{size:f,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:c,domContentLoadedEventStart:a,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:p,domComplete:o,redirectCount:d}}},"largest-contentful-paint":function(e){const{entryType:t,startTime:n,size:r}=e;let i=0;if(Cn.performance){const e=Cn.performance.getEntriesByType("navigation")[0];i=e&&e.activationStart||0}const o=Math.max(n-i,0),s=Co(i)+o/1e3;return{type:t,name:t,start:s,end:s,data:{value:o,size:r,nodeId:ci.mirror.getId(e.element)}}}};function Do(e){return void 0===xo[e.entryType]?null:xo[e.entryType](e)}function Co(e){return((f.Z1||Cn.performance.timeOrigin)+e)/1e3}function To(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("[Replay] Received replay event after session expired."));const i=r||!t;t=!0,e.addUpdate((()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),Ti(e,n,i),!i)return!1;if(e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session){const{earliestEvent:t}=e.getContext();t&&(e.session.started=t,e.getOptions().stickySession&&Si(e.session))}return"session"===e.recordingMode&&e.flushImmediate(),!0}))}}async function ko({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o,options:s}){const a=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:l,traceIds:p,initialTimestamp:d}=r,h=A(),f=h.getClient(),m=h.getScope(),g=f&&f.getTransport(),v=f&&f.getDsn();if(!(f&&m&&g&&v&&o.sampled))return;const y={type:kn,replay_start_timestamp:d/1e3,timestamp:i/1e3,error_ids:l,trace_ids:p,urls:c,replay_id:t,segment_id:n,replay_type:o.sampled},_=await async function({client:e,scope:t,replayId:n,event:r}){const i="object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations),o=await Ke(e.getOptions(),r,{event_id:n,integrations:i},t);if(!o)return null;o.platform=o.platform||"javascript";
2const s=e.getSdkMetadata&&e.getSdkMetadata(),{name:a,version:u}=s&&s.sdk||{};return o.sdk={...o.sdk,name:a||"sentry.javascript.unknown",version:u||"0.0.0"},o}({scope:m,client:f,replayId:t,event:y});if(!_)return f.recordDroppedEvent("event_processor","replay",y),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("An event processor returned `null`, will not send event."));_.contexts={..._.contexts,replay:{..._.contexts&&_.contexts.replay,session_sample_rate:s.sessionSampleRate,error_sample_rate:s.errorSampleRate}};const b=function(e,t,n,r){return Ee(Me(e,Oe(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(_,a,v,f.getOptions().tunnel);let w;try{w=await g.send(b)}catch(e){const t=new Error(In);try{t.cause=e}catch(e){}throw t}if(!w)return w;if("number"==typeof w.statusCode&&(w.statusCode<200||w.statusCode>=300))throw new Io(w.statusCode);return w}class Io extends Error{constructor(e){super(`Transport returned status code ${e}`)}}async function Oo(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await ko(e),!0}catch(n){if(n instanceof Io)throw n;if(H("Replays",{_retryCount:t.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&L(n),t.count>=3){const e=new Error(`${In} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,await new Promise(((n,r)=>{setTimeout((async()=>{try{await Oo(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}class Mo{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5,maxSessionLife:36e5}}__init5(){this._performanceObserver=null}__init6(){this._flushLock=null}__init7(){this._lastActivity=Date.now()}__init8(){this._isEnabled=!1}__init9(){this._isPaused=!1}__init10(){this._hasInitializedCoreListeners=!1}__init11(){this._stopRecording=null}__init12(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:Date.now(),initialUrl:""}}constructor({options:e,recordingOptions:t}){Mo.prototype.__init.call(this),Mo.prototype.__init2.call(this),Mo.prototype.__init3.call(this),Mo.prototype.__init4.call(this),Mo.prototype.__init5.call(this),Mo.prototype.__init6.call(this),Mo.prototype.__init7.call(this),Mo.prototype.__init8.call(this),Mo.prototype.__init9.call(this),Mo.prototype.__init10.call(this),Mo.prototype.__init11.call(this),Mo.prototype.__init12.call(this),Mo.prototype.__init13.call(this),Mo.prototype.__init14.call(this),Mo.prototype.__init15.call(this),Mo.prototype.__init16.call(this),Mo.prototype.__init17.call(this),this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;const s=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return u(),r=e(),r}function u(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function c(){return i&&clearTimeout(i),i=setTimeout(a,t),s&&void 0===o&&(o=setTimeout(a,s)),r}return c.cancel=u,c.flush=function(){return void 0!==i||void 0!==o?a():r},c}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(){const{errorSampleRate:e,sessionSampleRate:t}=this._options;if(e<=0&&t<=0)return;this._loadAndCheckSession()&&(this.session?(this.session.sampled&&"session"!==this.session.sampled&&(this.recordingMode="buffer"),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");const e=this.session&&this.session.id,{session:t}=Ci({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:1,allowBuffering:!1});t.previousSessionId=e,this.session=t,this._initializeRecording()}
2startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");const e=this.session&&this.session.id,{session:t}=Ci({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:0,allowBuffering:!0});t.previousSessionId=e,this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=ci({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:To(this),onMutation:this._onMutationHandler})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop(e){if(this._isEnabled)try{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t="[Replay] Stopping Replay"+(e?` triggered by ${e}`:"");(this.getOptions()._experiments.traceInternals?console.warn:u.kg.log)(t)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,_i(this)}catch(e){this._handleException(e)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();await this.flushImmediate();const t=this.stopRecording();e&&t&&(this.recordingMode="session",this.session&&(this.session.shouldRefresh=!1,this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){const e=this.getSessionId();if(this._lastActivity&&bi(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled)return void this.pause();if(!this._loadAndCheckSession())return;return e===this.getSessionId()||(this._triggerFullSnapshot(),!1)}setInitialState(){const e=`${Cn.location.pathname}${Cn.location.hash}${Cn.location.search}`,t=`${Cn.location.origin}${e}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=yi({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this.startRecording()}_handleException(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay]",e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&L(e)}_loadAndCheckSession(){const{type:e,session:t}=Ci({timeouts:this.timeouts,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:this._options.errorSampleRate>0});"new"===e&&this.setInitialState();const n=this.getSessionId();return t.id!==n&&(t.previousSessionId=n),this.session=t,!!this.session.sampled||(this.stop("session unsampled"),!1)}_addListeners(){try{Cn.document.addEventListener("visibilitychange",this._handleVisibilityChange),Cn.addEventListener("blur",this._handleWindowBlur),Cn.addEventListener("focus",this._handleWindowFocus),this._hasInitializedCoreListeners||(!function(e){const t=A().getScope(),n=A().getClient();t&&t.addScopeListener(wo(e)),(0,X.oq)("dom",Fi(e)),(0,X.oq)("history",$i(e)),_o(e),C(ji(e,!Eo(n))),Eo(n)&&(n.on("afterSendEvent",Oi(e)),n.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&(t.replay_id=n)})))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in Cn&&(this._performanceObserver=di(this))}_removeListeners(){try{Cn.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Cn.removeEventListener("blur",this._handleWindowBlur),Cn.removeEventListener("focus",this._handleWindowFocus),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(e){this._handleException(e)}}__init13(){this._handleVisibilityChange=()=>{"visible"===Cn.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroun
2dTasks()}}__init14(){this._handleWindowBlur=()=>{const e=Ai({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init15(){this._handleWindowFocus=()=>{const e=Ai({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;const t=wi(this.session,this.timeouts);e&&!t&&this._createCustomBreadcrumb(e),this._conditionalFlush()}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Document has become active, but session has expired")}_triggerFullSnapshot(e=!0){try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Replay] Taking full rrweb snapshot"),ci.takeFullSnapshot(e)}catch(e){this._handleException(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{Ti(this,{type:or.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(Li(this,function(e){return e.map(Do).filter(Boolean)}(e)))}_conditionalFlush(){"buffer"!==this.recordingMode&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){if(this.session&&this.eventBuffer){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(Li(e,[So(Cn.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer))try{const e=await this.eventBuffer.finish(),t=this.session.id,n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await Oo({replayId:t,recordingData:e,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:Date.now()})}catch(e){this._handleException(e),this.stop("sendReplay");const t=A().getClient();t&&t.recordDroppedEvent("send_error","replay")}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay] No session or eventBuffer found to flush.")}__init16(){this._flush=async({force:e=!1}={})=>{if(this._isEnabled||e)if(this.checkAndHandleExpiredSession())if(this.session){if(this._debouncedFlush.cancel(),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=null);try{await this._flushLock}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(e)}finally{this._debouncedFlush()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay] No session found to flush.");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("[Replay] Attempting to finish replay event after session expired.")}}_maybeSaveSession(){this.session&&this._options.stickySession&&Si(this.session)}__init17(){this._onMutationHandler=e=>{const t=e.length,n=this._options._experiments.mutationLimit||0,r=n&&t>n;if(t>(this._options._experiments.mutationBreadcrumbLimit||1e3)||r){const e=Ai({category:"replay.mutations",data:{count:t}});this._createCustomBreadcrumb(e)}return!r||(this._triggerFullSnapshot(!1),!1)}}}function Ao(e,t,n,r){const i=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),i.join(",")}function No({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:s,maskTextClass:a,maskTextSelector:u,ignoreClass:c}){const l=Ao(e,[".sentry-mask","[data-sentry-mask]"],a,u),p=Ao(t,[".sentry-unmask","[data-sentry-unmask]"]),d={maskTextSelector:l,unmaskTextSelector:p,maskInputSelector:l,unmaskInputSelector:p,blockSelector:Ao(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,s),unblockSelector:Ao(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Ao(i,[".sentry-ignore","[data-sentry-ignore]",'
2input[type="file"]'],c)};return o instanceof RegExp&&(d.blockClass=o),a instanceof RegExp&&(d.maskTextClass=a),d}function Po(){return"undefined"!=typeof window&&(!(0,Dn.KV)()||"undefined"!=typeof process&&"renderer"===process.type)}const Ro='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Fo=["content-length","content-type","accept"];let jo=!1;class Lo{static __initStatic(){this.id="Replay"}__init(){this.name=Lo.id}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,stickySession:n=!0,useCompression:r=!0,_experiments:i={},sessionSampleRate:o,errorSampleRate:s,maskAllText:a=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,networkDetailAllowUrls:l=[],networkCaptureBodies:p=!0,networkRequestHeaders:d=[],networkResponseHeaders:h=[],mask:f=[],unmask:m=[],block:g=[],unblock:v=[],ignore:y=[],maskFn:_,blockClass:b,blockSelector:w,maskInputOptions:E,maskTextClass:S,maskTextSelector:x,ignoreClass:D}={}){if(Lo.prototype.__init.call(this),this._recordingOptions={maskAllInputs:u,maskAllText:a,maskInputOptions:{...E||{},password:!0},maskTextFn:_,maskInputFn:_,...No({mask:f,unmask:m,block:g,unblock:v,ignore:y,blockClass:b,blockSelector:w,maskTextClass:S,maskTextSelector:x,ignoreClass:D}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,stickySession:n,sessionSampleRate:o,errorSampleRate:s,useCompression:r,blockAllMedia:c,networkDetailAllowUrls:l,networkCaptureBodies:p,networkRequestHeaders:$o(d),networkResponseHeaders:$o(h),_experiments:i},"number"==typeof o&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${o} })`),this._initialOptions.sessionSampleRate=o),"number"==typeof s&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${s} })`),this._initialOptions.errorSampleRate=s),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Ro}`:Ro),this._isInitialized&&Po())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return jo}set _isInitialized(e){jo=e}setupOnce(){Po()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop():Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&this._replay.initializeSampling()}_setup(){const e=function(e){const t=A().getClient(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,o.Jr)(e)};if(!n)return console.warn("SDK client is not available."),r;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.");"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate);"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate);return r}(this._initialOptions);this._replay=new Mo({options:e,recordingOptions:this._recordingOptions})}}function $o(e){return[...Fo,...e.map((e=>e.toLowerCase()))]}Lo.__initStatic();const Vo="baggage",Bo="sentry-",Uo=/^sentry-/,Ho=8192;function zo(e){return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],r)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,o=0===r?i:`${e},${i}`;return o.length>Ho?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):o}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${Bo}${t}`]=n),e)),{}))}function qo(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const Go=m.n2;const Wo=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&(i=t.value-(r||0),(i||void 0===r)&&(r=t.value,t.delta=i,e(t)))}},Yo=()=>Go.__WEB_VITALS_POLYFILL__?Go.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=Go.performance.timing,t=Go.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):Go.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Zo=()=>{const e=Yo();return e&&e.activationStart||0},Ko=(e,t)=>{const n=Yo();let r="navigate";return n&&(r=Go.document.prerendering||Zo()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},Jo=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}}
2,Xo=(e,t)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==Go.document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Qo=e=>{const t=Ko("CLS",0);let n,r=0,i=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const o=i[0],s=i[i.length-1];r&&0!==i.length&&e.startTime-s.startTime<1e3&&e.startTime-o.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>t.value&&(t.value=r,t.entries=i,n&&n())}}))},s=Jo("layout-shift",o);if(s){n=Wo(e,t);const r=()=>{o(s.takeRecords()),n(!0)};return Xo(r),r}};let es=-1;const ts=()=>(es<0&&(es="hidden"!==Go.document.visibilityState||Go.document.prerendering?1/0:0,Xo((({timeStamp:e})=>{es=e}),!0)),{get firstHiddenTime(){return es}}),ns=e=>{const t=ts(),n=Ko("FID");let r;const i=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},o=e=>{e.forEach(i)},s=Jo("first-input",o);r=Wo(e,n),s&&Xo((()=>{o(s.takeRecords()),s.disconnect()}),!0)},rs={},is=e=>{const t=ts(),n=Ko("LCP");let r;const i=e=>{const i=e[e.length-1];if(i){const e=Math.max(i.startTime-Zo(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[i],r())}},o=Jo("largest-contentful-paint",i);if(o){r=Wo(e,n);const t=()=>{rs[n.id]||(i(o.takeRecords()),o.disconnect(),rs[n.id]=!0,r(!0))};return["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),Xo(t,!0),t}};function os(e){return"number"==typeof e&&isFinite(e)}function ss(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function as(e){return e/1e3}function us(){return Go&&Go.addEventListener&&Go.performance}let cs,ls,ps=0,ds={};function hs(){const e=us();if(e&&f.Z1){e.mark&&Go.performance.mark("sentry-tracing-init"),ns((e=>{const t=e.entries.pop();if(!t)return;const n=as(f.Z1),r=as(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding FID"),ds.fid={value:e.value,unit:"millisecond"},ds["mark.fid"]={value:n+r,unit:"second"}}));const t=Qo((e=>{const t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding CLS"),ds.cls={value:e.value,unit:""},ls=t)})),n=is((e=>{const t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding LCP"),ds.lcp={value:e.value,unit:"millisecond"},cs=t)}));return()=>{t&&t(),n&&n()}}return()=>{}}function fs(e){const t=us();if(!t||!Go.performance.getEntries||!f.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Tracing] Adding & adjusting spans using Performance API");const n=as(f.Z1),r=t.getEntries();let i,o;if(r.slice(ps).forEach((t=>{const r=as(t.startTime),s=as(t.duration);if(!("navigation"===e.op&&n+r<e.startTimestamp))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{ms(e,t,r,n)})),ms(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ms(e,t,"fetch",n,"cache","domainLookupStart"),ms(e,t,"domainLookup",n,"DNS"),function(e,t,n){ss(e,{op:"browser",description:"request",startTimestamp:n+as(t.requestStart),endTimestamp:n+as(t.responseEnd)}),ss(e,{op:"browser",description:"response",startTimestamp:n+as(t.responseStart),endTimestamp:n+as(t.responseEnd)})}(e,t,n)}(e,t,n),i=n+as(t.responseStart),o=n+as(t.requestStart);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const o=i+n,s=o+r;ss(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:o})}(e,t,r,s,n);const i=ts(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding FP"),ds.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding FCP"),ds.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":{const i=t.name.replace(Go.location.origin,"");!function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize);"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize);"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus);const a=o+r,u=a+i;ss(e,{description:n,endTimestamp:u,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:a,data:s})}(e,t,i,r,s,n);break}}})),ps=Math.max(r.length-1,0),function(e){const t=Go.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),os(n.rtt)&&(ds["connection.rtt"]={value:n.rtt,unit:"millisecond"}));os(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`);os(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op){"number"==typeof i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding TTFB"),ds.ttfb={value:1e3*(i-e.startTimestamp),unit:"millisecond"},"number"==typeof o&&o<=i&&(ds["ttfb.requestTime"]={value:1e3*(i-o),unit:"millisecond"})),["fcp","fp","lcp"].forEach((t=>{if(!ds[t]||n>=e.startTimestamp)return;const r=ds[t].value,i=n+as(r),o=Math.abs(1e3*(i-e.startTimestamp)),s=o-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Measurements] Normalized ${t} from ${r} to ${o} (${s})`),ds[t].value=o}));const t=ds["mark.fid"];t&&ds.fid&&(ss(e,{description:"first input delay",endTimestamp:t.value+as(ds.fid.value),op:"ui.action",startTimestamp:t.value}),delete ds["mark.fid"]),"fcp"in ds||delete ds.cls,Object.keys(ds).forEac
2h((t=>{e.setMeasurement(t,ds[t].value,ds[t].unit)})),function(e){cs&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding LCP Data"),cs.element&&e.setTag("lcp.element",(0,dt.Rt)(cs.element)),cs.id&&e.setTag("lcp.id",cs.id),cs.url&&e.setTag("lcp.url",cs.url.trim().slice(0,200)),e.setTag("lcp.size",cs.size));ls&&ls.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Measurements] Adding CLS Data"),ls.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,(0,dt.Rt)(t.node)))))}(e)}cs=void 0,ls=void 0,ds={}}function ms(e,t,n,r,i,o){const s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];a&&s&&ss(e,{op:"browser",description:i||n,startTimestamp:r+as(a),endTimestamp:r+as(s)})}const gs=["localhost",/^\//],vs={traceFetch:!0,traceXHR:!0,tracingOrigins:gs,tracePropagationTargets:gs};function ys(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o}={traceFetch:vs.traceFetch,traceXHR:vs.traceXHR,...e},s="function"==typeof o?o:e=>!0,a=e=>function(e,t){return(0,l.U0)(e,t||gs)}(e,r||i),u={};t&&(0,X.oq)("fetch",(e=>{!function(e,t,n,r){if(!J()||!e.fetchData||!t(e.fetchData.url))return;if(e.endTimestamp){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(e.response?n.setHttpStatus(e.response.status):e.error&&n.setStatus("internal_error"),n.finish(),delete r[t]))}const i=A().getScope(),o=i&&i.getSpan(),s=o&&o.transaction;if(o&&s){const t=o.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=t.spanId,r[t.spanId]=t;const i=e.args[0];e.args[1]=e.args[1]||{};const a=e.args[1];n(e.fetchData.url)&&(a.headers=function(e,t,n,r){const i=zo(t),o=n.toTraceparent(),s="undefined"!=typeof Request&&(0,y.V9)(e,Request)?e.headers:r.headers;if(s){if("undefined"!=typeof Headers&&(0,y.V9)(s,Headers)){const e=new Headers(s);return e.append("sentry-trace",o),i&&e.append(Vo,i),e}if(Array.isArray(s)){const e=[...s,["sentry-trace",o]];return i&&e.push([Vo,i]),e}{const e="baggage"in s?s.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),i&&t.push(i),{...s,"sentry-trace":o,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":o,baggage:i}}(i,s.getDynamicSamplingContext(),t,a))}}(e,s,a,u)})),n&&(0,X.oq)("xhr",(e=>{!function(e,t,n,r){const i=e.xhr,o=i&&i[X.xU];if(!J()||i&&i.__sentry_own_request__||!(i&&o&&t(o.url)))return;if(e.endTimestamp){const e=i.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&(t.setHttpStatus(o.status_code),t.finish(),delete r[e]))}const s=A().getScope(),a=s&&s.getSpan(),u=a&&a.transaction;if(a&&u){const e=a.startChild({data:{...o.data,type:"xhr",method:o.method,url:o.url},description:`${o.method} ${o.url}`,op:"http.client"});if(i.__sentry_xhr_span_id__=e.spanId,r[i.__sentry_xhr_span_id__]=e,i.setRequestHeader&&n(o.url))try{i.setRequestHeader("sentry-trace",e.toTraceparent());const t=zo(u.getDynamicSamplingContext());t&&i.setRequestHeader(Vo,t)}catch(e){}}}(e,s,a,u)}))}const _s={...se,markBackgroundTransactions:!0,routingInstrumentation:function(e,t=!0,n=!0){if(!Go||!Go.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=Go.location.href;t&&(r=e({name:Go.location.pathname,startTimestamp:f.Z1?f.Z1/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&(0,X.oq)("history",(({to:t,from:n})=>{void 0===n&&i&&-1!==i.indexOf(t)?i=void 0:n!==t&&(i=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=e({name:Go.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...vs};class bs{__init(){this.name="BrowserTracing"}constructor(e){bs.prototype.__init.call(this),fe(),this.options={..._s,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=hs(),this.options.enableLongTask&&Jo("longtask",(e=>{for(const t of e){const e=Q();if(!e)return;const n=as(f.Z1+t.startTime),r=as(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}})),this.options._experiments.enableInteractions&&Jo("event",(e=>{for(const t of e){const e=Q();if(!e)return;if("click"===t.name){const n=as(f.Z1+t.startTime),r=as(t.duration);e.startChild({description:(0,dt.Rt)(t.target),op:`ui.interaction.${t.name}`,startTimestamp:n,endTimestamp:n+r})}}}),{durationThreshold:0})}setupOnce(e,t){this._getCurrentHub=t;const{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:i,markBackgroun
2dTransactions:o,traceFetch:s,traceXHR:a,tracePropagationTargets:c,shouldCreateSpanForRequest:l,_experiments:p}=this.options;n((e=>{const n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n}),i,r),o&&(Go&&Go.document?Go.document.addEventListener("visibilitychange",(()=>{const e=Q();if(Go.document.hidden&&e){const t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),p.enableInteractions&&this._registerInteractionListener(),ys({traceFetch:s,traceXHR:a,tracePropagationTargets:c,shouldCreateSpanForRequest:l})}_createRouteTransaction(e){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`));const{beforeNavigate:t,idleTimeout:n,finalTimeout:r,heartbeatInterval:i}=this.options,o="pageload"===e.op,s=o?ws("sentry-trace"):null,a=o?ws("baggage"):null,c=s?Le(s):void 0,l=a?function(e){if(!(0,y.HD)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>({...e,...qo(t)})),{});else{if(!e)return;t=qo(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(Uo)&&(e[t.slice(Bo.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(a):void 0,p={...e,...c,metadata:{...e.metadata,dynamicSamplingContext:c&&!l?{}:l},trimEnd:!0},d="function"==typeof t?t(p):p,h=void 0===d?{...p,sampled:!1}:d;h.metadata=h.name!==p.name?{...h.metadata,source:"custom"}:h.metadata,this._latestRouteName=h.name,this._latestRouteSource=h.metadata&&h.metadata.source,!1===h.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Tracing] Starting ${h.op} transaction on scope`);const f=this._getCurrentHub(),{location:m}=Go,g=he(f,h,n,r,!0,{location:m},i);return g.registerBeforeFinishCallback((e=>{this._collectWebVitals(),fs(e)})),g}_registerInteractionListener(){let e;const t=()=>{const{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=Q();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`));if(e&&(e.setFinishReason("interactionInterrupted"),e.finish(),e=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`));if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`));const s=this._getCurrentHub(),{location:a}=Go,c={name:this._latestRouteName,op:i,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};e=he(s,c,t,n,!0,{location:a},r)};["click"].forEach((e=>{addEventListener(e,t,{once:!1,capture:!0})}))}}function ws(e){const t=(0,dt.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):null}const Es=100,Ss=5e3,xs=36e5;function Ds(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.info(`[Offline]: ${e}`,t)}function Cs(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let i,o=Ss;function s(e,n,r){return i=["replay_event","replay_recording","client_report"],!xe(e,((e,t)=>i.includes(t)))&&(!t.shouldStore||t.shouldStore(e,n,r));var i}function a(e){r&&(i&&clearTimeout(i),i=setTimeout((async()=>{i=void 0;const e=await r.pop();e&&(Ds("Attempting to send previously queued event"),c(e).catch((e=>{Ds("Failed to retry sending",e)})))}),e),"number"!=typeof i&&i.unref&&i.unref())}function u(){i||(a(o),o=Math.min(2*o,xs))}async function c(e){try{const t=await n.send(e);let r=Es;if(t)if(t.headers&&t.headers["retry-after"])r=Ne(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return a(r),o=Ss,t}catch(t){if(r&&await s(e,t,o))return await r.insert(e),u(),Ds("Error sending. Event queued",t),{};throw t}}return t.flushAtStartup&&u(),{send:c,flush:e=>n.flush(e)}}}function Ts(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function ks(e){return Ts(e.getAllKeys())}function Is(e){let t;function n(){return null==t&&(t=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Ts(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await Ce(t,e.textEncoder);await function(e,t,n){return e((e=>ks(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),Ts(e.transaction)}))))}(n(),r,e.maxQueueSize||30)}catch(e){}},pop:async()=>{try{const t=await function(e){return e((e=>ks(e).then((t=>{if(0!==t.length)return Ts(e.get(t[0])).then((n=>(e.delete(t[0]),Ts(e.transaction).then((()=>n)))))}
2))))}(n());if(t)return function(e,t,n){let r="string"==typeof e?t.encode(e):e;function i(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}const s=o(),a=[];for(;r.length;){const e=o(),t="number"==typeof e.length?e.length:void 0;a.push([e,t?i(t):o()])}return[s,a]}(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function Os(e){return function(e){return t=>e({...t,createStore:Is})}(Cs(e))}const Ms=function(e){let t=[],n={};return{add(r,i){for(;t.length>=e;){const e=t.shift();void 0!==e&&delete n[e]}n[r]&&this.delete(r),t.push(r),n[r]=i},clear(){n={},t=[]},get(e){return n[e]},size(){return t.length},delete(e){if(!n[e])return!1;delete n[e];for(let n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}return!0}}}(20),As=1e6,Ns=String(0),Ps="main";let Rs="",Fs="",js="",Ls=Ve.navigator&&Ve.navigator.userAgent||"",$s="";const Vs=Ve.navigator&&Ve.navigator.language||Ve.navigator&&Ve.navigator.languages&&Ve.navigator.languages[0]||"";const Bs=Ve.navigator&&Ve.navigator.userAgentData;var Us;function Hs(e){return function(e){return!("thread_metadata"in e)}(e)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[Ns]:{name:Ps}}};if(!e.samples.length)return r;const i=e.samples[0].timestamp;for(let o=0;o<e.samples.length;o++){const s=e.samples[o];if(void 0===s.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[o]={elapsed_since_start_ns:((s.timestamp-i)*As).toFixed(0),stack_id:t,thread_id:Ns};continue}let a=e.stacks[s.stackId];const u=[];for(;a;){u.push(a.frameId);const t=e.frames[a.frameId];void 0===r.frames[a.frameId]&&(r.frames[a.frameId]={function:t.name,file:t.resourceId?e.resources[t.resourceId]:void 0,line:t.line,column:t.column}),a=void 0===a.parentId?void 0:e.stacks[a.parentId]}const c={elapsed_since_start_ns:((s.timestamp-i)*As).toFixed(0),stack_id:n,thread_id:Ns};r.stacks[n]=u,r.samples[o]=c,n++}return r}(e):e}function zs(e,t,n,r){if("transaction"!==e.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");const i=e.sdkProcessingMetadata.profile;if(null==i)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${i} instead.`);if(!i.profile_id)throw new TypeError("Profile is missing profile_id");if(i.samples.length<=1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Discarding profile because it contains less than 2 samples"),null;const s=function(e){const t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return"string"==typeof t&&32!==t.length&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t?"":t}(e),a=function(e){if(e&&e.sdk)return{name:e.sdk.name,version:e.sdk.version}}(n);!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name||"unknown sdk",e.sdk.version=e.sdk.version||t.version||"unknown sdk version",e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const l=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:ye(r)},..."transaction"===e.type&&i&&{trace:(0,o.Jr)({...i})}}}(e,a,r,t),p=Hs(i),d="number"==typeof e.start_timestamp?1e3*e.start_timestamp:Date.now(),h="number"==typeof e.timestamp?1e3*e.timestamp:Date.now();return Ee(l,[[{type:"profile"},{event_id:i.profile_id,timestamp:new Date(d).toISOString(),platform:"javascript",version:"1",release:e.release||"",environment:e.environment||g,runtime:{name:"javascript",version:Ve.navigator.userAgent},os:{name:Rs,version:Fs,build_number:Ls},device:{locale:Vs,model:$s,manufacturer:Ls,architecture:js,is_emulator:!1},profile:p,transactions:[{name:e.transaction||"",id:e.event_id||(0,c.DM)(),trace_id:s,active_thread_id:Ns,relative_start_ns:"0",relative_end_ns:(1e6*(h-d)).toFixed(0)}]}]])}"object"==typeof(Us=Bs)&&null!==Us&&"getHighEntropyValues"in Us&&Bs.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(Rs=e.platform||"",js=e.architecture||"",$s=e.model||"",Fs=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){const t=e.fullVersionList[e.fullVersionList.length-1];Ls=`${t.brand} ${t.version}`}}
2)).catch((e=>{}));const qs=3e4;let Gs=!1;function Ws(e){return e?Ys(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function Ys(e){const t=Ve.Profiler;if("function"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."),e;if(!e.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Transaction is not sampled, skipping profiling"),e;if(Gs)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Profiling has been disabled for the duration of the current user session."),e;const n=A().getClient(),r=n&&n.getOptions(),i=r&&r.profilesSampleRate||0;if(void 0===i)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Profiling disabled, enable it by setting `profilesSampleRate` option to SDK init call."),e;if(Math.random()>i)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Skip profiling transaction due to sampling."),e;const o=Math.floor(qs/10);let s;try{s=new t({sampleInterval:10,maxBufferSize:o})}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(u.kg.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),u.kg.log("[Profiling] Disabling profiling for current user session.")),Gs=!0}if(!s)return e;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Profiling] started profiling transaction: ${e.name||e.description}`);const a=(0,c.DM)();let l=null;function p(){e&&s&&(l?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] profile for:",e.name||e.description,"already exists, returning early"):s.stop().then((t=>{d&&(Ve.clearTimeout(d),d=void 0),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Profiling] stopped profiling of transaction: ${e.name||e.description}`),t?t.samples.length<2||(l={...t,profile_id:a},function(e,t){const n=Ms.get(e);if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Couldn't find a transaction event for this profile, dropping it."));n.sdkProcessingMetadata=n.sdkProcessingMetadata||{},n.sdkProcessingMetadata&&!n.sdkProcessingMetadata.profile&&(n.sdkProcessingMetadata.profile=t);const r=A().getClient();if(!r)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] getClient did not return a Client, removing profile from event and forwarding to next event processors."));const i=r.getDsn();if(!i)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] getDsn did not return a Dsn, removing profile from event and forwarding to next event processors."));const o=r.getTransport();if(!o)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] getTransport did not return a Transport, removing profile from event and forwarding to next event processors."));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Preparing envelope and sending a profiling event");const s=zs(n,i);Ms.delete(e),s?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Envelope constructed, sending it"),o.send(s).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Error while sending event:",e)}))):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Failed to construct envelope")}(a,l)):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(`[Profiling] profiler returned null profile for: ${e.name||e.description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started")})).catch((e=>(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] error while stopping profiler:",e),null))))}let d=Ve.setTimeout((()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] max profile duration elapsed, stopping profiling for:",e.name||e.description),p()}),qs);const h=e.finish.bind(e);return e.finish=function(){return e?(p(),e.setContext("profile",{profile_id:a}),h()):h()},e}function Zs(){const e=O();e.__SENTRY__?(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] startTransaction exists, patching it with profiling functionality..."),e.__SENTRY__.extensions.startTransaction=function(e){return function(t,n){const r=e.call(this,t,n);return void 0===r?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Transaction is undefined, skipping profiling"),r):Ys(r)}}(e.__SENTRY__.extensions.startTransaction)):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] startTransaction does not exists, profiling will not work. Make sure you import @sentry/tracing package before @sentry/profiling-node as import order matters.")):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Can't find main carrier, profiling won't work.")}class Ks{constructor(){Ks.prototype.__init.call(this)}__init(){this.name="BrowserProfilingIntegration"}setupOnce(e){Zs(),e(this.handleGlobalEvent.bind(this))}handleGlobalEvent(e){const t=e.contexts&&e.contexts.profile&&e.contexts.profile.profile_id;return t&&"string"==typeof t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("[Profiling] Profiling event found, caching it."),Ms.add(t,e)),e}}let Js={};Ve.Sentry&&Ve.Sentry.Integrations&&(Js=Ve.Sentry.Integrations);const Xs={...Js,...r,...i}},71195:function(e,t,n){"use strict";n.r(t),n.d(t,{CaptureConsole:function(){return u},Debug:function(){return c},Dedupe:function(){return l},ExtraErrorData:function(){return v},HttpClient:function(){return R},Offline:function(){return E},ReportingObserver:function(){return D},RewriteFrames:function(){return M},SessionTiming:function(){return A},Transaction:function(){return N}});var r=n(12343),i=n(71235),o=n(20535),s=n(16547),a=n(57321);class u{static __initStatic(){this.id="CaptureConsole"}__init(){this.name=u.id}__init2(){this._levels=r.RU}constructor(e={}){u.prototype.__init.call(this),u.prototype.__init2.call(this),e.levels&&(this._levels=e.levels)}
2setupOnce(e,t){"console"in i.n2&&this._levels.forEach((e=>{e in i.n2.console&&(0,o.hl)(i.n2.console,e,(n=>(...r)=>{const o=t();o.getIntegration(u)&&o.withScope((t=>{t.setLevel((0,s.VT)(e)),t.setExtra("arguments",r),t.addEventProcessor((e=>(e.logger="console",e)));let n=(0,a.nK)(r," ");"assert"===e?!1===r[0]&&(n=`Assertion failed: ${(0,a.nK)(r.slice(1)," ")||"console.assert"}`,t.setExtra("arguments",r.slice(1)),o.captureMessage(n)):"error"===e&&r[0]instanceof Error?o.captureException(r[0]):o.captureMessage(n)})),n&&n.apply(i.n2.console,r)}))}))}}u.__initStatic();class c{static __initStatic(){this.id="Debug"}__init(){this.name=c.id}constructor(e){c.prototype.__init.call(this),this._options={debugger:!1,stringify:!1,...e}}setupOnce(e,t){e(((e,n)=>{const i=t().getIntegration(c);return i&&(i._options.debugger,(0,r.Cf)((()=>{i._options.stringify?(console.log(JSON.stringify(e,null,2)),Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),Object.keys(n).length&&console.log(n))}))),e}))}}c.__initStatic();class l{constructor(){l.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=l.id}setupOnce(e,t){const n=e=>{if(e.type)return e;const n=t().getIntegration(l);if(n){try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!d(e,t))return!1;if(!p(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=h(t),r=h(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!d(e,t))return!1;if(!p(e,t))return!1;return!0}(e,t))return!0;return!1}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function p(e,t){let n=f(e),r=f(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function d(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function h(e){return e.exception&&e.exception.values&&e.exception.values[0]}function f(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}l.__initStatic();var m=n(67597),g=n(88007);class v{static __initStatic(){this.id="ExtraErrorData"}__init(){this.name=v.id}constructor(e){v.prototype.__init.call(this),this._options={depth:3,...e}}setupOnce(e,t){e(((e,n)=>{const r=t().getIntegration(v);return r?r.enhanceEventWithErrorData(e,n):e}))}enhanceEventWithErrorData(e,t={}){if(!t.originalException||!(0,m.VZ)(t.originalException))return e;const n=t.originalException.name||t.originalException.constructor.name,r=this._extractErrorData(t.originalException);if(r){const t={...e.contexts},i=(0,g.Fv)(r,this._options.depth);return(0,m.PO)(i)&&((0,o.xp)(i,"__sentry_skip_normalization__",!0),t[n]=i),{...e,contexts:t}}return e}_extractErrorData(e){try{const t=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],n={};for(const r of Object.keys(e)){if(-1!==t.indexOf(r))continue;const i=e[r];n[r]=(0,m.VZ)(i)?i.toString():i}if("function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const r=t[e];n[e]=(0,m.VZ)(r)?r.toString():r}}return n}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error("Unable to extract extra data from the Error object:",e)}return null}}v.__initStatic();var y=n(62844),_=n(69483),b=n.n(_);const w=i.n2;class E{static __initStatic(){this.id="Offline"}__init(){this.name=E.id}constructor(e={}){E.prototype.__init.call(this),this.maxStoredEvents=e.maxStoredEvents||30,this.offlineEventStore=b().createInstance({name:"sentry/offlineEventStore"})}setupOnce(e,t){this.hub=t(),"addEventListener"in w&&w.addEventListener("online",(()=>{this._sendEvents().catch((()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("could not send cached events")}))}
2));const n=e=>this.hub&&this.hub.getIntegration(E)&&"navigator"in w&&"onLine"in w.navigator&&!w.navigator.onLine?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Event dropped due to being a offline - caching instead"),this._cacheEvent(e).then((e=>this._enforceMaxEvents())).catch((e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("could not cache event while offline")})),null):e;n.id=this.name,e(n),"navigator"in w&&"onLine"in w.navigator&&w.navigator.onLine&&this._sendEvents().catch((()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("could not send cached events")}))}async _cacheEvent(e){return this.offlineEventStore.setItem((0,y.DM)(),(0,g.Fv)(e))}async _enforceMaxEvents(){const e=[];return this.offlineEventStore.iterate(((t,n,r)=>{e.push({cacheKey:n,event:t})})).then((()=>this._purgeEvents(e.sort(((e,t)=>(t.event.timestamp||0)-(e.event.timestamp||0))).slice(this.maxStoredEvents<e.length?this.maxStoredEvents:e.length).map((e=>e.cacheKey))))).catch((e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("could not enforce max events")}))}async _purgeEvent(e){return this.offlineEventStore.removeItem(e)}async _purgeEvents(e){return Promise.all(e.map((e=>this._purgeEvent(e)))).then()}async _sendEvents(){return this.offlineEventStore.iterate(((e,t,n)=>{this.hub?(this.hub.captureEvent(e),this._purgeEvent(t).catch((e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("could not purge event from cache")}))):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("no hub found - could not send cached event")}))}}E.__initStatic();var S=n(8823);const x=i.n2;class D{static __initStatic(){this.id="ReportingObserver"}__init(){this.name=D.id}constructor(e={types:["crash","deprecation","intervention"]}){this._options=e,D.prototype.__init.call(this)}setupOnce(e,t){if(!(0,S.zb)())return;this._getCurrentHub=t;new x.ReportingObserver(this.handler.bind(this),{buffered:!0,types:this._options.types}).observe()}handler(e){const t=this._getCurrentHub&&this._getCurrentHub();if(t&&t.getIntegration(D))for(const n of e)t.withScope((e=>{e.setExtra("url",n.url);const r=`ReportingObserver [${n.type}]`;let i="No details available";if(n.body){const t={};for(const e in n.body)t[e]=n.body[e];if(e.setExtra("body",t),"crash"===n.type){const e=n.body;i=[e.crashId||"",e.reason||""].join(" ").trim()||i}else{i=n.body.message||i}}t.captureMessage(`${r}: ${i}`)}))}}function C(e,t){let n=0;for(let t=e.length-1;t>=0;t--){const r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}D.__initStatic();const T=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function k(e){const t=T.exec(e);return t?t.slice(1):[]}function I(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=C(t.split("/").filter((e=>!!e)),!n).join("/"),(n?"/":"")+t||"."}function O(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}class M{static __initStatic(){this.id="RewriteFrames"}__init(){this.name=M.id}__init2(){this._prefix="app:///"}constructor(e={}){M.prototype.__init.call(this),M.prototype.__init2.call(this),M.prototype.__init3.call(this),e.root&&(this._root=e.root),e.prefix&&(this._prefix=e.prefix),e.iteratee&&(this._iteratee=e.iteratee)}setupOnce(e,t){e((e=>{const n=t().getIntegration(M);return n?n.process(e):e}))}process(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=this._processExceptionsEvent(t)),t}__init3(){this._iteratee=e=>{if(!e.filename)return e;const t=/^[a-zA-Z]:\\/.test(e.filename),n=/^\//.test(e.filename);if(t||n){const n=t?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,r=this._root?function(e,t){e=I(e).slice(1),t=I(t).slice(1);const n=O(e.split("/")),r=O(t.split("/")),i=Math.min(n.length,r.length);let o=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){o=e;break}let s=[];for(let e=o;e<n.length;e++)s.push("..");return s=s.concat(r.slice(o)),s.join("/")}(this._root,n):function(e,t){let n=k(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}(n);e.filename=`${this._prefix}${r}`}return e}}_processExceptionsEvent(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map((e=>({...e,...e.stacktrace&&{stacktrace:this._processStacktrace(e.stacktrace)}})))}}}catch(t){return e}}_processStacktrace(e){return{...e,frames:e&&e.frames&&e.frames.map((e=>this._iteratee(e)))}}}M.__initStatic();class A{constructor(){A.prototype.__init.call(this),A.prototype.__init2.call(this)}static __initStatic(){this.id="SessionTiming"}__init(){this.name=A.id}__init2(){this._startTime=Date.now()}setupOnce(e,t){e((e=>{const n=t().getIntegration(A);return n?n.process(e):e}))}process(e){const t=Date.now();return{...e,extra:{...e.extra,"session:start":this._startTime,"session:duration":t-this._startTime,"session:end":t}}}}A.__initStatic();class N{constructor(){N.prototype.__init.call(this)}static __initStatic(){this.id="Transaction"}__init(){this.name=N.id}setupOnce(e,t){e((e=>{const n=t().getIntegration(N);return n?n.process(e):e}))}process(e){const t=this._getFramesFromEvent(e);for(let n=t.length-1;n>=0;n--){const r=t[n];
2if(!0===r.in_app){e.transaction=this._getTransaction(r);break}}return e}_getFramesFromEvent(e){const t=e.exception&&e.exception.values&&e.exception.values[0];return t&&t.stacktrace&&t.stacktrace.frames||[]}_getTransaction(e){return e.module||e.function?`${e.module||"?"}/${e.function||"?"}`:"<unknown>"}}N.__initStatic();var P=n(42533);class R{static __initStatic(){this.id="HttpClient"}__init(){this.name=R.id}constructor(e){R.prototype.__init.call(this),this._options={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e}}setupOnce(e,t){this._getCurrentHub=t,this._wrapFetch(),this._wrapXHR()}_fetchResponseHandler(e,t,n){if(this._getCurrentHub&&this._shouldCaptureResponse(t.status,t.url)){const i=function(e,t){if(!t&&e instanceof Request)return e;if(e instanceof Request&&e.bodyUsed)return e;return new Request(e,t)}(e,n),o=this._getCurrentHub();let s,a,u,c;o.shouldSendDefaultPii()&&([{headers:s,cookies:u},{headers:a,cookies:c}]=[{cookieHeader:"Cookie",obj:i},{cookieHeader:"Set-Cookie",obj:t}].map((({cookieHeader:e,obj:t})=>{const n=this._extractFetchHeaders(t.headers);let i;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(i=this._parseCookieString(t))}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`Could not extract cookies from header ${e}`)}return{headers:n,cookies:i}})));const l=this._createEvent({url:i.url,method:i.method,status:t.status,requestHeaders:s,responseHeaders:a,requestCookies:u,responseCookies:c});o.captureEvent(l)}}_xhrResponseHandler(e,t,n){if(this._getCurrentHub&&this._shouldCaptureResponse(e.status,e.responseURL)){let i,o,s;const a=this._getCurrentHub();if(a.shouldSendDefaultPii()){try{const t=e.getResponseHeader("Set-Cookie")||e.getResponseHeader("set-cookie")||void 0;t&&(o=this._parseCookieString(t))}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Could not extract cookies from response headers")}try{s=this._getXHRResponseHeaders(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Could not extract headers from response")}i=n}const u=this._createEvent({url:e.responseURL,method:t,status:e.status,requestHeaders:i,responseHeaders:s,responseCookies:o});a.captureEvent(u)}}_getResponseSizeFromHeaders(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}_parseCookieString(e){return e.split("; ").reduce(((e,t)=>{const[n,r]=t.split("=");return e[n]=r,e}),{})}_extractFetchHeaders(e){const t={};return e.forEach(((e,n)=>{t[n]=e})),t}_getXHRResponseHeaders(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return e[n]=r,e}),{}):{}}_isInGivenRequestTargets(e){return!!this._options.failedRequestTargets&&this._options.failedRequestTargets.some((t=>"string"==typeof t?e.includes(t):t.test(e)))}_isInGivenStatusRanges(e){return!!this._options.failedRequestStatusCodes&&this._options.failedRequestStatusCodes.some((t=>"number"==typeof t?t===e:e>=t[0]&&e<=t[1]))}_wrapFetch(){(0,S.t$)()&&(0,P.oq)("fetch",(e=>{const{response:t,args:n}=e,[r,i]=n;t&&this._fetchResponseHandler(r,t,i)}))}_wrapXHR(){"XMLHttpRequest"in i.n2&&(0,P.oq)("xhr",(e=>{const{xhr:t}=e,n=t[P.xU];if(!n)return;const{method:i,request_headers:o}=n;if(i)try{this._xhrResponseHandler(t,i,o)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Error while extracting response event form XHR response",e)}}))}_isSentryRequest(e){const t=this._getCurrentHub&&this._getCurrentHub().getClient();if(!t)return!1;const n=t.getDsn();return!!n&&e.includes(n.host)}_shouldCaptureResponse(e,t){return this._isInGivenStatusRanges(e)&&this._isInGivenRequestTargets(t)&&!this._isSentryRequest(t)}_createEvent(e){const t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:this._getResponseSizeFromHeaders(e.responseHeaders)}}};return(0,y.EG)(n,{type:"http.client"}),n}}R.__initStatic()},58464:function(e,t,n){"use strict";n.d(t,{Rt:function(){return s},l4:function(){return u},qT:function(){return c}});var r=n(67597);const i=(0,n(71235).Rf)(),o=80;function s(e,t={}){try{let n=e;const r=5,i=[];let s=0,u=0;const c=" > ",l=c.length;let p;const d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||o;for(;n&&s++<r&&(p=a(n,d),!("html"===p||s>1&&u+i.length*l+p.length>=h));)i.push(p),u+=p.length,n=n.parentNode;return i.reverse().join(c)}catch(e){return"<unknown>"}}function a(e,t){const n=e,i=[];let o,s,a,u,c;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&(0,r.HD)(o))for(s=o.split(/\s+/),c=0;c<s.length;c++)i.push(`.${s[c]}`);const p=["aria-label","type","name","title","alt"];for(c=0;c<p.length;c++)a=p[c],u=n.getAttribute(a),u&&i.push(`[${a}="${u}"]`);return i.join("")}function u(){try{return i.document.location.href}catch(e){return""}}function c(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}},57816:function(e,t,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{S:function(){return i},n:function(){return r}})},42533:function(e,t,n){"use strict";n.d(t,{xU:function(){return p},oq:function(){return m}});var r=n(67597),i=n(12343),o=n(20535),s=n(30360),a=n(8823),u=n(71235);const c=(0,u.Rf)();const l=(0,u.Rf)(),p="__sentry_xhr_v2__",d={},h={};function f(e){if(!h[e])switch(h[e]=!0,e){case"console":!function(){if(!("console"in l))return;i.RU.forEach((function(e){e in l.console&&(0,o.hl)(l.console,e,(function(t){return function(...n){g("console",{args:n,level:e}),t&&t.apply(l.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in l))return;const e=g.bind(null,"dom"),t=S(e,!0);l.document.addEventListener("click",t,!1),l.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=l[t]&&l[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,o.hl)(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){const r=S(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch(e){}return t.call(this,n,r,i)}})),(0,o.hl)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in l))return;const e=XMLHttpRequest.prototype;(0,o.hl)(e,"open",(function(e){return function(...t){const n=t[1],i=this[p]={method:(0,r.HD)(t[0])?t[0].toUpperCase():t[0],url:t[1],request_headers:{}};
2(0,r.HD)(n)&&"POST"===i.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const e=this[p];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}g("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,o.hl)(this,"onreadystatechange",(function(e){return function(...t){return s(),e.apply(this,t)}})):this.addEventListener("readystatechange",s),(0,o.hl)(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this[p];return i&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),(0,o.hl)(e,"send",(function(e){return function(...t){const n=this[p];return n&&void 0!==t[0]&&(n.body=t[0]),g("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}();break;case"fetch":!function(){if(!(0,a.t$)())return;(0,o.hl)(l,"fetch",(function(e){return function(...t){const{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:y(t),method:v(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:y(t),method:v(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return g("fetch",{...i}),e.apply(l,t).then((e=>(g("fetch",{...i,endTimestamp:Date.now(),response:e}),e)),(e=>{throw g("fetch",{...i,endTimestamp:Date.now(),error:e}),e}))}}))}();break;case"history":!function(){if(!function(){const e=c.chrome,t=e&&e.app&&e.app.runtime,n="history"in c&&!!c.history.pushState&&!!c.history.replaceState;return!t&&n}())return;const e=l.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=_,t=String(n);_=t,g("history",{from:e,to:t})}return e.apply(this,t)}}l.onpopstate=function(...t){const n=l.location.href,r=_;if(_=n,g("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,o.hl)(l.history,"pushState",t),(0,o.hl)(l.history,"replaceState",t)}();break;case"error":x=l.onerror,l.onerror=function(e,t,n,r,i){return g("error",{column:r,error:i,line:n,msg:e,url:t}),!(!x||x.__SENTRY_LOADER__)&&x.apply(this,arguments)},l.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":D=l.onunhandledrejection,l.onunhandledrejection=function(e){return g("unhandledrejection",e),!(D&&!D.__SENTRY_LOADER__)||D.apply(this,arguments)},l.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("unknown instrumentation type:",e))}}function m(e,t){d[e]=d[e]||[],d[e].push(t),f(e)}function g(e,t){if(e&&d[e])for(const n of d[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,s.$P)(n)}\nError:`,t)}}function v(e,t){return!!e&&"object"==typeof e&&!!e[t]}function y(e){return"string"==typeof e?e:e?v(e,"url")?e.url:e.toString?e.toString():"":""}let _;const b=1e3;let w,E;function S(e,t=!1){return n=>{if(!n||E===n)return;if(function(e){if("keypress"!==e.type)return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===w||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(E,n))&&(e({event:n,name:r,global:t}),E=n),clearTimeout(w),w=l.setTimeout((()=>{w=void 0}),b)}}let x=null;let D=null},67597:function(e,t,n){"use strict";n.d(t,{Cy:function(){return g},HD:function(){return c},J8:function(){return m},Kj:function(){return f},PO:function(){return p},TX:function(){return a},V9:function(){return y},VW:function(){return s},VZ:function(){return i},cO:function(){return d},fm:function(){return u},i2:function(){return v},kK:function(){return h},pt:function(){return l}});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function s(e){return o(e,"ErrorEvent")}function a(e){return o(e,"DOMError")}function u(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function l(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function p(e){return o(e,"Object")}function d(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function f(e){return o(e,"RegExp")}function m(e){return Boolean(e&&e.then&&"function"==typeof e.then)}
2function g(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e){return"number"==typeof e&&e!=e}function y(e,t){try{return e instanceof t}catch(e){return!1}}},12343:function(e,t,n){"use strict";n.d(t,{Cf:function(){return o},RU:function(){return i},kg:function(){return a}});var r=n(71235);const i=["debug","info","warn","error","log","assert","trace"];function o(e){if(!("console"in r.n2))return e();const t=r.n2.console,n={};i.forEach((e=>{const r=t[e]&&t[e].__sentry_original__;e in t&&r&&(n[e]=t[e],t[e]=r)}));try{return e()}finally{Object.keys(n).forEach((e=>{t[e]=n[e]}))}}function s(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{t[n]=(...t)=>{e&&o((()=>{r.n2.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}let a;a="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,r.YO)("logger",s):s()},62844:function(e,t,n){"use strict";n.d(t,{DM:function(){return o},Db:function(){return u},EG:function(){return c},YO:function(){return l},jH:function(){return a},lE:function(){return p}});var r=n(20535),i=n(71235);function o(){const e=i.n2,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function a(e){const{message:t,event_id:n}=e;if(t)return t;const r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function u(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function c(e,t){const n=s(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function l(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function p(e){return Array.isArray(e)?e:[e]}},61422:function(e,t,n){"use strict";n.d(t,{KV:function(){return i},l$:function(){return o}});var r=n(57816);function i(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}e=n.hmd(e)},88007:function(e,t,n){"use strict";n.d(t,{Fv:function(){return s},Qy:function(){return a}});var r=n(67597);var i=n(20535),o=n(30360);function s(e,t=100,n=1/0){try{return u("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function a(e,t=3,n=102400){const r=s(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?a(e,t-1,n):r;var i}function u(e,t,s=1/0,a=1/0,c=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[l,p]=c;if(null===t||["number","boolean","string"].includes(typeof t)&&!(0,r.i2)(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.Cy)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if(void 0===t)return"[undefined]";if("function"==typeof t)return`[Function: ${(0,o.$P)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const i=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const h="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:s;if(0===h)return d.replace("object ","");if(l(t))return"[Circular ~]";const f=t;if(f&&"function"==typeof f.toJSON)try{return u("",f.toJSON(),h-1,a,c)}catch(e){}const m=Array.isArray(t)?[]:{};let g=0;const v=(0,i.Sh)(t);for(const e in v){if(!Object.prototype.hasOwnProperty.call(v,e))continue;if(g>=a){m[e]="[MaxProperties ~]";break}const t=v[e];m[e]=u(e,t,h-1,a,c),g++}return p(t),m}},20535:function(e,t,n){"use strict";n.d(t,{$Q:function(){return u},HK:function(){return c},Jr:function(){return m},Sh:function(){return p},_j:function(){return l},hl:function(){return s},xp:function(){return a},zf:function(){return f}});var r=n(58464),i=n(67597),o=n(57321);function s(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if("function"==typeof i)try{u(i,r)}catch(e){}e[t]=i}function a(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function u(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,a(e,"__sentry_original__",t)}function c(e){return e.__sentry_original__}function l(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function p(e){if((0,i.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if((0,i.cO)(e)){const t={type:e.type,target:d(e.target),currentTarget:d(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function d(e){try{return(0,i.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function h(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function f(e,t=40){const n=Object.keys(p(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,o.$G)(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");
2if(!(r.length>t))return e===n.length?r:(0,o.$G)(r,t)}return""}function m(e){return g(e,new Map)}function g(e,t){if((0,i.PO)(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=g(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(g(e,t))})),r}return e}},16547:function(e,t,n){"use strict";n.d(t,{VT:function(){return i}});const r=["fatal","error","warning","log","info","debug"];function i(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},30360:function(e,t,n){"use strict";n.d(t,{$P:function(){return u},Sq:function(){return s},pE:function(){return o}});const r=50,i=/\(error: (.*)\)/;function o(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const o=[],s=e.split("\n");for(let e=n;e<s.length;e++){const n=s[e];if(n.length>1024)continue;const a=i.test(n)?n.replace(i,"$1"):n;if(!a.match(/\S*Error: /)){for(const e of t){const t=e(a);if(t){o.push(t);break}}if(o.length>=r)break}}return function(e){if(!e.length)return[];const t=e.slice(0,r),n=t[t.length-1].function;n&&/sentryWrapped/.test(n)&&t.pop();t.reverse();const i=t[t.length-1].function;i&&/captureMessage|captureException/.test(i)&&t.pop();return t.map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(o)}}function s(e){return Array.isArray(e)?o(...e):e}const a="<anonymous>";function u(e){try{return e&&"function"==typeof e&&e.name||a}catch(e){return a}}},57321:function(e,t,n){"use strict";n.d(t,{$G:function(){return i},U0:function(){return s},nK:function(){return o}});var r=n(67597);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const r=e[t];try{n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!(0,r.HD)(e)&&((0,r.Kj)(t)?t.test(e):!!(0,r.HD)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},8823:function(e,t,n){"use strict";n.d(t,{Ak:function(){return o},Du:function(){return s},t$:function(){return a},zb:function(){return u}});var r=n(12343);const i=(0,n(71235).Rf)();function o(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function a(){if(!o())return!1;if(s(i.fetch))return!0;let e=!1;const t=i.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");
2n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=s(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function u(){return"ReportingObserver"in i}},21170:function(e,t,n){"use strict";n.d(t,{Z1:function(){return d},ph:function(){return l},yW:function(){return c}});var r=n(61422),i=n(71235);e=n.hmd(e);const o=(0,i.Rf)(),s={nowSeconds:()=>Date.now()/1e3};const a=(0,r.KV)()?function(){try{return(0,r.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){const{performance:e}=o;if(!e||!e.now)return;return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),u=void 0===a?s:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},c=s.nowSeconds.bind(s),l=u.nowSeconds.bind(u);let p;const d=(()=>{const{performance:e}=o;if(!e||!e.now)return void(p="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,s=i<t,a=e.timing&&e.timing.navigationStart,u="number"==typeof a?Math.abs(a+n-r):t;return s||u<t?i<=u?(p="timeOrigin",e.timeOrigin):(p="navigationStart",a):(p="dateNow",r)})()},71235:function(e,t,n){"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{Rf:function(){return o},YO:function(){return s},n2:function(){return i}});const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return i}function s(e,t,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},23234:function(e,t,n){n(31705),e.exports="ngAnimate"},42591:function(e,t,n){"use strict";var r=n(66695),i=n(62531),o=n(19056),s=n(21962),a=n(37339);e.exports=r.module("credit-cards",[]).value("creditcards",i).directive("ccNumber",o).directive("ccExp",a).directive("ccExpMonth",a.month).directive("ccExpYear",a.year).directive("ccCvc",s).name},23611:function(){angular.module("rt.encodeuri",[]).filter("encodeUri",["$window",function(e){return e.encodeURIComponent}])},99091:function(){"use strict";angular.module("ngLocale",[],["$provide",function(e){var t="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["午前","午後"],DAY:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],ERANAMES:["紀元前","西暦"],ERAS:["紀元前","西暦"],FIRSTDAYOFWEEK:6,MONTH:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],SHORTDAY:["日","月","火","水","木","金","土"],SHORTMONTH:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],STANDALONEMONTH:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],WEEKENDRANGE:[5,6],fullDate:"y年M月d日EEEE",longDate:"y年M月d日",medium:"y/MM/dd H:mm:ss",mediumDate:"y/MM/dd",mediumTime:"H:mm:ss",short:"y/MM/dd H:mm",shortDate:"y/MM/dd",shortTime:"H:mm"},NUMBER_FORMATS:{CURRENCY_SYM:"¥",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"ja",localeID:"ja",pluralCat:function(e,n){return t}})}])},84590:function(e,t,n){n(70918),e.exports="ngMessages"},53882:function(){"use strict";angular.module("btford.modal",[]).factory("btfModal",["$animate","$compile","$rootScope","$controller","$q","$http","$templateCache",function(e,t,n,r,i,o,s){return function(a){if(!(!a.template^!a.templateUrl))throw new Error("Expected modal to have exacly one of either `template` or `templateUrl`");a.template;var u,c,l=a.controller||null,p=a.controllerAs,d=angular.element(a.container||document.body),h=null;return u=a.template?i.when(a.template):o.get(a.templateUrl,{cache:s}).then((function(e){return e.data})),{activate:function(i){return u.then((function(o){h||function(i,o){if(h=angular.element(i),0===h.length)throw new Error("The template contains no elements; you need to wrap text nodes");if(c=n.$new(),l){o||(o={}),o.$scope=c;var s=r(l,o);p&&(c[p]=s)}else if(o)for(var a in o)c[a]=o[a];t(h)(c),e.enter(h,d)}(o,i)}))},deactivate:function(){return h?e.leave(h).then((function(){c.$destroy(),c=null,h.remove(),h=null})):i.when()},active:function(){return!!h}}}}])},48944:function(e,t,n){n(57827),e.exports="ngRoute"},67131:function(e,t,n){n(90768),e.exports="ngSanitize"},66695:function(e,t,n){n(74426),e.exports=angular},561:function(){var e;angular.module("rails",["ng"]),angular.module("rails").factory("RailsInflector",(function(){return{camelize:function(e){return angular.isString(e)?e.replace(/_[\w\d]/g,(function(e,t,n){return 0===t?e:n.charAt(t+1).toUpperCase()})):e},underscore:function(e){return angular.isString(e)?e.replace(/[A-Z]/g,(function(e,t){return 0===t?e:"_"+e.toLowerCase()})):e},pluralize:function(e){return e+"s"}}})),angular.module("rails").factory("RailsResourceInjector",["$injector",function(t){function n(n){return n?angular.isString(n)?t.get(n):n:e}function r(r){return r?t.instantiate(n(r)):e}return{createService:r,getService:function(t){return angular.isObject(t)?t:t?r(t):e},getDependency:n}}]),angular.module("rails").factory("railsUrlBuilder",["$interpolate",function(e){return function(t){var n,r=t.url,i=t.idAttribute;return angular.isFunction(r)||angular.isUndefined(r)?r:(t.singular||-1!==r.indexOf(e.startSymbol())||(r=r+"/"+e.startSymbol()+i+e.endSymbol()),n=e(r),function(e){return"/"===(r=n(e)).charAt(r.length-1)&&(r=r.substr(0,r.length-1)),r})}}]),function(e){angular.module("rails").provider("railsSerializer",(function(){var t={underscore:e,camelize:e,pluralize:e,exclusionMatchers:[]};this.underscore=function(e){return t.underscore=e,this},this.camelize=function(e){return t.camelize=e,this},this.pluralize=function(e){return t.pluralize=e,this},this.exclusionMatchers=function(e){return t.exclusionMatchers=e,this},this.$get=["$injector","RailsInflector","RailsResourceInjector",function(n,r,i){function o(n,r){function o(){angular.isFunction(n)&&(r=n,n={}),this.exclusions={},this.inclusions={},this.serializeMappings={},this.deserializeMappings={},this.customSerializedAttributes={},this.preservedAttributes={},this.customSerializers={},this.nestedResources={},this.options=angular.extend({excludeByDefault:!1},t,n||{}),r&&r.call(this,this)}return o.prototype.exclude=function(){var e=this.exclusions;return angular.forEach(arguments,(function(t){e[t]=!1})),this},o.prototype.only=function(){var e=this.inclusions;return this.options.excludeByDefault=!0,angular.forEach(arguments,(function(t){e[t]=!0})),this},o.prototype.nestedAttribute=function(){var e=this;return angular.forEach(arguments,(function(t){e.rename(t,t+"_attributes")})),this},o.prototype.resource=function(e,t,n){return this.nestedResources[e]=t,n&&this.serializeWith(e,n),this},o.prototype.rename=function(t,n,r){return this.serializeMappings[t]=n,(r||r===e)&&(this.deserializeMappings[n]=t),this},o.prototype.add=function(e,t){return this.customSerializedAttributes[e]=t,this},o.prototype.preserve=function(e){return this.preservedAttributes[e]=!0,this},o.prototype.serializeWith=function(e,t){return this.customSerializers[e]=t,this},o.prototype.isExcludedFromSerialization=function(t){if(this.options.excludeByDefault&&!this.inclusions.hasOwnProperty(t)||this.exclusions.hasOwnProperty(t))return!0;
2if(this.options.exclusionMatchers){var n=!1;return angular.forEach(this.options.exclusionMatchers,(function(r){angular.isString(r)?n=n||0===t.indexOf(r):angular.isFunction(r)?n=n||r.call(e,t):r instanceof RegExp&&(n=n||r.test(t))})),n}return!1},o.prototype.getSerializedAttributeName=function(t){var n=this.serializeMappings[t]||t,r=this.isExcludedFromSerialization(n),i=this.isExcludedFromSerialization(t);if(this.options.excludeByDefault){if(r&&i)return e}else if(r||i)return e;return this.underscore(n)},o.prototype.isExcludedFromDeserialization=function(){return!1},o.prototype.getDeserializedAttributeName=function(t){var n=this.camelize(t);return n=this.deserializeMappings[t]||this.deserializeMappings[n]||n,this.isExcludedFromDeserialization(t)||this.isExcludedFromDeserialization(n)?e:n},o.prototype.getNestedResource=function(e){return i.getDependency(this.nestedResources[e])},o.prototype.getAttributeSerializer=function(t){var n=this.getNestedResource(t),r=this.customSerializers[t];return r?i.createService(r):n?n.config.serializer:e},o.prototype.serializeData=function(e){var t=e,n=this;if(angular.isArray(e))t=[],angular.forEach(e,(function(e){t.push(n.serializeData(e))}));else if(angular.isObject(e)){if(angular.isDate(e))return e;t={},this.serializeObject(t,e)}return t},o.prototype.serializeObject=function(e,t){var n=this;return angular.forEach(t,(function(t,r){angular.isFunction(t)||n.serializeAttribute(e,r,t)})),t},o.prototype.serializeAttribute=function(t,n,r){var i=this.getAttributeSerializer(n),o=this.getSerializedAttributeName(n);o!==e&&(t[o]=i?i.serialize(r):this.serializeData(r))},o.prototype.serialize=function(e){var t=angular.copy(e),n=this;return angular.isObject(t)&&angular.forEach(this.customSerializedAttributes,(function(r,i){angular.isArray(t)?angular.forEach(t,(function(e){var t=r;angular.isFunction(r)&&(t=t.call(e,e)),n.serializeAttribute(e,i,t)})):(angular.isFunction(r)&&(r=r.call(e,e)),n.serializeAttribute(t,i,r))})),t=this.serializeData(t)},o.prototype.deserializeData=function(e,t){var n=e,r=this;if(angular.isArray(e))n=[],angular.forEach(e,(function(e){n.push(r.deserializeData(e,t))}));else if(angular.isObject(e)){if(angular.isDate(e))return e;n={},t&&(n=new t.config.resourceConstructor),this.deserializeObject(n,e)}return n},o.prototype.deserializeObject=function(e,t){var n=this;return angular.forEach(t,(function(t,r){n.deserializeAttribute(e,r,t)})),t},o.prototype.deserializeAttribute=function(t,n,r){var i,o,s=this.getDeserializedAttributeName(n);s!==e&&(i=this.getAttributeSerializer(s),o=this.getNestedResource(s),t[s]=this.preservedAttributes[s]?r:i?i.deserialize(r,o):this.deserializeData(r,o))},o.prototype.deserialize=function(e,t){return this.deserializeData(e,t)},o.prototype.pluralize=function(e){return this.options.pluralize?this.options.pluralize(e):e},o.prototype.underscore=function(e){return this.options.underscore?this.options.underscore(e):e},o.prototype.camelize=function(e){return this.options.camelize?this.options.camelize(e):e},o}return t.underscore=t.underscore||r.underscore,t.camelize=t.camelize||r.camelize,t.pluralize=t.pluralize||r.pluralize,o.defaultOptions=t,o}]}))}(),angular.module("rails").factory("railsRootWrapper",(function(){return{wrap:function(e,t){var n={};return n[angular.isArray(e)?t.config.pluralName:t.config.name]=e,n},unwrap:function(e,t,n){return e.data&&e.data.hasOwnProperty(t.config.name)?e.data=e.data[t.config.name]:e.data&&e.data.hasOwnProperty(t.config.pluralName)&&!n&&(e.data=e.data[t.config.pluralName]),e}}})),angular.module("rails").provider("RailsResource",(function(){var e={rootWrapping:!0,updateMethod:"put",httpConfig:{},defaultParams:void 0,underscoreParams:!0,fullResponse:!1,singular:!1,extensions:[]};this.rootWrapping=function(t){return e.rootWrapping=t,this},this.updateMethod=function(t){return e.updateMethod=t,this},this.httpConfig=function(t){return e.httpConfig=t,this},this.defaultParams=function(t){return e.defaultParams=t,this},this.underscoreParams=function(t){return e.underscoreParams=t,this},this.fullResponse=function(t){return e.fullResponse=t,this},this.extensions=function(){return e.extensions=[],angular.forEach(arguments,(function(t){e.extensions=e.extensions.concat(t)})),this},this.$get=["$http","$q","railsUrlBuilder","railsSerializer","railsRootWrapper","RailsResourceInjector",function(t,n,r,i,o,s){function a(e){if(e){var t=this.constructor.deserialize({data:e});this.constructor.config.rootWrapping&&(t=o.unwrap(t,this.constructor,!0)),angular.extend(this,t.data)}}function u(e,t){return t&&("/"!==t[0]&&(e+="/"),e+=t),e}function c(e,t){for(var n,r=0,i=e.length;i>r;r++)n=e[r],angular.isString(n)&&(n=e[r]=s.getDependency(n)),t(n)}function l(e,t,n,r){var i=["included","extended,","configure"];e.$mixins||(e.$mixins=[]),angular.isString(n)&&(n=s.getDependency(n)),n&&-1===e.$mixins.indexOf(n)&&(angular.forEach(n,(function(e,n){-1===i.indexOf(n)&&(t[n]=e)})),e.$mixins.push(n),angular.isFunction(r)&&r(e,n))}function p(e,t){return angular.isUndefined(e)?t:e}function d(e,t,n){return function(r){return(e||angular.identity)(r,t,n)}}function h(e,t,r){return function(i){return e?e(i,t,r):n.reject(i)}}return a.extendTo=function(e){function t(){this.constructor=e}return angular.forEach(this,(function(t,n){e[n]=t})),angular.isArray(this.$modules)&&(e.$modules=this.$modules.slice(0)),t.prototype=this.prototype,e.prototype=new t,e.__super__=this.prototype,e},a.extend=function(){return angular.forEach(arguments,(function(e){l(this,this,e,(function(e,t){angular.isFunction(t.extended)&&t.extended(e)}))}),this),this},a.include=function(){return angular.forEach(arguments,(function(e){l(this,this.prototype,e,(function(e,t){angular.isFunction(t.included)&&t.included(e)}))}),this),this},a.configure=function(t){return t=t||{},this.config&&(t=angular.extend({},this.config,t)),this.config={},this.config.idAttribute=t.idAttribute||"id",this.config.url=t.url,this.config.rootWrapping=p(t.rootWrapping,e.rootWrapping),this.config.httpConfig=t.httpConfig||e.httpConfig,this.config.httpConfig.headers=angular.extend({Accept:"application/json","Content-Type":"application/json"},this.config.httpConfig.headers||{}),this.config.defaultParams=t.defaultParams||e.defaultParams,this.config.underscoreParams=p(t.underscoreParams,e.underscoreParams),this.config.updateMethod=(t.updateMethod||e.updateMethod).toLowerCase(),this.config.fullResponse=p(t.fullResponse,e.fullResponse),this.config.requestTransformers=t.requestTransformers?t.requestTransformers.slice(0):[],this.config.responseInterceptors=t.responseInterceptors?t.responseInterceptors.slice(0):[],this.config.afterResponseInterceptors=t.afterResponseInterceptors?t.afterResponseInterceptors.slice(0):[],this.config.interceptors=t.interceptors?t.interceptors.slice(0):[],this.config.serializer
2=s.getService(t.serializer||i()),this.config.name=this.config.serializer.underscore(t.name),this.config.name&&(this.config.pluralName=this.config.serializer.underscore(t.pluralName||this.config.serializer.pluralize(this.config.name))),this.config.urlBuilder=r(this.config),this.config.resourceConstructor=this,this.extend.apply(this,function(e){var t=[];return angular.forEach(e,(function(e){e="RailsResource"+e.charAt(0).toUpperCase()+e.slice(1)+"Mixin",t.push(s.getDependency(e))})),t}((t.extensions||[]).concat(e.extensions))),angular.forEach(this.$mixins,(function(e){angular.isFunction(e.configure)&&e.configure(this.config,t)}),this),this.config},a.setUrl=function(e){this.configure({url:e})},a.buildUrl=function(e){return this.config.urlBuilder(e)},a.addInterceptor=function(e){this.config.interceptors.push(e)},a.intercept=function(e,t){var n={};t=s.getDependency(t),n[e]=function(e,n,r){return t(e,n,r)||e},this.addInterceptor(n)},a.interceptBeforeRequest=function(e){this.intercept("beforeRequest",e)},a.interceptBeforeRequestWrapping=function(e){this.intercept("beforeRequestWrapping",e)},a.interceptRequest=function(e){this.intercept("request",e)},a.interceptBeforeResponse=function(e){this.intercept("beforeResponse",e)},a.interceptBeforeResponseDeserialize=function(e){this.intercept("beforeResponseDeserialize",e)},a.interceptResponse=function(e){this.intercept("response",e)},a.interceptAfterResponse=function(e){this.intercept("afterResponse",e)},a.beforeResponse=function(e){e=s.getDependency(e),this.interceptResponse((function(t,n,r){return e(t.data,n.config.resourceConstructor,r),t}))},a.afterResponse=function(e){e=s.getDependency(e),this.interceptAfterResponse((function(t,n,r){return e(t,n.config.resourceConstructor,r),t}))},a.beforeRequest=function(e){e=s.getDependency(e),this.interceptBeforeRequestWrapping((function(t,n){return t.data=e(t.data,n.config.resourceConstructor)||t.data,t}))},a.serialize=function(e){return e.data&&(e.data=this.config.serializer.serialize(e.data)),e},a.deserialize=function(e){return e.data=this.config.serializer.deserialize(e.data,this.config.resourceConstructor),e},a.callResponseInterceptors=function(e,t){var n=this.config;return c(n.responseInterceptors,(function(r){e.resource=n.resourceConstructor,e.context=t,e=r(e)})),e},a.callAfterResponseInterceptors=function(e){var t=this.config;return c(t.afterResponseInterceptors,(function(n){e.resource=t.resourceConstructor,e=n(e)})),e},a.runInterceptorPhase=function(e,t,n){var r=this.config,i=[];for(c(r.interceptors,(function(t){(t[e]||t[e+"Error"])&&i.push(t[e],t[e+"Error"])}));i.length;){var o=i.shift(),s=i.shift();n=n.then(d(o,r.resourceConstructor,t),h(s,r.resourceConstructor,t))}return n},a.$http=function(e,r,i){var s=angular.extend(angular.copy(this.config),i||{}),a=s.resourceConstructor,u=n.when(e);return s.skipRequestProcessing?u=t(e):(u=this.runInterceptorPhase("beforeRequest",r,u).then((function(e){return e=a.serialize(e),c(s.requestTransformers,(function(t){e.data=t(e.data,s.resourceConstructor)})),e})),u=this.runInterceptorPhase("beforeRequestWrapping",r,u),s.rootWrapping&&(u=u.then((function(e){return e.data=o.wrap(e.data,s.resourceConstructor),e}))),u=this.runInterceptorPhase("request",r,u).then((function(e){return t(e)}))),u=this.runInterceptorPhase("beforeResponse",r,u).then((function(e){return e.originalData=e.data,e})),s.rootWrapping&&(u=u.then((function(e){return o.unwrap(e,s.resourceConstructor,!1)}))),u=this.runInterceptorPhase("beforeResponseDeserialize",r,u).then((function(e){return a.deserialize(e)})),u=this.callResponseInterceptors(u,r),u=this.runInterceptorPhase("response",r,u).then((function(e){return r&&e.hasOwnProperty("data")&&angular.isObject(e.data)&&angular.extend(r,e.data),s.fullResponse?e:r||e.data})),u=this.callAfterResponseInterceptors(u,r),(u=this.runInterceptorPhase("afterResponse",r,u)).resource=s.resourceConstructor,u.context=r,u},a.processParameters=function(e){var t={};return angular.isObject(e)&&this.config.underscoreParams?(angular.forEach(e,(function(e,n){t[this.config.serializer.underscore(n)]=e}),this),t):e},a.getParameters=function(e){var t;return this.config.defaultParams&&(t=angular.copy(this.config.defaultParams)),angular.isObject(e)&&(t=angular.extend(t||{},e)),this.processParameters(t)},a.getHttpConfig=function(e){var t=this.getParameters(e);return t?angular.extend({params:t},this.config.httpConfig):angular.copy(this.config.httpConfig)},a.$url=a.resourceUrl=function(e,t){var n=e;return angular.isObject(e)||((n={})[this.config.idAttribute]=e),u(this.buildUrl(n||{}),t)},a.$get=function(e,t){return this.$http(angular.extend({method:"get",url:e},this.getHttpConfig(t)))},a.query=function(e,t){return this.$get(this.resourceUrl(t),e)},a.get=function(e,t){return this.$get(this.resourceUrl(e),t)},a.prototype.$url=function(e){return u(this.constructor.resourceUrl(this),e)},a.prototype.$http=function(e,t){return this.constructor.$http(e,this,t)},angular.forEach(["post","put","patch"],(function(e){a["$"+e]=function(t,n,r,i){return n=angular.copy(n),this.$http(angular.extend({method:e,url:t,data:n},this.getHttpConfig(i)),null,r)},a.prototype["$"+e]=function(t,n,r){var i=angular.copy(this,{});return this.constructor.$http(angular.extend({method:e,url:t,data:i},this.constructor.getHttpConfig(r)),this)}})),a.prototype.create=function(){return this.$post(this.$url(),this)},a.prototype.update=function(){return this["$"+this.constructor.config.updateMethod](this.$url(),this)},a.prototype.get=function(){return this.constructor.$http(angular.extend({method:"GET",url:this.$url()},this.constructor.getHttpConfig()),this)},a.prototype.isNew=function(){var e=this.constructor.config.idAttribute;return angular.isUndefined(this[e])||null===this[e]},a.prototype.save=function(){return this.isNew()?this.create():this.update()},a.$delete=function(e,t){return this.$http(angular.extend({method:"delete",url:e},this.getHttpConfig(t)))},a.prototype.$delete=function(e,t){return this.constructor.$http(angular.extend({method:"delete",url:e},this.constructor.getHttpConfig(t)),this)},a.prototype.remove=a.prototype.delete=function(){return this.$delete(this.$url())},a}]})),angular.module("rails").factory("railsResourceFactory",["RailsResource",function(e){return function(t){function n(){n.__super__.constructor.apply(this,arguments)}return e.extendTo(n),n.configure(t),n}}])},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",u="week",c="month",l="quarter",p="year",d="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 4,317 bytes, line 2
2|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,s=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:p,w:u,d:a,D:d,h:s,m:o,s:i,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},_="en",b={};b[_]=g;var w=function(e){return e instanceof D},E=function e(t,n,r){var i;if(!t)return _;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;b[a]=t,i=a}return!r&&i&&(_=i),i||!r&&_},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new D(n)},x=y;x.l=E,x.i=w,x.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function g(e){this.$L=E(e.locale,null,!0),this.parse(e)}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return x},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!x.u(t)||t,l=x.p(e),h=function(e,t){var i=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},f=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case p:return r?h(1,0):h(31,11);case c:return r?h(1,g):h(0,g+1);case u:var _=this.$locale().weekStart||0,b=(m<_?m+7:m)-_;return h(r?v-b:v+(6-b),g);case a:case d:return f(y+"Hours",0);case s:return f(y+"Minutes",1);case o:return f(y+"Seconds",2);case i:return f(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=x.p(e),l="set"+(this.$u?"UTC":""),h=(n={},n[a]=l+"Date",n[d]=l+"Date",n[c]=l+"Month",n[p]=l+"FullYear",n[s]=l+"Hours",n[o]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],f=u===a?this.$D+(t-this.$W):t;if(u===c||u===p){var m=this.clone().set(d,1);m.$d[h](f),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[x.p(e)]()},v.add=function(r,l){var d,h=this;r=Number(r);var f=x.p(l),m=function(e){var t=S(h);return x.w(t.date(t.date()+Math.round(e*r)),h)};if(f===c)return this.set(c,this.$M+r);if(f===p)return this.set(p,this.$y+r);if(f===a)return m(1);if(f===u)return m(7);var g=(d={},d[o]=t,d[s]=n,d[i]=e,d)[f]||1,v=this.$d.getTime()+r*g;return x.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),o=this.$H,s=this.$m,a=this.$M,u=n.weekdays,c=n.months,l=function(e,n,i,o){return e&&(e[
2n]||e(t,r))||i[n].slice(0,o)},p=function(e){return x.s(o%12||12,e,"0")},d=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:x.s(a+1,2,"0"),MMM:l(n.monthsShort,a,c,3),MMMM:l(c,a),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:x.s(o,2,"0"),h:p(1),hh:p(2),a:d(o,s,!0),A:d(o,s,!1),m:String(s),mm:x.s(s,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:i};return r.replace(m,(function(e,t){return t||f[e]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,d,h){var f,m=x.p(d),g=S(r),v=(g.utcOffset()-this.utcOffset())*t,y=this-g,_=x.m(this,g);return _=(f={},f[p]=_/12,f[c]=_,f[l]=_/3,f[u]=(y-v)/6048e5,f[a]=(y-v)/864e5,f[s]=y/n,f[o]=y/t,f[i]=y/e,f)[m]||y,h?_:x.a(_)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return b[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=E(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return x.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),C=D.prototype;return S.prototype=C,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",p],["$D",d]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,D,S),e.$i=!0),S},S.locale=E,S.isDayjs=w,S.unix=function(e){return S(1e3*e)},S.en=b[_],S.Ls=b,S.p={},S}()},27091:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),t.hash&&(e+=t.hash),t.maybeNeedQuotes&&/[\t\n\f\r "'=<>`]/.test(e)?'"'.concat(e,'"'):e):e}},19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,l=o.indexOf,p={},d=p.toString,h=p.hasOwnProperty,f=h.toString,m=f.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},_=r.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||_).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function E(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var S="3.6.1",x=function(e,t){return new x.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,n=E(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:S,constructor:x,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(c&&r&&(x.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||x.isPlainObject(n)?n:{},i=!1,s[t]=x.extend(c,o,r)):void 0!==r&&(s[t]=r));return s},x.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=s(e))||"function"==typeof(n=h.c
vendor: 7,363 bytes, line 2
2all(t,"constructor")&&t.constructor)&&f.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(D(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(D(Object(e))?x.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(D(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return u(s)},guid:1,support:g}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=o[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var C=function(e){var t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v,y,_,b="sizzle"+1*new Date,w=e.document,E=0,S=0,x=ue(),D=ue(),C=ue(),T=ue(),k=function(e,t){return e===t&&(p=!0),0},I={}.hasOwnProperty,O=[],M=O.pop,A=O.push,N=O.push,P=O.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",L="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+j+"*("+L+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+j+"*\\]",V=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",B=new RegExp(j+"+","g"),U=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),H=new RegExp("^"+j+"*,"+j+"*"),z=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),q=new RegExp(j+"|>"),G=new RegExp(V),W=new RegExp("^"+L+"$"),Y={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Z=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},se=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(O=P.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(e){N={apply:O.length?function(e,t){A.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var o,a,c,l,p,f,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(t),t=t||h,m)){if(11!==w&&(p=Q.exec(e)))if(o=p[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&_(t,c)&&c.id===o)return r.push(c),r}else{if(p[2])return N.apply(r,t.getElementsByTagName(e)),r;if((o=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!T[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(q.test(e)||z.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=b)),a=(f=s(e)).length;a--;)f[a]=(l?"#"+l:":scope")+" "+_e(f[a]);v=f.join(",")}try{return N.apply(r,y.querySelectorAll(v)),r}catch(t){T(e,!0)}finally{l===b&&t.removeAttribute("id")}}}return u(e.replace(U,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[b]=!0,e}function le(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Z.test(t||n&&n.nodeName||"HTML")},d=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:w;return s!=h&&9===s.nodeType&&s.documentElement?(f=(h=s).documentElement,m=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le((function(e){return f.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(h.getElementsByClassName),n.getById=le((function(e){return f.appendChild(e).id=b,!h.getElementsByName||!h.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);
vendor: 18,844 bytes, line 2
2if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=X.test(h.querySelectorAll))&&(le((function(e){var t;f.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",V)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(f.compareDocumentPosition),_=t||X.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return p=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==w&&_(w,e)?-1:t==h||t.ownerDocument==w&&_(w,t)?1:l?R(l,e)-R(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:l?R(l,e)-R(l,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?de(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0},h):h},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!T[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){T(t,!0)}return ae(t,h,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=h&&d(e),_(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=h&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&I.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(re,ie)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,o=0;if(p=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(k),p){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=ae.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=ae.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,p,d,h,f,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!u&&!a,_=!1;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(_=(h=(c=(l=(p=(d=g)[b]||(d[b]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===E&&c[1])&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(_=h=0)||f.pop();)if(1===d.nodeType&&++_&&d===t){l[e]=[E,h,_];break}}else if(y&&(_=h=(c=(l=(p=(d=t)[b]||(d[b]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===E&&c[1]),!1===_)for(;(d=++h&&d&&d[m]||(_=h=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++_||(y&&((l=(p=d[b]||(d[b]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[E,_]),d!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=R(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=a(e.replace(U,"$1"));return r[b]?ce((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return ae(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return W.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function ye(){}function _e(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=S++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,u){var c,l,p,d=[E,a];if(u){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(l=(p=t[b]||(t[b]={}))[t.uniqueID]||(p[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===E&&c[1]===a)return d[2]=c[2];if(l[o]=d,d[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Ee(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,c=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),c&&t.push(a)));return s}function Se(e,t,n,r,i,o){return r&&!r[b]&&(r=Se(r)),i&&!i[b]&&(i=Se(i,o)),ce((function(o,s,a,u){var c,l,p,d=[],h=[],f=s.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",a.nodeType?[a]:a,[]),g=!e||!o&&t?m:Ee(m,d,e,a,u),v=n?i||(o?e:f||r)?[]:s:g;if(n&&n(g,v,a,u),r)for(c=Ee(v,h),r(c,[],a,u),l=c.length;l--;)(p=c[l])&&(v[h[l]]=!(g[h[l]]=p));if(o){if(i||e){if(i){for(c=[],l=v.length;l--;)(p=v[l])&&c.push(g[l]=p);i(null,v=[],c,u)}for(l=v.length;l--;)(p=v[l])&&(c=i?R(o,p):d[l])>-1&&(o[c]=!(s[c]=p))}}else v=Ee(v===s?v.splice(f,v.length):v),i?i(null,s,v,u):N.apply(s,v)}))}function xe(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],u=s?1:0,l=be((function(e){return e===t}),a,!0),p=be((function(e){return R(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!s&&(r||n!==c)||((t=n).nodeType?l(e,n,r):p(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[be(we(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return Se(u>1&&we(d),u>1&&_e(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(U,"$1"),n,u<i&&xe(e.slice(u,i)),i<o&&xe(e=e.slice(i)),i<o&&_e(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,s=ae.tokenize=function(e,t){var n,i,o,s,a,u,c,l=D[e+" "];if(l)return t?0:l.slice(0);for(a=e,u=[],c=r.preFilter;a;){for(s in n&&!(i=H.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),n=!1,(i=z.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(U," ")}),a=a.slice(n.length)),r.filter)!(i=Y[s].exec(a))||c[s]&&!(i=c[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):D(e,u).slice(0)},a=ae.compile=function(e,t){var n,i=[],o=[],a=C[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=xe(t[n]))[b]?i.push(a):o.push(a);a=C(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,s,a,u,l){var p,f,g,v=0,y="0",_=o&&[],b=[],w=c,S=o||i&&r.find.TAG("*",l),x=E+=null==w?1:Math.random()||.1,D=S.length;for(l&&(c=s==h||s||l);y!==D&&null!=(p=S[y]);y++){if(i&&p){for(f=0,s||p.ownerDocument==h||(d(p),a=!m);g=e[f++];)if(g(p,s||h,a)){u.push(p);break}l&&(E=x)}n&&((p=!g&&p)&&v--,o&&_.push(p))}if(v+=y,n&&y!==v){for(f=0;g=t[f++];)g(_,b,s,a);if(o){if(v>0)for(;y--;)_[y]||b[y]||(b[y]=M.call(u));b=Ee(b)}N.apply(u,b),l&&!o&&b.length>0&&v+t.length>1&&ae.uniqueSort(u)}return l&&(E=x,c=w),_};return n?ce(o):o}(o,i)),a.selector=e}return a},u=ae.select=function(e,t,n,i){var o,u,c,l,p,d="function"==typeof e&&e,h=!i&&s(e=d.selector||e);if(n=n||[],1===h.length){if((u=h[0]=h[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=Y.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((p=r.find[l])&&(i=p(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&_e(u)))return N.apply(n,i),n;break}}return(d||a(e,h))(i,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(k).join("")===b,n.detectDuplicates=!!p,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||pe(F,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ae}(r);x.find=C,x.expr=C.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=C.uniqueSort,x.text=C.getText,x.isXMLDoc=C.isXML,x.contains=C.contains,x.escapeSelector=C.escape;var T=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},I=x.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,t,n){return v(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return l.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<r;t++)if(x.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,i[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&I.test(e)?x(e):e||[],!1).length}});var N,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),M.test(r[1])&&x.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=_.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,N=x(_);var R=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&x(e);if(!I.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(x(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(F[e]||x.uniqueSort(i),R.test(e)&&i.reverse()),this.pushStack(i)}}));var L=/[^\x20\t\r\n\f]+/g;function $(e){return e}function V(e){throw e}function B(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(L)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,i,o=[],s=[],a=-1,u=function(){for(i=i||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){x.each(n,(function(n,r){v(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==E(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i}
vendor: 13,015 bytes, line 2
2,fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function s(e,t,n,i){return function(){var a=this,u=arguments,c=function(){var r,c;if(!(e<o)){if((r=n.apply(a,u))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(c)?i?c.call(r,s(o,t,$,i),s(o,t,V,i)):(o++,c.call(r,s(o,t,$,i),s(o,t,V,i),s(o,t,$,t.notifyWith))):(n!==$&&(a=void 0,u=[r]),(i||t.resolveWith)(a,u))}},l=i?c:function(){try{c()}catch(r){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(r,l.stackTrace),e+1>=o&&(n!==V&&(a=void 0,u=[r]),t.rejectWith(a,u))}};e?l():(x.Deferred.getStackHook&&(l.stackTrace=x.Deferred.getStackHook()),r.setTimeout(l))}}return x.Deferred((function(r){t[0][3].add(s(0,r,v(i)?i:$,r.notifyWith)),t[1][3].add(s(0,r,v(e)?e:$)),t[2][3].add(s(0,r,v(n)?n:V))})).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,(function(e,r){var s=r[2],a=r[5];i[r[1]]=s.add,a&&s.add((function(){n=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=x.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],s(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&U.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var H=x.Deferred();function z(){_.removeEventListener("DOMContentLoaded",z),r.removeEventListener("load",z),x.ready()}x.fn.ready=function(e){return H.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||H.resolveWith(_,[x]))}}),x.ready.then=H.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?r.setTimeout(x.ready):(_.addEventListener("DOMContentLoaded",z),r.addEventListener("load",z));var q=function(e,t,n,r,i,o,s){var a=0,u=e.length,c=null==n;if("object"===E(n))for(a in i=!0,n)q(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,v(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(x(e),n)})),t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:c?t.call(e):u?t(e[0],n):o},G=/^-ms-/,W=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function Z(e){return e.replace(G,"ms-").replace(W,Y)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=x.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Z(t)]=n;else for(r in t)i[Z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Z):(t=Z(t))in r?[t]:t.match(L)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var X=new J,Q=new J,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Q.hasData(e)||X.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return X.access(e,t,n)},_removeData:function(e,t){X.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!X.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=Z(r.slice(5)),ne(o,r,i[r]));X.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Q.set(this,e)})):q(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){x.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:x.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=X.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],se=_.documentElement,ae=function(e){return x.contains(e.ownerDocument,e)},ue={composed:!0};se.getRootNode&&(ae=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===x.css(e,"display")};function le(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=a(),c=n&&n[3]||(x.cssNumber[t]?"":"px"),l=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+u)&&ie.exec(x.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;s--;)x.style(e,t,l+c),(1-o)*(1-(o=a()/u||.5))<=0&&(s=0),l/=o;l*=2,x.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var pe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=pe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=x.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),pe[r]=i,i)}function he(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=X.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=de(r))):"none"!==n&&(i[o]="none",X.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}x.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?x(this).show():x(this).hide()}))}});var fe,me,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;fe=_.createDocumentFragment().appendChild(_.createElement("div")),(me=_.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),fe.appendChild(me),g.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="<option></option>",g.option=!!fe.lastChild;var _e={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?x.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)X.set(e[n],"globalEval",!t||X.get(t[n],"globalEval"))}_e.tbody=_e.tfoot=_e.colgroup=_e.caption=_e.thead,_e.th=_e.td,g.option||(_e.optgroup=_e.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function Se(e,t,n,r,i){for(var o,s,a,u,c,l,p=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===E(o))x.merge(d,o.nodeType?[o]:o);else if(Ee.test(o)){for(s=s||p.appendChild(t.createElement("div")),a=(ve.exec(o)||["",""])[1].toLowerCase(),u=_e[a]||_e._default,s.innerHTML=u[1]+x.htmlPrefilter(o)+u[2],l=u[0];l--;)s=s.lastChild;x.merge(d,s.childNodes),(s=p.firstChild).textContent=""}else d.push(t.createTextNode(o));for(p.textContent="",h=0;o=d[h++];)if(r&&x.inArray(o,r)>-1)i&&i.push(o);else if(c=ae(o),s=be(p.appendChild(o),"script"),c&&we(s),n)for(l=0;o=s[l++];)ye.test(o.type||"")&&n.push(o);return p}var xe=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Ce(){return!1}function Te(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ce;else if(!i)return e;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),e.each((function(){x.event.add(this,t,i,r,n)}))}function Ie(e,t,n){n?(X.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=X.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=a.call(arguments),X.set(this,t,o),r=n(this,t),this[t](),o!==(i=X.get(this,t))||r?X.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(X.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&x.event.add(e,t,De)}x.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,c,l,p,d,h,f,m,g=X.get(e);if(K(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(se,i),n.guid||(n.guid=x.guid++),(u=g.events)||(u=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(L)||[""]).length;c--;)h=m=(a=xe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h&&(p=x.event.special[h]||{},h=(i?p.delegateType:p.bindType)||h,p=x.event.special[h]||{},l=x.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),x.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,c,l,p,d,h,f,m,g=X.hasData(e)&&X.get(e);if(g&&(u=g.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(h=m=(a=xe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h){for(p=x.event.special[h]||{},d=u[h=(r?p.delegateType:p.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.
vendor: 4,227 bytes, line 2
2join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)l=d[o],!i&&m!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,p.remove&&p.remove.call(e,l));s&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,f,g.handle)||x.removeEvent(e,h,g.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[c],n,r,!0);x.isEmptyObject(u)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),u=x.event.fix(e),c=(X.get(this,"events")||Object.create(null))[u.type]||[],l=x.event.special[u.type]||{};for(a[0]=u,t=1;t<arguments.length;t++)a[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(s=x.event.handlers.call(this,u,c),t=0;(i=s[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,s,a=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<u;n++)void 0===s[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?x(i,this).index(c)>-1:x.find(i,this,null,[c]).length),s[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,u<t.length&&a.push({elem:c,handlers:t.slice(u)}),a},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&O(t,"input")&&Ie(t,"click",De),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&O(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&O(t,"input")&&X.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Ce,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Ie(this,e,Te),!1},trigger:function(){return Ie(this,e),!0},_default:function(t){return X.get(t.target,e)},delegateType:t}}
vendor: 6,043 bytes, line 2
2)),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||x.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),x.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each((function(){x.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ne(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(X.hasData(e)&&(a=X.get(e).events))for(i in X.remove(t,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)x.event.add(t,i,a[i][n]);Q.hasData(e)&&(o=Q.access(e),s=x.extend({},o),Q.set(t,s))}}function je(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Le(e,t,n,r){t=u(t);var i,o,s,a,c,l,p=0,d=e.length,h=d-1,f=t[0],m=v(f);if(m||d>1&&"string"==typeof f&&!g.checkClone&&Me.test(f))return e.each((function(i){var o=e.eq(i);m&&(t[0]=f.call(this,i,o.html())),Le(o,t,n,r)}));if(d&&(o=(i=Se(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=x.map(be(i,"script"),Pe)).length;p<d;p++)c=i,p!==h&&(c=x.clone(c,!0,!0),a&&x.merge(s,be(c,"script"))),n.call(e[p],c,p);if(a)for(l=s[s.length-1].ownerDocument,x.map(s,Re),p=0;p<a;p++)c=s[p],ye.test(c.type||"")&&!X.access(c,"globalEval")&&x.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):w(c.textContent.replace(Ae,""),c,l))}return e}function $e(e,t,n){for(var r,i=t?x.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||x.cleanData(be(r)),r.parentNode&&(n&&ae(r)&&we(be(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=be(a),r=0,i=(o=be(e)).length;r<i;r++)je(o[r],s[r]);if(t)if(n)for(o=o||be(e),s=s||be(a),r=0,i=o.length;r<i;r++)Fe(o[r],s[r]);else Fe(e,a);return(s=be(a,"script")).length>0&&we(s,!u&&be(e,"script")),a},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),x.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return q(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Le(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)}))},prepend:function(){return Le(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Le(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Le(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return q(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!_e[(ve.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Le(this,arguments,(function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,r=[],i=x(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ve=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Be=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},ze=new RegExp(oe.join("|"),"i"),qe="[\\x20\\t\\r\\n\\f]",Ge=new RegExp("^"+qe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+qe+"+$","g");function We(e,t,n){var r,i,o,s,a=Be.test(t),u=e.style;return(n=n||Ue(e))&&(s=n.getPropertyValue(t)||n[t],a&&(s=s.replace(Ge,"$1")),""!==s||ae(e)||(s=x.style(e,t)),!g.pixelBoxStyles()&&Ve.test(s)&&ze.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=s,s=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==s?s+"":s}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;
2left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",se.appendChild(c).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",s=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),se.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,s,a,u,c=_.createElement("div"),l=_.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,x.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==a&&(e=_.createElement("table"),t=_.createElement("tr"),n=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",se.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,se.removeChild(e)),a}}))}();var Ze=["Webkit","Moz","ms"],Ke=_.createElement("div").style,Je={};function Xe(e){var t=x.cssProps[e]||Je[e];return t||(e in Ke?e:Je[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ke)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function rt(e,t,n,r,i,o){var s="width"===t?1:0,a=0,u=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=x.css(e,n+oe[s],!0,i)),r?("content"===n&&(u-=x.css(e,"padding"+oe[s],!0,i)),"margin"!==n&&(u-=x.css(e,"border"+oe[s]+"Width",!0,i))):(u+=x.css(e,"padding"+oe[s],!0,i),"padding"!==n?u+=x.css(e,"border"+oe[s]+"Width",!0,i):a+=x.css(e,"border"+oe[s]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-a-.5))||0),u}function it(e,t,n){var r=Ue(e),i=(!g.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),o=i,s=We(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&O(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+rt(e,t,n||(i?"border":"content"),o,r,s)+"px"}function ot(e,t,n,r,i){return new ot.prototype.init(e,t,n,r,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=Z(t),u=Be.test(t),c=e.style;if(u||(t=Xe(a)),s=x.cssHooks[t]||x.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(x.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,s,a=Z(t);return Be.test(t)||(t=Xe(a)),(s=x.cssHooks[t]||x.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in tt&&(i=tt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,r):He(e,et,(function(){return it(e,t,r)}))},set:function(e,n,r){var i,o=Ue(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===x.css(e,"boxSizing",!1,o),u=r?rt(e,t,r,a,o):0;return a&&s&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),nt(0,n,u)}}})),x.cssHooks.marginLeft=Ye(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=nt)})),x.fn.extend({css:function(e,t){return q(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;s<i;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=ot.prototype.init,x.fx.step={};var st,at,ut=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function lt(){at&&(!1===_.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,x.fx.interval),x.fx.tick())}function pt(){return r.setTimeout((function(){st=void 0})),st=Date.now()}function dt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;
vendor: 4,900 bytes, line 2
2return t&&(i.opacity=i.width=e),i}function ht(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function ft(e,t,n){var r,i,o=0,s=ft.prefilters.length,a=x.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=st||pt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(r);return a.notifyWith(e,[c,r,n]),r<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:st||pt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),l=c.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=Z(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=x.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(l,c.opts.specialEasing);o<s;o++)if(r=ft.prefilters[o].call(c,e,l,c.opts))return v(r.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return x.map(l,ht,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(L);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,u,c,l,p="width"in t||"height"in t,d=this,h={},f=e.style,m=e.nodeType&&ce(e),g=X.get(e,"fxshow");for(r in n.queue||(null==(s=x._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()}))}))),t)if(i=t[r],ut.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}h[r]=g&&g[r]||x.style(e,r)}if((u=!x.isEmptyObject(t))||!x.isEmptyObject(h))for(r in p&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=X.get(e,"display")),"none"===(l=x.css(e,"display"))&&(c?l=c:(he([e],!0),c=e.style.display||c,l=x.css(e,"display"),he([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===x.css(e,"float")&&(u||(d.done((function(){f.display=c})),null==c&&(l=f.display,c="none"===l?"":l)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),u=!1,h)u||(g?"hidden"in g&&(m=g.hidden):g=X.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&he([e],!0),d.done((function(){for(r in m||he([e]),X.remove(e,"fxshow"),h)x.style(e,r,h[r])}))),u=ht(m?g[r]:0,r,d),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),s=function(){var t=ft(this,x.extend({},e),o);(i||X.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=x.timers,s=X.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ct.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=X.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,s=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
vendor: 6,020 bytes, line 2
2);for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,r,i)}})),x.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),st=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){at||(at=!0,lt())},x.fx.stop=function(){at=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=_.createElement("input"),t=_.createElement("select").appendChild(_.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=_.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var mt,gt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return q(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(L);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=gt[t]||x.find.attr;gt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=gt[s],gt[s]=i,i=null!=n(e,t,r)?s:null,gt[s]=o),i}}));var vt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function _t(e){return(e.match(L)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}x.fn.extend({prop:function(e,t){return q(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,i,o,s;return v(e)?this.each((function(t){x(this).addClass(e.call(this,t,bt(this)))})):(t=wt(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+_t(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");s=_t(n),r!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,r,i,o,s;return v(e)?this.each((function(t){x(this).removeClass(e.call(this,t,bt(this)))})):arguments.length?(t=wt(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+_t(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");s=_t(n),r!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,s=typeof e,a="string"===s||Array.isArray(e);return v(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,bt(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=wt(e),this.each((function(){if(a)for(o=x(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==s||((r=bt(this))&&X.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":X.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+_t(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;x.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Et,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:_t(x.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],u=s?o+1:i.length;for(r=o<0?u:s?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=x(n).val(),s)return t;a.push(t)}return a}
vendor: 5,548 bytes, line 2
2,set:function(e,t){for(var n,r,i=e.options,o=x.makeArray(t),s=i.length;s--;)((r=i[s]).selected=x.inArray(x.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},g.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var St=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,i){var o,s,a,u,c,l,p,d,f=[n||_],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=d=a=n=n||_,3!==n.nodeType&&8!==n.nodeType&&!St.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[x.expando]?e:new x.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),p=x.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(n,t))){if(!i&&!p.noBubble&&!y(n)){for(u=p.delegateType||m,St.test(u+m)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||_)&&f.push(a.defaultView||a.parentWindow||r)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)d=s,e.type=o>1?u:p.bindType||m,(l=(X.get(s,"events")||Object.create(null))[e.type]&&X.get(s,"handle"))&&l.apply(s,t),(l=c&&s[c])&&l.apply&&K(s)&&(e.result=l.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(f.pop(),t)||!K(n)||c&&v(n[m])&&!y(n)&&((a=n[c])&&(n[c]=null),x.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,xt),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,xt),x.event.triggered=void 0,a&&(n[c]=a)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t);i||r.addEventListener(e,n,!0),X.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t)-1;i?X.access(r,t,i):(r.removeEventListener(e,n,!0),X.remove(r,t))}}}));var Dt=r.location,Ct={guid:Date.now()},Tt=/\?/;x.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/\[\]$/,It=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))x.each(t,(function(t,i){n||kt.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==E(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}x.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){i(this.name,this.value)}));else for(n in e)At(n,e[n],t,i);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Mt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(It,"\r\n")}})):{name:t.name,value:n.replace(It,"\r\n")}})).get()}});var Nt=/%20/g,Pt=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Lt=/^\/\//,$t={},Vt={},Bt="*/".concat("*"),Ut=_.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(L)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var i={},o=e===Vt;function s(a){var u;return i[a]=!0,x.each(e[a]||[],(function(e,a){var c=a(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function qt(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Ut.href=Dt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML}
vendor: 10,025 bytes, line 2
2,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,x.ajaxSettings),t):qt(x.ajaxSettings,e)},ajaxPrefilter:Ht($t),ajaxTransport:Ht(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,s,a,u,c,l,p,d,h=x.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?x(f):x.event,g=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},b={},w={},E="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Ft.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return n&&n.abort(t),D(0,t),this}};if(g.promise(S),h.url=((e||h.url||Dt.href)+"").replace(Lt,Dt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(L)||[""],null==h.crossDomain){u=_.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Ut.protocol+"//"+Ut.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),zt($t,h,t,S),c)return S;for(p in(l=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),i=h.url.replace(Pt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Nt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Tt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Rt,"$1"),d=(Tt.test(i)?"&":"?")+"_="+Ct.guid+++d),h.url=i+d),h.ifModified&&(x.lastModified[i]&&S.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&S.setRequestHeader("If-None-Match",x.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(f,S,h)||c))return S.abort();if(E="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),n=zt(Vt,h,t,S)){if(S.readyState=1,l&&m.trigger("ajaxSend",[S,h]),c)return S;h.async&&h.timeout>0&&(a=r.setTimeout((function(){S.abort("timeout")}),h.timeout));try{c=!1,n.send(b,D)}catch(e){if(c)throw e;D(-1,e)}}else D(-1,"No Transport");function D(e,t,s,u){var p,d,_,b,w,E=t;c||(c=!0,a&&r.clearTimeout(a),n=void 0,o=u||"",S.readyState=e>0?4:0,p=e>=200&&e<300||304===e,s&&(b=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,S,s)),!p&&x.inArray("script",h.dataTypes)>-1&&x.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,s,a,u,c={},l=e.dataTypes.slice();if(l[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=c[u+" "+o]||c["* "+o]))for(i in c)if((a=i.split(" "))[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[i]:!0!==c[i]&&(o=a[0],l.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,b,S,p),p?(h.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=S.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===h.type?E="nocontent":304===e?E="notmodified":(E=b.state,d=b.data,p=!(_=b.error))):(_=E,!e&&E||(E="error",e<0&&(e=0))),S.status=e,S.statusText=(t||E)+"",p?g.resolveWith(f,[d,E,S]):g.rejectWith(f,[S,E,_]),S.statusCode(y),y=void 0,l&&m.trigger(p?"ajaxSuccess":"ajaxError",[S,h,p?d:_]),v.fireWith(f,[S,E]),l&&(m.trigger("ajaxComplete",[S,h]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Wt=x.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,x.ajaxTransport((function(e){var t,n;if(g.cors||Wt&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Gt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=x("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,Zt=[],Kt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||x.expando+"_"+Ct.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,s,a=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||x.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){s=arguments},n.always((function(){void 0===o?x(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Zt.push(i)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),g.createHTMLDocument=((Yt=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,t.head.appendChild(r)):t=_),o=!n&&[],(i=M.exec(e))?[t.createElement(i[1])]:(i=Se([e],t,o),o&&o.length&&x(o).remove(),x.merge([],i.childNodes)));var r,i,o},x.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=_t(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&x.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,c=x.css(e,"position"),l=x(e),p={};"static"===c&&(e.style.position="relative"),a=l.offset(),o=x.css(e,"to
2p"),u=x.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(s=(r=l.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,x.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+i),"using"in t?t.using.call(e,p):l.css(p)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),i.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-x.css(r,"marginTop",!0),left:t.left-i.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||se}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return q(this,(function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=Ye(g.pixelPosition,(function(e,n){if(n)return n=We(e,t),Ve.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){x.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return q(this,(function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?x.css(t,n,a):x.style(t,n,i,a)}),t,s?i:void 0,s)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Jt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=a.call(arguments,2),i=function(){return e.apply(t||this,r.concat(a.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=O,x.isFunction=v,x.isWindow=y,x.camelCase=Z,x.type=E,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Jt,"$1")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,Qt=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=Qt),e&&r.jQuery===x&&(r.jQuery=Xt),x},void 0===i&&(r.jQuery=r.$=x),x}))},10646:function(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function t(n,r){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
vendor: 26,333 bytes, line 2
2URIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=t+"="+n.write(i,t)+s}}function o(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=n.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}}return Object.create({set:i,get:o,remove:function(t,n){i(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}return t({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},69483:function(e,t,n){e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(l),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var u=new e.MessageChannel;u.port1.onmessage=l,n=function(){u.port2.postMessage(0)}}var c=[];function l(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}function p(e){1!==c.push(e)||r||n()}t.exports=p}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],u=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&h(this,e)}function l(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function p(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}function s(){t(i,r)}var a=f(s);"error"===a.status&&r(a.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function m(e){return e instanceof this?e:o.resolve(new this(i),e)}function g(e){var t=new this(i);return o.reject(t,e)}function v(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,u=-1,c=new this(i);++u<n;)l(e[u],u);return c;function l(e,i){function u(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(c,s))}t.resolve(e).then(u,(function(e){r||(r=!0,o.reject(c,e))}))}}function y(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=-1,a=new this(i);++s<n;)u(e[s]);return a;function u(e){t.resolve(e).then((function(e){r||(r=!0,o.resolve(a,e))}),(function(e){r||(r=!0,o.reject(a,e))}))}}t.exports=c,c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==u?p(n,this.state===a?e:t,this.outcome):this.queue.push(new l(n,e,t)),n},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){p(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){p(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(d,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=m,c.reject=g,c.all=v,c.race=y},{1:1}],3:[function(e,t,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}var s=o();function a(){try{if(!s||!s.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}function u(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var c=Promise;function l(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function p(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function d(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function h(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var f="local-forage-detect-blob-support",m=void 0,g={},v=Object.prototype.toString,y="readonly",_="readwrite";function b(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}function w(e){return new c((function(t){var n=e.transaction(f,_),r=u([""]);n.objectStore(f).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}function E(e){return"boolean"==typeof m?c.resolve(m):w(e).then((function(e){return m=e}))}function S(e){var t=g[e.name],n={};n.promise=new c((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function x(e){var t=g[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function D(e,t){var n=g[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function C(e,t){return new c((function(n,r){if(g[e.name]=g[e.name]||F(),e.db){if(!t)return n(e.db);S(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var o=s.open.apply(s,i);t&&(o.onupgradeneeded=function(t){var n=o.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(f)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),o.onerror=function(e){e.preventDefault(),r(o.error)},o.onsuccess=function(){var t=o.result;t.onversionchange=function(e){e.target.close()},n(t),x(e)}}))}function T(e){return C(e,!1)}function k(e){return C(e,!0)}function I(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,i=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function O(e){return new c((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)}))}function M(e){return u([b(atob(e.data))],{type:e.type})}function A(e){return e&&e.__local_forage_encoded_blob}function N(e){var t=this,n=t._initReady().then((function(){var e=g[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return p(n,e,e),n}function P(e){S(e);for(var t=g[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,T(e).then((function(t){return e.db=t,I(e)?k(e):t})).then((function(r){e.db=t.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r})).catch((function(t){throw D(e,t),t}))}function R(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(i){if(r>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return c.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),k(e)})).then((function(){return P(e).then((function(){R(e,t,n,r-1)}))})).catch(n);n(i)}}function F(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function j(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=g[n.name];i||(i=F(),g[n.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=N);var o=[];function s(){return c.resolve()}for(var a=0;a<i.forages.length;a++){var u=i.forages[a];u!==t&&o.push(u._initReady().catch(s))}var l=i.forages.slice(0);return c.all(o).then((function(){return n.db=i.db,T(n)})).then((function(e){return n.db=e,I(n,t._defaultConfig.version)?k(n):e})).then((function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<l.length;r++){var o=l[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}}))}function L(e,t){var n=this;e=d(e);var r=new c((function(t,r){n.ready().then((function(){R(n._dbInfo,y,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).get(e);s.onsuccess=function(){var e=s.result;void 0===e&&(e=null),A(e)&&(e=M(e)),t(e)},s.onerror=function(){r(s.error)}}catch(e){r(e)}}))})).catch(r)}));return l(r,t),r}function $(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){R(n._dbInfo,y,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var n=s.result;if(n){var r=n.value;A(r)&&(r=M(r));var i=e(r,n.key,a++);void 0!==i?t(i):n.continue()}else t()},s.onerror=function(){r(s.error)}}catch(e){r(e)}}))})).catch(r)}));return l(r,t),r}function V(e,t,n){var r=this;e=d(e);var i=new c((function(n,i){var o;r.ready().then((function(){return o=r._dbInfo,"[object Blob]"===v.call(t)?E(o.db).then((function(e){return e?t:O(t)})):t})).then((function(t){R(r._dbInfo,_,(function(o,s){if(o)return i(o);try{var a=s.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var u=a.put(t,e);s.oncomplete=function(){void 0===t&&(t=null),n(t)},s.onabort=s.onerror=function(){var e=u.error?u.error:u.transaction.error;i(e)}}catch(e){i(e)}}))})).catch(i)}));return l(i,n),i}function B(e,t){var n=this;e=d(e);var r=new c((function(t,r){n.ready().then((function(){R(n._dbInfo,_,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(s.error)},o.onabort=function(){var e=s.error?s.error:s.transaction.error;r(e)}}catch(e){r(e)}}))})).catch(r)}));return l(r,t),r}function U(e){var t=this,n=new c((function(e,n){t.ready().then((function(){R(t._dbInfo,_,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(e){n(e)}}))})).catch(n)}));return l(n,e),n}function H(e){var t=this,n=new c((function(e,n){t.ready().then((function(){R(t._dbInfo,y,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return l(n,e),n}function z(e,t){var n=this,r=new c((function(t,r){e<0?t(null):n.ready().then((function(){R(n._dbInfo,y,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName),a=!1,u=s.openKeyCursor();u.onsuccess=function(){var n=u.result;n?0===e||a?t(n.key):(a=!0,n.advance(e)):t(null)},u.onerror=function(){r(u.error)}}catch(e){r(e)}}))})).catch(r)}));return l(r,t),r}function q(e){var t=this,n=new c((function(e,n){t.ready().then((function(){R(t._dbInfo,y,(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),s=[];o.onsuccess=function(){var t=o.result;t?(s.push(t.key),t.continue()):e(s)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return l(n,e),n}function G(e,t){t=h.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;if(e.name){var o=e.name===n.name&&i._dbInfo.db?c.resolve(i._dbInfo.db):T(e).then((function(t){var n=g[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t}));r=e.storeName?o.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;S(e);var r=g[e.name],i=r.forages;t.close();for(var o=0;o<i.length;o++){var a=i[o];a._dbInfo.db=null,a._dbInfo.version=n}var u=new c((function(t,r){var i=s.open(e.name,n);i.onerror=function(e){i.result.close(),r(e)},i.onupgradeneeded=function(){i.result.deleteObjectStore(e.storeName)},i.onsuccess=function(){var e=i.result;e.close(),t(e)}}));return u.then((function(e){r.db=e;for(var t=0;t<i.length;t++){var n=i[t];n._dbInfo.db=e,x(n._dbInfo)}})).catch((function(t){throw(D(e,t)||c.resolve()).catch((function(){})),t}))}})):o.then((function(t){S(e);var n=g[e.name],r=n.forages;t.close();for(var i=0;i<r.length;i++)r[i]._dbInfo.db=null;var o=new c((function(t,n){var r=s.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}));return o.then((function(e){n.db=e;for(var t=0;t<r.length;t++)x(r[t]._dbInfo)})).catch((function(t){throw(D(e,t)||c.resolve()).catch((function(){})),t}))}))}else r=c.reject("Invalid arguments");return l(r,t),r}var W={_driver:"asyncStorage",_initStorage:j,_support:a(),iterate:$,getItem:L,setItem:V,removeItem:B,clear:U,length:H,key:z,keys:q,dropInstance:G};function Y(){return"function"==typeof openDatabase}var Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",K="~~local_forage_type~",J=/^~~local_forage_type~([^~]+)~/,X="__lfsc__:",Q=X.length,ee="arbf",te="blob",ne="si08",re="ui08",ie="uic8",oe="si16",se="si32",ae="ur16",ue="ui32",ce="fl32",le="fl64",pe=Q+ee.length,de=Object.prototype.toString;function he(e){var t,n,r,i,o,s=.75*e.length,a=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),l=new Uint8Array(c);for(t=0;t<a;t+=4)n=Z.indexOf(e[t]),r=Z.indexOf(e[t+1]),i=Z.indexOf(e[t+2]),o=Z.indexOf(e[t+3]),l[u++]=n<<2|r>>4,l[u++]=(15&r)<<4|i>>2,l[u++]=(3&i)<<6|63&o;return c}function fe(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=Z[n[t]>>2],r+=Z[(3&n[t])<<4|n[t+1]>>4],r+=Z[(15&n[t+1])<<2|n[t+2]>>6],r+=Z[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function me(e,t){var n="";if(e&&(n=de.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===de.call(e.buffer))){var r,i=X;e instanceof ArrayBuffer?(r=e,i+=ee):(r=e.buffer,"[object Int8Array]"===n?i+=ne:"[object Uint8Array]"===n?i+=re:"[object Uint8ClampedArray]"===n?i+=ie:"[object Int16Array]"===n?i+=oe:"[object Uint16Array]"===n?i+=ae:"[object Int32Array]"===n?i+=se:"[object Uint32Array]"===n?i+=ue:"[object Float32Array]"===n?i+=ce:"[object Float64Array]"===n?i+=le:t(new Error("Failed to get type for BinaryArray"))),t(i+fe(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=K+e.type+"~"+fe(this.result);t(X+te+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}}function ge(e){if(e.substring(0,Q)!==X)return JSON.parse(e);var t,n=e.substring(pe),r=e.substring(Q,pe);if(r===te&&J.test(n)){var i=n.match(J);t=i[1],n=n.substring(i[0].length)}var o=he(n);switch(r){case ee:return o;case te:return u([o],{type:t});case ne:return new Int8Array(o);case re:return new Uint8Array(o);case ie:return new Uint8ClampedArray(o);case oe:return new Int16Array(o);case ae:return new Uint16Array(o);case se:return new Int32Array(o);case ue:return new Uint32Array(o);case ce:return new Float32Array(o);case le:return new Float64Array(o);default:throw new Error("Unkown type: "+r)}}var ve={serialize:me,deserialize:ge,stringToBuffer:he,bufferToString:fe};function ye(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function _e(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new c((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction((function(i){ye(i,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=ve,i}function be(e,t,n,r,i,o){e.executeSql(n,r,i,(function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?o(e,s):ye(e,t,(function(){e.executeSql(n,r,i,o)}),o)}),o):o(e,s)}),o)}function we(e,t){var n=this;e=d(e);var r=new c((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){be(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Ee(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){be(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,s=o.length,a=0;a<s;a++){var u=o.item(a),c=u.value;if(c&&(c=i.serializer.deserialize(c)),void 0!==(c=e(c,u.key,a+1)))return void t(c)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Se(e,t,n,r){var i=this;e=d(e);var o=new c((function(o,s){i.ready().then((function(){void 0===t&&(t=null);var a=t,u=i._dbInfo;u.serializer.serialize(t,(function(t,c){c?s(c):u.db.transaction((function(n){be(n,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(a)}),(function(e,t){s(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(Se.apply(i,[e,a,n,r-1]));s(t)}}))}))})).catch(s)}));return l(o,n),o}function xe(e,t,n){return Se.apply(this,[e,t,n,1])}function De(e,t){var n=this;e=d(e);var r=new c((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){be(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Ce(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){be(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return l(n,e),n}function Te(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){be(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return l(n,e),n}function ke(e,t){var n=this,r=new c((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){be(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return l(r,t),r}function Ie(e){var t=this,n=new c((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){be(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return l(n,e),n}function Oe(e){return new c((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}function Me(e,t){t=h.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;return l(r=e.name?new c((function(t){var r;r=e.name===n.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(Oe(r))})).then((function(e){return new c((function(t,n){e.db.transaction((function(r){function i(e){return new c((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var o=[],s=0,a=e.storeNames.length;s<a;s++)o.push(i(e.storeNames[s]));c.all(o).then((function(){t()})).catch((function(e){n(e)}))}),(function(e){n(e)}))}))})):c.reject("Invalid arguments"),t),r}var Ae={_driver:"webSQLStorage",_initStorage:_e,_support:Y(),iterate:Ee,getItem:we,setItem:xe,removeItem:De,clear:Ce,length:Te,key:ke,keys:Ie,dropInstance:Me};function Ne(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}function Pe(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function Re(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}function Fe(){return!Re()||localStorage.length>0}function je(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=Pe(e,t._defaultConfig),Fe()?(t._dbInfo=n,n.serializer=ve,c.resolve()):c.reject()}function Le(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return l(n,e),n}function $e(e,t){var n=this;e=d(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return l(r,t),r}function Ve(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,s=1,a=0;a<o;a++){var u=localStorage.key(a);if(0===u.indexOf(r)){var c=localStorage.getItem(u);if(c&&(c=t.serializer.deserialize(c)),void 0!==(c=e(c,u.substring(i),s++)))return c}}}));return l(r,t),r}function Be(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return l(r,t),r}function Ue(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r}));return l(n,e),n}function He(e){var t=this.keys().then((function(e){return e.length}));return l(t,e),t}function ze(e,t){var n=this;e=d(e);var r=n.ready().then((function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return l(r,t),r}function qe(e,t,n){var r=this;e=d(e);var i=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new c((function(i,o){var s=r._dbInfo;s.serializer.serialize(t,(function(t,r){if(r)o(r);else try{localStorage.setItem(s.keyPrefix+e,t),i(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}}))}))}));return l(i,n),i}function Ge(e,t){if(t=h.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,i=this;return r=e.name?new c((function(t){e.storeName?t(Pe(e,i._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):c.reject("Invalid arguments"),l(r,t),r}var We={_driver:"localStorageWrapper",_initStorage:je,_support:Ne(),iterate:Ve,getItem:$e,setItem:qe,removeItem:ze,clear:Le,length:He,key:Be,keys:Ue,dropInstance:Ge},Ye=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},Ze=function(e,t){for(var n=e.length,r=0;r<n;){if(Ye(e[r],t))return!0;r++}return!1},Ke=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Je={},Xe={},Qe={INDEXEDDB:W,WEBSQL:Ae,LOCALSTORAGE:We},et=[Qe.INDEXEDDB._driver,Qe.WEBSQL._driver,Qe.LOCALSTORAGE._driver],tt
2=["dropInstance"],nt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(tt),rt={description:"",driver:et.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function it(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function ot(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(Ke(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var st=function(){function e(t){for(var n in i(this,e),Qe)if(Qe.hasOwnProperty(n)){var r=Qe[n],o=r._driver;this[n]=o,Je[o]||this.defineDriver(r)}this._defaultConfig=ot({},rt),this._config=ot({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new c((function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=nt.concat("_initStorage"),s=0,a=o.length;s<a;s++){var u=o[s];if((!Ze(tt,u)||e[u])&&"function"!=typeof e[u])return void n(i)}var p=function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=c.reject(t);return l(n,arguments[arguments.length-1]),n}},n=0,r=tt.length;n<r;n++){var i=tt[n];e[i]||(e[i]=t(i))}};p();var d=function(n){Je[r]&&console.info("Redefining LocalForage driver: "+r),Je[r]=e,Xe[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(e){n(e)}}));return p(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=Je[e]?c.resolve(Je[e]):c.reject(new Error("Driver not found."));return p(r,t,n),r},e.prototype.getSerializer=function(e){var t=c.resolve(ve);return p(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return p(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;Ke(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function s(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}function a(e){return function(){var t=0;function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(s).catch(n)}o();var a=new Error("No available storage method found.");return r._driverSet=c.reject(a),r._driverSet}return n()}}var u=null!==this._driverSet?this._driverSet.catch((function(){return c.resolve()})):c.resolve();return this._driverSet=u.then((function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=a(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return r._driverSet=c.reject(e),r._driverSet})),p(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!Xe[e]},e.prototype._extend=function(e){ot(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=nt.length;e<t;e++)it(this,nt[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),at=new st;t.exports=at},{3:3}]},{},[4])(4)},28660:function(e,t,n){var r;!function(e){!function(t){var r="object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=o(e);function o(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0===r.Reflect?r.Reflect=e:i=o(r.Reflect,i),function(e){var t=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,r=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,s={__proto__:[]}instanceof Array,a=!o&&!s,u={create:o?function(){return re(Object.create(null))}:s?function(){return re({__proto__:null})}:function(){return re({})},has:a?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:a?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},c=Object.getPrototypeOf(Function),l="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,p=l||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?ee():Map,d=l||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?te():Set,h=new(l||"function"!=typeof WeakMap?ne():WeakMap);function f(e,t,n,r){if(R(n)){if(!z(e))throw new TypeError;if(!G(t))throw new TypeError;return x(e,t)}if(!z(e))throw new TypeError;if(!L(t))throw new TypeError;if(!L(r)&&!R(r)&&!F(r))throw new TypeError;return F(r)&&(r=void 0),D(e,t,n=H(n),r)}function m(e,t){function n(n,r){if(!L(n))throw new TypeError;if(!R(r)&&!W(r))throw new TypeError;M(e,t,n,r)}return n}function g(e,t,n,r){if(!L(n))throw new TypeError;return R(r)||(r=H(r)),M(e,t,n,r)}function v(e,t,n){if(!L(t))throw new TypeError;return R(n)||(n=H(n)),T(e,t,n)}function y(e,t,n){if(!L(t))throw new TypeError;return R(n)||(n=H(n)),k(e,t,n)}function _(e,t,n){if(!L(t))throw new TypeError;return R(n)||(n=H(n)),I(e,t,n)}function b(e,t,n){if(!L(t))throw new TypeError;return R(n)||(n=H(n)),O(e,t,n)}function w(e,t){if(!L(e))throw new TypeError;return R(t)||(t=H(t)),A(e,t)}function E(e,t){if(!L(e))throw new TypeError;return R(t)||(t=H(t)),N(e,t)}function S(e,t,n){if(!L(t))throw new TypeError;R(n)||(n=H(n));var r=C(t,n,!1);if(R(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var i=h.get(t);return i.delete(n),i.size>0||h.delete(t),!0}function x(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!R(r)&&!F(r)){if(!G(r))throw new TypeError;t=r}}return t}function D(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!R(o)&&!F(o)){if(!L(o))throw new TypeError;r=o}}return r}
vendor: 7,390 bytes, line 2
2function C(e,t,n){var r=h.get(e);if(R(r)){if(!n)return;r=new p,h.set(e,r)}var i=r.get(t);if(R(i)){if(!n)return;i=new p,r.set(t,i)}return i}function T(e,t,n){if(k(e,t,n))return!0;var r=Q(t);return!F(r)&&T(e,r,n)}function k(e,t,n){var r=C(t,n,!1);return!R(r)&&B(r.has(e))}function I(e,t,n){if(k(e,t,n))return O(e,t,n);var r=Q(t);return F(r)?void 0:I(e,r,n)}function O(e,t,n){var r=C(t,n,!1);if(!R(r))return r.get(e)}function M(e,t,n,r){C(n,r,!0).set(e,t)}function A(e,t){var n=N(e,t),r=Q(e);if(null===r)return n;var i=A(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new d,s=[],a=0,u=n;a<u.length;a++){var c=u[a];o.has(c)||(o.add(c),s.push(c))}for(var l=0,p=i;l<p.length;l++){c=p[l];o.has(c)||(o.add(c),s.push(c))}return s}function N(e,t){var n=[],r=C(e,t,!1);if(R(r))return n;for(var i=Z(r.keys()),o=0;;){var s=J(i);if(!s)return n.length=o,n;var a=K(s);try{n[o]=a}catch(e){try{X(i)}finally{throw e}}o++}}function P(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function R(e){return void 0===e}function F(e){return null===e}function j(e){return"symbol"==typeof e}function L(e){return"object"==typeof e?null!==e:"function"==typeof e}function $(e,t){switch(P(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",i=Y(e,r);if(void 0!==i){var o=i.call(e,n);if(L(o))throw new TypeError;return o}return V(e,"default"===n?"number":n)}function V(e,t){if("string"===t){var n=e.toString;if(q(n))if(!L(i=n.call(e)))return i;if(q(r=e.valueOf))if(!L(i=r.call(e)))return i}else{var r;if(q(r=e.valueOf))if(!L(i=r.call(e)))return i;var i,o=e.toString;if(q(o))if(!L(i=o.call(e)))return i}throw new TypeError}function B(e){return!!e}function U(e){return""+e}function H(e){var t=$(e,3);return j(t)?t:U(t)}function z(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function q(e){return"function"==typeof e}function G(e){return"function"==typeof e}function W(e){switch(P(e)){case 3:case 4:return!0;default:return!1}}function Y(e,t){var n=e[t];if(null!=n){if(!q(n))throw new TypeError;return n}}function Z(e){var t=Y(e,i);if(!q(t))throw new TypeError;var n=t.call(e);if(!L(n))throw new TypeError;return n}function K(e){return e.value}function J(e){var t=e.next();return!t.done&&t}function X(e){var t=e.return;t&&t.call(e)}function Q(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===c)return t;if(t!==c)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function ee(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,o)},t.prototype.entries=function(){return new n(this._keys,this._values,s)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function o(e,t){return t}function s(e,t){return[e,t]}}function te(){return function(){function e(){this._map=new p}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}()}function ne(){var e=16,n=u.create(),r=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var e;do{e="@@WeakMap@@"+c()}while(u.has(n,e));return n[e]=!0,e}function o(e,n){if(!t.call(e,r)){if(!n)return;Object.defineProperty(e,r,{value:u.create()})}return e[r]}function s(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function a(e){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):s(new Uint8Array(e),e):s(new Array(e),e)}function c(){var t=a(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",r=0;r<e;++r){var i=t[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}function re(e){return e.__=void 0,delete e.__,e}e("decorate",f),e("metadata",m),e("defineMetadata",g),e("hasMetadata",v),e("hasOwnMetadata",y),e("getMetadata",_),e("getOwnMetadata",b),e("getMetadataKeys",w),e("getOwnMetadataKeys",E),e("deleteMetadata",S)}(i)}()}(r||(r={}))},72872:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};
2Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var o=n(2419);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return o.Observable}});var s=n(99518);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return s.ConnectableObservable}});var a=n(72801);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return a.observable}});var u=n(79106);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var c=n(63032);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return c.Subject}});var l=n(15240);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var p=n(33274);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return p.ReplaySubject}});var d=n(90280);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return d.AsyncSubject}});var h=n(30580);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return h.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return h.asapScheduler}});var f=n(52445);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return f.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return f.asyncScheduler}});var m=n(38615);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var g=n(63660);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return g.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return g.animationFrameScheduler}});var v=n(74123);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return v.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return v.VirtualAction}});var y=n(10218);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var _=n(93865);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return _.Subscription}});var b=n(85125);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return b.Subscriber}});var w=n(23104);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var E=n(9985);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return E.pipe}});var S=n(42576);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return S.noop}});var x=n(14781);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return x.identity}});var D=n(88386);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return D.isObservable}});var C=n(99309);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return C.lastValueFrom}});var T=n(58182);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return T.firstValueFrom}});var k=n(42351);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return k.ArgumentOutOfRangeError}});var I=n(39474);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return I.EmptyError}});var O=n(48598);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return O.NotFoundError}});var M=n(82642);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return M.ObjectUnsubscribedError}});var A=n(46156);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return A.SequenceError}});var N=n(34173);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return N.TimeoutError}});var P=n(24805);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return P.UnsubscriptionError}});var R=n(63050);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return R.bindCallback}});var F=n(48130);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return F.bindNodeCallback}});var j=n(99258);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return j.combineLatest}});var L=n(12239);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return L.concat}});var $=n(62873);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return $.connectable}});var V=n(37885);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return V.defer}});var B=n(16332);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return B.empty}});var U=n(7245);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return U.forkJoin}});var H=n(85432);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return H.from}});var z=n(83267);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return z.fromEvent}});var q=n(20470);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return q.from
2EventPattern}});var G=n(24303);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return G.generate}});var W=n(61757);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return W.iif}});var Y=n(98990);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return Y.interval}});var Z=n(21846);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Z.merge}});var K=n(41339);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return K.never}});var J=n(95726);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return J.of}});var X=n(90724);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return X.onErrorResumeNext}});var Q=n(74380);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return Q.pairs}});var ee=n(97273);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=n(85182);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var ne=n(40322);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return ne.range}});var re=n(92098);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return re.throwError}});var ie=n(87513);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return ie.timer}});var oe=n(62962);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return oe.using}});var se=n(57654);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return se.zip}});var ae=n(65207);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ue=n(16332);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var ce=n(41339);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return ce.NEVER}}),i(n(28433),t);var le=n(23280);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return le.config}});var pe=n(76474);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return pe.audit}});var de=n(95382);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return de.auditTime}});var he=n(89715);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return he.buffer}});var fe=n(63814);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return fe.bufferCount}});var me=n(7211);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return me.bufferTime}});var ge=n(84943);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return ge.bufferToggle}});var ve=n(91240);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return ve.bufferWhen}});var ye=n(69548);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ye.catchError}});var _e=n(52128);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return _e.combineAll}});var be=n(73240);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return be.combineLatestAll}});var we=n(65024);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Ee=n(84413);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return Ee.concatAll}});var Se=n(27498);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Se.concatMap}});var xe=n(6109);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return xe.concatMapTo}});var De=n(69664);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return De.concatWith}});var Ce=n(81995);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ce.connect}});var Te=n(70993);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return Te.count}});var ke=n(70496);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return ke.debounce}});var Ie=n(61385);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Ie.debounceTime}});var Oe=n(71658);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return Oe.defaultIfEmpty}});var Me=n(35841);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return Me.delay}});var Ae=n(78798);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Ae.delayWhen}});var Ne=n(11080);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return Ne.dematerialize}});var Pe=n(63054);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Pe.distinct}});var Re=n(98737);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return Re.distinctUntilChanged}});var Fe=n(77957);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Fe.distinctUntilKeyChanged}});var je=n(88633);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return je.elementAt}});var Le=n(90911);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Le.endWith}});var $e=n(2096);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return $e.every}});var Ve=n(70067);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Ve.exhaust}});var Be=n(75337);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Be.exhaustAll}});var Ue=n(5635);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return Ue.exhaustMap}});var He=n(59745);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return He.expand}});var ze=n(49154);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return ze.filter}});var qe=n(9283);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return qe.finalize}});var Ge=n(47119);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Ge.find}});var We=n(74706);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return We.findIndex}});var Ye=n(29219);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return Ye.first}});var Ze=n(79749);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ze.groupBy}
2});var Ke=n(29438);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var Je=n(28515);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Je.isEmpty}});var Xe=n(22435);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Xe.last}});var Qe=n(47291);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Qe.map}});var et=n(18313);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=n(33209);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var nt=n(72620);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return nt.max}});var rt=n(93783);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var it=n(21788);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return it.flatMap}});var ot=n(99475);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var st=n(61211);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return st.mergeMapTo}});var at=n(97267);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ut=n(49303);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var ct=n(99714);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ct.min}});var lt=n(73848);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return lt.multicast}});var pt=n(1184);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return pt.observeOn}});var dt=n(37582);Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return dt.onErrorResumeNextWith}});var ht=n(52731);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ht.pairwise}});var ft=n(84691);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ft.pluck}});var mt=n(4474);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return mt.publish}});var gt=n(70052);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return gt.publishBehavior}});var vt=n(82110);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return vt.publishLast}});var yt=n(89864);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var _t=n(179);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return _t.raceWith}});var bt=n(60122);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return bt.reduce}});var wt=n(5313);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return wt.repeat}});var Et=n(54068);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return Et.repeatWhen}});var St=n(40064);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return St.retry}});var xt=n(11188);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return xt.retryWhen}});var Dt=n(28739);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Dt.refCount}});var Ct=n(84193);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Ct.sample}});var Tt=n(76170);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return Tt.sampleTime}});var kt=n(85876);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return kt.scan}});var It=n(41791);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return It.sequenceEqual}});var Ot=n(15137);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Ot.share}});var Mt=n(11348);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Mt.shareReplay}});var At=n(28242);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return At.single}});var Nt=n(83169);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Nt.skip}});var Pt=n(42454);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Pt.skipLast}});var Rt=n(36931);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Rt.skipUntil}});var Ft=n(77913);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Ft.skipWhile}});var jt=n(29234);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return jt.startWith}});var Lt=n(40276);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Lt.subscribeOn}});var $t=n(29253);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return $t.switchAll}});var Vt=n(68518);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Vt.switchMap}});
2var Bt=n(21173);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Bt.switchMapTo}});var Ut=n(73855);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ut.switchScan}});var Ht=n(54783);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Ht.take}});var zt=n(71980);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return zt.takeLast}});var qt=n(69845);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return qt.takeUntil}});var Gt=n(6060);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Gt.takeWhile}});var Wt=n(1138);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Wt.tap}});var Yt=n(77306);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Zt=n(2239);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Zt.throttleTime}});var Kt=n(81779);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Kt.throwIfEmpty}});var Jt=n(28005);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Jt.timeInterval}});var Xt=n(34173);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Xt.timeout}});var Qt=n(87223);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var en=n(88975);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return en.timestamp}});var tn=n(40002);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return tn.toArray}});var nn=n(2826);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return nn.window}});var rn=n(47526);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return rn.windowCount}});var on=n(78294);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return on.windowTime}});var sn=n(61883);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return sn.windowToggle}});var an=n(94309);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return an.windowWhen}});var un=n(83032);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return un.withLatestFrom}});var cn=n(78593);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return cn.zipAll}});var ln=n(78096);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return ln.zipWith}})},90280:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return i(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t._hasValue,i=t._value,o=t.thrownError,s=t.isStopped,a=t._isComplete;n?e.error(o):(s||a)&&(r&&e.next(i),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,n=t._hasValue,r=t._value;t._isComplete||(this._isComplete=!0,n&&e.prototype.next.call(this,r),e.prototype.complete.call(this))},t}(n(63032).Subject);t.AsyncSubject=o},15240:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});
2Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var o=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(63032).Subject);t.BehaviorSubject=o},23104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var r=n(16332),i=n(95726),o=n(92098),s=n(73005);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(t.NotificationKind||(t.NotificationKind={}));var a=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,n){var r=this,i=r.kind,o=r.value,s=r.error;return"N"===i?null==e?void 0:e(o):"E"===i?null==t?void 0:t(s):null==n?void 0:n()},e.prototype.accept=function(e,t,n){var r;return s.isFunction(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){var e=this,t=e.kind,n=e.value,s=e.error,a="N"===t?i.of(n):"E"===t?o.throwError((function(){return s})):"C"===t?r.EMPTY:0;if(!a)throw new TypeError("Unexpected notification kind "+t);return a},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var n,r,i,o=e,s=o.kind,a=o.value,u=o.error;if("string"!=typeof s)throw new TypeError('Invalid notification, missing "kind"');"N"===s?null===(n=t.next)||void 0===n||n.call(t,a):"E"===s?null===(r=t.error)||void 0===r||r.call(t,u):null===(i=t.complete)||void 0===i||i.call(t)}t.Notification=a,t.observeNotification=u},17286:function(e,t){"use strict";function n(e,t,n){return{kind:e,value:t,error:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=n("C",void 0,void 0),t.errorNotification=function(e){return n("E",void 0,e)},t.nextNotification=function(e){return n("N",e,void 0)},t.createNotification=n},2419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var r=n(85125),i=n(93865),o=n(72801),s=n(9985),a=n(23280),u=n(73005),c=n(86110),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,s=this,a=(o=e)&&o instanceof r.Subscriber||function(e){return e&&u.isFunction(e.next)&&u.isFunction(e.error)&&u.isFunction(e.complete)}(o)&&i.isSubscription(o)?e:new r.SafeSubscriber(e,t,n);return c.errorContext((function(){var e=s,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?s._subscribe(a):s._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=p(t))((function(t,i){var o=new r.SafeSubscriber({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=p(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function p(e){var t;return null!==(t=null!=e?e:a.config.Promise)&&void 0!==t?t:Promise}t.Observable=l},33274:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});
vendor: 11,014 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var o=n(63032),s=n(87950),a=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=s.dateTimestampProvider);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return i(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(o.Subject);t.ReplaySubject=a},10218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var r=n(87950),i=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=r.dateTimestampProvider.now,e}();t.Scheduler=i},63032:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var s=n(2419),a=n(93865),u=n(82642),c=n(26967),l=n(86110),p=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype.lift=function(e){var t=new d(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new u.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;l.errorContext((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=o(t.currentObservers),s=i.next();!s.done;s=i.next()){s.value.next(e)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;l.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;l.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,o.push(e),new a.Subscription((function(){t.currentObservers=null,c.arrRemove(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new s.Observable;return e.source=this,e},t.create=function(e,t){return new d(e,t)},t}(s.Observable);t.Subject=p;var d=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return i(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:a.EMPTY_SUBSCRIPTION},t}(p);t.AnonymousSubject=d},85125:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var o=n(73005),s=n(93865),a=n(23280),u=n(47968),c=n(42576),l=n(17286),p=n(23519),d=n(86110),h=function(e){function n(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,s.isSubscription(n)&&n.add(r)):r.destination=t.EMPTY_OBSERVER,r}return i(n,e),n.create=function(e,t,n){return new v(e,t,n)},n.prototype.next=function(e){this.isStopped?_(l.nextNotification(e),this):this._next(e)},n.prototype.error=function(e){this.isStopped?_(l.errorNotification(e),this):(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped?_(l.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(s.Subscription);t.Subscriber=h;var f=Function.prototype.bind;function m(e,t){return f.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),v=function(e){function t(t,n,r){var i,s,u=e.call(this)||this;o.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:u&&a.config.useDeprecatedNextContext?((s=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},i={next:t.next&&m(t.next,s),error:t.error&&m(t.error,s),complete:t.complete&&m(t.complete,s)}):i=t;return u.destination=new g(i),u}return i(t,e),t}(h);function y(e){a.config.useDeprecatedSynchronousErrorHandling?d.captureError(e):u.reportUnhandledError(e)}function _(e,t){var n=a.config.onStoppedNotification;n&&p.timeoutProvider.setTimeout((function(){return n(e,t)}))}t.SafeSubscriber=v,t.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function(e){throw e},complete:c.noop}},93865:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},o=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var s=n(73005),a=n(24805),u=n(26967),c=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,u,c;if(!this.closed){this.closed=!0;var p=this._parentage;if(p)if(this._parentage=null,Array.isArray(p))try{for(var d=r(p),h=d.next();!h.done;h=d.next()){h.value.remove(this)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}else p.remove(this);var f=this.initialTeardown;if(s.isFunction(f))try{f()}catch(e){c=e instanceof a.UnsubscriptionError?e.errors:[e]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var g=r(m),v=g.next();!v.done;v=g.next()){var y=v.value;try{l(y)}catch(e){c=null!=c?c:[],e instanceof a.UnsubscriptionError?c=o(o([],i(c)),i(e.errors)):c.push(e)}}}catch(e){n={error:e}}finally{try{v&&!v.done&&(u=g.return)&&u.call(g)}finally{if(n)throw n.error}}}if(c)throw new a.UnsubscriptionError(c)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&u.arrRemove(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&u.arrRemove(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){s.isFunction(e)?e():e.unsubscribe()}t.Subscription=c,t.EMPTY_SUBSCRIPTION=c.EMPTY,t.isSubscription=function(e){return e instanceof c||e&&"closed"in e&&s.isFunction(e.remove)&&s.isFunction(e.add)&&s.isFunction(e.unsubscribe)}},23280:function(e,t){"use strict";
vendor: 11,712 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},58182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var r=n(39474),i=n(85125);t.firstValueFrom=function(e,t){var n="object"==typeof t;return new Promise((function(o,s){var a=new i.SafeSubscriber({next:function(e){o(e),a.unsubscribe()},error:s,complete:function(){n?o(t.defaultValue):s(new r.EmptyError)}});e.subscribe(a)}))}},99309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var r=n(39474);t.lastValueFrom=function(e,t){var n="object"==typeof t;return new Promise((function(i,o){var s,a=!1;e.subscribe({next:function(e){s=e,a=!0},error:o,complete:function(){a?i(s):n?i(t.defaultValue):o(new r.EmptyError)}})}))}},99518:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var o=n(2419),s=n(93865),a=n(28739),u=n(14990),c=n(84935),l=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,c.hasLift(t)&&(r.lift=t.lift),r}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new s.Subscription;var n=this.getSubject();t.add(this.source.subscribe(u.createOperatorSubscriber(n,void 0,(function(){e._teardown(),n.complete()}),(function(t){e._teardown(),n.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=s.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return a.refCount()(this)},t}(o.Observable);t.ConnectableObservable=l},63050:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var r=n(29592);t.bindCallback=function(e,t,n){return r.bindCallbackInternals(!1,e,t,n)}},29592:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var o=n(59016),s=n(2419),a=n(40276),u=n(11914),c=n(1184),l=n(90280);t.bindCallbackInternals=function e(t,n,p,d){if(p){if(!o.isScheduler(p))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e(t,n,d).apply(this,r).pipe(u.mapOneOrManyArgs(p))};d=p}return d?function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e(t,n).apply(this,r).pipe(a.subscribeOn(d),c.observeOn(d))}:function(){for(var e=this,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var u=new l.AsyncSubject,c=!0;return new s.Observable((function(s){var a=u.subscribe(s);if(c){c=!1;var l=!1,p=!1;n.apply(e,i(i([],r(o)),[function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=e.shift();if(null!=r)return void u.error(r)}u.next(1<e.length?e:e[0]),p=!0,l&&u.complete()}])),p&&u.complete(),l=!0}return a}))}}},48130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var r=n(29592);t.bindNodeCallback=function(e,t,n){return r.bindCallbackInternals(!0,e,t,n)}},99258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var r=n(2419),i=n(91203),o=n(85432),s=n(14781),a=n(11914),u=n(12433),c=n(60641),l=n(14990),p=n(27738);function d(e,t,n){return void 0===n&&(n=s.identity),function(r){h(t,(function(){for(var i=e.length,s=new Array(i),a=i,u=i,c=function(i){h(t,(function(){var c=o.from(e[i],t),p=!1;c.subscribe(l.createOperatorSubscriber(r,(function(e){s[i]=e,p||(p=!0,u--),u||r.next(n(s.slice()))}),(function(){--a||r.complete()})))}),r)},p=0;p<i;p++)c(p)}),r)}}function h(e,t,n){e?p.executeSchedule(n,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u.popScheduler(e),l=u.popResultSelector(e),p=i.argsArgArrayOrObject(e),h=p.args,f=p.keys;if(0===h.length)return o.from([],n);var m=new r.Observable(d(h,n,f?function(e){return c.createObject(f,e)}:s.identity));return l?m.pipe(a.mapOneOrManyArgs(l)):m},t.combineLatestInit=d},12239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var r=n(84413),i=n(12433),o=n(85432);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.concatAll()(o.from(e,i.popScheduler(e)))}},62873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var r=n(63032),i=n(2419),o=n(37885),s={connector:function(){return new r.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=s);var n=null,r=t.connector,a=t.resetOnDisconnect,u=void 0===a||a,c=r(),l=new i.Observable((function(e){return c.subscribe(e)}));return l.connect=function(){return n&&!n.closed||(n=o.defer((function(){return e})).subscribe(c),u&&n.add((function(){return c=r()}))),n},l}},37885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var r=n(2419),i=n(87103);t.defer=function(e){return new r.Observable((function(t){i.innerFrom(e()).subscribe(t)}))}},79106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var r=n(2419),i=n(46813),o=n(70505);function s(e){return new r.Observable((function(t){var n=e||i.performanceTimestampProvider,r=n.now(),s=0,a=function(){t.closed||(s=o.animationFrameProvider.requestAnimationFrame((function(i){s=0;var o=n.now();t.next({timestamp:e?o:i,elapsed:o-r}),a()})))};return a(),function(){s&&o.animationFrameProvider.cancelAnimationFrame(s)}}))}t.animationFrames=function(e){return e?s(e):a};var a=s()},16332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var r=n(2419);t.EMPTY=new r.Observable((function(e){return e.complete()})),t.empty=function(e){return e?function(e){return new r.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(e):t.EMPTY}},7245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var r=n(2419),i=n(91203),o=n(87103),s=n(12433),a=n(14990),u=n(11914),c=n(60641);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=s.popResultSelector(e),l=i.argsArgArrayOrObject(e),p=l.args,d=l.keys,h=new r.Observable((function(e){var t=p.length;if(t)for(var n=new Array(t),r=t,i=t,s=function(t){var s=!1;o.innerFrom(p[t]).subscribe(a.createOperatorSubscriber(e,(function(e){s||(s=!0,i--),n[t]=e}),(function(){return r--}),void 0,(function(){r&&s||(i||e.next(d?c.createObject(d,n):n),e.complete())})))},u=0;u<t;u++)s(u);else e.complete()}));return n?h.pipe(u.mapOneOrManyArgs(n)):h}},85432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var r=n(65207),i=n(87103);t.from=function(e,t){return t?r.scheduled(e,t):i.innerFrom(e)}},83267:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var i=n(87103),o=n(2419),s=n(99475),a=n(73909),u=n(73005),c=n(11914),l=["addListener","removeListener"],p=["addEventListener","removeEventListener"],d=["on","off"];function h(e,t){return function(n){return function(r){return e[n](t,r)}}}t.fromEvent=function e(t,n,f,m){if(u.isFunction(f)&&(m=f,f=void 0),m)return e(t,n,f).pipe(c.mapOneOrManyArgs(m));var g=r(function(e){return u.isFunction(e.addEventListener)&&u.isFunction(e.removeEventListener)}(t)?p.map((function(e){return function(r){return t[e](n,r,f)}})):function(e){return u.isFunction(e.addListener)&&u.isFunction(e.removeListener)}(t)?l.map(h(t,n)):function(e){return u.isFunction(e.on)&&u.isFunction(e.off)}(t)?d.map(h(t,n)):[],2),v=g[0],y=g[1];if(!v&&a.isArrayLike(t))return s.mergeMap((function(t){return e(t,n,f)}))(i.innerFrom(t));if(!v)throw new TypeError("Invalid event target");return new o.Observable((function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return v(t),function(){return y(t)}}))}},20470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var r=n(2419),i=n(73005),o=n(11914);t.fromEventPattern=function e(t,n,s){return s?e(t,n).pipe(o.mapOneOrManyArgs(s)):new r.Observable((function(e){var r=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1===t.length?t[0]:t)},o=t(r);return i.isFunction(n)?function(){return n(r,o)}:void 0}))}},90851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var r=n(2419);t.fromSubscribable=function(e){return new r.Observable((function(t){return e.subscribe(t)}))}},24303:function(e,t,n){"use strict";var r=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var i=n(14781),o=n(59016),s=n(37885),a=n(51297);t.generate=function(e,t,n,u,c){var l,p,d,h;function f(){var e;return r(this,(function(r){switch(r.label){case 0:e=h,r.label=1;case 1:return t&&!t(e)?[3,4]:[4,d(e)];case 2:r.sent(),r.label=3;case 3:return e=n(e),[3,1];case 4:return[2]}}
2))}return 1===arguments.length?(h=(l=e).initialState,t=l.condition,n=l.iterate,p=l.resultSelector,d=void 0===p?i.identity:p,c=l.scheduler):(h=e,!u||o.isScheduler(u)?(d=i.identity,c=u):d=u),s.defer(c?function(){return a.scheduleIterable(f(),c)}:f)}},61757:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var r=n(37885);t.iif=function(e,t,n){return r.defer((function(){return e()?t:n}))}},87103:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof s?s(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var a=n(73909),u=n(36018),c=n(2419),l=n(89500),p=n(49595),d=n(59906),h=n(52743),f=n(77823),m=n(73005),g=n(47968),v=n(72801);function y(e){return new c.Observable((function(t){var n=e[v.observable]();if(m.isFunction(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function _(e){return new c.Observable((function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()}))}function b(e){return new c.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,g.reportUnhandledError)}))}function w(e){return new c.Observable((function(t){var n,r;try{for(var i=s(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(t.next(a),t.closed)return}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()}))}function E(e){return new c.Observable((function(t){(function(e,t){var n,s,a,u;return r(this,void 0,void 0,(function(){var r,c;return i(this,(function(i){switch(i.label){case 0:i.trys.push([0,5,6,11]),n=o(e),i.label=1;case 1:return[4,n.next()];case 2:if((s=i.sent()).done)return[3,4];if(r=s.value,t.next(r),t.closed)return[2];i.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=i.sent(),a={error:c},[3,11];case 6:return i.trys.push([6,,9,10]),s&&!s.done&&(u=n.return)?[4,u.call(n)]:[3,8];case 7:i.sent(),i.label=8;case 8:return[3,10];
vendor: 13,069 bytes, line 2
2case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function S(e){return E(f.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof c.Observable)return e;if(null!=e){if(l.isInteropObservable(e))return y(e);if(a.isArrayLike(e))return _(e);if(u.isPromise(e))return b(e);if(p.isAsyncIterable(e))return E(e);if(h.isIterable(e))return w(e);if(f.isReadableStreamLike(e))return S(e)}throw d.createInvalidObservableTypeError(e)},t.fromInteropObservable=y,t.fromArrayLike=_,t.fromPromise=b,t.fromIterable=w,t.fromAsyncIterable=E,t.fromReadableStreamLike=S},98990:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var r=n(52445),i=n(87513);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=r.asyncScheduler),e<0&&(e=0),i.timer(e,e,t)}},21846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var r=n(93783),i=n(87103),o=n(16332),s=n(12433),a=n(85432);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=s.popScheduler(e),u=s.popNumber(e,1/0),c=e;return c.length?1===c.length?i.innerFrom(c[0]):r.mergeAll(u)(a.from(c,n)):o.EMPTY}},41339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var r=n(2419),i=n(42576);t.NEVER=new r.Observable(i.noop),t.never=function(){return t.NEVER}},95726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var r=n(12433),i=n(85432);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.popScheduler(e);return i.from(e,n)}},90724:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var r=n(2419),i=n(5498),o=n(14990),s=n(42576),a=n(87103);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.argsOrArgArray(e);return new r.Observable((function(e){var t=0,r=function(){if(t<n.length){var i=void 0;try{i=a.innerFrom(n[t++])}catch(e){return void r()}var u=new o.OperatorSubscriber(e,void 0,s.noop,s.noop);i.subscribe(u),u.add(r)}else e.complete()};r()}))}},74380:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var r=n(85432);t.pairs=function(e,t){return r.from(Object.entries(e),t)}},97273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var r=n(38634),i=n(49154),o=n(87103);t.partition=function(e,t,n){return[i.filter(t,n)(o.innerFrom(e)),i.filter(r.not(t,n))(o.innerFrom(e))]}},85182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var r=n(2419),i=n(87103),o=n(5498),s=n(14990);function a(e){return function(t){for(var n=[],r=function(r){n.push(i.innerFrom(e[r]).subscribe(s.createOperatorSubscriber(t,(function(e){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(e)}))))},o=0;n&&!t.closed&&o<e.length;o++)r(o)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=o.argsOrArgArray(e)).length?i.innerFrom(e[0]):new r.Observable(a(e))},t.raceInit=a},40322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var r=n(2419),i=n(16332);t.range=function(e,t,n){if(null==t&&(t=e,e=0),t<=0)return i.EMPTY;var o=t+e;return new r.Observable(n?function(t){var r=e;return n.schedule((function(){r<o?(t.next(r++),this.schedule()):t.complete()}))}:function(t){for(var n=e;n<o&&!t.closed;)t.next(n++);t.complete()})}},92098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var r=n(2419),i=n(73005);t.throwError=function(e,t){var n=i.isFunction(e)?e:function(){return e},o=function(e){return e.error(n())};return new r.Observable(t?function(e){return t.schedule(o,0,e)}:o)}},87513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var r=n(2419),i=n(52445),o=n(59016),s=n(91677);t.timer=function(e,t,n){void 0===e&&(e=0),void 0===n&&(n=i.async);var a=-1;return null!=t&&(o.isScheduler(t)?n=t:a=t),new r.Observable((function(t){var r=s.isValidDate(e)?+e-n.now():e;r<0&&(r=0);var i=0;return n.schedule((function(){t.closed||(t.next(i++),0<=a?this.schedule(void 0,a):t.complete())}),r)}))}},62962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var r=n(2419),i=n(87103),o=n(16332);t.using=function(e,t){return new r.Observable((function(n){var r=e(),s=t(r);return(s?i.innerFrom(s):o.EMPTY).subscribe(n),function(){r&&r.unsubscribe()}}))}},57654:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var o=n(2419),s=n(87103),a=n(5498),u=n(16332),c=n(14990),l=n(12433);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l.popResultSelector(e),p=a.argsOrArgArray(e);return p.length?new o.Observable((function(e){var t=p.map((function(){return[]})),o=p.map((function(){return!1}));e.add((function(){t=o=null}));for(var a=function(a){s.innerFrom(p[a]).subscribe(c.createOperatorSubscriber(e,(function(s){if(t[a].push(s),t.every((function(e){return e.length}))){var u=t.map((function(e){return e.shift()}));e.next(n?n.apply(void 0,i([],r(u))):u),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),(function(){o[a]=!0,!t[a].length&&e.complete()})))},u=0;!e.closed&&u<p.length;u++)a(u);return function(){t=o=null}})):u.EMPTY}},14990:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var o=n(85125);t.createOperatorSubscriber=function(e,t,n,r,i){return new s(e,t,n,r,i)};var s=function(e){function t(t,n,r,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return i(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(o.Subscriber);t.OperatorSubscriber=s},76474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var r=n(84935),i=n(87103),o=n(14990);t.audit=function(e){return r.operate((function(t,n){var r=!1,s=null,a=null,u=!1,c=function(){if(null==a||a.unsubscribe(),a=null,r){r=!1;var e=s;s=null,n.next(e)}u&&n.complete()},l=function(){a=null,u&&n.complete()};t.subscribe(o.createOperatorSubscriber(n,(function(t){r=!0,s=t,a||i.innerFrom(e(t)).subscribe(a=o.createOperatorSubscriber(n,c,l))}),(function(){u=!0,(!r||!a||a.closed)&&n.complete()})))}))}},95382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var r=n(52445),i=n(76474),o=n(87513);t.auditTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),i.audit((function(){return o.timer(e,t)}))}},89715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var r=n(84935),i=n(42576),o=n(14990),s=n(87103);t.buffer=function(e){return r.operate((function(t,n){var r=[];return t.subscribe(o.createOperatorSubscriber(n,(function(e){return r.push(e)}),(function(){n.next(r),n.complete()}))),s.innerFrom(e).subscribe(o.createOperatorSubscriber(n,(function(){var e=r;r=[],n.next(e)}),i.noop)),function(){r=null}}))}},63814:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var i=n(84935),o=n(14990),s=n(26967);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,i.operate((function(n,i){var a=[],u=0;n.subscribe(o.createOperatorSubscriber(i,(function(n){var o,c,l,p,d=null;u++%t==0&&a.push([]);try{for(var h=r(a),f=h.next();!f.done;f=h.next()){(v=f.value).push(n),e<=v.length&&(d=null!=d?d:[]).push(v)}}catch(e){o={error:e}}finally{try{f&&!f.done&&(c=h.return)&&c.call(h)}finally{if(o)throw o.error}}if(d)try{for(var m=r(d),g=m.next();!g.done;g=m.next()){var v=g.value;s.arrRemove(a,v),i.next(v)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(p=m.return)&&p.call(m)}finally{if(l)throw l.error}}}),(function(){var e,t;try{for(var n=r(a),o=n.next();!o.done;o=n.next()){var s=o.value;i.next(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}i.complete()}),void 0,(function(){a=null})))}))}},7211:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var i=n(93865),o=n(84935),s=n(14990),a=n(26967),u=n(52445),c=n(12433),l=n(27738);t.bufferTime=function(e){for(var t,n,p=[],d=1;d<arguments.length;d++)p[d-1]=arguments[d];var h=null!==(t=c.popScheduler(p))&&void 0!==t?t:u.asyncScheduler,f=null!==(n=p[0])&&void 0!==n?n:null,m=p[1]||1/0;return o.operate((function(t,n){var o=[],u=!1,c=function(e){var t=e.buffer;e.subs.unsubscribe(),a.arrRemove(o,e),n.next(t),u&&p()},p=function(){if(o){var t=new i.Subscription;n.add(t);var r={buffer:[],subs:t};o.push(r),l.executeSchedule(t,h,(function(){return c(r)}),e)}};null!==f&&f>=0?l.executeSchedule(n,h,p,f,!0):u=!0,p();var d=s.createOperatorSubscriber(n,(function(e){var t,n,i=o.slice();try{for(var s=r(i),a=s.next();!a.done;a=s.next()){var u=a.value,l=u.buffer;l.push(e),m<=l.length&&c(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}}),(function(){for(;null==o?void 0:o.length;)n.next(o.shift().buffer);null==d||d.unsubscribe(),n.complete(),n.unsubscribe()}),void 0,(function(){return o=null}));t.subscribe(d)}))}},84943:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var i=n(93865),o=n(84935),s=n(87103),a=n(14990),u=n(42576),c=n(26967);t.bufferToggle=function(e,t){return o.operate((function(n,o){var l=[];s.innerFrom(e).subscribe(a.createOperatorSubscriber(o,(function(e){var n=[];l.push(n);var r=new i.Subscription;r.add(s.innerFrom(t(e)).subscribe(a.createOperatorSubscriber(o,(function(){c.arrRemove(l,n),o.next(n),r.unsubscribe()}),u.noop)))}),u.noop)),n.subscribe(a.createOperatorSubscriber(o,(function(e){var t,n;try{for(var i=r(l),o=i.next();!o.done;o=i.next()){o.value.push(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}),(function(){for(;l.length>0;)o.next(l.shift());o.complete()})))}))}},91240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var r=n(84935),i=n(42576),o=n(14990),s=n(87103);t.bufferWhen=function(e){return r.operate((function(t,n){var r=null,a=null,u=function(){null==a||a.unsubscribe();var t=r;r=[],t&&n.next(t),s.innerFrom(e()).subscribe(a=o.createOperatorSubscriber(n,u,i.noop))};u(),t.subscribe(o.createOperatorSubscriber(n,(function(e){return null==r?void 0:r.push(e)}),(function(){r&&n.next(r),n.complete()}),void 0,(function(){return r=a=null})))}))}},69548:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var r=n(87103),i=n(14990),o=n(84935);t.catchError=function e(t){return o.operate((function(n,o){var s,a=null,u=!1;a=n.subscribe(i.createOperatorSubscriber(o,void 0,void 0,(function(i){s=r.innerFrom(t(i,e(t)(n))),a?(a.unsubscribe(),a=null,s.subscribe(o)):u=!0}))),u&&(a.unsubscribe(),a=null,s.subscribe(o))}))}},52128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var r=n(73240);t.combineAll=r.combineLatestAll},46318:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var o=n(99258),s=n(84935),a=n(5498),u=n(11914),c=n(9985),l=n(12433);t.combineLatest=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var p=l.popResultSelector(t);return p?c.pipe(e.apply(void 0,i([],r(t))),u.mapOneOrManyArgs(p)):s.operate((function(e,n){o.combineLatestInit(i([e],r(a.argsOrArgArray(t))))(n)}))}},73240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var r=n(99258),i=n(32069);t.combineLatestAll=function(e){return i.joinAllInternals(r.combineLatest,e)}},65024:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var o=n(46318);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.combineLatest.apply(void 0,i([],r(e)))}},94919:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var o=n(84935),s=n(84413),a=n(12433),u=n(85432);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a.popScheduler(e);return o.operate((function(t,o){s.concatAll()(u.from(i([t],r(e)),n)).subscribe(o)}))}},84413:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var r=n(93783);t.concatAll=function(){return r.mergeAll(1)}},27498:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var r=n(99475),i=n(73005);t.concatMap=function(e,t){return i.isFunction(t)?r.mergeMap(e,t,1):r.mergeMap(e,1)}},6109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var r=n(27498),i=n(73005);t.concatMapTo=function(e,t){return i.isFunction(t)?r.concatMap((function(){return e}),t):r.concatMap((function(){return e}))}},69664:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};
vendor: 4,295 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var o=n(94919);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.concat.apply(void 0,i([],r(e)))}},81995:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var r=n(63032),i=n(87103),o=n(84935),s=n(90851),a={connector:function(){return new r.Subject}};t.connect=function(e,t){void 0===t&&(t=a);var n=t.connector;return o.operate((function(t,r){var o=n();i.innerFrom(e(s.fromSubscribable(o))).subscribe(r),r.add(t.subscribe(o))}))}},70993:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var r=n(60122);t.count=function(e){return r.reduce((function(t,n,r){return!e||e(n,r)?t+1:t}),0)}},70496:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var r=n(84935),i=n(42576),o=n(14990),s=n(87103);t.debounce=function(e){return r.operate((function(t,n){var r=!1,a=null,u=null,c=function(){if(null==u||u.unsubscribe(),u=null,r){r=!1;var e=a;a=null,n.next(e)}};t.subscribe(o.createOperatorSubscriber(n,(function(t){null==u||u.unsubscribe(),r=!0,a=t,u=o.createOperatorSubscriber(n,c,i.noop),s.innerFrom(e(t)).subscribe(u)}),(function(){c(),n.complete()}),void 0,(function(){a=u=null})))}))}},61385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var r=n(52445),i=n(84935),o=n(14990);t.debounceTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),i.operate((function(n,r){var i=null,s=null,a=null,u=function(){if(i){i.unsubscribe(),i=null;var e=s;s=null,r.next(e)}};function c(){var n=a+e,o=t.now();if(o<n)return i=this.schedule(void 0,n-o),void r.add(i);u()}n.subscribe(o.createOperatorSubscriber(r,(function(n){s=n,a=t.now(),i||(i=t.schedule(c,e),r.add(i))}),(function(){u(),r.complete()}),void 0,(function(){s=i=null})))}))}},71658:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var r=n(84935),i=n(14990);t.defaultIfEmpty=function(e){return r.operate((function(t,n){var r=!1;t.subscribe(i.createOperatorSubscriber(n,(function(e){r=!0,n.next(e)}),(function(){r||n.next(e),n.complete()})))}))}},35841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var r=n(52445),i=n(78798),o=n(87513);t.delay=function(e,t){void 0===t&&(t=r.asyncScheduler);var n=o.timer(e,t);return i.delayWhen((function(){return n}))}},78798:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var r=n(12239),i=n(54783),o=n(29438),s=n(18313),a=n(99475),u=n(87103);t.delayWhen=function e(t,n){return n?function(s){return r.concat(n.pipe(i.take(1),o.ignoreElements()),s.pipe(e(t)))}:a.mergeMap((function(e,n){return u.innerFrom(t(e,n)).pipe(i.take(1),s.mapTo(e))}))}},11080:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var r=n(23104),i=n(84935),o=n(14990);t.dematerialize=function(){return i.operate((function(e,t){e.subscribe(o.createOperatorSubscriber(t,(function(e){return r.observeNotification(e,t)})))}))}},63054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var r=n(84935),i=n(14990),o=n(42576),s=n(87103);t.distinct=function(e,t){return r.operate((function(n,r){var a=new Set;n.subscribe(i.createOperatorSubscriber(r,(function(t){var n=e?e(t):t;a.has(n)||(a.add(n),r.next(t))}))),t&&s.innerFrom(t).subscribe(i.createOperatorSubscriber(r,(function(){return a.clear()}),o.noop))}))}},98737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var r=n(14781),i=n(84935),o=n(14990);function s(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=r.identity),e=null!=e?e:s,i.operate((function(n,r){var i,s=!0;n.subscribe(o.createOperatorSubscriber(r,(function(n){var o=t(n);!s&&e(i,o)||(s=!1,i=o,r.next(n))})))}))}},77957:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var r=n(98737);t.distinctUntilKeyChanged=function(e,t){return r.distinctUntilChanged((function(n,r){return t?t(n[e],r[e]):n[e]===r[e]}))}},88633:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var r=n(42351),i=n(49154),o=n(81779),s=n(71658),a=n(54783);t.elementAt=function(e,t){if(e<0)throw new r.ArgumentOutOfRangeError;var n=arguments.length>=2;return function(u){return u.pipe(i.filter((function(t,n){return n===e})),a.take(1),n?s.defaultIfEmpty(t):o.throwIfEmpty((function(){return new r.ArgumentOutOfRangeError})))}}},90911:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var o=n(12239),s=n(95726);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return o.concat(t,s.of.apply(void 0,i([],r(e))))}}},2096:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var r=n(84935),i=n(14990);t.every=function(e,t){return r.operate((function(n,r){var o=0;n.subscribe(i.createOperatorSubscriber(r,(function(i){e.call(t,i,o++,n)||(r.next(!1),r.complete())}),(function(){r.next(!0),r.complete()})))}))}},70067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var r=n(75337);t.exhaust=r.exhaustAll},75337:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var r=n(5635),i=n(14781);t.exhaustAll=function(){return r.exhaustMap(i.identity)}},5635:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var r=n(47291),i=n(87103),o=n(84935),s=n(14990);t.exhaustMap=function e(t,n){return n?function(o){return o.pipe(e((function(e,o){return i.innerFrom(t(e,o)).pipe(r.map((function(t,r){return n(e,t,o,r)})))})))}:o.operate((function(e,n){var r=0,o=null,a=!1;e.subscribe(s.createOperatorSubscriber(n,(function(e){o||(o=s.createOperatorSubscriber(n,void 0,(function(){o=null,a&&n.complete()})),i.innerFrom(t(e,r++)).subscribe(o))}),(function(){a=!0,!o&&n.complete()})))}))}},59745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var r=n(84935),i=n(87788);t.expand=function(e,t,n){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,r.operate((function(r,o){return i.mergeInternals(r,o,e,t,void 0,!0,n)}))}},49154:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var r=n(84935),i=n(14990);t.filter=function(e,t){return r.operate((function(n,r){var o=0;n.subscribe(i.createOperatorSubscriber(r,(function(n){return e.call(t,n,o++)&&r.next(n)})))}))}},9283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var r=n(84935);t.finalize=function(e){return r.operate((function(t,n){try{t.subscribe(n)}finally{n.add(e)}}))}},47119:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var r=n(84935),i=n(14990);function o(e,t,n){var r="index"===n;return function(n,o){var s=0;n.subscribe(i.createOperatorSubscriber(o,(function(i){var a=s++;e.call(t,i,a,n)&&(o.next(r?a:i),o.complete())}),(function(){o.next(r?-1:void 0),o.complete()})))}}t.find=function(e,t){return r.operate(o(e,t,"value"))},t.createFind=o},74706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var r=n(84935),i=n(47119);t.findIndex=function(e,t){return r.operate(i.createFind(e,t,"index"))}},29219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var r=n(39474),i=n(49154),o=n(54783),s=n(71658),a=n(81779),u=n(14781);t.first=function(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?i.filter((function(t,n){return e(t,n,c)})):u.identity,o.take(1),n?s.defaultIfEmpty(t):a.throwIfEmpty((function(){return new r.EmptyError})))}}},21788:function(e,t,n){"use strict";
vendor: 4,361 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var r=n(99475);t.flatMap=r.mergeMap},79749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var r=n(2419),i=n(87103),o=n(63032),s=n(84935),a=n(14990);t.groupBy=function(e,t,n,u){return s.operate((function(s,c){var l;t&&"function"!=typeof t?(n=t.duration,l=t.element,u=t.connector):l=t;var p=new Map,d=function(e){p.forEach(e),e(c)},h=function(e){return d((function(t){return t.error(e)}))},f=0,m=!1,g=new a.OperatorSubscriber(c,(function(t){try{var s=e(t),d=p.get(s);if(!d){p.set(s,d=u?u():new o.Subject);var v=(_=s,b=d,(w=new r.Observable((function(e){f++;var t=b.subscribe(e);return function(){t.unsubscribe(),0==--f&&m&&g.unsubscribe()}}))).key=_,w);if(c.next(v),n){var y=a.createOperatorSubscriber(d,(function(){d.complete(),null==y||y.unsubscribe()}),void 0,void 0,(function(){return p.delete(s)}));g.add(i.innerFrom(n(v)).subscribe(y))}}d.next(l?l(t):t)}catch(e){h(e)}var _,b,w}),(function(){return d((function(e){return e.complete()}))}),h,(function(){return p.clear()}),(function(){return m=!0,0===f}));s.subscribe(g)}))}},29438:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var r=n(84935),i=n(14990),o=n(42576);t.ignoreElements=function(){return r.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,o.noop))}))}},28515:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var r=n(84935),i=n(14990);t.isEmpty=function(){return r.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))}},32069:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var r=n(14781),i=n(11914),o=n(9985),s=n(99475),a=n(40002);t.joinAllInternals=function(e,t){return o.pipe(a.toArray(),s.mergeMap((function(t){return e(t)})),t?i.mapOneOrManyArgs(t):r.identity)}},22435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var r=n(39474),i=n(49154),o=n(71980),s=n(81779),a=n(71658),u=n(14781);t.last=function(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?i.filter((function(t,n){return e(t,n,c)})):u.identity,o.takeLast(1),n?a.defaultIfEmpty(t):s.throwIfEmpty((function(){return new r.EmptyError})))}}},47291:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var r=n(84935),i=n(14990);t.map=function(e,t){return r.operate((function(n,r){var o=0;n.subscribe(i.createOperatorSubscriber(r,(function(n){r.next(e.call(t,n,o++))})))}))}},18313:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var r=n(47291);t.mapTo=function(e){return r.map((function(){return e}))}},33209:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var r=n(23104),i=n(84935),o=n(14990);t.materialize=function(){return i.operate((function(e,t){e.subscribe(o.createOperatorSubscriber(t,(function(e){t.next(r.Notification.createNext(e))}),(function(){t.next(r.Notification.createComplete()),t.complete()}),(function(e){t.next(r.Notification.createError(e)),t.complete()})))}))}},72620:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var r=n(60122),i=n(73005);t.max=function(e){return r.reduce(i.isFunction(e)?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t})}},99821:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var o=n(84935),s=n(5498),a=n(93783),u=n(12433),c=n(85432);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u.popScheduler(e),l=u.popNumber(e,1/0);return e=s.argsOrArgArray(e),o.operate((function(t,o){a.mergeAll(l)(c.from(i([t],r(e)),n)).subscribe(o)}))}},93783:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var r=n(99475),i=n(14781);t.mergeAll=function(e){return void 0===e&&(e=1/0),r.mergeMap(i.identity,e)}},87788:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var r=n(87103),i=n(27738),o=n(14990);t.mergeInternals=function(e,t,n,s,a,u,c,l){var p=[],d=0,h=0,f=!1,m=function(){!f||p.length||d||t.complete()},g=function(e){return d<s?v(e):p.push(e)},v=function(e){u&&t.next(e),d++;var l=!1;r.innerFrom(n(e,h++)).subscribe(o.createOperatorSubscriber(t,(function(e){null==a||a(e),u?g(e):t.next(e)}),(function(){l=!0}),void 0,(function(){if(l)try{d--;for(var e=function(){var e=p.shift();c?i.executeSchedule(t,c,(function(){return v(e)})):v(e)};p.length&&d<s;)e();m()}catch(e){t.error(e)}})))};return e.subscribe(o.createOperatorSubscriber(t,g,(function(){f=!0,m()}))),function(){null==l||l()}}},99475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var r=n(47291),i=n(87103),o=n(84935),s=n(87788),a=n(73005);t.mergeMap=function e(t,n,u){return void 0===u&&(u=1/0),a.isFunction(n)?e((function(e,o){return r.map((function(t,r){return n(e,t,o,r)}))(i.innerFrom(t(e,o)))}),u):("number"==typeof n&&(u=n),o.operate((function(e,n){return s.mergeInternals(e,n,t,u)})))}},61211:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var r=n(99475),i=n(73005);t.mergeMapTo=function(e,t,n){return void 0===n&&(n=1/0),i.isFunction(t)?r.mergeMap((function(){return e}),t,n):("number"==typeof t&&(n=t),r.mergeMap((function(){return e}),n))}},97267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var r=n(84935),i=n(87788);t.mergeScan=function(e,t,n){return void 0===n&&(n=1/0),r.operate((function(r,o){var s=t;return i.mergeInternals(r,o,(function(t,n){return e(s,t,n)}),n,(function(e){s=e}),!1,void 0,(function(){return s=null}))}))}},49303:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var o=n(99821);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.merge.apply(void 0,i([],r(e)))}},99714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var r=n(60122),i=n(73005);t.min=function(e){return r.reduce(i.isFunction(e)?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e<t?e:t})}},73848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var r=n(99518),i=n(73005),o=n(81995);t.multicast=function(e,t){var n=i.isFunction(e)?e:function(){return e};return i.isFunction(t)?o.connect(t,{connector:n}):function(e){return new r.ConnectableObservable(e,n)}}},1184:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var r=n(27738),i=n(84935),o=n(14990);t.observeOn=function(e,t){return void 0===t&&(t=0),i.operate((function(n,i){n.subscribe(o.createOperatorSubscriber(i,(function(n){return r.executeSchedule(i,e,(function(){return i.next(n)}),t)}),(function(){return r.executeSchedule(i,e,(function(){return i.complete()}),t)}),(function(n){return r.executeSchedule(i,e,(function(){return i.error(n)}),t)})))}))}},37582:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};
2Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=t.onErrorResumeNextWith=void 0;var o=n(5498),s=n(90724);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.argsOrArgArray(e);return function(e){return s.onErrorResumeNext.apply(void 0,i([e],r(n)))}}t.onErrorResumeNextWith=a,t.onErrorResumeNext=a},52731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var r=n(84935),i=n(14990);t.pairwise=function(){return r.operate((function(e,t){var n,r=!1;e.subscribe(i.createOperatorSubscriber(t,(function(e){var i=n;n=e,r&&t.next([i,e]),r=!0})))}))}},25649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var r=n(38634),i=n(49154);t.partition=function(e,t){return function(n){return[i.filter(e,t)(n),i.filter(r.not(e,t))(n)]}}},84691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var r=n(47291);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return r.map((function(t){for(var r=t,i=0;i<n;i++){var o=null==r?void 0:r[e[i]];if(void 0===o)return;r=o}return r}))}},4474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var r=n(63032),i=n(73848),o=n(81995);t.publish=function(e){return e?function(t){return o.connect(e)(t)}:function(e){return i.multicast(new r.Subject)(e)}}},70052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var r=n(15240),i=n(99518);t.publishBehavior=function(e){return function(t){var n=new r.BehaviorSubject(e);return new i.ConnectableObservable(t,(function(){return n}))}}},82110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var r=n(90280),i=n(99518);t.publishLast=function(){return function(e){var t=new r.AsyncSubject;return new i.ConnectableObservable(e,(function(){return t}))}}},89864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var r=n(33274),i=n(73848),o=n(73005);t.publishReplay=function(e,t,n,s){n&&!o.isFunction(n)&&(s=n);var a=o.isFunction(n)?n:void 0;return function(n){return i.multicast(new r.ReplaySubject(e,t,s),a)(n)}}},69764:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.race=void 0;var o=n(5498),s=n(179);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.raceWith.apply(void 0,i([],r(o.argsOrArgArray(e))))}},179:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var o=n(85182),s=n(84935),a=n(14781);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?s.operate((function(t,n){o.raceInit(i([t],r(e)))(n)})):a.identity}},60122:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var r=n(58345),i=n(84935);t.reduce=function(e,t){return i.operate(r.scanInternals(e,t,arguments.length>=2,!1,!0))}},28739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var r=n(84935),i=n(14990);t.refCount=function(){return r.operate((function(e,t){var n=null;e._refCount++;var r=i.createOperatorSubscriber(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)n=null;else{var r=e._connection,i=n;n=null,!r||i&&r!==i||r.unsubscribe(),t.unsubscribe()}}));e.subscribe(r),r.closed||(n=e.connect())}
vendor: 13,331 bytes, line 2
2))}},5313:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var r=n(16332),i=n(84935),o=n(14990),s=n(87103),a=n(87513);t.repeat=function(e){var t,n,u=1/0;return null!=e&&("object"==typeof e?(t=e.count,u=void 0===t?1/0:t,n=e.delay):u=e),u<=0?function(){return r.EMPTY}:i.operate((function(e,t){var r,i=0,c=function(){if(null==r||r.unsubscribe(),r=null,null!=n){var e="number"==typeof n?a.timer(n):s.innerFrom(n(i)),u=o.createOperatorSubscriber(t,(function(){u.unsubscribe(),l()}));e.subscribe(u)}else l()},l=function(){var n=!1;r=e.subscribe(o.createOperatorSubscriber(t,void 0,(function(){++i<u?r?c():n=!0:t.complete()}))),n&&c()};l()}))}},54068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var r=n(87103),i=n(63032),o=n(84935),s=n(14990);t.repeatWhen=function(e){return o.operate((function(t,n){var o,a,u=!1,c=!1,l=!1,p=function(){return l&&c&&(n.complete(),!0)},d=function(){l=!1,o=t.subscribe(s.createOperatorSubscriber(n,void 0,(function(){l=!0,!p()&&(a||(a=new i.Subject,r.innerFrom(e(a)).subscribe(s.createOperatorSubscriber(n,(function(){o?d():u=!0}),(function(){c=!0,p()})))),a).next()}))),u&&(o.unsubscribe(),o=null,u=!1,d())};d()}))}},40064:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var r=n(84935),i=n(14990),o=n(14781),s=n(87513),a=n(87103);t.retry=function(e){var t;void 0===e&&(e=1/0);var n=(t=e&&"object"==typeof e?e:{count:e}).count,u=void 0===n?1/0:n,c=t.delay,l=t.resetOnSuccess,p=void 0!==l&&l;return u<=0?o.identity:r.operate((function(e,t){var n,r=0,o=function(){var l=!1;n=e.subscribe(i.createOperatorSubscriber(t,(function(e){p&&(r=0),t.next(e)}),void 0,(function(e){if(r++<u){var p=function(){n?(n.unsubscribe(),n=null,o()):l=!0};if(null!=c){var d="number"==typeof c?s.timer(c):a.innerFrom(c(e,r)),h=i.createOperatorSubscriber(t,(function(){h.unsubscribe(),p()}),(function(){t.complete()}));d.subscribe(h)}else p()}else t.error(e)}))),l&&(n.unsubscribe(),n=null,o())};o()}))}},11188:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var r=n(87103),i=n(63032),o=n(84935),s=n(14990);t.retryWhen=function(e){return o.operate((function(t,n){var o,a,u=!1,c=function(){o=t.subscribe(s.createOperatorSubscriber(n,void 0,void 0,(function(t){a||(a=new i.Subject,r.innerFrom(e(a)).subscribe(s.createOperatorSubscriber(n,(function(){return o?c():u=!0})))),a&&a.next(t)}))),u&&(o.unsubscribe(),o=null,u=!1,c())};c()}))}},84193:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var r=n(87103),i=n(84935),o=n(42576),s=n(14990);t.sample=function(e){return i.operate((function(t,n){var i=!1,a=null;t.subscribe(s.createOperatorSubscriber(n,(function(e){i=!0,a=e}))),r.innerFrom(e).subscribe(s.createOperatorSubscriber(n,(function(){if(i){i=!1;var e=a;a=null,n.next(e)}}),o.noop))}))}},76170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var r=n(52445),i=n(84193),o=n(98990);t.sampleTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),i.sample(o.interval(e,t))}},85876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var r=n(84935),i=n(58345);t.scan=function(e,t){return r.operate(i.scanInternals(e,t,arguments.length>=2,!0))}},58345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var r=n(14990);t.scanInternals=function(e,t,n,i,o){return function(s,a){var u=n,c=t,l=0;s.subscribe(r.createOperatorSubscriber(a,(function(t){var n=l++;c=u?e(c,t,n):(u=!0,t),i&&a.next(c)}),o&&function(){u&&a.next(c),a.complete()}))}}},41791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var r=n(84935),i=n(14990),o=n(87103);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),r.operate((function(n,r){var s={buffer:[],complete:!1},a={buffer:[],complete:!1},u=function(e){r.next(e),r.complete()},c=function(e,n){var o=i.createOperatorSubscriber(r,(function(r){var i=n.buffer,o=n.complete;0===i.length?o?u(!1):e.buffer.push(r):!t(r,i.shift())&&u(!1)}),(function(){e.complete=!0;var t=n.complete,r=n.buffer;t&&u(0===r.length),null==o||o.unsubscribe()}));return o};n.subscribe(c(s,a)),o.innerFrom(e).subscribe(c(a,s))}))}},15137:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var o=n(87103),s=n(63032),a=n(85125),u=n(84935);function c(e,t){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];if(!0!==t){if(!1!==t){var u=new a.SafeSubscriber({next:function(){u.unsubscribe(),e()}});return o.innerFrom(t.apply(void 0,i([],r(n)))).subscribe(u)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new s.Subject}:t,r=e.resetOnError,i=void 0===r||r,l=e.resetOnComplete,p=void 0===l||l,d=e.resetOnRefCountZero,h=void 0===d||d;return function(e){var t,r,s,l=0,d=!1,f=!1,m=function(){null==r||r.unsubscribe(),r=void 0},g=function(){m(),t=s=void 0,d=f=!1},v=function(){var e=t;g(),null==e||e.unsubscribe()};return u.operate((function(e,u){l++,f||d||m();var y=s=null!=s?s:n();u.add((function(){0!==--l||f||d||(r=c(v,h))})),y.subscribe(u),!t&&l>0&&(t=new a.SafeSubscriber({next:function(e){return y.next(e)},error:function(e){f=!0,m(),r=c(g,i,e),y.error(e)},complete:function(){d=!0,m(),r=c(g,p),y.complete()}}),o.innerFrom(e).subscribe(t))}))(e)}}},11348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var r=n(33274),i=n(15137);t.shareReplay=function(e,t,n){var o,s,a,u,c=!1;return e&&"object"==typeof e?(o=e.bufferSize,u=void 0===o?1/0:o,s=e.windowTime,t=void 0===s?1/0:s,c=void 0!==(a=e.refCount)&&a,n=e.scheduler):u=null!=e?e:1/0,i.share({connector:function(){return new r.ReplaySubject(u,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},28242:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var r=n(39474),i=n(46156),o=n(48598),s=n(84935),a=n(14990);t.single=function(e){return s.operate((function(t,n){var s,u=!1,c=!1,l=0;t.subscribe(a.createOperatorSubscriber(n,(function(r){c=!0,e&&!e(r,l++,t)||(u&&n.error(new i.SequenceError("Too many matching values")),u=!0,s=r)}),(function(){u?(n.next(s),n.complete()):n.error(c?new o.NotFoundError("No matching values"):new r.EmptyError)})))}))}},83169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var r=n(49154);t.skip=function(e){return r.filter((function(t,n){return e<=n}))}},42454:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var r=n(14781),i=n(84935),o=n(14990);t.skipLast=function(e){return e<=0?r.identity:i.operate((function(t,n){var r=new Array(e),i=0;return t.subscribe(o.createOperatorSubscriber(n,(function(t){var o=i++;if(o<e)r[o]=t;else{var s=o%e,a=r[s];r[s]=t,n.next(a)}}))),function(){r=null}}))}},36931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var r=n(84935),i=n(14990),o=n(87103),s=n(42576);t.skipUntil=function(e){return r.operate((function(t,n){var r=!1,a=i.createOperatorSubscriber(n,(function(){null==a||a.unsubscribe(),r=!0}),s.noop);o.innerFrom(e).subscribe(a),t.subscribe(i.createOperatorSubscriber(n,(function(e){return r&&n.next(e)})))}))}},77913:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var r=n(84935),i=n(14990);t.skipWhile=function(e){return r.operate((function(t,n){var r=!1,o=0;t.subscribe(i.createOperatorSubscriber(n,(function(t){return(r||(r=!e(t,o++)))&&n.next(t)})))}))}},29234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var r=n(12239),i=n(12433),o=n(84935);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.popScheduler(e);return o.operate((function(t,i){(n?r.concat(e,t,n):r.concat(e,t)).subscribe(i)}))}},40276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var r=n(84935);t.subscribeOn=function(e,t){return void 0===t&&(t=0),r.operate((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}},29253:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var r=n(68518),i=n(14781);t.switchAll=function(){return r.switchMap(i.identity)}},68518:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var r=n(87103),i=n(84935),o=n(14990);t.switchMap=function(e,t){return i.operate((function(n,i){var s=null,a=0,u=!1,c=function(){return u&&!s&&i.complete()};n.subscribe(o.createOperatorSubscriber(i,(function(n){null==s||s.unsubscribe();var u=0,l=a++;r.innerFrom(e(n,l)).subscribe(s=o.createOperatorSubscriber(i,(function(e){return i.next(t?t(n,e,l,u++):e)}),(function(){s=null,c()})))}),(function(){u=!0,c()})))}))}},21173:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var r=n(68518),i=n(73005);t.switchMapTo=function(e,t){return i.isFunction(t)?r.switchMap((function(){return e}),t):r.switchMap((function(){return e}))}},73855:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var r=n(68518),i=n(84935);t.switchScan=function(e,t){return i.operate((function(n,i){var o=t;return r.switchMap((function(t,n){return e(o,t,n)}),(function(e,t){return o=t,t}))(n).subscribe(i),function(){o=null}}))}},54783:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var r=n(16332),i=n(84935),o=n(14990);t.take=function(e){return e<=0?function(){return r.EMPTY}:i.operate((function(t,n){var r=0;t.subscribe(o.createOperatorSubscriber(n,(function(t){++r<=e&&(n.next(t),e<=r&&n.complete())})))}))}},71980:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var i=n(16332),o=n(84935),s=n(14990);t.takeLast=function(e){return e<=0?function(){return i.EMPTY}:o.operate((function(t,n){var i=[];t.subscribe(s.createOperatorSubscriber(n,(function(t){i.push(t),e<i.length&&i.shift()}),(function(){var e,t;try{for(var o=r(i),s=o.next();!s.done;s=o.next()){var a=s.value;n.next(a)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}n.complete()}),void 0,(function(){i=null})))}))}},69845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var r=n(84935),i=n(14990),o=n(87103),s=n(42576);t.takeUntil=function(e){return r.operate((function(t,n){o.innerFrom(e).subscribe(i.createOperatorSubscriber(n,(function(){return n.complete()}),s.noop)),!n.closed&&t.subscribe(n)}))}},6060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var r=n(84935),i=n(14990);t.takeWhile=function(e,t){return void 0===t&&(t=!1),r.operate((function(n,r){var o=0;n.subscribe(i.createOperatorSubscriber(r,(function(n){var i=e(n,o++);(i||t)&&r.next(n),!i&&r.complete()})))}))}},1138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var r=n(73005),i=n(84935),o=n(14990),s=n(14781);t.tap=function(e,t,n){var a=r.isFunction(e)||t||n?{next:e,error:t,complete:n}:e;return a?i.operate((function(e,t){var n;null===(n=a.subscribe)||void 0===n||n.call(a);var r=!0;e.subscribe(o.createOperatorSubscriber(t,(function(e){var n;null===(n=a.next)||void 0===n||n.call(a,e),t.next(e)}),(function(){var e;r=!1,null===(e=a.complete)||void 0===e||e.call(a),t.complete()}),(function(e){var n;r=!1,null===(n=a.error)||void 0===n||n.call(a,e),t.error(e)}),(function(){var e,t;r&&(null===(e=a.unsubscribe)||void 0===e||e.call(a)),null===(t=a.finalize)||void 0===t||t.call(a)})))})):s.identity}},77306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var r=n(84935),i=n(14990),o=n(87103);t.throttle=function(e,t){return r.operate((function(n,r){var s=null!=t?t:{},a=s.leading,u=void 0===a||a,c=s.trailing,l=void 0!==c&&c,p=!1,d=null,h=null,f=!1,m=function(){null==h||h.unsubscribe(),h=null,l&&(y(),f&&r.complete())},g=function(){h=null,f&&r.complete()},v=function(t){return h=o.innerFrom(e(t)).subscribe(i.createOperatorSubscriber(r,m,g))},y=function(){if(p){p=!1;var e=d;d=null,r.next(e),!f&&v(e)}};n.subscribe(i.createOperatorSubscriber(r,(function(e){p=!0,d=e,(!h||h.closed)&&(u?y():v(e))}),(function(){f=!0,(!(l&&p&&h)||h.closed)&&r.complete()}
2)))}))}},2239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var r=n(52445),i=n(77306),o=n(87513);t.throttleTime=function(e,t,n){void 0===t&&(t=r.asyncScheduler);var s=o.timer(e,t);return i.throttle((function(){return s}),n)}},81779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var r=n(39474),i=n(84935),o=n(14990);function s(){return new r.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=s),i.operate((function(t,n){var r=!1;t.subscribe(o.createOperatorSubscriber(n,(function(e){r=!0,n.next(e)}),(function(){return r?n.complete():n.error(e())})))}))}},28005:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var r=n(52445),i=n(84935),o=n(14990);t.timeInterval=function(e){return void 0===e&&(e=r.asyncScheduler),i.operate((function(t,n){var r=e.now();t.subscribe(o.createOperatorSubscriber(n,(function(t){var i=e.now(),o=i-r;r=i,n.next(new s(t,o))})))}))};var s=function(e,t){this.value=e,this.interval=t};t.TimeInterval=s},34173:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var r=n(52445),i=n(91677),o=n(84935),s=n(87103),a=n(7029),u=n(14990),c=n(27738);function l(e){throw new t.TimeoutError(e)}t.TimeoutError=a.createErrorClass((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}})),t.timeout=function(e,t){var n=i.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,a=n.first,p=n.each,d=n.with,h=void 0===d?l:d,f=n.scheduler,m=void 0===f?null!=t?t:r.asyncScheduler:f,g=n.meta,v=void 0===g?null:g;if(null==a&&null==p)throw new TypeError("No timeout provided.");return o.operate((function(e,t){var n,r,i=null,o=0,l=function(e){r=c.executeSchedule(t,m,(function(){try{n.unsubscribe(),s.innerFrom(h({meta:v,lastValue:i,seen:o})).subscribe(t)}catch(e){t.error(e)}}),e)};n=e.subscribe(u.createOperatorSubscriber(t,(function(e){null==r||r.unsubscribe(),o++,t.next(i=e),p>0&&l(p)}),void 0,void 0,(function(){(null==r?void 0:r.closed)||null==r||r.unsubscribe(),i=null}))),!o&&l(null!=a?"number"==typeof a?a:+a-m.now():p)}))}},87223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var r=n(52445),i=n(91677),o=n(34173);t.timeoutWith=function(e,t,n){var s,a,u;if(n=null!=n?n:r.async,i.isValidDate(e)?s=e:"number"==typeof e&&(a=e),!t)throw new TypeError("No observable provided to switch to");if(u=function(){return t},null==s&&null==a)throw new TypeError("No timeout provided.");return o.timeout({first:s,each:a,scheduler:n,with:u})}},88975:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var r=n(87950),i=n(47291);t.timestamp=function(e){return void 0===e&&(e=r.dateTimestampProvider),i.map((function(t){return{value:t,timestamp:e.now()}}))}},40002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=n(60122),i=n(84935),o=function(e,t){return e.push(t),e};t.toArray=function(){return i.operate((function(e,t){r.reduce(o,[])(e).subscribe(t)}))}},2826:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var r=n(63032),i=n(84935),o=n(14990),s=n(42576),a=n(87103);t.window=function(e){return i.operate((function(t,n){var i=new r.Subject;n.next(i.asObservable());var u=function(e){i.error(e),n.error(e)};return t.subscribe(o.createOperatorSubscriber(n,(function(e){return null==i?void 0:i.next(e)}),(function(){i.complete(),n.complete()}),u)),a.innerFrom(e).subscribe(o.createOperatorSubscriber(n,(function(){i.complete(),n.next(i=new r.Subject)}),s.noop,u)),function(){null==i||i.unsubscribe(),i=null}}))}},47526:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};
vendor: 4,349 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var i=n(63032),o=n(84935),s=n(14990);t.windowCount=function(e,t){void 0===t&&(t=0);var n=t>0?t:e;return o.operate((function(t,o){var a=[new i.Subject],u=0;o.next(a[0].asObservable()),t.subscribe(s.createOperatorSubscriber(o,(function(t){var s,c;try{for(var l=r(a),p=l.next();!p.done;p=l.next()){p.value.next(t)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}var d=u-e+1;if(d>=0&&d%n==0&&a.shift().complete(),++u%n==0){var h=new i.Subject;a.push(h),o.next(h.asObservable())}}),(function(){for(;a.length>0;)a.shift().complete();o.complete()}),(function(e){for(;a.length>0;)a.shift().error(e);o.error(e)}),(function(){null,a=null})))}))}},78294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var r=n(63032),i=n(52445),o=n(93865),s=n(84935),a=n(14990),u=n(26967),c=n(12433),l=n(27738);t.windowTime=function(e){for(var t,n,p=[],d=1;d<arguments.length;d++)p[d-1]=arguments[d];var h=null!==(t=c.popScheduler(p))&&void 0!==t?t:i.asyncScheduler,f=null!==(n=p[0])&&void 0!==n?n:null,m=p[1]||1/0;return s.operate((function(t,n){var i=[],s=!1,c=function(e){var t=e.window,n=e.subs;t.complete(),n.unsubscribe(),u.arrRemove(i,e),s&&p()},p=function(){if(i){var t=new o.Subscription;n.add(t);var s=new r.Subject,a={window:s,subs:t,seen:0};i.push(a),n.next(s.asObservable()),l.executeSchedule(t,h,(function(){return c(a)}),e)}};null!==f&&f>=0?l.executeSchedule(n,h,p,f,!0):s=!0,p();var d=function(e){return i.slice().forEach(e)},g=function(e){d((function(t){var n=t.window;return e(n)})),e(n),n.unsubscribe()};return t.subscribe(a.createOperatorSubscriber(n,(function(e){d((function(t){t.window.next(e),m<=++t.seen&&c(t)}))}),(function(){return g((function(e){return e.complete()}))}),(function(e){return g((function(t){return t.error(e)}))}))),function(){i=null}}))}},61883:function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var i=n(63032),o=n(93865),s=n(84935),a=n(87103),u=n(14990),c=n(42576),l=n(26967);t.windowToggle=function(e,t){return s.operate((function(n,s){var p=[],d=function(e){for(;0<p.length;)p.shift().error(e);s.error(e)};a.innerFrom(e).subscribe(u.createOperatorSubscriber(s,(function(e){var n=new i.Subject;p.push(n);var r,h=new o.Subscription;try{r=a.innerFrom(t(e))}catch(e){return void d(e)}s.next(n.asObservable()),h.add(r.subscribe(u.createOperatorSubscriber(s,(function(){l.arrRemove(p,n),n.complete(),h.unsubscribe()}),c.noop,d)))}),c.noop)),n.subscribe(u.createOperatorSubscriber(s,(function(e){var t,n,i=p.slice();try{for(var o=r(i),s=o.next();!s.done;s=o.next()){s.value.next(e)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}),(function(){for(;0<p.length;)p.shift().complete();s.complete()}),d,(function(){for(;0<p.length;)p.shift().unsubscribe()})))}))}},94309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var r=n(63032),i=n(84935),o=n(14990),s=n(87103);t.windowWhen=function(e){return i.operate((function(t,n){var i,a,u=function(e){i.error(e),n.error(e)},c=function(){var t;null==a||a.unsubscribe(),null==i||i.complete(),i=new r.Subject,n.next(i.asObservable());try{t=s.innerFrom(e())}catch(e){return void u(e)}t.subscribe(a=o.createOperatorSubscriber(n,c,c,u))};c(),t.subscribe(o.createOperatorSubscriber(n,(function(e){return i.next(e)}),(function(){i.complete(),n.complete()}),u,(function(){null==a||a.unsubscribe(),i=null})))}))}},83032:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};
2Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var o=n(84935),s=n(14990),a=n(87103),u=n(14781),c=n(42576),l=n(12433);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l.popResultSelector(e);return o.operate((function(t,o){for(var l=e.length,p=new Array(l),d=e.map((function(){return!1})),h=!1,f=function(t){a.innerFrom(e[t]).subscribe(s.createOperatorSubscriber(o,(function(e){p[t]=e,h||d[t]||(d[t]=!0,(h=d.every(u.identity))&&(d=null))}),c.noop))},m=0;m<l;m++)f(m);t.subscribe(s.createOperatorSubscriber(o,(function(e){if(h){var t=i([e],r(p));o.next(n?n.apply(void 0,i([],r(t))):t)}})))}))}},34400:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var o=n(57654),s=n(84935);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.operate((function(t,n){o.zip.apply(void 0,i([t],r(e))).subscribe(n)}))}},78593:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var r=n(57654),i=n(32069);t.zipAll=function(e){return i.joinAllInternals(r.zip,e)}},78096:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var o=n(34400);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.zip.apply(void 0,i([],r(e)))}},97631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var r=n(2419);t.scheduleArray=function(e,t){return new r.Observable((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}},78489:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var r=n(2419),i=n(27738);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.Observable((function(n){i.executeSchedule(n,t,(function(){var r=e[Symbol.asyncIterator]();i.executeSchedule(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}},51297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var r=n(2419),i=n(3725),o=n(73005),s=n(27738);t.scheduleIterable=function(e,t){return new r.Observable((function(n){var r;return s.executeSchedule(n,t,(function(){r=e[i.iterator](),s.executeSchedule(n,t,(function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(e){return void n.error(e)}i?n.complete():n.next(t)}),0,!0)})),function(){return o.isFunction(null==r?void 0:r.return)&&r.return()}}))}},14001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var r=n(87103),i=n(1184),o=n(40276);t.scheduleObservable=function(e,t){return r.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}},25143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var r=n(87103),i=n(1184),o=n(40276);t.schedulePromise=function(e,t){return r.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}},23676:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var r=n(78489),i=n(77823);t.scheduleReadableStreamLike=function(e,t){return r.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(e),t)}},65207:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var r=n(14001),i=n(25143),o=n(97631),s=n(51297),a=n(78489),u=n(89500),c=n(36018),l=n(73909),p=n(52743),d=n(49595),h=n(59906),f=n(77823),m=n(23676);t.scheduled=function(e,t){if(null!=e){if(u.isInteropObservable(e))return r.scheduleObservable(e,t);if(l.isArrayLike(e))return o.scheduleArray(e,t);if(c.isPromise(e))return i.schedulePromise(e,t);if(d.isAsyncIterable(e))return a.scheduleAsyncIterable(e,t);if(p.isIterable(e))return s.scheduleIterable(e,t);if(f.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw h.createInvalidObservableTypeError(e)}},21986:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var o=function(e){function t(t,n){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(93865).Subscription);t.Action=o},57574:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var o=n(49702),s=n(70505),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=s.animationFrameProvider.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,n,r){var i;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var o=t.actions;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(s.animationFrameProvider.cancelAnimationFrame(n),t._scheduled=void 0)},t}(o.AsyncAction);t.AnimationFrameAction=a},92934:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var n,r=this.actions;e=e||r.shift();do{if(n=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,n){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw n}},t}(n(83643).AsyncScheduler);t.AnimationFrameScheduler=o},92189:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});
vendor: 4,338 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var o=n(49702),s=n(38908),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=s.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){var i;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var o=t.actions;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(s.immediateProvider.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(o.AsyncAction);t.AsapAction=a},35523:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var n,r=this.actions;e=e||r.shift();do{if(n=e.execute(e.state,e.delay))break}while((e=r[0])&&e.id===t&&r.shift());if(this._active=!1,n){for(;(e=r[0])&&e.id===t&&r.shift();)e.unsubscribe();throw n}},t}(n(83643).AsyncScheduler);t.AsapScheduler=o},49702:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var o=n(21986),s=n(98203),a=n(26967),u=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return i(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),s.intervalProvider.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&s.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(o.Action);t.AsyncAction=u},83643:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});
2Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var o=n(10218),s=function(e){function t(t,n){void 0===n&&(n=o.Scheduler.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return i(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(o.Scheduler);t.AsyncScheduler=s},36201:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var o=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.flush(this),0)},t}(n(49702).AsyncAction);t.QueueAction=o},5860:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(n(83643).AsyncScheduler);t.QueueScheduler=o},74123:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}
vendor: 1,351 bytes, line 2
2),t.VirtualAction=t.VirtualTimeScheduler=void 0;var o=n(49702),s=n(93865),a=function(e){function t(t,n){void 0===t&&(t=u),void 0===n&&(n=1/0);var r=e.call(this,t,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return i(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n[0])&&t.delay<=r&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n(83643).AsyncScheduler);t.VirtualTimeScheduler=a;var u=function(e){function t(t,n,r){void 0===r&&(r=t.index+=1);var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.index=r,i.active=!0,i.index=t.index=r,i}return i(t,e),t.prototype.schedule=function(n,r){if(void 0===r&&(r=0),Number.isFinite(r)){if(!this.id)return e.prototype.schedule.call(this,n,r);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(n,r)}return s.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,n,r){void 0===r&&(r=0),this.delay=e.frame+r;var i=e.actions;return i.push(this),i.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>
2t.index?1:-1:e.delay>t.delay?1:-1},t}(o.AsyncAction);t.VirtualAction=u},63660:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var r=n(57574),i=n(92934);t.animationFrameScheduler=new i.AnimationFrameScheduler(r.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},70505:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var o=n(93865);t.animationFrameProvider={schedule:function(e){var n=requestAnimationFrame,r=cancelAnimationFrame,i=t.animationFrameProvider.delegate;i&&(n=i.requestAnimationFrame,r=i.cancelAnimationFrame);var s=n((function(t){r=void 0,e(t)}));return new o.Subscription((function(){return null==r?void 0:r(s)}))},requestAnimationFrame:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,i([],r(e)))},cancelAnimationFrame:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,i([],r(e)))},delegate:void 0}},30580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var r=n(92189),i=n(35523);t.asapScheduler=new i.AsapScheduler(r.AsapAction),t.asap=t.asapScheduler},52445:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var r=n(49702),i=n(83643);t.asyncScheduler=new i.AsyncScheduler(r.AsyncAction),t.async=t.asyncScheduler},87950:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},38908:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var o=n(97629),s=o.Immediate.setImmediate,a=o.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=t.immediateProvider.delegate;return((null==o?void 0:o.setImmediate)||s).apply(void 0,i([],r(e)))},clearImmediate:function(e){var n=t.immediateProvider.delegate;return((null==n?void 0:n.clearImmediate)||a)(e)},delegate:void 0}},98203:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,i){for(var o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];var a=t.intervalProvider.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,r([e,i],n(o))):setInterval.apply(void 0,r([e,i],n(o)))},clearInterval:function(e){var n=t.intervalProvider.delegate;return((null==n?void 0:n.clearInterval)||clearInterval)(e)},delegate:void 0}},46813:function(e,t){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},38615:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var r=n(36201),i=n(5860);t.queueScheduler=new i.QueueScheduler(r.QueueAction),t.queue=t.queueScheduler},23519:function(e,t){"use strict";var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},r=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,i){for(var o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];var a=t.timeoutProvider.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,r([e,i],n(o))):setTimeout.apply(void 0,r([e,i],n(o)))},clearTimeout:function(e){var n=t.timeoutProvider.delegate;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0}},3725:function(e,t){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=n,t.iterator=n()},72801:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},28433:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},42351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var r=n(7029);t.ArgumentOutOfRangeError=r.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}))},39474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var r=n(7029);t.EmptyError=r.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}))},97629:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var n,r=1,i={};function o(e){return e in i&&(delete i[e],!0)}t.Immediate={setImmediate:function(e){var t=r++;return i[t]=!0,n||(n=Promise.resolve()),n.then((function(){return o(t)&&e()})),t},clearImmediate:function(e){o(e)}},t.TestTools={pending:function(){return Object.keys(i).length}}},48598:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var r=n(7029);t.NotFoundError=r.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}))},82642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var r=n(7029);t.ObjectUnsubscribedError=r.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}))},46156:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var r=n(7029);t.SequenceError=r.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}))},24805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var r=n(7029);t.UnsubscriptionError=r.createErrorClass((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}}))},12433:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var r=n(73005),i=n(59016);function o(e){return e[e.length-1]}t.popResultSelector=function(e){return r.isFunction(o(e))?e.pop():void 0}
2,t.popScheduler=function(e){return i.isScheduler(o(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof o(e)?e.pop():t}},91203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var n=Array.isArray,r=Object.getPrototypeOf,i=Object.prototype,o=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(n(t))return{args:t,keys:null};if((a=t)&&"object"==typeof a&&r(a)===i){var s=o(t);return{args:s.map((function(e){return t[e]})),keys:s}}}var a;return{args:e,keys:null}}},5498:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var n=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&n(e[0])?e[0]:e}},26967:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}},7029:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},60641:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce((function(e,n,r){return e[n]=t[r],e}),{})}},86110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var r=n(23280),i=null;t.errorContext=function(e){if(r.config.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,s=n.error;if(i=null,o)throw s}}else e()},t.captureError=function(e){r.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},27738:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule((function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(o),!i)return o}},14781:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},73909:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},49595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var r=n(73005);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&r.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},91677:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},73005:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},89500:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var r=n(72801),i=n(73005);t.isInteropObservable=function(e){return i.isFunction(e[r.observable])}},52743:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var r=n(3725),i=n(73005);t.isIterable=function(e){return i.isFunction(null==e?void 0:e[r.iterator])}},88386:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var r=n(2419),i=n(73005);t.isObservable=function(e){return!!e&&(e instanceof r.Observable||i.isFunction(e.lift)&&i.isFunction(e.subscribe))}},36018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var r=n(73005);t.isPromise=function(e){return r.isFunction(null==e?void 0:e.then)}},77823:function(e,t,n){"use strict";var r=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
vendor: 2,140 bytes, line 2
2function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)},o=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),s=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){s.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=o[e](t)).value instanceof i?Promise.resolve(n.value.v).then(c,l):p(s[0][2],n)}catch(e){p(s[0][3],e)}var n}function c(e){u("next",e)}function l(e){u("throw",e)}function p(e,t){e(t),s.shift(),s.length&&u(s[0][0],s[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var s=n(73005);t.readableStreamLikeToAsyncGenerator=function(e){return o(this,arguments,(function(){var t,n,o;return r(this,(function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,i(t.read())];case 3:return n=r.sent(),o=n.value,n.done?[4,i(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,i(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}
2))}))},t.isReadableStreamLike=function(e){return s.isFunction(null==e?void 0:e.getReader)}},59016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var r=n(73005);t.isScheduler=function(e){return e&&r.isFunction(e.schedule)}},84935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var r=n(73005);function i(e){return r.isFunction(null==e?void 0:e.lift)}t.hasLift=i,t.operate=function(e){return function(t){if(i(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}},11914:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var o=n(47291),s=Array.isArray;t.mapOneOrManyArgs=function(e){return o.map((function(t){return function(e,t){return s(t)?e.apply(void 0,i([],r(t))):e(t)}(e,t)}))}},42576:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},38634:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(n,r){return!e.call(t,n,r)}}},9985:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var r=n(14781);function i(e){return 0===e.length?r.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i},47968:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var r=n(23280),i=n(23519);t.reportUnhandledError=function(e){i.timeoutProvider.setTimeout((function(){var t=r.config.onUnhandledError;if(!t)throw e;t(e)}))}},59906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},14857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=t.merge=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.concat=t.combineLatestWith=t.combineLatest=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=void 0,t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.race=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.partition=t.pairwise=t.onErrorResumeNext=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=void 0,t.zipWith=t.zipAll=t.zip=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=void 0;var r=n(76474);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return r.audit}});var i=n(95382);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return i.auditTime}});var o=n(89715);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return o.buffer}});var s=n(63814);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return s.bufferCount}});var a=n(7211);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return a.bufferTime}});var u=n(84943);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return u.bufferToggle}});var c=n(91240);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return c.bufferWhen}});var l=n(69548);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return l.catchError}});var p=n(52128);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return p.combineAll}});var d=n(73240);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return d.combineLatestAll}});var h=n(46318);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return h.combineLatest}});var f=n(65024);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return f.comb
2ineLatestWith}});var m=n(94919);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return m.concat}});var g=n(84413);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return g.concatAll}});var v=n(27498);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return v.concatMap}});var y=n(6109);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return y.concatMapTo}});var _=n(69664);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return _.concatWith}});var b=n(81995);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return b.connect}});var w=n(70993);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return w.count}});var E=n(70496);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return E.debounce}});var S=n(61385);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return S.debounceTime}});var x=n(71658);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return x.defaultIfEmpty}});var D=n(35841);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return D.delay}});var C=n(78798);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return C.delayWhen}});var T=n(11080);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return T.dematerialize}});var k=n(63054);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return k.distinct}});var I=n(98737);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return I.distinctUntilChanged}});var O=n(77957);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return O.distinctUntilKeyChanged}});var M=n(88633);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return M.elementAt}});var A=n(90911);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return A.endWith}});var N=n(2096);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return N.every}});var P=n(70067);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return P.exhaust}});var R=n(75337);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return R.exhaustAll}});var F=n(5635);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return F.exhaustMap}});var j=n(59745);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return j.expand}});var L=n(49154);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return L.filter}});var $=n(9283);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return $.finalize}});var V=n(47119);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return V.find}});var B=n(74706);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return B.findIndex}});var U=n(29219);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return U.first}});var H=n(79749);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return H.groupBy}});var z=n(29438);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return z.ignoreElements}});var q=n(28515);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return q.isEmpty}});var G=n(22435);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return G.last}});var W=n(47291);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return W.map}});var Y=n(18313);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return Y.mapTo}});var Z=n(33209);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return Z.materialize}});var K=n(72620);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return K.max}});var J=n(99821);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return J.merge}});var X=n(93783);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return X.mergeAll}});var Q=n(21788);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return Q.flatMap}});var ee=n(99475);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ee.mergeMap}});var te=n(61211);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return te.mergeMapTo}});var ne=n(97267);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return ne.mergeScan}});var re=n(49303);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return re.mergeWith}});var ie=n(99714);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ie.min}});var oe=n(73848);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return oe.multicast}});var se=n(1184);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return se.observeOn}});var ae=n(37582);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return ae.onErrorResumeNext}});var ue=n(52731);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ue.pairwise}});var ce=n(25649);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ce.partition}});var le=n(84691);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return le.pluck}});var pe=n(4474);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return pe.publish}});var de=n(70052);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return de.publishBehavior}});var he=n(82110);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return he.publishLast}});var fe=n(89864);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return fe.publishReplay}});var me=n(69764);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return me.race}});var ge=n(179);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return ge.raceWith}});var ve=n(60122);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return ve.reduce}});var ye=n(5313);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return ye.repeat}});var _e=n(54068);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return _e.repeatWhen}});var be=n(40064);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return be.retry}});var we=n(11188);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return we.retryWhen}});var Ee=n(28739);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Ee.refCount}});var Se=n(84193);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Se.sample}});var xe=n(76170);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return xe.sampleTime}});var De=n(85876);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return De.scan}});var Ce=n(41791);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Ce.sequenceEqual}});var Te=n(15137);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Te.share}});var ke=n(11348);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return ke.shareReplay}});var Ie=n(28242);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Ie.single}});var Oe=n(83169);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Oe.skip}});var Me=n(42454);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Me.skipLast}});var Ae=n(36931);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Ae.skipUntil}});var Ne=n(77913);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Ne.skipWhile}});var Pe=n(29234);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Pe.startWith}});var Re=n(40276);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Re.subscribeOn}});var Fe=n(29253);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Fe.switchAll}});var je=n(68518);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return je.switchMap}});var Le=n(21173);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Le.switchMapTo}});var $e=n(73855);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return $e.switchScan}});var Ve=n(54783);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Ve.take}});var Be=n(71980);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Be.takeLast}});var Ue=n(69845);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Ue.takeUntil}});var He=n(6060);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return He.takeWhile}});var ze=n(1138);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return ze.ta
2p}});var qe=n(77306);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return qe.throttle}});var Ge=n(2239);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Ge.throttleTime}});var We=n(81779);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return We.throwIfEmpty}});var Ye=n(28005);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Ye.timeInterval}});var Ze=n(34173);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Ze.timeout}});var Ke=n(87223);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Ke.timeoutWith}});var Je=n(88975);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return Je.timestamp}});var Xe=n(40002);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return Xe.toArray}});var Qe=n(2826);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return Qe.window}});var et=n(47526);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return et.windowCount}});var tt=n(78294);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return tt.windowTime}});var nt=n(61883);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return nt.windowToggle}});var rt=n(94309);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return rt.windowWhen}});var it=n(83032);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return it.withLatestFrom}});var ot=n(34400);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ot.zip}});var st=n(78593);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return st.zipAll}});var at=n(78096);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return at.zipWith}})},81480:function(e,t,n){"use strict";n.d(t,{y:function(){return p}});var r=n(15642),i=n(35720),o=n(46766),s=n(90278);function a(e){return 0===e.length?s.y:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var u=n(53912),c=n(58474),l=n(68846),p=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,s=this,a=(o=e)&&o instanceof r.Lv||function(e){return e&&(0,c.m)(e.next)&&(0,c.m)(e.error)&&(0,c.m)(e.complete)}(o)&&(0,i.Nn)(o)?e:new r.Hp(e,t,n);return(0,l.x)((function(){var e=s,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?s._subscribe(a):s._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))((function(t,i){var o=new r.Hp({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.L]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:u.v.Promise)&&void 0!==t?t:Promise}},15642:function(e,t,n){"use strict";n.d(t,{Hp:function(){return v},Lv:function(){return h}});var r=n(97582),i=n(58474),o=n(35720),s=n(53912),a=n(40005);function u(){}var c=l("C",void 0,void 0);function l(e,t,n){return{kind:e,value:t,error:n}}var p=n(68380),d=n(68846),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Nn)(t)&&t.add(n)):n.destination=b,n}return(0,r.ZT)(t,e),t.create=function(e,t,n){return new v(e,t,n)},t.prototype.next=function(e){this.isStopped?_(function(e){return l("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?_(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?_(c,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.w0),f=Function.prototype.bind;function m(e,t){return f.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){y(e)}else y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){y(e)}},e}(),v=function(e){function t(t,n,r){var o,a,u=e.call(this)||this;(0,i.m)(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}
2:u&&s.v.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},o={next:t.next&&m(t.next,a),error:t.error&&m(t.error,a),complete:t.complete&&m(t.complete,a)}):o=t;return u.destination=new g(o),u}return(0,r.ZT)(t,e),t}(h);function y(e){s.v.useDeprecatedSynchronousErrorHandling?(0,d.O)(e):(0,a.h)(e)}function _(e,t){var n=s.v.onStoppedNotification;n&&p.z.setTimeout((function(){return n(e,t)}))}var b={closed:!0,next:u,error:function(e){throw e},complete:u}},35720:function(e,t,n){"use strict";n.d(t,{Lc:function(){return u},w0:function(){return a},Nn:function(){return c}});var r=n(97582),i=n(58474),o=(0,n(1819).d)((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}})),s=n(3699),a=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,s,a;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=(0,r.XA)(u),p=c.next();!p.done;p=c.next()){p.value.remove(this)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else u.remove(this);var d=this.initialTeardown;if((0,i.m)(d))try{d()}catch(e){a=e instanceof o?e.errors:[e]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=(0,r.XA)(h),m=f.next();!m.done;m=f.next()){var g=m.value;try{l(g)}catch(e){a=null!=a?a:[],e instanceof o?a=(0,r.ev)((0,r.ev)([],(0,r.CR)(a)),(0,r.CR)(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{m&&!m.done&&(s=f.return)&&s.call(f)}finally{if(n)throw n.error}}}if(a)throw new o(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,s.P)(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&(0,s.P)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),u=a.EMPTY;function c(e){return e instanceof a||e&&"closed"in e&&(0,i.m)(e.remove)&&(0,i.m)(e.add)&&(0,i.m)(e.unsubscribe)}function l(e){(0,i.m)(e)?e():e.unsubscribe()}},53912:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},11954:function(e,t,n){"use strict";n.d(t,{D:function(){return w}});var r=n(87878),i=n(47845),o=n(96798),s=n(2566);function a(e,t){return void 0===t&&(t=0),(0,o.e)((function(n,r){n.subscribe((0,s.x)(r,(function(n){return(0,i.f)(r,e,(function(){return r.next(n)}),t)}),(function(){return(0,i.f)(r,e,(function(){return r.complete()}),t)}),(function(n){return(0,i.f)(r,e,(function(){return r.error(n)}),t)})))}))}function u(e,t){return void 0===t&&(t=0),(0,o.e)((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}var c=n(81480);var l=n(39768),p=n(58474);function d(e,t){if(!e)throw new Error("Iterable cannot be null");return new c.y((function(n){(0,i.f)(n,t,(function(){var r=e[Symbol.asyncIterator]();(0,i.f)(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}var h=n(71764),f=n(53841),m=n(45685),g=n(1837),v=n(58430),y=n(88729),_=n(48671);function b(e,t){if(null!=e){if((0,h.c)(e))return function(e,t){return(0,r.Xf)(e).pipe(u(t),a(t))}(e,t);if((0,m.z)(e))return function(e,t){return new c.y((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}(e,t);if((0,f.t)(e))return function(e,t){return(0,r.Xf)(e).pipe(u(t),a(t))}(e,t);if((0,v.D)(e))return d(e,t);if((0,g.T)(e))return function(e,t){return new c.y((function(n){var r;return(0,i.f)(n,t,(function(){r=e[l.h](),(0,i.f)(n,t,(function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(e){return void n.error(e)}i?n.complete():n.next(t)}),0,!0)})),function(){return(0,p.m)(null==r?void 0:r.return)&&r.return()}}))}(e,t);if((0,_.L)(e))return function(e,t){return d((0,_.Q)(e),t)}(e,t)}throw(0,y.z)(e)}function w(e,t){return t?b(e,t):(0,r.Xf)(e)}},87878:function(e,t,n){"use strict";n.d(t,{Xf:function(){return m}});var r=n(97582),i=n(45685),o=n(53841),s=n(81480),a=n(71764),u=n(58430),c=n(88729),l=n(1837),p=n(48671),d=n(58474),h=n(40005),f=n(46766);function m(e){if(e instanceof s.y)return e;if(null!=e){if((0,a.c)(e))return y=e,new s.y((function(e){var t=y[f.L]();if((0,d.m)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,i.z)(e))return v=e,new s.y((function(e){for(var t=0;t<v.length&&!e.closed;t++)e.next(v[t]);e.complete()}
2));if((0,o.t)(e))return m=e,new s.y((function(e){m.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,h.h)}));if((0,u.D)(e))return g(e);if((0,l.T)(e))return n=e,new s.y((function(e){var t,i;try{for(var o=(0,r.XA)(n),s=o.next();!s.done;s=o.next()){var a=s.value;if(e.next(a),e.closed)return}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}e.complete()}));if((0,p.L)(e))return t=e,g((0,p.Q)(t))}var t,n,m,v,y;throw(0,c.z)(e)}function g(e){return new s.y((function(t){(function(e,t){var n,i,o,s;return(0,r.mG)(this,void 0,void 0,(function(){var a,u;return(0,r.Jh)(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=(0,r.KL)(e),c.label=1;case 1:return[4,n.next()];case 2:if((i=c.sent()).done)return[3,4];if(a=i.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=c.sent(),o={error:u},[3,11];case 6:return c.trys.push([6,,9,10]),i&&!i.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}},2566:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(97582);function i(e,t,n,r,i){return new o(e,t,n,r,i)}var o=function(e){function t(t,n,r,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,r.ZT)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(n(15642).Lv)},29127:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(96798),i=n(2566);function o(e,t){return(0,r.e)((function(n,r){var o=0;n.subscribe((0,i.x)(r,(function(n){r.next(e.call(t,n,o++))})))}))}},87877:function(e,t,n){"use strict";n.d(t,{z:function(){return c}});var r=n(29127),i=n(87878),o=n(96798),s=n(47845),a=n(2566);var u=n(58474);function c(e,t,n){return void 0===n&&(n=1/0),(0,u.m)(t)?c((function(n,o){return(0,r.U)((function(e,r){return t(n,e,o,r)}))((0,i.Xf)(e(n,o)))}),n):("number"==typeof t&&(n=t),(0,o.e)((function(t,r){return function(e,t,n,r,o,u,c,l){var p=[],d=0,h=0,f=!1,m=function(){!f||p.length||d||t.complete()},g=function(e){return d<r?v(e):p.push(e)},v=function(e){u&&t.next(e),d++;var l=!1;(0,i.Xf)(n(e,h++)).subscribe((0,a.x)(t,(function(e){null==o||o(e),u?g(e):t.next(e)}),(function(){l=!0}),void 0,(function(){if(l)try{d--;for(var e=function(){var e=p.shift();c?(0,s.f)(t,c,(function(){return v(e)})):v(e)};p.length&&d<r;)e();m()}catch(e){t.error(e)}})))};return e.subscribe((0,a.x)(t,g,(function(){f=!0,m()}))),function(){null==l||l()}}(t,r,e,n)})))}},68380:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(97582),i={setTimeout:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,r.ev)([e,t],(0,r.CR)(n))):setTimeout.apply(void 0,(0,r.ev)([e,t],(0,r.CR)(n)))},clearTimeout:function(e){var t=i.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},39768:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},46766:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},57617:function(e,t,n){"use strict";n.d(t,{_6:function(){return a},jO:function(){return o},yG:function(){return s}});var r=n(58474);function i(e){return e[e.length-1]}function o(e){return(0,r.m)(i(e))?e.pop():void 0}function s(e){return(t=i(e))&&(0,r.m)(t.schedule)?e.pop():void 0;var t}function a(e,t){return"number"==typeof i(e)?e.pop():t}},3699:function(e,t,n){"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{P:function(){return r}})},1819:function(e,t,n){"use strict";function r(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{d:function(){return r}})},68846:function(e,t,n){"use strict";n.d(t,{O:function(){return s},x:function(){return o}});var r=n(53912),i=null;function o(e){if(r.v.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var n=i,o=n.errorThrown,s=n.error;if(i=null,o)throw s}}else e()}function s(e){r.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},47845:function(e,t,n){"use strict";function r(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule((function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(o),!i)return o}n.d(t,{f:function(){return r}})},90278:function(e,t,n){"use strict";function r(e){return e}n.d(t,{y:function(){return r}})},45685:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},58430:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(58474);function i(e){return Symbol.asyncIterator&&(0,r.m)(null==e?void 0:e[Symbol.asyncIterator])}},58474:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{m:function(){return r}})},71764:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(46766),i=n(58474);function o(e){return(0,i.m)(e[r.L])}},1837:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(39768),i=n(58474);function o(e){return(0,i.m)(null==e?void 0:e[r.h])}},53841:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(58474);function i(e){return(0,r.m)(null==e?void 0:e.then)}},48671:function(e,t,n){"use strict";n.d(t,{L:function(){return s},Q:function(){return o}});var r=n(97582),i=n(58474);function o(e){return(0,r.FC)(this,arguments,(function(){var t,n,i;return(0,r.Jh)(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.qq)(t.read())];
2case 3:return n=o.sent(),i=n.value,n.done?[4,(0,r.qq)(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,(0,r.qq)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function s(e){return(0,i.m)(null==e?void 0:e.getReader)}},96798:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(58474);function i(e){return function(t){if(function(e){return(0,r.m)(null==e?void 0:e.lift)}(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}},40005:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(53912),i=n(68380);function o(e){i.z.setTimeout((function(){var t=r.v.onUnhandledError;if(!t)throw e;t(e)}))}},88729:function(e,t,n){"use strict";function r(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(t,{z:function(){return r}})},6037:function(e,t,n){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function o(e){return i+e}const s=!0===e[o("forceDuplicateZoneCheck")];if(e.Zone){if(s||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return A.zone}static get currentTask(){return N}static __load_patch(t,i,o=!1){if(O.hasOwnProperty(t)){if(!o&&s)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const o="Zone:"+t;n(o),O[t]=i(e,a,M),r(o,o)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{A=A.parent}}runGuarded(e,t=null,n,r){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{A=A.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||b).name+"; Execution: "+this.name+")");if(e.state===w&&(e.type===I||e.type===k))return;const r=e.state!=x;r&&e._transitionTo(x,S),e.runCount++;const i=N;N=e,A={parent:A,zone:this};try{e.type==k&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==w&&e.state!==C&&(e.type==I||e.data&&e.data.isPeriodic?r&&e._transitionTo(S,x):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(w,x,w))),A=A.parent,N=i}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(E,w);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(C,E,w),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==E&&e._transitionTo(S,E),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new l(T,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,i){return this.scheduleTask(new l(k,e,t,n,r,i))}scheduleEventTask(e,t,n,r,i){return this.scheduleTask(new l(I,e,t,n,r,i))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||b).name+"; Execution: "+this.name+")");e._transitionTo(D,S,x);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(C,D),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(w,D),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}a.__symbol__=o;const u={name:"",onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,i,o)=>e.invokeTask(n,r,i,o),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class c{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask,i=t&&t._hasTaskZS;(r||i)&&(this._hasTaskZS=r?n:u,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,i):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");y(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],i=n[e]=r+t;if(i<0)throw new Error("More tasks executed then were scheduled.");
2if(0==r||0==i){const t={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this.zone,t)}}}class l{constructor(t,n,r,i,o,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=i,this.scheduleFn=o,this.cancelFn=s,!r)throw new Error("callback is not defined");this.callback=r;const a=this;t===I&&i&&i.useG?this.invoke=l.invokeTask:this.invoke=function(){return l.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&_(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(w,E)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==w&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const p=o("setTimeout"),d=o("Promise"),h=o("then");let f,m=[],g=!1;function v(t){if(f||e[d]&&(f=e[d].resolve(0)),f){let e=f[h];e||(e=f.then),e.call(f,t)}else e[p](t,0)}function y(e){0===P&&0===m.length&&v(_),e&&m.push(e)}function _(){if(!g){for(g=!0;m.length;){const e=m;m=[];for(let t=0;t<e.length;t++){const n=e[t];try{n.zone.runTask(n,null,null)}catch(e){M.onUnhandledError(e)}}}M.microtaskDrainDone(),g=!1}}const b={name:"NO ZONE"},w="notScheduled",E="scheduling",S="scheduled",x="running",D="canceling",C="unknown",T="microTask",k="macroTask",I="eventTask",O={},M={symbol:o,currentZoneFrame:()=>A,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:y,showUncaughtError:()=>!a[o("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R,nativeScheduleMicroTask:v};let A={parent:null,zone:new a(null,null)},N=null,P=0;function R(){}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||n.g);const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=Object.getPrototypeOf,s=Object.create,a=Array.prototype.slice,u="addEventListener",c="removeEventListener",l=Zone.__symbol__(u),p=Zone.__symbol__(c),d="true",h="false",f=Zone.__symbol__("");function m(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,r,i){return Zone.current.scheduleMacroTask(e,t,n,r,i)}const v=Zone.__symbol__,y="undefined"!=typeof window,_=y?window:void 0,b=y&&_||"object"==typeof self&&self||n.g,w="removeAttribute";function E(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=m(e[n],t+"_"+n));return e}function S(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const x="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,D=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),C=!D&&!x&&!(!y||!_.HTMLElement),T=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!x&&!(!y||!_.HTMLElement),k={},I=function(e){if(!(e=e||b.event))return;let t=k[e.type];t||(t=k[e.type]=v("ON_PROPERTY"+e.type));const n=this||e.target||b,r=n[t];let i;if(C&&n===_&&"error"===e.type){const t=e;i=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===i&&e.preventDefault()}else i=r&&r.apply(this,arguments),null==i||i||e.preventDefault();return i};function O(e,t,n){let o=r(e,t);if(!o&&n){r(n,t)&&(o={enumerable:!0,configurable:!0})}if(!o||!o.configurable)return;const s=v("on"+t+"patched");if(e.hasOwnProperty(s)&&e[s])return;delete o.writable,delete o.value;const a=o.get,u=o.set,c=t.slice(2);let l=k[c];l||(l=k[c]=v("ON_PROPERTY"+c)),o.set=function(t){let n=this;if(n||e!==b||(n=b),!n)return;"function"==typeof n[l]&&n.removeEventListener(c,I),u&&u.call(n,null),n[l]=t,"function"==typeof t&&n.addEventListener(c,I,!1)},o.get=function(){let n=this;if(n||e!==b||(n=b),!n)return null;const r=n[l];if(r)return r;if(a){let e=a.call(this);if(e)return o.set.call(this,e),"function"==typeof n[w]&&n.removeAttribute(t),e}return null},i(e,t,o),e[s]=!0}function M(e,t,n){if(t)for(let r=0;r<t.length;r++)O(e,"on"+t[r],n);else{const t=[];for(const n in e)"on"==n.slice(0,2)&&t.push(n);for(let r=0;r<t.length;r++)O(e,t[r],n)}}const A=v("originalInstance");function N(e){const t=b[e];if(!t)return;
2b[v(e)]=t,b[e]=function(){const n=E(arguments,e);switch(n.length){case 0:this[A]=new t;break;case 1:this[A]=new t(n[0]);break;case 2:this[A]=new t(n[0],n[1]);break;case 3:this[A]=new t(n[0],n[1],n[2]);break;case 4:this[A]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},F(b[e],t);const n=new t((function(){}));let r;for(r in n)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof n[t]?b[e].prototype[t]=function(){return this[A][t].apply(this[A],arguments)}:i(b[e].prototype,t,{set:function(n){"function"==typeof n?(this[A][t]=m(n,e+"."+t),F(this[A][t],n)):this[A][t]=n},get:function(){return this[A][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(b[e][r]=t[r])}function P(e,t,n){let i=e;for(;i&&!i.hasOwnProperty(t);)i=o(i);!i&&e[t]&&(i=e);const s=v(t);let a=null;if(i&&(!(a=i[s])||!i.hasOwnProperty(s))){a=i[s]=i[t];if(S(i&&r(i,t))){const e=n(a,s,t);i[t]=function(){return e(this,arguments)},F(i[t],a)}}return a}function R(e,t,n){let r=null;function i(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=P(e,t,(e=>function(t,r){const o=n(t,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?g(o.name,r[o.cbIdx],o,i):e.apply(t,r)}))}function F(e,t){e[v("OriginalDelegate")]=t}let j=!1,L=!1;function $(){try{const e=_.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function V(){if(j)return L;j=!0;try{const e=_.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(L=!0)}catch(e){}return L}
2Zone.__load_patch("ZoneAwarePromise",((e,t,n)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty;const o=n.symbol,s=[],a=!0===e[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=o("Promise"),c=o("then"),l="__creationTrace__";n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded((()=>{if(e.throwOriginal)throw e.rejection;throw e}))}catch(e){d(e)}}};const p=o("unhandledPromiseRejectionHandler");function d(e){n.onUnhandledError(e);try{const n=t[p];"function"==typeof n&&n.call(this,e)}catch(e){}}function h(e){return e&&e.then}function f(e){return e}function m(e){return j.reject(e)}const g=o("state"),v=o("value"),y=o("finally"),_=o("parentPromiseValue"),b=o("parentPromiseState"),w="Promise.then",E=null,S=!0,x=!1,D=0;function C(e,t){return n=>{try{O(e,t,n)}catch(t){O(e,!1,t)}}}const T=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},k="Promise resolved with itself",I=o("currentTaskTrace");function O(e,r,o){const u=T();if(e===o)throw new TypeError(k);if(e[g]===E){let c=null;try{"object"!=typeof o&&"function"!=typeof o||(c=o&&o.then)}catch(t){return u((()=>{O(e,!1,t)}))(),e}if(r!==x&&o instanceof j&&o.hasOwnProperty(g)&&o.hasOwnProperty(v)&&o[g]!==E)A(o),O(e,o[g],o[v]);else if(r!==x&&"function"==typeof c)try{c.call(o,u(C(e,r)),u(C(e,!1)))}catch(t){u((()=>{O(e,!1,t)}))()}else{e[g]=r;const u=e[v];if(e[v]=o,e[y]===y&&r===S&&(e[g]=e[b],e[v]=e[_]),r===x&&o instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[l];e&&i(o,I,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<u.length;)N(e,u[t++],u[t++],u[t++],u[t++]);if(0==u.length&&r==x){e[g]=D;let r=o;try{throw new Error("Uncaught (in promise): "+function(e){if(e&&e.toString===Object.prototype.toString){return(e.constructor&&e.constructor.name||"")+": "+JSON.stringify(e)}return e?e.toString():Object.prototype.toString.call(e)}(o)+(o&&o.stack?"\n"+o.stack:""))}catch(e){r=e}
2a&&(r.throwOriginal=!0),r.rejection=o,r.promise=e,r.zone=t.current,r.task=t.currentTask,s.push(r),n.scheduleMicroTask()}}}return e}const M=o("rejectionHandledHandler");function A(e){if(e[g]===D){try{const n=t[M];n&&"function"==typeof n&&n.call(this,{rejection:e[v],promise:e})}catch(e){}e[g]=x;for(let t=0;t<s.length;t++)e===s[t].promise&&s.splice(t,1)}}function N(e,t,n,r,i){A(e);const o=e[g],s=o?"function"==typeof r?r:f:"function"==typeof i?i:m;t.scheduleMicroTask(w,(()=>{try{const r=e[v],i=!!n&&y===n[y];i&&(n[_]=r,n[b]=o);const a=t.run(s,void 0,i&&s!==m&&s!==f?[]:[r]);O(n,!0,a)}catch(e){O(n,!1,e)}}),n)}const R=function(){},F=e.AggregateError;class j{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return O(new this(null),S,e)}static reject(e){return O(new this(null),x,e)}static any(e){if(!e||"function"!=typeof e[Symbol.iterator])return Promise.reject(new F([],"All promises were rejected"));const t=[];let n=0;try{for(let r of e)n++,t.push(j.resolve(r))}catch(e){return Promise.reject(new F([],"All promises were rejected"))}if(0===n)return Promise.reject(new F([],"All promises were rejected"));let r=!1;const i=[];return new j(((e,o)=>{for(let s=0;s<t.length;s++)t[s].then((t=>{r||(r=!0,e(t))}),(e=>{i.push(e),n--,0===n&&(r=!0,o(new F(i,"All promises were rejected")))}))}))}static race(e){let t,n,r=new this(((e,r)=>{t=e,n=r}));function i(e){t(e)}function o(e){n(e)}for(let t of e)h(t)||(t=this.resolve(t)),t.then(i,o);return r}static all(e){return j.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof j?this:j).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,i=new this(((e,t)=>{n=e,r=t})),o=2,s=0;const a=[];for(let i of e){h(i)||(i=this.resolve(i));const e=s;try{i.then((r=>{a[e]=t?t.thenCallback(r):r,o--,0===o&&n(a)}),(i=>{t?(a[e]=t.errorCallback(i),o--,0===o&&n(a)):r(i)}))}catch(e){r(e)}o++,s++}return o-=2,0===o&&n(a),i}constructor(e){const t=this;
vendor: 6,190 bytes, line 2
2if(!(t instanceof j))throw new Error("Must be an instanceof Promise.");t[g]=E,t[v]=[];try{const n=T();e&&e(n(C(t,S)),n(C(t,x)))}catch(e){O(t,!1,e)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return j}then(e,n){var r;let i=null===(r=this.constructor)||void 0===r?void 0:r[Symbol.species];i&&"function"==typeof i||(i=this.constructor||j);const o=new i(R),s=t.current;return this[g]==E?this[v].push(s,o,e,n):N(this,s,o,e,n),o}catch(e){return this.then(null,e)}finally(e){var n;let r=null===(n=this.constructor)||void 0===n?void 0:n[Symbol.species];r&&"function"==typeof r||(r=j);const i=new r(R);i[y]=y;const o=t.current;return this[g]==E?this[v].push(o,i,e,e):N(this,o,i,e,e),i}}j.resolve=j.resolve,j.reject=j.reject,j.race=j.race,j.all=j.all;const L=e[u]=e.Promise;e.Promise=j;const $=o("thenPatched");function V(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const i=t.then;t[c]=i,e.prototype.then=function(e,t){return new j(((e,t)=>{i.call(this,e,t)})).then(e,t)},e[$]=!0}return n.patchThen=V,L&&(V(L),P(e,"fetch",(e=>{return t=e,function(e,n){let r=t.apply(e,n);if(r instanceof j)return r;let i=r.constructor;return i[$]||V(i),r};var t}))),Promise[t.__symbol__("uncaughtPromiseErrors")]=s,j})),Zone.__load_patch("toString",(e=>{const t=Function.prototype.toString,n=v("OriginalDelegate"),r=v("Promise"),i=v("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?t.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[i];if(n)return t.call(n)}}return t.call(this)};o[n]=t,Function.prototype.toString=o;const s=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":s.call(this)}}));let B=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){B=!1}const U={useG:!0},H={},z={},q=new RegExp("^"+f+"(\\w+)(true|false)$"),G=v("propagationStopped");function W(e,t){const n=(t?t(e):e)+h,r=(t?t(e):e)+d,i=f+n,o=f+r;H[e]={},H[e][h]=i,H[e][d]=o}function Y(e,t,n,r){const i=r&&r.add||u,s=r&&r.rm||c,a=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",p=v(i),m="."+i+":",g="prependListener",y="."+g+":",_=function(e,t,n){if(e.isRemoved)return;const r=e.callback;let i;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r);try{e.invoke(e,t,[n])}catch(e){i=e}const o=e.options;if(o&&"object"==typeof o&&o.once){const r=e.originalDelegate?e.originalDelegate:e.callback;t[s].call(t,n.type,r,o)}return i};function b(n,r,i){if(!(r=r||e.event))return;const o=n||r.target||e,s=o[H[r.type][i?d:h]];if(s){const e=[];if(1===s.length){const t=_(s[0],o,r);t&&e.push(t)}else{const t=s.slice();for(let n=0;n<t.length&&(!r||!0!==r[G]);n++){const i=_(t[n],o,r);i&&e.push(i)}}if(1===e.length)throw e[0];for(let n=0;n<e.length;n++){const r=e[n];t.nativeScheduleMicroTask((()=>{throw r}))}}}const w=function(e){return b(this,e,!1)},E=function(e){return b(this,e,!0)};function S(t,n){if(!t)return!1;let r=!0;n&&void 0!==n.useG&&(r=n.useG);const u=n&&n.vh;let c=!0;n&&void 0!==n.chkDup&&(c=n.chkDup);let _=!1;n&&void 0!==n.rt&&(_=n.rt);let b=t;for(;b&&!b.hasOwnProperty(i);)b=o(b);if(!b&&t[i]&&(b=t),!b)return!1;if(b[p])return!1;const S=n&&n.eventNameToString,x={},C=b[p]=b[i],T=b[v(s)]=b[s],k=b[v(a)]=b[a],I=b[v(l)]=b[l];let O;n&&n.prepend&&(O=b[v(n.prepend)]=b[n.prepend]);const M=function(e){return O.call(x.target,x.eventName,e.invoke,x.options)},A=r?function(e){if(!x.isExisting)return C.call(x.target,x.eventName,x.capture?E:w,x.options)}:function(e){return C.call(x.target,x.eventName,e.invoke,x.options)},N=r?function(e){if(!e.isRemoved){const t=H[e.eventName];let n;t&&(n=t[e.capture?d:h]);const r=n&&e.target[n];if(r)for(let t=0;t<r.length;t++){if(r[t]===e){r.splice(t,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}}if(e.allRemoved)return T.call(e.target,e.eventName,e.capture?E:w,e.options)}:function(e){return T.call(e.target,e.eventName,e.invoke,e.options)},P=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},R=Zone[v("UNPATCHED_EVENTS")],j=e[v("PASSIVE_EVENTS")],L=function(t,i,o,s,a=!1,l=!1){return function(){const p=this||e;let f=arguments[0];n&&n.transferEventName&&(f=n.transferEventName(f));let m=arguments[1];if(!m)return t.apply(this,arguments);if(D&&"uncaughtException"===f)return t.apply(this,arguments);let g=!1;if("function"!=typeof m){if(!m.handleEvent)return t.apply(this,arguments);g=!0}if(u&&!u(t,m,p,arguments))return;const v=B&&!!j&&-1!==j.indexOf(f),y=function(e,t){return!B&&"object"==typeof e&&e?!!e.capture:B&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}(arguments[2],v);if(R)for(let e=0;e<R.length;e++)if(f===R[e])return v?t.call(p,f,m,y):t.apply(this,arguments);const _=!!y&&("boolean"==typeof y||y.capture),b=!(!y||"object"!=typeof y)&&y.once,w=Zone.current;let E=H[f];E||(W(f,S),E=H[f]);const C=E[_?d:h];let T,k=p[C],I=!1;if(k){if(I=!0,c)for(let e=0;e<k.length;e++)if(P(k[e],m))return}else k=p[C]=[];const O=p.constructor.name,M=z[O];M&&(T=M[f]),T||(T=O+i+(S?S(f):f)),x.options=y,b&&(x.options.once=!1),x.target=p,x.capture=_,x.eventName=f,x.isExisting=I;const A=r?U:void 0;A&&(A.taskData=x);const N=w.scheduleEventTask(T,m,A,o,s);return x.target=null,A&&(A.taskData=null),b&&(y.once=!0),(B||"boolean"!=typeof N.options)&&(N.options=y),N.target=p,N.capture=_,N.eventName=f,g&&(N.originalDelegate=m),l?k.unshift(N):k.push(N),a?p:void 0}};return b[i]=L(C,m,A,N,_),O&&(b[g]=L(O,y,M,N,_,!0)),b[s]=function(){const t=this||e;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const i=arguments[2],o=!!i&&("boolean"==typeof i||i.capture),s=arguments[1];if(!s)return T.apply(this,arguments);if(u&&!u(T,s,t,arguments))return;const a=H[r];let c;a&&(c=a[o?d:h]);const l=c&&t[c];if(l)for(let e=0;e<l.length;e++){const n=l[e];
2if(P(n,s)){if(l.splice(e,1),n.isRemoved=!0,0===l.length&&(n.allRemoved=!0,t[c]=null,"string"==typeof r)){t[f+"ON_PROPERTY"+r]=null}return n.zone.cancelTask(n),_?t:void 0}}return T.apply(this,arguments)},b[a]=function(){const t=this||e;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const i=[],o=Z(t,S?S(r):r);for(let e=0;e<o.length;e++){const t=o[e];let n=t.originalDelegate?t.originalDelegate:t.callback;i.push(n)}return i},b[l]=function(){const t=this||e;let r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));const e=H[r];if(e){const n=e[h],i=e[d],o=t[n],a=t[i];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const n=e[t];let i=n.originalDelegate?n.originalDelegate:n.callback;this[s].call(this,r,i,n.options)}}if(a){const e=a.slice();for(let t=0;t<e.length;t++){const n=e[t];let i=n.originalDelegate?n.originalDelegate:n.callback;this[s].call(this,r,i,n.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t],r=q.exec(n);let i=r&&r[1];i&&"removeListener"!==i&&this[l].call(this,i)}this[l].call(this,"removeListener")}if(_)return this},F(b[i],C),F(b[s],T),I&&F(b[l],I),k&&F(b[a],k),!0}let x=[];for(let e=0;e<n.length;e++)x[e]=S(n[e],r);return x}function Z(e,t){if(!t){const n=[];for(let r in e){const i=q.exec(r);let o=i&&i[1];if(o&&(!t||o===t)){const t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=H[t];n||(W(t),n=H[t]);const r=e[n[h]],i=e[n[d]];return r?i?r.concat(i):r.slice():i?i.slice():[]}function K(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",(e=>function(t,n){t[G]=!0,e&&e.apply(t,n)}))}function J(e,t,n,r,i){const o=Zone.__symbol__(r);if(t[o])return;const s=t[o]=t[r];t[r]=function(o,a,u){return a&&a.prototype&&i.forEach((function(t){const i=`${n}.${r}::`+t,o=a.prototype;try{if(o.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(o,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,i),e._redefineProperty(a.prototype,t,n)):o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}else o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}catch(e){}})),s.call(t,o,a,u)},e.attachOriginToPatched(t[r],s)}function X(e,t,n){if(!n||0===n.length)return t;const r=n.filter((t=>t.target===e));if(!r||0===r.length)return t;const i=r[0].ignoreProperties;return t.filter((e=>-1===i.indexOf(e)))}function Q(e,t,n,r){if(!e)return;M(e,X(e,t,n),r)}function ee(e){return Object.getOwnPropertyNames(e).filter((e=>e.startsWith("on")&&e.length>2)).map((e=>e.substring(2)))}function te(e,t){if(D&&!T)return;if(Zone[e.symbol("patchEvents")])return;const n=t.__Zone_ignore_on_properties;let r=[];if(C){const e=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const t=$()?[{target:e,ignoreProperties:["error"]}]:[];Q(e,ee(e),n?n.concat(t):n,o(e))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let e=0;e<r.length;e++){const i=t[r[e]];i&&i.prototype&&Q(i.prototype,ee(i.prototype),n)}}Zone.__load_patch("util",((e,t,n)=>{const o=ee(e);n.patchOnProperties=M,n.patchMethod=P,n.bindArguments=E,n.patchMacroTask=R;const l=t.__symbol__("BLACK_LISTED_EVENTS"),p=t.__symbol__("UNPATCHED_EVENTS");e[p]&&(e[l]=e[p]),e[l]&&(t[l]=t[p]=e[l]),n.patchEventPrototype=K,n.patchEventTarget=Y,n.isIEOrEdge=V,n.ObjectDefineProperty=i,n.ObjectGetOwnPropertyDescriptor=r,n.ObjectCreate=s,n.ArraySlice=a,n.patchClass=N,n.wrapWithCurrentZone=m,n.filterProperties=X,n.attachOriginToPatched=F,n._redefineProperty=Object.defineProperty,n.patchCallbacks=J,n.getGlobalObjects=()=>({globalSources:z,zoneSymbolEventNames:H,eventNames:o,isBrowser:C,isMix:T,isNode:D,TRUE_STR:d,FALSE_STR:h,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:u,REMOVE_EVENT_LISTENER_STR:c})}));const ne=v("zoneTask");function re(e,t,n,r){let i=null,o=null;n+=r;const s={};function a(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=i.apply(e,n.args),t}function u(t){return o.call(e,t.data.handleId)}i=P(e,t+=r,(n=>function(i,o){if("function"==typeof o[0]){const e={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete s[e.handleId]:e.handleId&&(e.handleId[ne]=null))}};const i=g(t,o[0],e,a,u);
2if(!i)return i;const c=i.data.handleId;return"number"==typeof c?s[c]=i:c&&(c[ne]=i),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(i.ref=c.ref.bind(c),i.unref=c.unref.bind(c)),"number"==typeof c||c?c:i}return n.apply(e,o)})),o=P(e,n,(t=>function(n,r){const i=r[0];let o;"number"==typeof i?o=s[i]:(o=i&&i[ne],o||(o=i)),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete s[i]:i&&(i[ne]=null),o.zone.cancelTask(o)):t.apply(e,r)}))}function ie(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:o,ZONE_SYMBOL_PREFIX:s}=t.getGlobalObjects();for(let e=0;e<n.length;e++){const t=n[e],a=s+(t+o),u=s+(t+i);r[t]={},r[t][o]=a,r[t][i]=u}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,t,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",(e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()})),Zone.__load_patch("queueMicrotask",((e,t,n)=>{n.patchMethod(e,"queueMicrotask",(e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])}))})),Zone.__load_patch("timers",(e=>{const t="set",n="clear";re(e,t,n,"Timeout"),re(e,t,n,"Interval"),re(e,t,n,"Immediate")})),Zone.__load_patch("requestAnimationFrame",(e=>{re(e,"request","cancel","AnimationFrame"),re(e,"mozRequest","mozCancel","AnimationFrame"),re(e,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",((e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++){P(e,n[r],((n,r,i)=>function(r,o){return t.current.run(n,e,o,i)}))}})),Zone.__load_patch("EventTarget",((e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ie(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,n,[r.prototype])})),Zone.__load_patch("MutationObserver",((e,t,n)=>{N("MutationObserver"),N("WebKitMutationObserver")})),Zone.__load_patch("IntersectionObserver",((e,t,n)=>{N("IntersectionObserver")})),Zone.__load_patch("FileReader",((e,t,n)=>{N("FileReader")})),Zone.__load_patch("on_property",((e,t,n)=>{te(n,e)})),Zone.__load_patch("customElements",((e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();if(!n&&!r||!e.customElements||!("customElements"in e))return;t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)})),Zone.__load_patch("XHR",((e,t)=>{!function(e){const u=e.XMLHttpRequest;if(!u)return;const c=u.prototype;let d=c[l],h=c[p];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[l],h=e[p]}}const f="readystatechange",m="scheduled";function y(e){const r=e.data,s=r.target;s[o]=!1,s[a]=!1;const u=s[i];d||(d=s[l],h=s[p]),u&&h.call(s,f,u);const c=s[i]=()=>{if(s.readyState===s.DONE)if(!r.aborted&&s[o]&&e.state===m){const n=s[t.__symbol__("loadfalse")];if(0!==s.status&&n&&n.length>0){const i=e.invoke;e.invoke=function(){const n=s[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);r.aborted||e.state!==m||i.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==s[o]||(s[a]=!0)};d.call(s,f,c);return s[n]||(s[n]=e),x.apply(s,r.args),s[o]=!0,e}function _(){}function b(e){const t=e.data;return t.aborted=!0,D.apply(t.target,t.args)}const w=P(c,"open",(()=>function(e,t){return e[r]=0==t[2],e[s]=t[1],w.apply(e,t)})),E=v("fetchTaskAborting"),S=v("fetchTaskScheduling"),x=P(c,"send",(()=>function(e,n){if(!0===t.current[S])return x.apply(e,n);if(e[r])return x.apply(e,n);{const t={target:e,url:e[s],isPeriodic:!1,args:n,aborted:!1},r=g("XMLHttpRequest.send",_,t,y,b);e&&!0===e[a]&&!t.aborted&&r.state===m&&r.invoke()}})),D=P(c,"abort",(()=>function(e,r){const i=e[n];if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===t.current[E])return D.apply(e,r)}))}(e);const n=v("xhrTask"),r=v("xhrSync"),i=v("xhrListener"),o=v("xhrScheduled"),s=v("xhrURL"),a=v("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const n=e.constructor.name;for(let i=0;i<t.length;i++){const o=t[i],s=e[o];if(s){if(!S(r(e,o)))continue;e[o]=(e=>{const t=function(){return e.apply(this,E(arguments,n+"."+o))};return F(t,e),t})(s)}}}
2(e.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",((e,t)=>{function n(t){return function(n){Z(e,t).forEach((r=>{const i=e.PromiseRejectionEvent;if(i){const e=new i(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}}))}}e.PromiseRejectionEvent&&(t[v("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[v("rejectionHandledHandler")]=n("rejectionhandled"))}))},53533:function(e,t,n){"use strict";n.r(t),n.d(t,{APP_BASE_HREF:function(){return _},AsyncPipe:function(){return vt},BrowserPlatformLocation:function(){return d},CommonModule:function(){return Lt},CurrencyPipe:function(){return Nt},DATE_PIPE_DEFAULT_OPTIONS:function(){return St},DATE_PIPE_DEFAULT_TIMEZONE:function(){return Et},DOCUMENT:function(){return u},DatePipe:function(){return xt},DecimalPipe:function(){return Mt},FormStyle:function(){return k},FormatWidth:function(){return O},HashLocationStrategy:function(){return w},I18nPluralPipe:function(){return Ct},I18nSelectPipe:function(){return Tt},IMAGE_CONFIG:function(){return Pn},IMAGE_LOADER:function(){return rn},JsonPipe:function(){return kt},KeyValuePipe:function(){return It},LOCATION_INITIALIZED:function(){return p},Location:function(){return E},LocationStrategy:function(){return y},LowerCasePipe:function(){return yt},NgClass:function(){return Ye},NgComponentOutlet:function(){return Ze},NgFor:function(){return Qe},NgForOf:function(){return Qe},NgForOfContext:function(){return Xe},NgIf:function(){return tt},NgIfContext:function(){return nt},NgLocaleLocalization:function(){return He},NgLocalization:function(){return Be},NgOptimizedImage:function(){return Rn},NgPlural:function(){return ct},NgPluralCase:function(){return lt},NgStyle:function(){return pt},NgSwitch:function(){return ot},NgSwitchCase:function(){return st},NgSwitchDefault:function(){return at},NgTemplateOutlet:function(){return dt},NumberFormatStyle:function(){return C},NumberSymbol:function(){return M},PRECONNECT_CHECK_BLOCKLIST:function(){return bn},PathLocationStrategy:function(){return b},PercentPipe:function(){return At},PlatformLocation:function(){return c},Plural:function(){return T},SlicePipe:function(){return Ft},TitleCasePipe:function(){return bt},TranslationWidth:function(){return I},UpperCasePipe:function(){return wt},VERSION:function(){return Wt},ViewportScroller:function(){return Yt},WeekDay:function(){return A},XhrFactory:function(){return Xt},formatCurrency:function(){return Fe},formatDate:function(){return le},formatNumber:function(){return Le},formatPercent:function(){return je},getCurrencySymbol:function(){return te},getLocaleCurrencyCode:function(){return W},getLocaleCurrencyName:function(){return G},getLocaleCurrencySymbol:function(){return q},getLocaleDateFormat:function(){return V},getLocaleDateTimeFormat:function(){return U},getLocaleDayNames:function(){return R},getLocaleDayPeriods:function(){return P},getLocaleDirection:function(){return X},getLocaleEraNames:function(){return j},getLocaleExtraDayPeriodRules:function(){return K},getLocaleExtraDayPeriods:function(){return J},getLocaleFirstDayOfWeek:function(){return L},getLocaleId:function(){return N},getLocaleMonthNames:function(){return F},getLocaleNumberFormat:function(){return z},getLocaleNumberSymbol:function(){return H},getLocalePluralCase:function(){return Y},getLocaleTimeFormat:function(){return B},getLocaleWeekEndRange:function(){return $},getNumberOfCurrencyDigits:function(){return re},isPlatformBrowser:function(){return Ht},isPlatformServer:function(){return zt},isPlatformWorkerApp:function(){return qt},isPlatformWorkerUi:function(){return Gt},provideCloudflareLoader:function(){return sn},provideCloudinaryLoader:function(){return cn},provideImageKitLoader:function(){return dn},provideImgixLoader:function(){return mn},registerLocaleData:function(){return ze},"ɵDomAdapter":function(){return a},"ɵNullViewportScroller":function(){return Jt},"ɵPLATFORM_BROWSER_ID":function(){return $t},"ɵPLATFORM_SERVER_ID":function(){return Vt},"ɵPLATFORM_WORKER_APP_ID":function(){return Bt},"ɵPLATFORM_WORKER_UI_ID":function(){return Ut},"ɵgetDOM":function(){return o},"ɵparseCookieValue":function(){return qe},"ɵsetRootDomAdapter":function(){return s}});var r=n(20831);let i=null;function o(){return i}function s(e){i||(i=e)}class a{}const u=new r.InjectionToken("DocumentToken");class c{historyGo(e){throw new Error("Not implemented")}}function l(){return(0,r["ɵɵinject"])(d)}
2c.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:c,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),c.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:c,providedIn:"platform",useFactory:l}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:c,decorators:[{type:r.Injectable,args:[{providedIn:"platform",useFactory:l}]}]});const p=new r.InjectionToken("Location Initialized");class d extends c{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){const t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,n){h()?this._history.pushState(e,t,n):this._location.hash=n}replaceState(e,t,n){h()?this._history.replaceState(e,t,n):this._location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function h(){return!!window.history.pushState}function f(){return new d((0,r["ɵɵinject"])(u))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function v(e){return e&&"?"!==e[0]?"?"+e:e}d.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:d,deps:[{token:u}],target:r["ɵɵFactoryTarget"].Injectable}),d.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:d,providedIn:"platform",useFactory:f}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:d,decorators:[{type:r.Injectable,args:[{providedIn:"platform",useFactory:f}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[u]}]}]}});class y{historyGo(e){throw new Error("Not implemented")}}y.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:y,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),y.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:y,providedIn:"root",useFactory:()=>(0,r.inject)(b)}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:y,decorators:[{type:r.Injectable,args:[{providedIn:"root",useFactory:()=>(0,r.inject)(b)}]}]});const _=new r.InjectionToken("appBaseHref");class b extends y{constructor(e,t){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??(0,r.inject)(u).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}
2b.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:b,deps:[{token:c},{token:_,optional:!0}],target:r["ɵɵFactoryTarget"].Injectable}),b.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:b,providedIn:"root"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:b,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[{type:c},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_]}]}]}});class w extends y{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}w.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:w,deps:[{token:c},{token:_,optional:!0}],target:r["ɵɵFactoryTarget"].Injectable}),w.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:w}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:w,decorators:[{type:r.Injectable}],ctorParameters:function(){return[{type:c},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_]}]}]}});class E{constructor(e){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function(e){const t=new RegExp("^(https?:)?//").test(e);if(t){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(g(x(t))),this._locationStrategy.onPopState((e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+v(t))}normalize(e){return E.stripTrailingSlash(function(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);if(""===n||["/",";","?","#"].includes(n[0]))return n;return t}(this._basePath,x(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._locationStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}replaceState(e,t="",n=null){this._locationStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((e=>{this._notifyUrlChangeListeners(e.url,e.state)}))),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach((n=>n(e,t)))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}function S(){return new E((0,r["ɵɵinject"])(y))}function x(e){return e.replace(/\/index.html$/,"")}E.normalizeQueryParams=v,E.joinWithSlash=m,E.stripTrailingSlash=g,E.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",ver
2sion:"15.2.10",ngImport:r,type:E,deps:[{token:y}],target:r["ɵɵFactoryTarget"].Injectable}),E.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:E,providedIn:"root",useFactory:S}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:E,decorators:[{type:r.Injectable,args:[{providedIn:"root",useFactory:S}]}],ctorParameters:function(){return[{type:y}]}});const D={ADP:[void 0,void 0,0],AFN:[void 0,"؋",0],ALL:[void 0,void 0,0],AMD:[void 0,"֏",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"₼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GHS:[void 0,"GH₵"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var C,T,k,I,O,M,A;function N(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].LocaleId]}function P(e,t,n){const i=(0,r["ɵfindLocaleData"])(e),o=Q([i[r["ɵLocaleDataIndex"].DayPeriodsFormat],i[r["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return Q(o,n)}function R(e,t,n){const i=(0,r["ɵfindLocaleData"])(e),o=Q([i[r["ɵLocaleDataIndex"].DaysFormat],i[r["ɵLocaleDataIndex"].DaysStandalone]],t);return Q(o,n)}function F(e,t,n){const i=(0,r["ɵfindLocaleData"])(e),o=Q([i[r["ɵLocaleDataIndex"].MonthsFormat],i[r["ɵLocaleDataIndex"].MonthsStandalone]],t);return Q(o,n)}function j(e,t){return Q((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Eras],t)}function L(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].FirstDayOfWeek]}function $(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].WeekendRange]}function V(e,t){return Q((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateFormat],t)}function B(e,t){return Q((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].TimeFormat],t)}function U(e,t){return Q((0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateTimeFormat],t)}function H(e,t){const n=(0,r["ɵfindLocaleData"])(e),i=n[r["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===i){if(t===M.CurrencyDecimal)return n[r["ɵLocaleDataIndex"].NumberSymbols][M.Decimal];if(t===M.CurrencyGroup)return n[r["ɵLocaleDataIndex"].NumberSymbols][M.Group]}return i}function z(e,t){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].NumberFormats][t]}function q(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencySymbol]||null}function G(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencyName]||null}function W(e){return(0,r["ɵgetLocaleCurrencyCode"])(e)}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(C||(C={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(T||(T={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(k||(k={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(I||(I={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(O||(O={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(M||(M={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(A||(A={}));const Y=r["ɵgetLocalePluralCase"];function Z(e){if(!e[r["ɵLocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["ɵLocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function K(e){const t=(0,r["ɵfindLocaleData"])(e);Z(t);return(t[r["ɵLocaleDataIndex"].ExtraData][2]||[]).map((e=>"string"==typeof e?ee(e):[ee(e[0]),ee(e[1])]))}function J(e,t,n){const i=(0,r["ɵfindLocaleData"])(e);Z(i);const o=Q([i[r["ɵLocaleDataIndex"].ExtraData][0],i[r["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return Q(o,n)||[]}function X(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Directionality]}function Q(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function ee(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function te(e,t,n="en"){const i=function(e){return(0,r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Currencies]}(n)[e]||D[e]||[],o=i[1];return"narrow"===t&&"string"==typeof o?o:i[0]||e}const ne=2;function re(e){let t;const n=D[e];return n&&(t=n[2]),"number"==typeof t?t:ne}const ie=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,oe={},se=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ae,ue,ce;function le(e,t,n,r){let i=function(e){if(De(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map((e=>+e));return pe(t,n-1,r)}const t=parseFloat(e);
vendor: 6,220 bytes, line 2
2if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(ie))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,u,c),t}(n)}const t=new Date(e);if(!De(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=de(n,t)||t;let o,s=[];for(;t;){if(o=se.exec(t),!o){s.push(t);break}{s=s.concat(o.slice(1));const e=s.pop();if(!e)break;t=e}}let a=i.getTimezoneOffset();r&&(a=xe(r,a),i=function(e,t,n){const r=n?-1:1,i=e.getTimezoneOffset(),o=xe(t,i);return function(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}(e,r*(o-i))}(i,r,!0));let u="";return s.forEach((e=>{const t=function(e){if(Se[e])return Se[e];let t;switch(e){case"G":case"GG":case"GGG":t=ge(ce.Eras,I.Abbreviated);break;case"GGGG":t=ge(ce.Eras,I.Wide);break;case"GGGGG":t=ge(ce.Eras,I.Narrow);break;case"y":t=me(ue.FullYear,1,0,!1,!0);break;case"yy":t=me(ue.FullYear,2,0,!0,!0);break;case"yyy":t=me(ue.FullYear,3,0,!1,!0);break;case"yyyy":t=me(ue.FullYear,4,0,!1,!0);break;case"Y":t=Ee(1);break;case"YY":t=Ee(2,!0);break;case"YYY":t=Ee(3);break;case"YYYY":t=Ee(4);break;case"M":case"L":t=me(ue.Month,1,1);break;case"MM":case"LL":t=me(ue.Month,2,1);break;case"MMM":t=ge(ce.Months,I.Abbreviated);break;case"MMMM":t=ge(ce.Months,I.Wide);break;case"MMMMM":t=ge(ce.Months,I.Narrow);break;case"LLL":t=ge(ce.Months,I.Abbreviated,k.Standalone);break;case"LLLL":t=ge(ce.Months,I.Wide,k.Standalone);break;case"LLLLL":t=ge(ce.Months,I.Narrow,k.Standalone);break;case"w":t=we(1);break;case"ww":t=we(2);break;case"W":t=we(1,!0);break;case"d":t=me(ue.Date,1);break;case"dd":t=me(ue.Date,2);break;case"c":case"cc":t=me(ue.Day,1);break;case"ccc":t=ge(ce.Days,I.Abbreviated,k.Standalone);break;case"cccc":t=ge(ce.Days,I.Wide,k.Standalone);break;case"ccccc":t=ge(ce.Days,I.Narrow,k.Standalone);break;case"cccccc":t=ge(ce.Days,I.Short,k.Standalone);break;case"E":case"EE":case"EEE":t=ge(ce.Days,I.Abbreviated);break;case"EEEE":t=ge(ce.Days,I.Wide);break;case"EEEEE":t=ge(ce.Days,I.Narrow);break;case"EEEEEE":t=ge(ce.Days,I.Short);break;case"a":case"aa":case"aaa":t=ge(ce.DayPeriods,I.Abbreviated);break;case"aaaa":t=ge(ce.DayPeriods,I.Wide);break;case"aaaaa":t=ge(ce.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":t=ge(ce.DayPeriods,I.Abbreviated,k.Standalone,!0);break;case"bbbb":t=ge(ce.DayPeriods,I.Wide,k.Standalone,!0);break;case"bbbbb":t=ge(ce.DayPeriods,I.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":t=ge(ce.DayPeriods,I.Abbreviated,k.Format,!0);break;case"BBBB":t=ge(ce.DayPeriods,I.Wide,k.Format,!0);break;case"BBBBB":t=ge(ce.DayPeriods,I.Narrow,k.Format,!0);break;case"h":t=me(ue.Hours,1,-12);break;case"hh":t=me(ue.Hours,2,-12);break;case"H":t=me(ue.Hours,1);break;case"HH":t=me(ue.Hours,2);break;case"m":t=me(ue.Minutes,1);break;case"mm":t=me(ue.Minutes,2);break;case"s":t=me(ue.Seconds,1);break;case"ss":t=me(ue.Seconds,2);break;case"S":t=me(ue.FractionalSeconds,1);break;case"SS":t=me(ue.FractionalSeconds,2);break;case"SSS":t=me(ue.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ve(ae.Short);break;case"ZZZZZ":t=ve(ae.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ve(ae.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ve(ae.Long);break;default:return null}return Se[e]=t,t}(e);u+=t?t(i,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function pe(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function de(e,t){const n=N(e);if(oe[n]=oe[n]||{},oe[n][t])return oe[n][t];let r="";switch(t){case"shortDate":r=V(e,O.Short);break;case"mediumDate":r=V(e,O.Medium);break;case"longDate":r=V(e,O.Long);break;case"fullDate":r=V(e,O.Full);break;case"shortTime":r=B(e,O.Short);break;case"mediumTime":r=B(e,O.Medium);break;case"longTime":r=B(e,O.Long);break;case"fullTime":r=B(e,O.Full);break;case"short":const t=de(e,"shortTime"),n=de(e,"shortDate");r=he(U(e,O.Short),[t,n]);break;case"medium":const i=de(e,"mediumTime"),o=de(e,"mediumDate");r=he(U(e,O.Medium),[i,o]);break;case"long":const s=de(e,"longTime"),a=de(e,"longDate");r=he(U(e,O.Long),[s,a]);break;case"full":const u=de(e,"fullTime"),c=de(e,"fullDate");r=he(U(e,O.Full),[u,c])}return r&&(oe[n][t]=r),r}function he(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function fe(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),o+s}function me(e,t,n=0,r=!1,i=!1){return function(o,s){let a=function(e,t){switch(e){case ue.FullYear:return t.getFullYear();case ue.Month:return t.getMonth();case ue.Date:return t.getDate();case ue.Hours:return t.getHours();case ue.Minutes:return t.getMinutes();case ue.Seconds:return t.getSeconds();case ue.FractionalSeconds:return t.getMilliseconds();case ue.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===ue.Hours)0===a&&-12===n&&(a=12);else if(e===ue.FractionalSeconds)return u=t,fe(a,3).substring(0,u);var u;const c=H(s,M.MinusSign);return fe(a,t,c,r,i)}}function ge(e,t,n=k.Format,r=!1){return function(i,o){return function(e,t,n,r,i,o){switch(n){case ce.Months:return F(t,i,r)[e.getMonth()];case ce.Days:return R(t,i,r)[e.getDay()];case ce.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(o){const e=K(t),n=J(t,i,r),o=e.findIndex((e=>{if(Array.isArray(e)){const[t,n]=e,r=s>=t.hours&&a>=t.minutes,i=s<n.hours||s===n.hours&&a<n.minutes;if(t.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(e.hours===s&&e.minutes===a)return!0;return!1}));if(-1!==o)return n[o]}return P(t,i,r)[s<12?0:1];case ce.Eras:return j(t,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,e,t,n,r)}}function ve(e){return function(t,n,r){const i=-1*r,o=H(n,M.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case ae.Short:return(i>=0?"+":"")+fe(s,2,o)+fe(Math.abs(i%60),2,o);case ae.ShortGMT:return"GMT"+(i>
2=0?"+":"")+fe(s,1,o);case ae.Long:return"GMT"+(i>=0?"+":"")+fe(s,2,o)+":"+fe(Math.abs(i%60),2,o);case ae.Extended:return 0===r?"Z":(i>=0?"+":"")+fe(s,2,o)+":"+fe(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(ae||(ae={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(ue||(ue={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(ce||(ce={}));const ye=0,_e=4;function be(e){return pe(e.getFullYear(),e.getMonth(),e.getDate()+(_e-e.getDay()))}function we(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=be(n),t=function(e){const t=pe(e,ye,1).getDay();return pe(e,0,1+(t<=_e?_e:_e+7)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return fe(i,e,H(r,M.MinusSign))}}function Ee(e,t=!1){return function(n,r){return fe(be(n).getFullYear(),e,H(r,M.MinusSign),t)}}const Se={};function xe(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function De(e){return e instanceof Date&&!isNaN(e.valueOf())}const Ce=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Te=22,ke=".",Ie="0",Oe=";",Me=",",Ae="#",Ne="¤",Pe="%";function Re(e,t,n,r,i,o,s=!1){let a="",u=!1;if(isFinite(e)){let c=function(e){let t,n,r,i,o,s=Math.abs(e)+"",a=0;(n=s.indexOf(ke))>-1&&(s=s.replace(ke,""));(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length);for(r=0;s.charAt(r)===Ie;r++);if(r===(o=s.length))t=[0],n=1;else{for(o--;s.charAt(o)===Ie;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(s.charAt(r))}n>Te&&(t=t.splice(0,Te-1),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);s&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let l=t.minInt,p=t.minFrac,d=t.maxFrac;if(o){const e=o.match(Ce);if(null===e)throw new Error(`${o} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(l=Ve(t)),null!=n&&(p=Ve(n)),null!=r?d=Ve(r):null!=n&&p>d&&(d=p)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(t,i),n);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let e=s;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let e=1;e<s;e++)r[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let u=0!==o;const c=t+e.integerLen,l=r.reduceRight((function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,u&&(0===r[n]&&n>=c?r.pop():u=!1),t>=10?1:0}),0);l&&(r.unshift(l),e.integerLen++)}(c,p,d);let h=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(u=h.every((e=>!e));f<l;f++)h.unshift(0);for(;f<0;f++)h.unshift(0);f>0?g=h.splice(f,h.length):(g=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(H(n,r)),g.length&&(a+=H(n,i)+g.join("")),m&&(a+=H(n,M.Exponential)+"+"+m)}else a=H(n,M.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Fe(e,t,n,r,i){const o=$e(z(t,C.Currency),H(t,M.MinusSign));o.minFrac=re(r),o.maxFrac=o.minFrac;return Re(e,o,t,M.CurrencyGroup,M.CurrencyDecimal,i).replace(Ne,n).replace(Ne,"").trim()}function je(e,t,n){return Re(e,$e(z(t,C.Percent),H(t,M.MinusSign)),t,M.Group,M.Decimal,n,!0).replace(new RegExp(Pe,"g"),H(t,M.PercentSign))}function Le(e,t,n){return Re(e,$e(z(t,C.Decimal),H(t,M.MinusSign)),t,M.Group,M.Decimal,n)}function $e(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Oe),i=r[0],o=r[1],s=-1!==i.indexOf(ke)?i.split(ke):[i.substring(0,i.lastIndexOf(Ie)+1),i.substring(i.lastIndexOf(Ie)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Ae));for(let e=0;e<u.length;e++){const t=u.charAt(e);t===Ie?n.minFrac=n.maxFrac=e+1:t===Ae?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(Me);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const e=i.length-n.posPre.length-n.posSuf.length,t=o.indexOf(Ae);n.negPre=o.substring(0,t).replace(/'/g,""),n.negSuf=o.slice(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Ve(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class Be{}function Ue(e,t,n,r){let i=`=${e}`;if(t.indexOf(i)>-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}
2Be.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Be,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),Be.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Be,providedIn:"root",useFactory:e=>new He(e),deps:[{token:r.LOCALE_ID}]}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Be,decorators:[{type:r.Injectable,args:[{providedIn:"root",useFactory:e=>new He(e),deps:[r.LOCALE_ID]}]}]});class He extends Be{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(Y(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}function ze(e,t,n){return(0,r["ɵregisterLocaleData"])(e,t,n)}function qe(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}He.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:He,deps:[{token:r.LOCALE_ID}],target:r["ɵɵFactoryTarget"].Injectable}),He.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:He}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:He,decorators:[{type:r.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}});const Ge=/\s+/,We=[];class Ye{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this.initialClasses=We,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Ge):We}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Ge):e}ngDoCheck(){for(const e of this.initialClasses)this._updateState(e,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,Boolean(e[t]));this._applyStateDiff()}_updateState(e,t){const n=this.stateMap.get(e);void 0!==n?(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){if(ngDevMode&&"string"!=typeof e)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r["ɵstringify"])(e)}`);(e=e.trim()).length>0&&e.split(Ge).forEach((e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)}))}}Ye.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ye,deps:[{token:r.IterableDiffers},{token:r.KeyValueDiffers},{token:r.ElementRef},{token:r.Renderer2}],target:r["ɵɵFactoryTarget"].Directive}),Ye.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Ye,isStandalone:!0,selector:"[ngClass]",inputs:{klass:["class","klass"],ngClass:"ngClass"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ye,decorators:[{type:r.Directive,args:[{selector:"[ngClass]",standalone:!0}]}],ctorParameters:function(){return[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}]},propDecorators:{klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]}});class Ze{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null}ngOnChanges(e){const{_viewContainerRef:t,ngComponentOutletNgModule:n,ngComponentOutletNgModuleFactory:i}=this;if(t.clear(),this._componentRef=void 0,this.ngComponentOutlet){const o=this.ngComponentOutletInjector||t.parentInjector;(e.ngComponentOutletNgModule||e.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=n?(0,r.createNgModule)(n,Ke(o)):i?i.create(Ke(o)):void 0),this._componentRef=t.createComponent(this.ngComponentOutlet,{index:t.length,injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}function Ke(e){return e.get(r.NgModuleRef).injector}
2Ze.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ze,deps:[{token:r.ViewContainerRef}],target:r["ɵɵFactoryTarget"].Directive}),Ze.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Ze,isStandalone:!0,selector:"[ngComponentOutlet]",inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ze,decorators:[{type:r.Directive,args:[{selector:"[ngComponentOutlet]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef}]},propDecorators:{ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModule:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]}});const Je="undefined"==typeof ngDevMode||!!ngDevMode;class Xe{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Qe{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Je&&null!=e&&"function"!=typeof e&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;if(!this._differ&&t)if(Je)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch{let n=`Cannot find a differ supporting object '${t}' of type '${e=t,e.name||typeof e}'. NgFor only supports binding to Iterables, such as Arrays.`;throw"object"==typeof t&&(n+=" Did you mean to use the keyvalue pipe?"),new r["ɵRuntimeError"](-2200,n)}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation(((e,n,r)=>{if(null==e.previousIndex)t.createEmbeddedView(this._template,new Xe(e.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)t.remove(null===n?void 0:n);else if(null!==n){const i=t.get(n);t.move(i,r),et(i,e)}}));for(let e=0,n=t.length;e<n;e++){const r=t.get(e).context;r.index=e,r.count=n,r.ngForOf=this._ngForOf}e.forEachIdentityChange((e=>{et(t.get(e.currentIndex),e)}))}static ngTemplateContextGuard(e,t){return!0}}function et(e,t){e.context.$implicit=t.item}Qe.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Qe,deps:[{token:r.ViewContainerRef},{token:r.TemplateRef},{token:r.IterableDiffers}],target:r["ɵɵFactoryTarget"].Directive}),Qe.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Qe,isStandalone:!0,selector:"[ngFor][ngForOf]",inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Qe,decorators:[{type:r.Directive,args:[{selector:"[ngFor][ngForOf]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}]},propDecorators:{ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]}});class tt{constructor(e,t){this._viewContainer=e,this._context=new nt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){rt("ngIfThen",e),this._thenTemplateRef=e,this._thenView
2Ref=null,this._updateView()}set ngIfElse(e){rt("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}tt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:tt,deps:[{token:r.ViewContainerRef},{token:r.TemplateRef}],target:r["ɵɵFactoryTarget"].Directive}),tt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:tt,isStandalone:!0,selector:"[ngIf]",inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:tt,decorators:[{type:r.Directive,args:[{selector:"[ngIf]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef}]},propDecorators:{ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]}});class nt{constructor(){this.$implicit=null,this.ngIf=null}}function rt(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${(0,r["ɵstringify"])(t)}'.`)}class it{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}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()}}class ot{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}}ot.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ot,deps:[],target:r["ɵɵFactoryTarget"].Directive}),ot.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:ot,isStandalone:!0,selector:"[ngSwitch]",inputs:{ngSwitch:"ngSwitch"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ot,decorators:[{type:r.Directive,args:[{selector:"[ngSwitch]",standalone:!0}]}],propDecorators:{ngSwitch:[{type:r.Input}]}});class st{constructor(e,t,n){this.ngSwitch=n,"undefined"!=typeof ngDevMode&&!ngDevMode||n||ut("ngSwitchCase","NgSwitchCase"),n._addCase(),this._view=new it(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}st.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:st,deps:[{token:r.ViewContainerRef},{token:r.TemplateRef},{token:ot,host:!0,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),st.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:st,isStandalone:!0,selector:"[ngSwitchCase]",inputs:{ngSwitchCase:"ngSwitchCase"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:st,decorators:[{type:r.Directive,args:[{selector:"[ngSwitchCase]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:ot,decorators:[{type:r.Optional},{type:r.Host}]}]},propDecorators:{ngSwitchCase:[{type:r.Input}]}});class at{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||ut("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new it(e,t))}}function ut(e,t){throw new r["ɵRuntimeError"](2e3,`An element with the "${e}" attribute (matching the "${t}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}
2at.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:at,deps:[{token:r.ViewContainerRef},{token:r.TemplateRef},{token:ot,host:!0,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),at.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:at,isStandalone:!0,selector:"[ngSwitchDefault]",ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:at,decorators:[{type:r.Directive,args:[{selector:"[ngSwitchDefault]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:ot,decorators:[{type:r.Optional},{type:r.Host}]}]}});class ct{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const t=Ue(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}ct.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ct,deps:[{token:Be}],target:r["ɵɵFactoryTarget"].Directive}),ct.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:ct,isStandalone:!0,selector:"[ngPlural]",inputs:{ngPlural:"ngPlural"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ct,decorators:[{type:r.Directive,args:[{selector:"[ngPlural]",standalone:!0}]}],ctorParameters:function(){return[{type:Be}]},propDecorators:{ngPlural:[{type:r.Input}]}});class lt{constructor(e,t,n,r){this.value=e;const i=!isNaN(Number(e));r.addCase(i?`=${e}`:e,new it(n,t))}}lt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:lt,deps:[{token:"ngPluralCase",attribute:!0},{token:r.TemplateRef},{token:r.ViewContainerRef},{token:ct,host:!0}],target:r["ɵɵFactoryTarget"].Directive}),lt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:lt,isStandalone:!0,selector:"[ngPluralCase]",ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:lt,decorators:[{type:r.Directive,args:[{selector:"[ngPluralCase]",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:ct,decorators:[{type:r.Host}]}]}});class pt{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split("."),o=-1===n.indexOf("-")?void 0:r.RendererStyleFlags2.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,n,i?`${t}${i}`:t,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o)}_applyChanges(e){e.forEachRemovedItem((e=>this._setStyle(e.key,null))),e.forEachAddedItem((e=>this._setStyle(e.key,e.currentValue))),e.forEachChangedItem((e=>this._setStyle(e.key,e.currentValue)))}}pt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:pt,deps:[{token:r.ElementRef},{token:r.KeyValueDiffers},{token:r.Renderer2}],target:r["ɵɵFactoryTarget"].Directive}),pt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:pt,isStandalone:!0,selector:"[ngStyle]",inputs:{ngStyle:"ngStyle"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:pt,decorators:[{type:r.Directive,args:[{selector:"[ngStyle]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}]},propDecorators:{ngStyle:[{type:r.Input,args:["ngStyle"]}]}});class dt{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:t,ngTemplateOutletContext:n,ngTemplateOutletInjector:r}=this;this._viewRef=e.createEmbeddedView(t,n,r?{injector:r}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}
2dt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:dt,deps:[{token:r.ViewContainerRef}],target:r["ɵɵFactoryTarget"].Directive}),dt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:dt,isStandalone:!0,selector:"[ngTemplateOutlet]",inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:dt,decorators:[{type:r.Directive,args:[{selector:"[ngTemplateOutlet]",standalone:!0}]}],ctorParameters:function(){return[{type:r.ViewContainerRef}]},propDecorators:{ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}],ngTemplateOutletInjector:[{type:r.Input}]}});const ht=[Ye,Ze,Qe,tt,dt,pt,ot,st,at,ct,lt];function ft(e,t){return new r["ɵRuntimeError"](2100,ngDevMode&&`InvalidPipeArgument: '${t}' for pipe '${(0,r["ɵstringify"])(e)}'`)}const mt=new class{createSubscription(e,t){return e.then(t,(e=>{throw e}))}dispose(e){}},gt=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}};class vt{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(t=>this._updateLatestValue(e,t)))}_selectStrategy(e){if((0,r["ɵisPromise"])(e))return mt;if((0,r["ɵisSubscribable"])(e))return gt;throw ft(vt,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}vt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:vt,deps:[{token:r.ChangeDetectorRef}],target:r["ɵɵFactoryTarget"].Pipe}),vt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:vt,isStandalone:!0,name:"async",pure:!1}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:vt,decorators:[{type:r.Pipe,args:[{name:"async",pure:!1,standalone:!0}]}],ctorParameters:function(){return[{type:r.ChangeDetectorRef}]}});class yt{transform(e){if(null==e)return null;if("string"!=typeof e)throw ft(yt,e);return e.toLowerCase()}}yt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yt,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),yt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:yt,isStandalone:!0,name:"lowercase"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yt,decorators:[{type:r.Pipe,args:[{name:"lowercase",standalone:!0}]}]});const _t=/(?:[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
20EB3\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;class bt{transform(e){if(null==e)return null;if("string"!=typeof e)throw ft(bt,e);return e.replace(_t,(e=>e[0].toUpperCase()+e.slice(1).toLowerCase()))}}
2bt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:bt,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),bt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:bt,isStandalone:!0,name:"titlecase"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:bt,decorators:[{type:r.Pipe,args:[{name:"titlecase",standalone:!0}]}]});class wt{transform(e){if(null==e)return null;if("string"!=typeof e)throw ft(wt,e);return e.toUpperCase()}}wt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wt,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),wt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:wt,isStandalone:!0,name:"uppercase"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wt,decorators:[{type:r.Pipe,args:[{name:"uppercase",standalone:!0}]}]});const Et=new r.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),St=new r.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");class xt{constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,r){if(null==e||""===e||e!=e)return null;try{const i=t??this.defaultOptions?.dateFormat??"mediumDate",o=n??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return le(e,i,r||this.locale,o)}catch(e){throw ft(xt,e.message)}}}xt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:xt,deps:[{token:r.LOCALE_ID},{token:Et,optional:!0},{token:St,optional:!0}],target:r["ɵɵFactoryTarget"].Pipe}),xt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:xt,isStandalone:!0,name:"date"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:xt,decorators:[{type:r.Pipe,args:[{name:"date",pure:!0,standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:void 0,decorators:[{type:r.Inject,args:[Et]},{type:r.Optional}]},{type:void 0,decorators:[{type:r.Inject,args:[St]},{type:r.Optional}]}]}});const Dt=/#/g;class Ct{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw ft(Ct,t);return t[Ue(e,Object.keys(t),this._localization,n)].replace(Dt,e.toString())}}Ct.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ct,deps:[{token:Be}],target:r["ɵɵFactoryTarget"].Pipe}),Ct.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Ct,isStandalone:!0,name:"i18nPlural"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ct,decorators:[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0,standalone:!0}]}],ctorParameters:function(){return[{type:Be}]}});class Tt{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw ft(Tt,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}Tt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Tt,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),Tt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Tt,isStandalone:!0,name:"i18nSelect"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Tt,decorators:[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0,standalone:!0}]}]});class kt{transform(e){return JSON.stringify(e,null,2)}}kt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:kt,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),kt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:kt,isStandalone:!0,name:"json",pure:!1}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:kt,decorators:[{type:r.Pipe,args:[{name:"json",pure:!1,standalone:!0}]}]});class It{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=Ot}transform(e,t=Ot){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e),r=t!==this.compareFn;
2return n&&(this.keyValues=[],n.forEachItem((e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))}))),(n||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function Ot(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),o=String(r);return i==o?0:i<o?-1:1}It.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:It,deps:[{token:r.KeyValueDiffers}],target:r["ɵɵFactoryTarget"].Pipe}),It.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:It,isStandalone:!0,name:"keyvalue",pure:!1}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:It,decorators:[{type:r.Pipe,args:[{name:"keyvalue",pure:!1,standalone:!0}]}],ctorParameters:function(){return[{type:r.KeyValueDiffers}]}});class Mt{constructor(e){this._locale=e}transform(e,t,n){if(!Pt(e))return null;n=n||this._locale;try{return Le(Rt(e),n,t)}catch(e){throw ft(Mt,e.message)}}}Mt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Mt,deps:[{token:r.LOCALE_ID}],target:r["ɵɵFactoryTarget"].Pipe}),Mt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Mt,isStandalone:!0,name:"number"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Mt,decorators:[{type:r.Pipe,args:[{name:"number",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}});class At{constructor(e){this._locale=e}transform(e,t,n){if(!Pt(e))return null;n=n||this._locale;try{return je(Rt(e),n,t)}catch(e){throw ft(At,e.message)}}}At.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:At,deps:[{token:r.LOCALE_ID}],target:r["ɵɵFactoryTarget"].Pipe}),At.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:At,isStandalone:!0,name:"percent"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:At,decorators:[{type:r.Pipe,args:[{name:"percent",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}});class Nt{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",r,i){if(!Pt(e))return null;i=i||this._locale,"boolean"==typeof n&&(("undefined"==typeof ngDevMode||ngDevMode)&&console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");let o=t||this._defaultCurrencyCode;"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?te(o,"symbol"===n?"wide":"narrow",i):n);try{return Fe(Rt(e),i,o,t,r)}catch(e){throw ft(Nt,e.message)}}}function Pt(e){return!(null==e||""===e||e!=e)}function Rt(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}Nt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Nt,deps:[{token:r.LOCALE_ID},{token:r.DEFAULT_CURRENCY_CODE}],target:r["ɵɵFactoryTarget"].Pipe}),Nt.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Nt,isStandalone:!0,name:"currency"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Nt,decorators:[{type:r.Pipe,args:[{name:"currency",standalone:!0}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:void 0,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}]}});class Ft{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw ft(Ft,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}
2Ft.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ft,deps:[],target:r["ɵɵFactoryTarget"].Pipe}),Ft.ɵpipe=r["ɵɵngDeclarePipe"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Ft,isStandalone:!0,name:"slice",pure:!1}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ft,decorators:[{type:r.Pipe,args:[{name:"slice",pure:!1,standalone:!0}]}]});const jt=[vt,wt,yt,kt,Ft,Mt,At,bt,Nt,xt,Ct,Tt,It];class Lt{}Lt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Lt,deps:[],target:r["ɵɵFactoryTarget"].NgModule}),Lt.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:Lt,imports:[Ye,Ze,Qe,tt,dt,pt,ot,st,at,ct,lt,vt,wt,yt,kt,Ft,Mt,At,bt,Nt,xt,Ct,Tt,It],exports:[Ye,Ze,Qe,tt,dt,pt,ot,st,at,ct,lt,vt,wt,yt,kt,Ft,Mt,At,bt,Nt,xt,Ct,Tt,It]}),Lt.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Lt}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Lt,decorators:[{type:r.NgModule,args:[{imports:[ht,jt],exports:[ht,jt]}]}]});const $t="browser",Vt="server",Bt="browserWorkerApp",Ut="browserWorkerUi";function Ht(e){return e===$t}function zt(e){return e===Vt}function qt(e){return e===Bt}function Gt(e){return e===Ut}const Wt=new r.Version("15.2.10");class Yt{}Yt.ɵprov=(0,r["ɵɵdefineInjectable"])({token:Yt,providedIn:"root",factory:()=>new Zt((0,r["ɵɵinject"])(u),window)});class Zt{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Kt(this.window.history)||Kt(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Kt(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Jt{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class Xt{}function Qt(e,t){return en(e)?new URL(e):new URL(e,t.location.href)}function en(e){return/^https?:\/\//.test(e)}function tn(e){return en(e)?new URL(e).hostname:e}const nn=e=>e.src,rn=new r.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>nn});function on(e,t){return function(n){(function(e){if("string"!=typeof e||""===e.trim())return!1;try{return new URL(e),!0}catch{return!1}})(n)||function(e,t){throw new r["ɵRuntimeError"](2959,ngDevMode&&`Image loader has detected an invalid path (\`${e}\`). To fix this, supply a path using one of the following formats: ${t.join(" or ")}`)}(n,t||[]),n=function(e){return e.endsWith("/")?e.slice(0,-1):e}(n);return[{provide:rn,useValue:t=>{return en(t.src)&&function(e,t){throw new r["ɵRuntimeError"](2959,ngDevMode&&`Image loader has detected a \`<img>\` tag with an invalid \`ngSrc\` attribute: ${t}. This image loader expects \`ngSrc\` to be a relative URL - however the provided value is an absolute URL. To fix this, provide \`ngSrc\` as a path relative to the base URL configured for this loader (\`${e}\`).`)}(n,t.src),e(n,{...t,src:(i=t.src,i.startsWith("/")?i.slice(1):i)});var i}}]}}const sn=on((function(e,t){let n="format=auto";t.width&&(n+=`,width=${t.width}`);return`${e}/cdn-cgi/image/${n}/${t.src}`}),ngDevMode?["https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>"]:void 0);const an={name:"Cloudinary",testUrl:function(e){return un.test(e)}},un=/https?\:\/\/[^\/]+\.cloudinary\.com\/.+/;const cn=on((function(e,t){let n="f_auto,q_auto";t.width&&(n+=`,w_${t.width}`);return`${e}/image/upload/${n}/${t.src}`}),ngDevMode?["https://res.cloudinary.com/mysite","https://mysite.cloudinary.com","https://subdomain.mysite.com"]:void 0);const ln={name:"ImageKit",testUrl:function(e){return pn.test(e)}},pn=/https?\:\/\/[^\/]+\.imagekit\.io\/.+/;const dn=on((function(e,t){const{src:n,width:r}=t;let i;if(r){i=[e,`tr:w-${r}`,n]}else i=[e,n];return i.join("/")}),ngDevMode?["https://ik.imagekit.io/mysite","https://subdomain.mysite.com"]:void 0);const hn={name:"Imgix",testUrl:function(e){return fn.test(e)}},fn=/https?\:\/\/[^\/]+\.imgix\.net\/.+/;const mn=on((function(e,t){const n=new URL(`${e}/${t.src}`);n.searchParams.set("auto","format"),t.width&&n.searchParams.set("w",t.width.toString());return n.href}),ngDevMode?["https://somepath.imgix.net/"]:void 0);function gn(e,t=!0){return`The NgOptimizedImage directive ${t?`(activated on an <img> element with the \`ngSrc="${e}"\`) `:""}has detected that`}function vn(e){if(!ngDevMode)throw new r["ɵRuntimeError"](2958,`Unexpected invocation of the ${e} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class yn{constructor(){this.images=new Map,this.alreadyWarned=new Set,this.window=null,this.observer=null,vn("LCP checker");const e=(0,r.inject)(u).defaultView;void 0!==e&&"undefined"!=typeof PerformanceObserver&&(this.window=e,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver((e=>{const t=e.getEntries();if(0===t.length)return;const n=t[t.length-1],i=n.element?.src??"";if(i.startsWith("data:")||i.startsWith("blob:"))return;this.images.get(i)&&!this.alreadyWarned.has(i)&&(this.alreadyWarned.add(i),function(e){const t=gn(e);console.warn((0,r["ɵformatRuntimeError"])(2955,`${t} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(i))}));return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t){this.observer&&this.images.set(Qt(e,this.window).href,t)}unregisterImage(e){this.observer&&this.images.delete(Qt(e,this.window).href)}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear(),this.alreadyWarned.clear())}}
2yn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),yn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,providedIn:"root"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}});const _n=new Set(["localhost","127.0.0.1","0.0.0.0"]),bn=new r.InjectionToken("PRECONNECT_CHECK_BLOCKLIST");class wn{constructor(){this.document=(0,r.inject)(u),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(_n),vn("preconnect link checker");const e=this.document.defaultView;void 0!==e&&(this.window=e);const t=(0,r.inject)(bn,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?En(e,(e=>{this.blocklist.add(tn(e))})):this.blocklist.add(tn(e))}assertPreconnect(e,t){if(!this.window)return;const n=Qt(e,this.window);this.blocklist.has(n.hostname)||this.alreadySeen.has(n.origin)||(this.alreadySeen.add(n.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.prec
2onnectLinks.has(n.origin)||console.warn((0,r["ɵformatRuntimeError"])(2956,`${gn(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n  <link rel="preconnect" href="${n.origin}">`)))}queryPreconnectLinks(){const e=new Set,t=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let n of t){const t=Qt(n.href,this.window);e.add(t.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}}function En(e,t){for(let n of e)Array.isArray(n)?En(n,t):t(n)}wn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wn,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),wn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wn,providedIn:"root"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wn,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}});const Sn=new r.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class xn{constructor(){this.preloadedImages=(0,r.inject)(Sn),this.document=(0,r.inject)(u)}createPreloadLinkTag(e,t,n,i){if(ngDevMode&&this.preloadedImages.size>=5)throw new r["ɵRuntimeError"](2961,ngDevMode&&'The `NgOptimizedImage` directive has detected that more than 5 images were marked as priority. This might negatively affect an overall performance of the page. To fix this, remove the "priority" attribute from images with less priority.');if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const o=e.createElement("link");e.setAttribute(o,"as","image"),e.setAttribute(o,"href",t),e.setAttribute(o,"rel","preload"),e.setAttribute(o,"fetchpriority","high"),i&&e.setAttribute(o,"imageSizes",i),n&&e.setAttribute(o,"imageSrcset",n),e.appendChild(this.document.head,o)}}xn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:xn,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),xn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:xn,providedIn:"root"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:xn,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}]});const Dn=/^((\s*\d+w\s*(,|$)){1,})$/,Cn=/^((\s*\d+(\.\d+)?x\s*(,|$)){1,})$/,Tn=3,kn=2,In=[1,2],On=.1,Mn=1e3,An=[hn,ln,an],Nn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Pn=new r.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>Nn});class Rn{constructor(){this.imageLoader=(0,r.inject)(rn),this.config=function(e){let t={};e.breakpoints&&(t.breakpoints=e.breakpoints.sort(((e,t)=>e-t)));return Object.assign({},Nn,e,t)}((0,r.inject)(Pn)),this.renderer=(0,r.inject)(r.Renderer2),this.imgElement=(0,r.inject)(r.ElementRef).nativeElement,this.injector=(0,r.inject)(r.Injector),this.isServer=zt((0,r.inject)(r.PLATFORM_ID)),this.preloadLinkChecker=(0,r.inject)(xn),this.lcpObserver=ngDevMode?this.injector.get(yn):null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(e){ngDevMode&&$n(this,e,"width"),this._width=Fn(e)}get width(){return this._width}set height(e){ngDevMode&&$n(this,e,"height"),this._height=Fn(e)}get height(){return this._height}set priority(e){this._priority=jn(e)}get priority(){return this._priority}set disableOptimizedSrcset(e){this._disableOptimizedSrcset=jn(e)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(e){this._fill=jn(e)}get fill(){return this._fill}ngOnInit(){if(ngDevMode)if(Ln(this,"ngSrc",this.ngSrc),function(e,t){if(null==t)return;Ln(e,"ngSrcset",t);const n=t,i=Dn.test(n),o=Cn.test(n);o&&function(e,t){const n=t.split(",").every((e=>""===e||parseFloat(e)<=Tn));if(!n)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} the \`ngSrcset\` contains an unsupported image density:\`${t}\`. NgOptimizedImage generally recommends a max image density of ${kn}
2x but supports image densities up to ${Tn}x. The human eye cannot distinguish between image densities greater than ${kn}x - which makes them unnecessary for most use cases. Images that will be pinch-zoomed are typically the primary use case for ${Tn}x images. Please remove the high density descriptor and try again.`)}(e,n);if(!i&&!o)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} \`ngSrcset\` has an invalid value (\`${t}\`). To fix this, supply \`ngSrcset\` using a comma-separated list of one or more width descriptors (e.g. "100w, 200w") or density descriptors (e.g. "1x, 2x").`)}(this,this.ngSrcset),function(e){if(e.src)throw new r["ɵRuntimeError"](2950,`${gn(e.ngSrc)} both \`src\` and \`ngSrc\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`src\` itself based on the value of \`ngSrc\`. To fix this, please remove the \`src\` attribute.`)}(this),this.ngSrcset&&function(e){if(e.srcset)throw new r["ɵRuntimeError"](2951,`${gn(e.ngSrc)} both \`srcset\` and \`ngSrcset\` have been set. Supplying both of these attributes breaks lazy loading. The NgOptimizedImage directive sets \`srcset\` itself based on the value of \`ngSrcset\`. To fix this, please remove the \`srcset\` attribute.`)}(this),function(e){let t=e.ngSrc.trim();if(t.startsWith("data:"))throw t.length>50&&(t=t.substring(0,50)+"..."),new r["ɵRuntimeError"](2952,`${gn(e.ngSrc,!1)} \`ngSrc\` is a Base64-encoded string (${t}). NgOptimizedImage does not support Base64-encoded strings. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a standard \`src\` attribute instead.`)}(this),function(e){const t=e.ngSrc.trim();if(t.startsWith("blob:"))throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} \`ngSrc\` was set to a blob URL (${t}). Blob URLs are not supported by the NgOptimizedImage directive. To fix this, disable the NgOptimizedImage directive for this element by removing \`ngSrc\` and using a regular \`src\` attribute instead.`)}(this),this.fill?(function(e){if(e.width||e.height)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} the attributes \`height\` and/or \`width\` are present along with the \`fill\` attribute. Because \`fill\` mode causes an image to fill its containing element, the size attributes have no effect and should be removed.`)}(this),function(e,t,n){const i=n.listen(t,"load",(()=>{i();const n=t.clientHeight;e.fill&&0===n&&console.warn((0,r["ɵformatRuntimeError"])(2952,`${gn(e.ngSrc)} the height of the fill-mode image is zero. This is likely because the containing element does not have the CSS 'position' property set to one of the following: "relative", "fixed", or "absolute". To fix this problem, make sure the container element has the CSS 'position' property defined and the height of the element is not zero.`))}))}(this,this.imgElement,this.renderer)):(function(e){let t=[];void 0===e.width&&t.push("width");void 0===e.height&&t.push("height");if(t.length>0)throw new r["ɵRuntimeError"](2954,`${gn(e.ngSrc)} these required attributes are missing: ${t.map((e=>`"${e}"`)).join(", ")}. Including "width" and "height" attributes will prevent image-related layout shifts. To fix this, include "width" and "height" attributes on the image tag or turn on "fill" mode with the \`fill\` attribute.`)}(this),function(e,t,n){const i=n.listen(t,"load",(()=>{i();const n=window.getComputedStyle(t);let o=parseFloat(n.getPropertyValue("width")),s=parseFloat(n.getPropertyValue("height"));if("border-box"===n.getPropertyValue("box-sizing")){const e=n.getPropertyValue("padding-top"),t=n.getPropertyValue("padding-right"),r=n.getPropertyValue("padding-bottom"),i=n.getPropertyValue("padding-left");o-=parseFloat(t)+parseFloat(i),s-=parseFloat(e)+parseFloat(r)}const a=o/s,u=0!==o&&0!==s,c=t.naturalWidth,l=t.naturalHeight,p=c/l,d=e.width,h=e.height,f=d/h,m=Math.abs(f-p)>On,g=u&&Math.abs(p-a)>On;if(m)console.warn((0,r["ɵformatRuntimeError"])(2952,`${gn(e.ngSrc)} the aspect ratio of the image does not match the aspect ratio indicated by the width and height attributes. \nIntrinsic image size: ${c}w x ${l}h (aspect-ratio: ${p}). \nSupplied width and height attributes: ${d}w x ${h}h (aspect-ratio: ${f}). \nTo fix this, update the width and height attributes.`));else if(g)console.warn((0,r["ɵformatRuntimeError"])(2952,`${gn(e.ngSrc)} the aspect ratio of the rendered image does not match the image's intrinsic aspect ratio. \nIntrinsic image size: ${c}w x ${l}h (aspect-ratio: ${p}). \nRendered image size: ${o}w x ${s}h (aspect-ratio: ${a}). \nThis issue can occur if "width" and "height" attributes are added to an image without updating the corresponding image styling. To fix this, adju
2st image styling. In most cases, adding "height: auto" or "width: auto" to the image styling will fix this issue.`));else if(!e.ngSrcset&&u){const t=kn*o,n=kn*s;(c-t>=Mn||l-n>=Mn)&&console.warn((0,r["ɵformatRuntimeError"])(2960,`${gn(e.ngSrc)} the intrinsic image is significantly larger than necessary. \nRendered image size: ${o}w x ${s}h. \nIntrinsic image size: ${c}w x ${l}h. \nRecommended intrinsic image size: ${t}w x ${n}h. \nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ${kn}. To improve loading time, resize the image or consider using the "ngSrcset" and "sizes" attributes.`))}}))}(this,this.imgElement,this.renderer)),function(e){if(e.loading&&e.priority)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} the \`loading\` attribute was used on an image that was marked "priority". Setting \`loading\` on priority images is not allowed because these images will always be eagerly loaded. To fix this, remove the “loading” attribute from the priority image.`);const t=["auto","eager","lazy"];if("string"==typeof e.loading&&!t.includes(e.loading))throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} the \`loading\` attribute has an invalid value (\`${e.loading}\`). To fix this, provide a valid value ("lazy", "eager", or "auto").`)}(this),this.ngSrcset||function(e){let t=e.sizes;if(t?.match(/((\)|,)\s|^)\d+px/))throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc,!1)} \`sizes\` was set to a string including pixel values. For automatic \`srcset\` generation, \`sizes\` must only include responsive values, such as \`sizes="50vw"\` or \`sizes="(min-width: 768px) 50vw, 100vw"\`. To fix this, modify the \`sizes\` attribute, or provide your own \`ngSrcset\` value directly.`)}(this),function(e,t){if(t===nn){let t="";for(const n of An)if(n.testUrl(e)){t=n.name;break}t&&console.warn((0,r["ɵformatRuntimeError"])(2962,`NgOptimizedImage: It looks like your images may be hosted on the ${t} CDN, but your app is not using Angular's built-in loader for that CDN. We recommend switching to use the built-in by calling \`provide${t}Loader()\` in your \`providers\` and passing it your instance's base URL. If you don't want to use the built-in loader, define a custom loader function using IMAGE_LOADER to silence this warning.`))}}(this.ngSrc,this.imageLoader),e=this,t=this.imageLoader,e.ngSrcset&&t===nn&&console.warn((0,r["ɵformatRuntimeError"])(2963,`${gn(e.ngSrc)} the \`ngSrcset\` attribute is present but no image loader is configured (i.e. the default one is being used), which would result in the same image being used for all configured sizes. To fix this, provide a loader or remove the \`ngSrcset\` attribute from the image.`)),function(e,t){e.loaderParams&&t===nn&&console.warn((0,r["ɵformatRuntimeError"])(2963,`${gn(e.ngSrc)} the \`loaderParams\` attribute is present but no image loader is configured (i.e. the default one is being used), which means that the loaderParams data will not be consumed and will not affect the URL. To fix this, provide a custom loader or remove the \`loaderParams\` attribute from the image.`))}(this,this.imageLoader),this.priority){this.injector.get(wn).assertPreconnect(this.getRewrittenSrc(),this.ngSrc)}else if(null!==this.lcpObserver){this.injector.get(r.NgZone).runOutsideAngular((()=>{this.lcpObserver.registerImage(this.getRewrittenSrc(),this.ngSrc)}))}var e,t;this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const e=this.getRewrittenSrc();let t;this.setHostAttribute("src",e),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?t=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(t=this.getAutomaticSrcset()),t&&this.setHostAttribute("srcset",t),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,e,t,this.sizes)}
2ngOnChanges(e){ngDevMode&&function(e,t,n){n.forEach((n=>{if(t.hasOwnProperty(n)&&!t[n].isFirstChange())throw"ngSrc"===n&&(e={ngSrc:t[n].previousValue}),function(e,t){let n;n="width"===t||"height"===t?`Changing \`${t}\` may result in different attribute value applied to the underlying image element and cause layout shifts on a page.`:`Changing the \`${t}\` would have no effect on the underlying image element, because the resource loading has already occurred.`;return new r["ɵRuntimeError"](2953,`${gn(e.ngSrc)} \`${t}\` was updated after initialization. The NgOptimizedImage directive will not react to this input change. ${n} To fix this, either switch \`${t}\` to a static value or wrap the image element in an *ngIf that is gated on the necessary value.`)}(e,n)}))}(this,e,["ngSrc","ngSrcset","width","height","priority","fill","loading","sizes","loaderParams","disableOptimizedSrcset"])}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=Dn.test(this.ngSrcset);return this.ngSrcset.split(",").filter((e=>""!==e)).map((t=>{t=t.trim();const n=e?parseFloat(t):parseFloat(t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${t}`})).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:e}=this.config;let t=e;"100vw"===this.sizes?.trim()&&(t=e.filter((e=>e>=640)));return t.map((e=>`${this.callImageLoader({src:this.ngSrc,width:e})} ${e}w`)).join(", ")}getFixedSrcset(){return In.map((e=>`${this.callImageLoader({src:this.ngSrc,width:this.width*e})} ${e}x`)).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==nn&&!(this.width>1920||this.height>1080)}ngOnDestroy(){ngDevMode&&(this.priority||null===this._renderedSrc||null===this.lcpObserver||this.lcpObserver.unregisterImage(this._renderedSrc))}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}}function Fn(e){return"string"==typeof e?parseInt(e,10):e}function jn(e){return null!=e&&"false"!=`${e}`}function Ln(e,t,n){const i="string"==typeof n,o=i&&""===n.trim();if(!i||o)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} \`${t}\` has an invalid value (\`${n}\`). To fix this, change the value to a non-empty string.`)}function $n(e,t,n){const i="number"==typeof t&&t>0,o="string"==typeof t&&/^\d+$/.test(t.trim())&&parseInt(t)>0;if(!i&&!o)throw new r["ɵRuntimeError"](2952,`${gn(e.ngSrc)} \`${n}\` has an invalid value (\`${t}\`). To fix this, provide \`${n}\` as a number greater than 0.`)}Rn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Rn,deps:[],target:r["ɵɵFactoryTarget"].Directive}),Rn.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Rn,isStandalone:!0,selector:"img[ngSrc]",inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",loaderParams:"loaderParams",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},host:{properties:{"style.position":'fill ? "absolute" : null',"style.width":'fill ? "100%" : null',"style.height":'fill ? "100%" : null',"style.inset":'fill ? "0px" : null'}},usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Rn,decorators:[{type:r.Directive,args:[{standalone:!0,selector:"img[ngSrc]",host:{"[style.position]":'fill ? "absolute" : null',"[style.width]":'fill ? "100%" : null',"[style.height]":'fill ? "100%" : null',"[style.inset]":'fill ? "0px" : null'}}]}],propDecorators:{ngSrc:[{type:r.Input}],ngSrcset:[{type:r.Input}],sizes:[{type:r.Input}],width:[{type:r.Input}],height:[{type:r.Input}],loading:[{type:r.Input}],priority:[{type:r.Input}],loaderParams:[{type:r.Input}],disableOptimizedSrcset:[{type:r.Input}],fill:[{type:r.Input}],src:[{type:r.Input}],srcset:[{type:r.Input}]}})},58726:function(e,t,n){"use strict";n.r(t),n.d(t,{HTTP_INTERCEPTORS:function(){return j},HttpBackend:function(){return f},HttpClient:function(){return P},HttpClientJsonpModule:function(){return ve},HttpClientModule:function(){return ge},HttpClientXsrfModule:function(){return me},HttpContext:function(){return S},HttpContextToken:function(){return E},HttpErrorResponse:function(){return A},HttpEventType:function(){return k},HttpFeatureKind:function(){return oe},HttpHandler:function(){return h},HttpHeaderResponse:function(){return O},HttpHeaders:function(){return m},HttpParams:function(){return w},HttpRequest:function(){return T},HttpResponse:function(){return M},HttpResponseBase:function(){return I},HttpUrlEncodingCodec:function(){return g},HttpXhrBackend:function(){return Z},HttpXsrfTokenExtractor:function(){return te},JsonpClientBackend:function(){return q},JsonpInterceptor:function(){return W},XhrFactory:function(){return ye},provideHttpClient:function(){return ae},withInterceptors:function(){return ue},withInterceptorsFromDi:function(){return le},withJsonpSupport:function(){return he},withNoXsrfProtection:function(){return de},withRequestsMadeViaParent:function(){return fe},withXsrfConfiguration:function(){return pe},"ɵHttpInterceptingHandler":function(){return V},"ɵHttpInterceptorHandler":function(){return V}});var r=n(53533),i=n(20831),o=n(57617),s=n(11954);var a=n(81480),u=n(87877),c=n(58474);var l=n(96798),p=n(2566);var d=n(29127);class h{}class f{}class m{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}}))}:()=>{("undefined"==typeof ngDevMode||ngDevMode)&&function(e){for(const[t,n]of Object.entries(e))if("string"!=typeof n&&"number"!=typeof n&&!Array.isArray(n))throw new Error(`Unexpected value of the \`${t}\` header provided. Expecting either a string, a number or an array, but got: \`${n}\`.`)}(e),this.headers=new Map,Object.entries(e).forEach((([e,t])=>{let n;if(n="string"==typeof t?[t]:"number"==typeof t?[t.toString()]:t.map((e=>e.toString())),n.length>0){const t=e.toLowerCase();this.headers.set(t,n),this.maybeSetNormalizedName(e,t)}}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof m?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}
2copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new m;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof m?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===i.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class g{encodeKey(e){return _(e)}encodeValue(e){return _(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const v=/%(\d[a-f0-9])/gi,y={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _(e){return encodeURIComponent(e).replace(v,((e,t)=>y[t]??e))}function b(e){return`${e}`}class w{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new g,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const r=e.indexOf("="),[i,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}));return n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const n=e.fromObject[t],r=Array.isArray(n)?n.map(b):[b(n)];this.map.set(t,r)}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((n=>{const r=e[n];Array.isArray(r)?r.forEach((e=>{t.push({param:n,value:e,op:"a"})})):t.push({param:n,value:r,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new w({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(b(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(b(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}class E{constructor(e){this.defaultValue=e}}class S{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),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 x(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function D(e){return"undefined"!=typeof Blob&&e instanceof Blob}function C(e){return"undefined"!=typeof FormData&&e instanceof FormData}class T{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new m),this.context||(this.context=new S),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),r=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new w,this.urlWithParams=t}serializeBody(){return null===this.body?null:x(this.body)||D(this.body)||C(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof w?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||C(this.body)?null:D(this.body)?this.body.type||null:x(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof w?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,u=e.params||this.params;const c=e.context??this.context;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce(((t,n)=>t.set(n,e.setHeaders[n])),a)),e.setParams&&(u=Object.keys(e.setParams).reduce(((t,n)=>t.set(n,e.setParams[n])),u)),new T(t,n,i,{params:u,headers:a,context:c,reportProgress:s,responseType:r,withCredentials:o})}}var k;
2!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(k||(k={}));class I{constructor(e,t=200,n="OK"){this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class O extends I{constructor(e={}){super(e),this.type=k.ResponseHeader}clone(e={}){return new O({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class M extends I{constructor(e={}){super(e),this.type=k.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new M({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class A extends I{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function N(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class P{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof T)r=e;else{let i,o;i=n.headers instanceof m?n.headers:new m(n.headers),n.params&&(o=n.params instanceof w?n.params:new w({fromObject:n.params})),r=new T(e,t,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,o.yG)(e);return(0,s.D)(e,n)}(r).pipe((a=e=>this.handler.handle(e),(0,c.m)(h)?(0,u.z)(a,h,1):(0,u.z)(a,1)));var a,h;if(e instanceof T||"events"===n.observe)return i;const f=i.pipe((g=e=>e instanceof M,(0,l.e)((function(e,t){var n=0;e.subscribe((0,p.x)(t,(function(e){return g.call(v,e,n++)&&t.next(e)})))}))));var g,v;switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return f.pipe((0,d.U)((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return f.pipe((0,d.U)((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return f.pipe((0,d.U)((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return f.pipe((0,d.U)((e=>e.body)))}case"response":return f;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new w).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,N(n,t))}post(e,t,n={}){return this.request("POST",e,N(n,t))}put(e,t,n={}){return this.request("PUT",e,N(n,t))}}function R(e,t){return t(e)}function F(e,t){return(n,r)=>t.intercept(n,{handle:t=>e(t,r)})}P.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:P,deps:[{token:h}],target:i["ɵɵFactoryTarget"].Injectable}),P.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:P}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:P,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:h}]}});const j=new i.InjectionToken("HTTP_INTERCEPTORS"),L=new i.InjectionToken("HTTP_INTERCEPTOR_FNS");function $(){let e=null;return(t,n)=>{if(null===e){const t=(0,i.inject)(j,{optional:!0})??[];e=t.reduceRight(F,R)}return e(t,n)}}class V extends h{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=Array.from(new Set(this.injector.get(L)));this.chain=e.reduceRight(((e,t)=>function(e,t,n){return(r,i)=>n.runInContext((()=>t(r,(t=>e(t,i)))))}(e,t,this.injector)),R)}return this.chain(e,(e=>this.backend.handle(e)))}}
2V.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:V,deps:[{token:f},{token:i.EnvironmentInjector}],target:i["ɵɵFactoryTarget"].Injectable}),V.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:V}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:V,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:f},{type:i.EnvironmentInjector}]}});let B,U=0;class H{}function z(){return"object"==typeof window?window:{}}class q{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+U++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new a.y((t=>{const n=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),i=this.document.createElement("script");i.src=r;let o=null,s=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],o=e,s=!0};const a=()=>{i.parentNode&&i.parentNode.removeChild(i),delete this.callbackMap[n]};return i.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{a(),s?(t.next(new M({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new A({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),i.addEventListener("error",(e=>{a(),t.error(new A({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(i),t.next({type:k.Sent}),()=>{s||this.removeListeners(i),a()}}))}removeListeners(e){B||(B=this.document.implementation.createHTMLDocument()),B.adoptNode(e)}}function G(e,t){return"JSONP"===e.method?(0,i.inject)(q).handle(e):t(e)}q.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:q,deps:[{token:H},{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),q.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:q}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:q,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:H},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});class W{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>G(e,(e=>t.handle(e)))))}}W.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:W,deps:[{token:i.EnvironmentInjector}],target:i["ɵɵFactoryTarget"].Injectable}),W.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:W}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:W,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:i.EnvironmentInjector}]}});const Y=/^\)\]\}',?\n/;class Z{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y((t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach(((e,t)=>n.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let i=null;const o=()=>{if(null!==i)return i;const t=n.statusText||"OK",r=new m(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return i=new O({headers:r,status:n.status,statusText:t,url:o}),i},s=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),u=null;204!==i&&(u=void 0===n.response?n.responseText:n.response),0===i&&(i=u?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(Y,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,c&&(c=!1,u={error:t,text:u})}}c?(t.next(new M({body:u,headers:r,status:i,statusText:s,url:a||void 0})),t.complete()):t.error(new A({error:u,headers:r,status:i,statusText:s,url:a||void 0}))},a=e=>{const{url:r}=o(),i=new A({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let u=!1;const c=r=>{u||(t.next(o()),u=!0);let i={type:k.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},l=e=>{let n={type:k.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",l)),n.send(r),t.next({type:k.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",l)),n.readyState!==n.DONE&&n.abort()}}))}}
2Z.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Z,deps:[{token:r.XhrFactory}],target:i["ɵɵFactoryTarget"].Injectable}),Z.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Z}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Z,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:r.XhrFactory}]}});const K=new i.InjectionToken("XSRF_ENABLED"),J="XSRF-TOKEN",X=new i.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>J}),Q="X-XSRF-TOKEN",ee=new i.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Q});class te{}class ne{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r["ɵparseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function re(e,t){const n=e.url.toLowerCase();if(!(0,i.inject)(K)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=(0,i.inject)(te).getToken(),o=(0,i.inject)(ee);return null==r||e.headers.has(o)||(e=e.clone({headers:e.headers.set(o,r)})),t(e)}ne.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ne,deps:[{token:r.DOCUMENT},{token:i.PLATFORM_ID},{token:X}],target:i["ɵɵFactoryTarget"].Injectable}),ne.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ne}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ne,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:void 0,decorators:[{type:i.Inject,args:[X]}]}]}});class ie{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>re(e,(e=>t.handle(e)))))}}var oe;function se(e,t){return{"ɵkind":e,"ɵproviders":t}}function ae(...e){if(ngDevMode){const t=new Set(e.map((e=>e.ɵkind)));if(t.has(oe.NoXsrfProtection)&&t.has(oe.CustomXsrfConfiguration))throw new Error(ngDevMode?"Configuration error: found both withXsrfConfiguration() and withNoXsrfProtection() in the same call to provideHttpClient(), which is a contradiction.":"")}const t=[P,Z,V,{provide:h,useExisting:V},{provide:f,useExisting:Z},{provide:L,useValue:re,multi:!0},{provide:K,useValue:!0},{provide:te,useClass:ne}];for(const n of e)t.push(...n.ɵproviders);return(0,i.makeEnvironmentProviders)(t)}function ue(e){return se(oe.Interceptors,e.map((e=>({provide:L,useValue:e,multi:!0}))))}ie.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie,deps:[{token:i.EnvironmentInjector}],target:i["ɵɵFactoryTarget"].Injectable}),ie.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:i.EnvironmentInjector}]}}),function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent"}(oe||(oe={}));const ce=new i.InjectionToken("LEGACY_INTERCEPTOR_FN");function le(){return se(oe.LegacyInterceptors,[{provide:ce,useFactory:$},{provide:L,useExisting:ce,multi:!0}])}function pe({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:X,useValue:e}),void 0!==t&&n.push({provide:ee,useValue:t}),se(oe.CustomXsrfConfiguration,n)}function de(){return se(oe.NoXsrfProtection,[{provide:K,useValue:!1}])}function he(){return se(oe.JsonpSupport,[q,{provide:H,useFactory:z},{provide:L,useValue:G,multi:!0}])}function fe(){return se(oe.RequestsMadeViaParent,[{provide:f,useFactory:()=>{const e=(0,i.inject)(h,{skipSelf:!0,optional:!0});if(ngDevMode&&null===e)throw new Error("withRequestsMadeViaParent() can only be used when the parent injector also configures HttpClient");return e}}])}class me{static disable(){return{ngModule:me,providers:[de().ɵproviders]}}static withOptions(e={}){return{ngModule:me,providers:pe(e).ɵproviders}}}
2me.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,deps:[],target:i["ɵɵFactoryTarget"].NgModule}),me.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:me}),me.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,providers:[ie,{provide:j,useExisting:ie,multi:!0},{provide:te,useClass:ne},pe({cookieName:J,headerName:Q}).ɵproviders,{provide:K,useValue:!0}]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,decorators:[{type:i.NgModule,args:[{providers:[ie,{provide:j,useExisting:ie,multi:!0},{provide:te,useClass:ne},pe({cookieName:J,headerName:Q}).ɵproviders,{provide:K,useValue:!0}]}]}]});class ge{}ge.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge,deps:[],target:i["ɵɵFactoryTarget"].NgModule}),ge.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:ge}),ge.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge,providers:[ae(le())]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge,decorators:[{type:i.NgModule,args:[{providers:[ae(le())]}]}]});class ve{}ve.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ve,deps:[],target:i["ɵɵFactoryTarget"].NgModule}),ve.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:ve}),ve.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ve,providers:[he().ɵproviders]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ve,decorators:[{type:i.NgModule,args:[{providers:[he().ɵproviders]}]}]});const ye=r.XhrFactory},7829:function(e,t,n){"use strict";n.r(t);const r=void 0;t.default=["ja",[["午前","午後"],r,r],r,[["日","月","火","水","木","金","土"],r,["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["日","月","火","水","木","金","土"]],r,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],r],r,[["BC","AD"],["紀元前","西暦"],r],0,[6,0],["y/MM/dd",r,"y年M月d日","y年M月d日EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H時mm分ss秒 zzzz"],["{1} {0}",r,r,r],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"JPY","¥","日本円",{BYN:[r,"р."],CNY:["元","¥"],JPY:["¥"],PHP:[r,"₱"],RON:[r,"レイ"],XXX:[]},"ltr",function(e){return 5}]},72063:function(e,t,n){"use strict";n.r(t),n.d(t,{AST:function(){return Yi},ASTWithName:function(){return Zi},ASTWithSource:function(){return bo},AbsoluteSourceSpan:function(){return _o},ArrayType:function(){return W},AstMemoryEfficientTransformer:function(){return Do},AstTransformer:function(){return xo},Attribute:function(){return da},Binary:function(){return ho},BinaryOperator:function(){return ie},BinaryOperatorExpr:function(){return Fe},BindingPipe:function(){return ao},BoundElementProperty:function(){return Io},BuiltinType:function(){return q},BuiltinTypeName:function(){return H},CUSTOM_ELEMENTS_SCHEMA:function(){return p},Call:function(){return vo},Chain:function(){return Qi},ChangeDetectionStrategy:function(){return l},CommaExpr:function(){return Ue},Comment:function(){return fa},CompilerConfig:function(){return Dl},Conditional:function(){return eo},ConditionalExpr:function(){return Me},ConstantPool:function(){return bt},CssSelector:function(){return i},DEFAULT_INTERPOLATION_CONFIG:function(){return $r},DYNAMIC_TYPE:function(){return Z},DeclareFunctionStmt:function(){return Ke},DeclareVarStmt:function(){return Ze},DomElementSchemaRegistry:function(){return Ta},EOF:function(){return Ys},Element:function(){return ha},ElementSchemaRegistry:function(){return Sa},EmitterVisitorContext:function(){return Bt},EmptyExpr:function(){return Ki},Expansion:function(){return la},ExpansionCase:function(){return pa},Expression:function(){return ue},ExpressionBinding:function(){return Eo},ExpressionStatement:function(){return Je},ExpressionType:function(){return G},ExternalExpr:function(){return Ie},ExternalReference:function(){return Oe},FactoryTarget:function(){return on},FunctionExpr:function(){return Pe},HtmlParser:function(){return ru},HtmlTagDefinition:function(){return ka},I18NHtmlParser:function(){return ap},IfStmt:function(){return Qe},ImplicitReceiver:function(){return Ji},InstantiateExpr:function(){return ve},Interpolation:function(){return po},InterpolationConfig:function(){return Lr},InvokeFunctionExpr:function(){return me},JSDocComment:function(){return We},JitEvaluator:function(){return Mi},KeyedRead:function(){return io},KeyedWrite:function(){return so},LeadingComment:function(){return Ge},Lexer:function(){return zs},LiteralArray:function(){return co},LiteralArrayExpr:function(){return $e},LiteralExpr:function(){return ye},LiteralMap:function(){return lo},LiteralMapExpr:function(){return Be},LiteralPrimitive:function(){return uo},LocalizedString:function(){return Se},MapType:function(){return Y},MessageBundle:function(){return up},NONE_TYPE:function(){return ne}
2,NO_ERRORS_SCHEMA:function(){return d},NodeWithI18n:function(){return ua},NonNullAssert:function(){return go},NotExpr:function(){return Ae},ParseError:function(){return wi},ParseErrorLevel:function(){return bi},ParseLocation:function(){return vi},ParseSourceFile:function(){return yi},ParseSourceSpan:function(){return _i},ParseSpan:function(){return Wi},ParseTreeResult:function(){return Xa},ParsedEvent:function(){return To},ParsedProperty:function(){return Co},ParsedPropertyType:function(){return Li},ParsedVariable:function(){return ko},Parser:function(){return ra},ParserError:function(){return Gi},PrefixNot:function(){return mo},PropertyRead:function(){return to},PropertyWrite:function(){return no},R3BoundTarget:function(){return mp},R3Identifiers:function(){return Ct},R3SelectorScopeMode:function(){return Fi},R3TargetBinder:function(){return pp},R3TemplateDependencyKind:function(){return ji},ReadKeyExpr:function(){return Le},ReadPropExpr:function(){return je},ReadVarExpr:function(){return ce},RecursiveAstVisitor:function(){return So},RecursiveVisitor:function(){return ga},ResourceLoader:function(){return Qc},ReturnStatement:function(){return Xe},STRING_TYPE:function(){return ee},SafeCall:function(){return yo},SafeKeyedRead:function(){return oo},SafePropertyRead:function(){return ro},SelectorContext:function(){return a},SelectorListContext:function(){return s},SelectorMatcher:function(){return o},Serializer:function(){return Pn},SplitInterpolation:function(){return ta},Statement:function(){return Ye},StmtModifier:function(){return qe},TagContentType:function(){return oa},TaggedTemplateExpr:function(){return ge},TemplateBindingParseResult:function(){return na},TemplateLiteral:function(){return _e},TemplateLiteralElement:function(){return be},Text:function(){return ca},ThisReceiver:function(){return Xi},TmplAstBoundAttribute:function(){return fn},TmplAstBoundEvent:function(){return mn},TmplAstBoundText:function(){return dn},TmplAstContent:function(){return yn},TmplAstElement:function(){return gn},TmplAstIcu:function(){return wn},TmplAstRecursiveVisitor:function(){return En},TmplAstReference:function(){return bn},TmplAstTemplate:function(){return vn},TmplAstText:function(){return pn},TmplAstTextAttribute:function(){return hn},TmplAstVariable:function(){return _n},Token:function(){return qs},TokenType:function(){return Us},TreeError:function(){return Ja},Type:function(){return z},TypeModifier:function(){return U},TypeofExpr:function(){return le},Unary:function(){return fo},UnaryOperator:function(){return re},UnaryOperatorExpr:function(){return Re},VERSION:function(){return xl},VariableBinding:function(){return wo},Version:function(){return Mt},ViewEncapsulation:function(){return c},WrappedNodeExpr:function(){return pe},WriteKeyExpr:function(){return he},WritePropExpr:function(){return fe},WriteVarExpr:function(){return de},Xliff:function(){return Ul},Xliff2:function(){return Kl},Xmb:function(){return Yn},XmlParser:function(){return jl},Xtb:function(){return np},_ParseAST:function(){return sa},compileClassMetadata:function(){return gp},compileComponentFromMetadata:function(){return Fc},compileDeclareClassMetadata:function(){return yp},compileDeclareComponentFromMetadata:function(){return Cp},compileDeclareDirectiveFromMetadata:function(){return Sp},compileDeclareFactoryFunction:function(){return kp},compileDeclareInjectableFromMetadata:function(){return Op},compileDeclareInjectorFromMetadata:function(){return Ap},compileDeclareNgModuleFromMetadata:function(){return Pp},compileDeclarePipeFromMetadata:function(){return Fp},compileDirectiveFromMetadata:function(){return Rc},compileFactoryFunction:function(){return sn},compileInjectable:function(){return Nr},compileInjector:function(){return Ni},compileNgModule:function(){return Vi},compilePipeFromMetadata:function(){return zi},computeMsgId:function(){return A},core:function(){return y},createInjectableType:function(){return Pr},createMayBeForwardRefExpression:function(){return en},devOnlyGuardedExpression:function(){return Kt},emitDistinctChangesOnlyDefaultValue:function(){return u},getHtmlTagDefinition:function(){return Ma},getNsPrefix:function(){return wa},getSafePropertyAccessString:function(){return Yt},identifierName:function(){return xi},isIdentifier:function(){return Js},isNgContainer:function(){return ya},isNgContent:function(){return _a},isNgTemplate:function(){return ba},jsDocComment:function(){return tt},leadingComment:function(){return et},literalMap:function(){return at},makeBindingParser:function(){return wc},mergeNsAndName:function(){return Ea},outputAst:function(){return gt},parseHostBindings:function(){return Yc},parseTemplate:function(){return _c}
2,preserveWhitespacesDefault:function(){return Cl},publishFacade:function(){return Sl},r3JitTypeSourceSpan:function(){return Ei},sanitizeIdentifier:function(){return Di},splitNsName:function(){return va},verifyHostBindings:function(){return Zc},visitAll:function(){return ma}});const r=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class i{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],n=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let o,s=new i,a=s,u=!1;for(r.lastIndex=0;o=r.exec(e);){if(o[1]){if(u)throw new Error("Nesting :not in a selector is not allowed");u=!0,a=new i,s.notSelectors.push(a)}const e=o[2];if(e){const t=o[3];"#"===t?a.addAttribute("id",e.slice(1)):"."===t?a.addClassName(e.slice(1)):a.setElement(e)}const r=o[4];if(r&&a.addAttribute(a.unescapeAttribute(r),o[6]),o[7]&&(u=!1,a=s),o[8]){if(u)throw new Error("Multiple selectors in :not are not supported");n(t,s),s=a=new i}}return n(t,s),t}unescapeAttribute(e){let t="",n=!1;for(let r=0;r<e.length;r++){const i=e.charAt(r);if("\\"!==i){if("$"===i&&!n)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);n=!1,t+=i}else n=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}
2setElement(e=null){this.element=e}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach((t=>e+=`.${t}`)),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.escapeAttribute(this.attrs[t]),r=this.attrs[t+1];e+=`[${n}${r?"="+r:""}]`}return this.notSelectors.forEach((t=>e+=`:not(${t})`)),e}}class o{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(e){const t=new o;return t.addSelectables(e,null),t}addSelectables(e,t){let n=null;e.length>1&&(n=new s(e),this._listContexts.push(n));for(let r=0;r<e.length;r++)this._addSelectable(e[r],t,n)}_addSelectable(e,t,n){let r=this;const i=e.element,o=e.classNames,s=e.attrs,u=new a(e,t,n);if(i){0===s.length&&0===o.length?this._addTerminal(r._elementMap,i,u):r=this._addPartial(r._elementPartialMap,i)}if(o)for(let e=0;e<o.length;e++){const t=0===s.length&&e===o.length-1,n=o[e];t?this._addTerminal(r._classMap,n,u):r=this._addPartial(r._classPartialMap,n)}if(s)for(let e=0;e<s.length;e+=2){const t=e===s.length-2,n=s[e],i=s[e+1];if(t){const e=r._attrValueMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),this._addTerminal(t,i,u)}else{const e=r._attrValuePartialMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),r=this._addPartial(t,i)}}}_addTerminal(e,t,n){let r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new o,e.set(t,n)),n}match(e,t){let n=!1;const r=e.element,i=e.classNames,o=e.attrs;for(let e=0;e<this._listContexts.length;e++)this._listContexts[e].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,i)for(let r=0;r<i.length;r++){const o=i[r];n=this._matchTerminal(this._classMap,o,e,t)||n,n=this._matchPartial(this._classPartialMap,o,e,t)||n}if(o)for(let r=0;r<o.length;r+=2){const i=o[r],s=o[r+1],a=this._attrValueMap.get(i);s&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,s,e,t)||n;const u=this._attrValuePartialMap.get(i);s&&(n=this._matchPartial(u,"",e,t)||n),n=this._matchPartial(u,s,e,t)||n}return n}_matchTerminal(e,t,n,r){if(!e||"string"!=typeof t)return!1;let i=e.get(t)||[];const o=e.get("*");if(o&&(i=i.concat(o)),0===i.length)return!1;let s,a=!1;for(let e=0;e<i.length;e++)s=i[e],a=s.finalize(n,r)||a;return a}_matchPartial(e,t,n,r){if(!e||"string"!=typeof t)return!1;const i=e.get(t);return!!i&&i.match(n,r)}}class s{constructor(e){this.selectors=e,this.alreadyMatched=!1}}class a{constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!o.createNotMatcher(this.notSelectors).match(e,null)}return!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}const u=!0;var c,l;!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(c||(c={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(l||(l={}));const p={name:"custom-elements"},d={name:"no-errors-schema"},h=Function;var f,m;function g(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map((e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e))):[];return t.concat(...n)}function v(e){return e?i.parse(e).map(g):[]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(f||(f={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(m||(m={}));var y=Object.freeze({__proto__:null,emitDistinctChangesOnlyDefaultValue:u,get ViewEncapsulation(){return c},get ChangeDetectionStrategy(){return l}
2,CUSTOM_ELEMENTS_SCHEMA:p,NO_ERRORS_SCHEMA:d,Type:h,get SecurityContext(){return f},get MissingTranslationStrategy(){return m},parseSelectorToR3Selector:v});class _{static zero(){return new _([0])}static one(){return new _([1])}constructor(e){this.digits=e}clone(){return new _(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let n=0;for(let r=0;r<t;r++){let t=n;r<this.digits.length&&(t+=this.digits[r]),r<e.digits.length&&(t+=e.digits[r]),t>=10?(this.digits[r]=t-10,n=1):(this.digits[r]=t,n=0)}n>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class b{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=_.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let n=0;0!==e;e>>>=1,n++)if(1&e){const e=this.getMultipliedByPowerOfTwo(n);t.addToSelf(e)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const e=this.powerOfTwos[t-1];this.powerOfTwos[t]=e.add(e)}return this.powerOfTwos[e]}}let w;function E(e){return e.id||S(e)}function S(e){return function(e){w??(w=new TextEncoder);const t=[...w.encode(e)],n=function(e,t){const n=e.length+3>>>2,r=[];for(let i=0;i<n;i++)r[i]=V(e,4*i,t);return r}(t,R.Big),r=8*t.length,i=new Uint32Array(80);let o=1732584193,s=4023233417,a=2562383102,u=271733878,c=3285377520;n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(let e=0;e<n.length;e+=16){const t=o,r=s,l=a,p=u,d=c;for(let t=0;t<80;t++){i[t]=t<16?n[e+t]:L(i[t-3]^i[t-8]^i[t-14]^i[t-16],1);const r=O(t,s,a,u),l=r[0],p=r[1],d=[L(o,5),l,c,p,i[t]].reduce(F);c=u,u=a,a=L(s,30),s=o,o=d}o=F(o,t),s=F(s,r),a=F(a,l),u=F(u,p),c=F(c,d)}return I(o)+I(s)+I(a)+I(u)+I(c)}((t=e.nodes,t.map((e=>e.visit(T,null)))).join("")+`[${e.meaning}]`);var t}function x(e){return e.id||D(e)}function D(e){const t=new k;return A(e.nodes.map((e=>e.visit(t,null))).join(""),e.meaning)}class C{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map((e=>e.visit(this))).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map((t=>`${t} {${e.cases[t].visit(this)}}`));return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map((e=>e.visit(this))).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const T=new C;class k extends C{visitIcu(e,t){let n=Object.keys(e.cases).map((t=>`${t} {${e.cases[t].visit(this)}}`));return`{${e.type}, ${n.join(", ")}}`}}function I(e){return(e>>>0).toString(16).padStart(8,"0")}function O(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function M(e){w??(w=new TextEncoder);const t=w.encode(e),n=new DataView(t.buffer,t.byteOffset,t.byteLength);let r=N(n,t.length,0),i=N(n,t.length,102072);return 0!=r||0!=i&&1!=i||(r^=319790063,i^=-1801410264),[r,i]}function A(e,t=""){let n=M(e);if(t){const e=M(t);n=function(e,t){const n=e[0],r=e[1],i=t[0],o=t[1],s=j(r,o),a=s[0],u=s[1];return[F(F(n,i),a),u]}(function(e,t){const n=e[0],r=e[1],i=n<<t|r>>>32-t,o=r<<t|n>>>32-t;return[i,o]}(n,1),e)}return function(e,t){const n=B.toThePowerOf(0).multiplyBy(t);return B.toThePowerOf(4).multiplyByAndAddTo(e,n),n.toString()}(2147483647&n[0],n[1])}function N(e,t,n){let r=2654435769,i=2654435769,o=0;const s=t-12;for(;o<=s;o+=12){r+=e.getUint32(o,!0),i+=e.getUint32(o+4,!0);const t=P(r,i,n+=e.getUint32(o+8,!0));r=t[0],i=t[1],n=t[2]}const a=t-o;return n+=t,a>=4?(r+=e.getUint32(o,!0),o+=4,a>=8?(i+=e.getUint32(o,!0),o+=4,a>=9&&(n+=e.getUint8(o++)<<8),a>=10&&(n+=e.getUint8(o++)<<16),11===a&&(n+=e.getUint8(o++)<<24)):(a>=5&&(i+=e.getUint8(o++)),a>=6&&(i+=e.getUint8(o++)<<8),7===a&&(i+=e.getUint8(o++)<<16))):(a>=1&&(r+=e.getUint8(o++)),a>=2&&(r+=e.getUint8(o++)<<8),3===a&&(r+=e.getUint8(o++)<<16)),P(r,i,n)[2]}function P(e,t,n){return e-=t,e-=n,t-=n,t-=e^=n>>>13,n-=e,n-=t^=e<<8,e-=t,e-=n^=t>>>13,t-=n,t-=e^=n>>>12,n-=e,n-=t^=e<<16,e-=t,e-=n^=t>>>5,t-=n,t-=e^=n>>>3,n-=e,n-=t^=e<<10,[e,t,n^=t>>>15]}var R;function F(e,t){return j(e,t)[1]}function j(e,t){const n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function L(e,t){return e<<t|e>>>32-t}function $(e,t){return t>=e.length?0:e[t]}
2function V(e,t,n){let r=0;if(n===R.Big)for(let n=0;n<4;n++)r+=$(e,t+n)<<24-8*n;else for(let n=0;n<4;n++)r+=$(e,t+n)<<8*n;return r}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(R||(R={}));const B=new class{constructor(e){this.base=e,this.exponents=[new b(_.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const e=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new b(e)}return this.exponents[e]}}(256);var U,H;!function(e){e[e.None=0]="None",e[e.Const=1]="Const"}(U||(U={}));class z{constructor(e=U.None){this.modifiers=e}hasModifier(e){return 0!=(this.modifiers&e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(H||(H={}));class q extends z{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class G extends z{constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}class W extends z{constructor(e,t){super(t),this.of=e}visitType(e,t){return e.visitArrayType(this,t)}}class Y extends z{constructor(e,t){super(t),this.valueType=e||null}visitType(e,t){return e.visitMapType(this,t)}}const Z=new q(H.Dynamic),K=new q(H.Inferred),J=new q(H.Bool),X=new q(H.Int),Q=new q(H.Number),ee=new q(H.String),te=new q(H.Function),ne=new q(H.None);var re,ie;function oe(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function se(e,t,n){const r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function ae(e,t){return se(e,t,((e,t)=>e.isEquivalent(t)))}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(re||(re={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals",e[e.NullishCoalesce=16]="NullishCoalesce"}(ie||(ie={}));class ue{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new je(this,e,null,t)}key(e,t,n){return new Le(this,e,t,n)}callFn(e,t,n){return new me(this,e,null,t,n)}instantiate(e,t,n){return new ve(this,e,t,n)}conditional(e,t=null,n){return new Me(this,e,t,null,n)}equals(e,t){return new Fe(ie.Equals,this,e,null,t)}notEquals(e,t){return new Fe(ie.NotEquals,this,e,null,t)}identical(e,t){return new Fe(ie.Identical,this,e,null,t)}notIdentical(e,t){return new Fe(ie.NotIdentical,this,e,null,t)}minus(e,t){return new Fe(ie.Minus,this,e,null,t)}plus(e,t){return new Fe(ie.Plus,this,e,null,t)}divide(e,t){return new Fe(ie.Divide,this,e,null,t)}multiply(e,t){return new Fe(ie.Multiply,this,e,null,t)}modulo(e,t){return new Fe(ie.Modulo,this,e,null,t)}and(e,t){return new Fe(ie.And,this,e,null,t)}bitwiseAnd(e,t,n=!0){return new Fe(ie.BitwiseAnd,this,e,null,t,n)}or(e,t){return new Fe(ie.Or,this,e,null,t)}lower(e,t){return new Fe(ie.Lower,this,e,null,t)}lowerEquals(e,t){return new Fe(ie.LowerEquals,this,e,null,t)}bigger(e,t){return new Fe(ie.Bigger,this,e,null,t)}biggerEquals(e,t){return new Fe(ie.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(ze,e)}nullishCoalesce(e,t){return new Fe(ie.NullishCoalesce,this,e,null,t)}toStmt(){return new Je(this,null)}}class ce extends ue{constructor(e,t,n){super(t,n),this.name=e}isEquivalent(e){return e instanceof ce&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){return new de(this.name,e,null,this.sourceSpan)}}class le extends ue{constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof le&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class pe extends ue{constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof pe&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class de extends ue{constructor(e,t,n,r){super(n||t.type,r),this.name=e,this.value=t}isEquivalent(e){return e instanceof de&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}
2visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new Ze(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(K,qe.Final)}}class he extends ue{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.index=t,this.value=n}isEquivalent(e){return e instanceof he&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class fe extends ue{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.name=t,this.value=n}isEquivalent(e){return e instanceof fe&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}class me extends ue{constructor(e,t,n,r,i=!1){super(n,r),this.fn=e,this.args=t,this.pure=i}isEquivalent(e){return e instanceof me&&this.fn.isEquivalent(e.fn)&&ae(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class ge extends ue{constructor(e,t,n,r){super(n,r),this.tag=e,this.template=t}isEquivalent(e){return e instanceof ge&&this.tag.isEquivalent(e.tag)&&se(this.template.elements,e.template.elements,((e,t)=>e.text===t.text))&&ae(this.template.expressions,e.template.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateExpr(this,t)}}class ve extends ue{constructor(e,t,n,r){super(n,r),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof ve&&this.classExpr.isEquivalent(e.classExpr)&&ae(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class ye extends ue{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof ye&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class _e{constructor(e,t){this.elements=e,this.expressions=t}}class be{constructor(e,t,n){this.text=e,this.sourceSpan=t,this.rawText=n??t?.toString()??Te(xe(e))}}class we{constructor(e,t){this.text=e,this.sourceSpan=t}}class Ee{constructor(e,t,n){this.text=e,this.sourceSpan=t,this.associatedMessage=n}}class Se extends ue{constructor(e,t,n,r,i){super(ee,i),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=r}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach((t=>{e=`${e}␟${t}`})),ke(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){return this.messageParts[e]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(e){return this.placeHolderNames[e]?.sourceSpan??this.expressions[e]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(e){const t=this.placeHolderNames[e-1],n=this.messageParts[e];let r=t.text;return 0===t.associatedMessage?.legacyIds.length&&(r+=`@@${A(t.associatedMessage.messageString,t.associatedMessage.meaning)}`),ke(r,n.text,this.getMessagePartSourceSpan(e))}}const xe=e=>e.replace(/\\/g,"\\\\"),De=e=>e.replace(/^:/,"\\:"),Ce=e=>e.replace(/:/g,"\\:"),Te=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function ke(e,t,n){return""===e?{cooked:t,raw:Te(De(xe(t))),range:n}:{cooked:`:${e}:${t}`,raw:Te(`:${Ce(xe(e))}:${xe(t)}`),range:n}}class Ie extends ue{constructor(e,t,n=null,r){super(t,r),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof Ie&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class Oe{constructor(e,t,n){this.moduleName=e,this.name=t,this.runtime=n}}class Me extends ue{constructor(e,t,n=null,r,i){super(r||t.type,i),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof Me&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&oe(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class Ae extends ue{constructor(e,t){super(J,t),this.condition=e}isEquivalent(e){return e instanceof Ae&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class Ne{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class Pe extends ue{constructor(e,t,n,r,i){super(n,r),this.params=e,this.statements=t,this.name=i}isEquivalent(e){return e instanceof Pe&&ae(this.params,e.params)&&ae(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new Ke(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class Re extends ue{constructor(e,t,n,r,i=!0){super(n||Q,r),this.operator=e,this.expr=t,this.parens=i}isEquivalent(e){return e instanceof Re&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class Fe extends ue{constructor(e,t,n,r,i,o=!0){super(r||t.type,i),this.operator=e,this.rhs=n,this.parens=o,this.lhs=t}isEquivalent(e){return e instanceof Fe&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class je extends ue{constructor(e,t,n,r){super(n,r),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof je&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new fe(this.receiver,this.name,e,null,this.sourceSpan)}}class Le extends ue{constructor(e,t,n,r){super(n,r),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof Le&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new he(this.receiver,this.index,e,null,this.sourceSpan)}}class $e extends ue{constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every((e=>e.isConstant()))}isEquivalent(e){return e instanceof $e&&ae(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class Ve{constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Be extends ue{constructor(e,t,n){super(t,n),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Be&&ae(this.entries,e.entries)}isConstant(){return this.entries.every((e=>e.value.isConstant()))}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}class Ue extends ue{constructor(e,t){super(e[e.length-1].type,t),this.parts=e}isEquivalent(e){return e instanceof Ue&&ae(this.parts,e.parts)}isConstant(){return!1}visitExpression(e,t){return e.visitCommaExpr(this,t)}}const He=new ye(null,null,null),ze=new ye(null,K,null);var qe;!function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"}(qe||(qe={}));class Ge{constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class We extends Ge{constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${mt(e[0])} `;let t="*\n";
2for(const n of e)t+=" *",t+=mt(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class Ye{constructor(e=qe.None,t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return 0!=(this.modifiers&e)}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}}class Ze extends Ye{constructor(e,t,n,r,i,o){super(r,i,o),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof Ze&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class Ke extends Ye{constructor(e,t,n,r,i,o,s){super(i,o,s),this.name=e,this.params=t,this.statements=n,this.type=r||null}isEquivalent(e){return e instanceof Ke&&ae(this.params,e.params)&&ae(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class Je extends Ye{constructor(e,t,n){super(qe.None,t,n),this.expr=e}isEquivalent(e){return e instanceof Je&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class Xe extends Ye{constructor(e,t=null,n){super(qe.None,t,n),this.value=e}isEquivalent(e){return e instanceof Xe&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class Qe extends Ye{constructor(e,t,n=[],r,i){super(qe.None,r,i),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof Qe&&this.condition.isEquivalent(e.condition)&&ae(this.trueCase,e.trueCase)&&ae(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}function et(e,t=!1,n=!0){return new Ge(e,t,n)}function tt(e=[]){return new We(e)}function nt(e,t,n){return new ce(e,t,n)}function rt(e,t=null,n){return new Ie(e,null,t,n)}function it(e,t,n){return new G(e,t,n)}function ot(e){return new le(e)}function st(e,t,n){return new $e(e,t,n)}function at(e,t=null){return new Be(e.map((e=>new Ve(e.key,e.value,e.quoted))),t,null)}function ut(e,t){return new Ae(e,t)}function ct(e,t,n,r,i){return new Pe(e,t,n,r,i)}function lt(e,t,n,r,i){return new Qe(e,t,n,r,i)}function pt(e,t,n,r){return new ge(e,t,n,r)}function dt(e,t,n){return new ye(e,t,n)}function ht(e,t,n,r,i){return new Se(e,t,n,r,i)}function ft(e){return e instanceof ye&&null===e.value}function mt(e){let t="";if(e.tagName&&(t+=` @${e.tagName}`),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}var gt=Object.freeze({__proto__:null,get TypeModifier(){return U},Type:z,get BuiltinTypeName(){return H},BuiltinType:q,ExpressionType:G,ArrayType:W,MapType:Y,DYNAMIC_TYPE:Z,INFERRED_TYPE:K,BOOL_TYPE:J,INT_TYPE:X,NUMBER_TYPE:Q,STRING_TYPE:ee,FUNCTION_TYPE:te,NONE_TYPE:ne,get UnaryOperator(){return re},get BinaryOperator(){return ie},nullSafeIsEquivalent:oe,areAllEquivalent:ae,Expression:ue,ReadVarExpr:ce,TypeofExpr:le,WrappedNodeExpr:pe,WriteVarExpr:de,WriteKeyExpr:he,WritePropExpr:fe,InvokeFunctionExpr:me,TaggedTemplateExpr:ge,InstantiateExpr:ve,LiteralExpr:ye,TemplateLiteral:_e,TemplateLiteralElement:be,LiteralPiece:we,PlaceholderPiece:Ee,LocalizedString:Se,ExternalExpr:Ie,ExternalReference:Oe,ConditionalExpr:Me,NotExpr:Ae,FnParam:Ne,FunctionExpr:Pe,UnaryOperatorExpr:Re,BinaryOperatorExpr:Fe,ReadPropExpr:je,ReadKeyExpr:Le,LiteralArrayExpr:$e,LiteralMapEntry:Ve,LiteralMapExpr:Be,CommaExpr:Ue,NULL_EXPR:He,TYPED_NULL_EXPR:ze,get StmtModifier(){return qe},LeadingComment:Ge,JSDocComment:We,Statement:Ye,DeclareVarStmt:Ze,DeclareFunctionStmt:Ke,ExpressionStatement:Je,ReturnStatement:Xe,IfStmt:Qe,RecursiveAstVisitor:class{visitType(e,t){return e}visitExpression(e,t){return e.type&&e.type.visitType(this,t),e}visitBuiltinType(e,t){return this.visitType(e,t)}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach((e=>this.visitType(e,t))),this.visitType(e,t)}visitArrayType(e,t){return this.visitType(e,t)}visitMapType(e,t){return this.visitType(e,t)}visitWrappedNodeExpr(e,t){return e}visitTypeofExpr(e,t){return this.visitExpression(e,t)}visitReadVarExpr(e,t){return this.visitExpression(e,t)}
2visitWriteVarExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWriteKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWritePropExpr(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitTaggedTemplateExpr(e,t){return e.tag.visitExpression(this,t),this.visitAllExpressions(e.template.expressions,t),this.visitExpression(e,t)}visitInstantiateExpr(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitLiteralExpr(e,t){return this.visitExpression(e,t)}visitLocalizedString(e,t){return this.visitExpression(e,t)}visitExternalExpr(e,t){return e.typeParams&&e.typeParams.forEach((e=>e.visitType(this,t))),this.visitExpression(e,t)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)}visitNotExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitFunctionExpr(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)}visitUnaryOperatorExpr(e,t){return e.expr.visitExpression(this,t),this.visitExpression(e,t)}visitBinaryOperatorExpr(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)}visitLiteralMapExpr(e,t){return e.entries.forEach((e=>e.value.visitExpression(this,t))),this.visitExpression(e,t)}visitCommaExpr(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)}visitAllExpressions(e,t){e.forEach((e=>e.visitExpression(this,t)))}visitDeclareVarStmt(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e}visitDeclareFunctionStmt(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t),e}visitReturnStmt(e,t){return e.value.visitExpression(this,t),e}visitIfStmt(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e}visitAllStatements(e,t){e.forEach((e=>e.visitStatement(this,t)))}},leadingComment:et,jsDocComment:tt,variable:nt,importExpr:rt,importType:function(e,t,n){return null!=e?it(rt(e,t,null),n):null},expressionType:it,typeofExpr:ot,literalArr:st,literalMap:at,unary:function(e,t,n,r){return new Re(e,t,n,r)},not:ut,fn:ct,ifStmt:lt,taggedTemplate:pt,literal:dt,localizedString:ht,isNull:ft});const vt=nt("<unknown>"),yt={};class _t extends ue{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===yt?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof _t&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class bt{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.nextNameIndex=0}getConstLiteral(e,t){if(e instanceof ye&&!xt(e)||e instanceof _t)return e;const n=this.keyOf(e);let r=this.literals.get(n),i=!1;if(r||(r=new _t(e),this.literals.set(n,r),i=!0),!i&&!r.shared||i&&t){const t=this.freshName();let n,i;this.isClosureCompilerEnabled&&xt(e)?(n=nt(t).set(new Pe([],[new Xe(e)])),i=nt(t).callFn([])):(n=nt(t).set(e),i=nt(t)),this.statements.push(n.toDeclStmt(K,qe.Final)),r.fixup(i)}return r}getLiteralFactory(e){if(e instanceof $e){const t=e.entries.map((e=>e.isConstant()?e:vt)),n=this.keyOf(st(t));return this._getLiteralFactory(n,e.entries,(e=>st(e)))}{const t=at(e.entries.map((e=>({key:e.key,value:e.value.isConstant()?e.value:vt,quoted:e.quoted})))),n=this.keyOf(t);return this._getLiteralFactory(n,e.entries.map((e=>e.value)),(t=>at(t.map(((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))))}}
2_getLiteralFactory(e,t,n){let r=this.literalFactories.get(e);const i=t.filter((e=>!e.isConstant()));if(!r){const i=t.map(((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):nt(`a${t}`))),o=ct(i.filter(St).map((e=>new Ne(e.name,Z))),[new Xe(n(i))],K),s=this.freshName();this.statements.push(nt(s).set(o).toDeclStmt(K,qe.Final)),r=nt(s),this.literalFactories.set(e,r)}return{literalFactory:r,literalFactoryArguments:i}}uniqueName(e){return`${e}${this.nextNameIndex++}`}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new wt,yt)}}class wt{constructor(){this.visitWrappedNodeExpr=Et,this.visitWriteVarExpr=Et,this.visitWriteKeyExpr=Et,this.visitWritePropExpr=Et,this.visitInvokeFunctionExpr=Et,this.visitTaggedTemplateExpr=Et,this.visitInstantiateExpr=Et,this.visitConditionalExpr=Et,this.visitNotExpr=Et,this.visitAssertNotNullExpr=Et,this.visitCastExpr=Et,this.visitFunctionExpr=Et,this.visitUnaryOperatorExpr=Et,this.visitBinaryOperatorExpr=Et,this.visitReadPropExpr=Et,this.visitReadKeyExpr=Et,this.visitCommaExpr=Et,this.visitLocalizedString=Et}visitLiteralExpr(e){return`${"string"==typeof e.value?'"'+e.value+'"':e.value}`}visitLiteralArrayExpr(e,t){return`[${e.entries.map((e=>e.visitExpression(this,t))).join(",")}]`}visitLiteralMapExpr(e,t){return`{${e.entries.map((e=>`${(e=>{const t=e.quoted?'"':"";return`${t}${e.key}${t}`})(e)}:${e.value.visitExpression(this,t)}`)).join(",")}`}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:`EX:${e.value.runtime.name}`}visitReadVarExpr(e){return`VAR:${e.name}`}visitTypeofExpr(e,t){return`TYPEOF:${e.expr.visitExpression(this,t)}`}}function Et(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function St(e){return e instanceof ce}function xt(e){return e instanceof ye&&"string"==typeof e.value&&e.value.length>=50}const Dt="@angular/core";class Ct{}Ct.NEW_METHOD="factory",Ct.TRANSFORM_METHOD="transform",Ct.PATCH_DEPS="patchedDeps",Ct.core={name:null,moduleName:Dt},Ct.namespaceHTML={name:"ɵɵnamespaceHTML",moduleName:Dt},Ct.namespaceMathML={name:"ɵɵnamespaceMathML",moduleName:Dt},Ct.namespaceSVG={name:"ɵɵnamespaceSVG",moduleName:Dt},Ct.element={name:"ɵɵelement",moduleName:Dt},Ct.elementStart={name:"ɵɵelementStart",moduleName:Dt},Ct.elementEnd={name:"ɵɵelementEnd",moduleName:Dt},Ct.advance={name:"ɵɵadvance",moduleName:Dt},Ct.syntheticHostProperty={name:"ɵɵsyntheticHostProperty",moduleName:Dt},Ct.syntheticHostListener={name:"ɵɵsyntheticHostListener",moduleName:Dt},Ct.attribute={name:"ɵɵattribute",moduleName:Dt},Ct.attributeInterpolate1={name:"ɵɵattributeInterpolate1",moduleName:Dt},Ct.attributeInterpolate2={name:"ɵɵattributeInterpolate2",moduleName:Dt},Ct.attributeInterpolate3={name:"ɵɵattributeInterpolate3",moduleName:Dt},Ct.attributeInterpolate4={name:"ɵɵattributeInterpolate4",moduleName:Dt},Ct.attributeInterpolate5={name:"ɵɵattributeInterpolate5",moduleName:Dt},Ct.attributeInterpolate6={name:"ɵɵattributeInterpolate6",moduleName:Dt},Ct.attributeInterpolate7={name:"ɵɵattributeInterpolate7",moduleName:Dt},Ct.attributeInterpolate8={name:"ɵɵattributeInterpolate8",moduleName:Dt},Ct.attributeInterpolateV={name:"ɵɵattributeInterpolateV",moduleName:Dt},Ct.classProp={name:"ɵɵclassProp",moduleName:Dt},Ct.elementContainerStart={name:"ɵɵelementContainerStart",moduleName:Dt},Ct.elementContainerEnd={name:"ɵɵelementContainerEnd",moduleName:Dt},Ct.elementContainer={name:"ɵɵelementContainer",moduleName:Dt},Ct.styleMap={name:"ɵɵstyleMap",moduleName:Dt},Ct.styleMapInterpolate1={name:"ɵɵstyleMapInterpolate1",moduleName:Dt},Ct.styleMapInterpolate2={name:"ɵɵstyleMapInterpolate2",moduleName:Dt},Ct.styleMapInterpolate3={name:"ɵɵstyleMapInterpolate3",moduleName:Dt},Ct.styleMapInterpolate4={name:"ɵɵstyleMapInterpolate4",moduleName:Dt},Ct.styleMapInterpolate5={name:"ɵɵstyleMapInterpolate5",moduleName:Dt},Ct.styleMapInterpolate6={name:"ɵɵstyleMapInterpolate6",moduleName:Dt},Ct.styleMapInterpolate7={name:"ɵɵstyleMapInterpolate7",moduleName:Dt},Ct.styleMapInterpolate8={name:"ɵɵstyleMapInterpolate8",moduleName:Dt},Ct.styleMapInterpolateV={name:"ɵɵstyleMapInterpolateV",moduleName:Dt},Ct.classMap={name:"ɵɵclassMap",moduleName:Dt},Ct.classMapInterpolate1={name:"ɵɵclassMapInterpolate1",moduleName:Dt},Ct.classMapInterpolate2={name:"ɵɵclassMapInterpolate2",moduleName:Dt},Ct.classMapInterpolate3={name:"ɵɵclassMapInterpolate3",moduleName:Dt},Ct.classMapInterpolate4={name:"ɵɵclassMapInterpolate4",moduleName:Dt},Ct.classMapInterpolate5={name:"ɵɵclassMapInterpolate5",moduleName:Dt},Ct.classMapInterpolate6={name:"ɵɵclassMapInterpolate6",moduleName:Dt},Ct.classMapInterpolate7={name:"ɵɵclassMapInterpolate7",moduleName:Dt},Ct.classMapInterpolate8={name:"ɵɵclassMapInterpolate8",moduleName:Dt},Ct.classMapInterpolateV={name:"ɵɵclassMapInterpolateV",moduleName:Dt},Ct.styleProp={name:"ɵɵstyleProp",moduleName:Dt},Ct.stylePropInterpolate1={name:"ɵɵstylePropInterpolate1",moduleName:Dt},Ct.stylePropInterpolate2={name:"ɵɵstylePropInterpolate2",moduleName:Dt},Ct.stylePropInterpolate3={name:"ɵɵstylePropInterpolate3",moduleName:Dt},Ct.stylePropInterpolate4={name:"ɵɵstylePropInterpolate4",moduleName:Dt},Ct.stylePropInterpolate5={name:"ɵɵstylePropInterpolate5",moduleName:Dt},Ct.stylePropInterpolate6={name:"ɵɵstylePropInterpolate6",moduleName:Dt},Ct.stylePropInterpolate7={name:"ɵɵstylePropInterpolate7",moduleName:Dt},Ct.stylePropInterpolate8={name:"ɵɵstylePropInterpolate8",moduleName:Dt},Ct.stylePropInterpolateV={name:"ɵɵstylePropInterpolateV",moduleName:Dt},Ct.nextContext={name:"ɵɵnextContext",moduleName:Dt}
2,Ct.resetView={name:"ɵɵresetView",moduleName:Dt},Ct.templateCreate={name:"ɵɵtemplate",moduleName:Dt},Ct.text={name:"ɵɵtext",moduleName:Dt},Ct.enableBindings={name:"ɵɵenableBindings",moduleName:Dt},Ct.disableBindings={name:"ɵɵdisableBindings",moduleName:Dt},Ct.getCurrentView={name:"ɵɵgetCurrentView",moduleName:Dt},Ct.textInterpolate={name:"ɵɵtextInterpolate",moduleName:Dt},Ct.textInterpolate1={name:"ɵɵtextInterpolate1",moduleName:Dt},Ct.textInterpolate2={name:"ɵɵtextInterpolate2",moduleName:Dt},Ct.textInterpolate3={name:"ɵɵtextInterpolate3",moduleName:Dt},Ct.textInterpolate4={name:"ɵɵtextInterpolate4",moduleName:Dt},Ct.textInterpolate5={name:"ɵɵtextInterpolate5",moduleName:Dt},Ct.textInterpolate6={name:"ɵɵtextInterpolate6",moduleName:Dt},Ct.textInterpolate7={name:"ɵɵtextInterpolate7",moduleName:Dt},Ct.textInterpolate8={name:"ɵɵtextInterpolate8",moduleName:Dt},Ct.textInterpolateV={name:"ɵɵtextInterpolateV",moduleName:Dt},Ct.restoreView={name:"ɵɵrestoreView",moduleName:Dt},Ct.pureFunction0={name:"ɵɵpureFunction0",moduleName:Dt},Ct.pureFunction1={name:"ɵɵpureFunction1",moduleName:Dt},Ct.pureFunction2={name:"ɵɵpureFunction2",moduleName:Dt},Ct.pureFunction3={name:"ɵɵpureFunction3",moduleName:Dt},Ct.pureFunction4={name:"ɵɵpureFunction4",moduleName:Dt},Ct.pureFunction5={name:"ɵɵpureFunction5",moduleName:Dt},Ct.pureFunction6={name:"ɵɵpureFunction6",moduleName:Dt},Ct.pureFunction7={name:"ɵɵpureFunction7",moduleName:Dt},Ct.pureFunction8={name:"ɵɵpureFunction8",moduleName:Dt},Ct.pureFunctionV={name:"ɵɵpureFunctionV",moduleName:Dt},Ct.pipeBind1={name:"ɵɵpipeBind1",moduleName:Dt},Ct.pipeBind2={name:"ɵɵpipeBind2",moduleName:Dt},Ct.pipeBind3={name:"ɵɵpipeBind3",moduleName:Dt},Ct.pipeBind4={name:"ɵɵpipeBind4",moduleName:Dt},Ct.pipeBindV={name:"ɵɵpipeBindV",moduleName:Dt},Ct.hostProperty={name:"ɵɵhostProperty",moduleName:Dt},Ct.property={name:"ɵɵproperty",moduleName:Dt},Ct.propertyInterpolate={name:"ɵɵpropertyInterpolate",moduleName:Dt},Ct.propertyInterpolate1={name:"ɵɵpropertyInterpolate1",moduleName:Dt},Ct.propertyInterpolate2={name:"ɵɵpropertyInterpolate2",moduleName:Dt},Ct.propertyInterpolate3={name:"ɵɵpropertyInterpolate3",moduleName:Dt},Ct.propertyInterpolate4={name:"ɵɵpropertyInterpolate4",moduleName:Dt},Ct.propertyInterpolate5={name:"ɵɵpropertyInterpolate5",moduleName:Dt},Ct.propertyInterpolate6={name:"ɵɵpropertyInterpolate6",moduleName:Dt},Ct.propertyInterpolate7={name:"ɵɵpropertyInterpolate7",moduleName:Dt},Ct.propertyInterpolate8={name:"ɵɵpropertyInterpolate8",moduleName:Dt},Ct.propertyInterpolateV={name:"ɵɵpropertyInterpolateV",moduleName:Dt},Ct.i18n={name:"ɵɵi18n",moduleName:Dt},Ct.i18nAttributes={name:"ɵɵi18nAttributes",moduleName:Dt},Ct.i18nExp={name:"ɵɵi18nExp",moduleName:Dt},Ct.i18nStart={name:"ɵɵi18nStart",moduleName:Dt},Ct.i18nEnd={name:"ɵɵi18nEnd",moduleName:Dt},Ct.i18nApply={name:"ɵɵi18nApply",moduleName:Dt},Ct.i18nPostprocess={name:"ɵɵi18nPostprocess",moduleName:Dt},Ct.pipe={name:"ɵɵpipe",moduleName:Dt},Ct.projection={name:"ɵɵprojection",moduleName:Dt},Ct.projectionDef={name:"ɵɵprojectionDef",moduleName:Dt},Ct.reference={name:"ɵɵreference",moduleName:Dt},Ct.inject={name:"ɵɵinject",moduleName:Dt},Ct.injectAttribute={name:"ɵɵinjectAttribute",moduleName:Dt},Ct.directiveInject={name:"ɵɵdirectiveInject",moduleName:Dt},Ct.invalidFactory={name:"ɵɵinvalidFactory",moduleName:Dt},Ct.invalidFactoryDep={name:"ɵɵinvalidFactoryDep",moduleName:Dt},Ct.templateRefExtractor={name:"ɵɵtemplateRefExtractor",moduleName:Dt},Ct.forwardRef={name:"forwardRef",moduleName:Dt},Ct.resolveForwardRef={name:"resolveForwardRef",moduleName:Dt},Ct.ɵɵdefineInjectable={name:"ɵɵdefineInjectable",moduleName:Dt},Ct.declareInjectable={name:"ɵɵngDeclareInjectable",moduleName:Dt},Ct.InjectableDeclaration={name:"ɵɵInjectableDeclaration",moduleName:Dt},Ct.resolveWindow={name:"ɵɵresolveWindow",moduleName:Dt},Ct.resolveDocument={name:"ɵɵresolveDocument",moduleName:Dt},Ct.resolveBody={name:"ɵɵresolveBody",moduleName:Dt},Ct.defineComponent={name:"ɵɵdefineComponent",moduleName:Dt},Ct.declareComponent={name:"ɵɵngDeclareComponent",moduleName:Dt},Ct.setComponentScope={name:"ɵɵsetComponentScope",moduleName:Dt},Ct.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:Dt},Ct.ViewEncapsulation={name:"ViewEncapsulation",moduleName:Dt},Ct.ComponentDeclaration={name:"ɵɵComponentDeclaration",moduleName:Dt},Ct.FactoryDeclaration={name:"ɵɵFactoryDeclaration",moduleName:Dt},Ct.declareFactory={name:"ɵɵngDeclareFactory",moduleName:Dt},Ct.FactoryTarget={name:"ɵɵFactoryTarget",moduleName:Dt},Ct.defineDirective={name:"ɵɵdefineDirective",moduleName:Dt},Ct.declareDirective={name:"ɵɵngDeclareDirective",moduleName:Dt},Ct.DirectiveDeclaration={name:"ɵɵDirectiveDeclaration",moduleName:Dt},Ct.InjectorDef={name:"ɵɵInjectorDef",moduleName:Dt},Ct.InjectorDeclaration={name:"ɵɵInjectorDeclaration",moduleName:Dt},Ct.defineInjector={name:"ɵɵdefineInjector",moduleName:Dt},Ct.declareInjector={name:"ɵɵngDeclareInjector",moduleName:Dt},Ct.NgModuleDeclaration={name:"ɵɵNgModuleDeclaration",moduleName:Dt},Ct.ModuleWithProviders={name:"ModuleWithProviders",moduleName:Dt},Ct.defineNgModule={name:"ɵɵdefineNgModule",moduleName:Dt},Ct.declareNgModule={name:"ɵɵngDeclareNgModule",moduleName:Dt},Ct.setNgModuleScope={name:"ɵɵsetNgModuleScope",moduleName:Dt},Ct.registerNgModuleType={name:"ɵɵregisterNgModuleType",moduleName:Dt},Ct.PipeDeclaration={name:"ɵɵPipeDeclaration",moduleName:Dt},Ct.definePipe={name:"ɵɵdefinePipe",moduleName:Dt},Ct.declarePipe={name:"ɵɵngDeclarePipe",moduleName:Dt},Ct.declareClassMetadata={name:"ɵɵngDeclareClassMetadata",moduleName:Dt},Ct.setClassMetadata={name:"ɵsetClassMetadata",moduleName:Dt},Ct.queryRefresh={name:"ɵɵqueryRefresh",moduleName:Dt},Ct.viewQuery={name:"ɵɵviewQuery",moduleName:Dt},Ct.loadQuery={name:"ɵɵloadQuery",moduleName:Dt},Ct.contentQuery={name:"ɵɵcontentQuery",moduleName:Dt},Ct.NgOnChangesFeature={name:"ɵɵNgOnChangesFeature",moduleName:Dt},Ct.InheritDefinitionFeature={name:"ɵɵInheritDefinitionFeature",moduleName:Dt},Ct.CopyDefinitionFeature={name:"ɵɵCopyDefinitionFeature",moduleName:Dt},Ct.StandaloneFeature={name:"ɵɵStandaloneFeature",moduleName:Dt},Ct.ProvidersFeature={name:"ɵɵProvidersFeature",moduleName:Dt},Ct.HostDirectivesFeature={name:"ɵɵHostDirectivesFeature",moduleName:Dt},Ct.listener={name:"ɵɵlistener",moduleName:Dt},Ct.getInheritedFactory={name:"ɵɵgetInheritedFactory",moduleName:Dt},Ct.sanitizeHtml={name:"ɵɵsanitizeHtml",moduleName:Dt},Ct.sanitizeStyle={name:"ɵɵsanitizeStyle",moduleName:Dt},Ct.sanitizeResourceUrl={name:"ɵɵsanitizeResourceUrl",moduleName:Dt},Ct.sanitizeScript={name:"ɵɵsanitizeScript",moduleName:Dt},Ct.sanitizeUrl={name:"ɵɵsanitizeUrl",moduleName:Dt},Ct.sanitizeUrlOrResourceUrl={name:"ɵɵsanitizeUrlOrResourceUrl",moduleName:Dt}
2,Ct.trustConstantHtml={name:"ɵɵtrustConstantHtml",moduleName:Dt},Ct.trustConstantResourceUrl={name:"ɵɵtrustConstantResourceUrl",moduleName:Dt},Ct.validateIframeAttribute={name:"ɵɵvalidateIframeAttribute",moduleName:Dt};const Tt=/-+([a-z0-9])/g;function kt(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function It(e){throw new Error(`Internal Error: ${e}`)}function Ot(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ot).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}class Mt{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const At=(()=>"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)();class Nt{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach(((r,i)=>{e.set(r,i),t.push(r),n.push(this.sourcesContent.get(r)||null)}));let r="",i=0,o=0,s=0,a=0;return this.lines.forEach((t=>{i=0,r+=t.map((t=>{let n=Pt(t.col0-i);return i=t.col0,null!=t.sourceUrl&&(n+=Pt(e.get(t.sourceUrl)-o),o=e.get(t.sourceUrl),n+=Pt(t.sourceLine0-s),s=t.sourceLine0,n+=Pt(t.sourceCol0-a),a=t.sourceCol0),n})).join(","),r+=";"})),r=r.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:r}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";const n=function(e){let t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t.push(r):r<=2047?t.push(r>>6&31|192,63&r|128):r<=65535?t.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&t.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return t}(e);for(let e=0;e<n.length;){const r=n[e++],i=e<n.length?n[e++]:null,o=e<n.length?n[e++]:null;t+=Ft(r>>2),t+=Ft((3&r)<<4|(null===i?0:i>>4)),t+=null===i?"=":Ft((15&i)<<2|(null===o?0:o>>6)),t+=null===i||null===o?"=":Ft(63&o)}return t}(JSON.stringify(this,null,0)):""}}function Pt(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=Ft(n)}while(e>0);return t}const Rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ft(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return Rt[e]}const jt=/'|\\|\n|\r|\$/g,Lt=/^[$A-Z_][0-9A-Z_$]*$/i,$t="  ";class Vt{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class Bt{static createRoot(){return new Bt(0)}constructor(e){this._indent=e,this._lines=[new Vt(e)]}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new Vt(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}
2decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map((e=>e.parts.length>0?zt(e.indent)+e.parts.join(""):"")).join("\n")}toSourceMapGenerator(e,t=0){const n=new Nt(e);let r=!1;const i=()=>{r||(n.addSource(e," ").addMapping(0,e,0,0),r=!0)};for(let e=0;e<t;e++)n.addLine(),i();return this.sourceLines.forEach(((e,t)=>{n.addLine();const o=e.srcSpans,s=e.parts;let a=2*e.indent,u=0;for(;u<o.length&&!o[u];)a+=s[u].length,u++;for(u<o.length&&0===t&&0===a?r=!0:i();u<o.length;){const e=o[u],t=e.start.file,r=e.start.line,i=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,r,i),a+=s[u].length,u++;u<o.length&&(e===o[u]||!o[u]);)a+=s[u].length,u++}})),n}spanOf(e,t){const n=this._lines[e];if(n){let e=t-zt(n.indent).length;for(let t=0;t<n.parts.length;t++){const r=n.parts[t];if(r.length>e)return n.srcSpans[t];e-=r.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class Ut{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof We?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach((n=>{t.println(e,`// ${n}`)}))}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitWriteVarExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,`${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWriteKeyExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWritePropExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateExpr(e,t){e.tag.visitExpression(this,t),t.print(e,"`"+e.template.elements[0].rawText);for(let n=1;n<e.template.elements.length;n++)t.print(e,"${"),e.template.expressions[n-1].visitExpression(this,t),t.print(e,`}${e.template.elements[n].rawText}`);return t.print(e,"`"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){return t.print(e,e.name),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,Ht(n,this._escapeDollarInStrings)):t.print(e,`${n}`),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let n=1;n<e.messageParts.length;n++)t.print(e,"${"),e.expressions[n-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(n).raw}`);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case re.Plus:n="+";break;case re.Minus:n="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n;switch(e.operator){case ie.Equals:n="==";break;case ie.Identical:n="===";break;case ie.NotEquals:n="!=";break;case ie.NotIdentical:n="!==";break;case ie.And:n="&&";break;case ie.BitwiseAnd:n="&";break;case ie.Or:n="||";break;case ie.Plus:n="+";break;case ie.Minus:n="-";break;case ie.Divide:n="/";break;case ie.Multiply:n="*";break;case ie.Modulo:n="%";break;case ie.Lower:n="<";break;case ie.LowerEquals:n="<=";break;case ie.Bigger:n=">";break;case ie.BiggerEquals:n=">=";break;case ie.NullishCoalesce:n="??";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects((n=>{t.print(e,`${Ht(n.key,this._escapeDollarInStrings,n.quoted)}:`),n.value.visitExpression(this,t)}),e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,n){this.visitAllObjects((e=>e.visitExpression(this,t)),e,t,n)}visitAllObjects(e,t,n,r){let i=!1;for(let o=0;o<t.length;o++)o>0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),e(t[o]);i&&(n.decIndent(),n.decIndent())}visitAllStatements(e,t){e.forEach((e=>
2e.visitStatement(this,t)))}}function Ht(e,t,n=!0){if(null==e)return null;const r=e.replace(jt,((...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":`\\${e[0]}`));return n||!Lt.test(r)?`'${r}'`:r}function zt(e){let t="";for(let n=0;n<e;n++)t+=$t;return t}function qt(e,t){if(0===t)return it(e);const n=[];for(let e=0;e<t;e++)n.push(Z);return it(e,void 0,n)}const Gt="@";function Wt(e){return`${Gt}${e}`}function Yt(e,t){const n=Ht(t,!1,!1);return n!==t?`${e}[${n}]`:`${e}.${t}`}function Zt(e,t){return`animation_${e}_${t}`}function Kt(e){return Jt("ngDevMode",e)}function Jt(e,t){const n=new Ie({name:e,moduleName:null}),r=new Fe(ie.Identical,new le(n),dt("undefined")),i=new Fe(ie.Or,r,n,void 0,void 0,!0);return new Fe(ie.And,i,t)}function Xt(e){const t=new pe(e);return{value:t,type:t}}function Qt(e,t){const n=st(e.map((e=>e.value)));return t?ct([],[new Xe(n)]):n}function en(e,t){return{expression:e,forwardRef:t}}function tn({expression:e,forwardRef:t}){switch(t){case 0:case 1:return e;case 2:return nn(e)}}function nn(e){return rt(Ct.forwardRef).callFn([ct([],[new Xe(e)])])}var rn,on;function sn(e){const t=nt("t");let n=null;const r=cn(e)?t:new Fe(ie.Or,t,e.internalType);let i=null;null!==e.deps?"invalid"!==e.deps&&(i=new ve(r,un(e.deps,e.target))):(n=nt(`ɵ${e.name}_BaseFactory`),i=n.callFn([r]));const o=[];let s=null;function a(e){const n=nt("r");o.push(n.set(He).toDeclStmt());const r=null!==i?n.set(i).toStmt():rt(Ct.invalidFactory).callFn([]).toStmt();return o.push(lt(t,[r],[n.set(e).toStmt()])),n}if(cn(e)){const t=un(e.delegateDeps,e.target);s=a(new(e.delegateType===rn.Class?ve:me)(e.delegate,t))}else s=function(e){return void 0!==e.expression}(e)?a(e.expression):i;if(null===s)o.push(rt(Ct.invalidFactory).callFn([]).toStmt());else if(null!==n){const t=rt(Ct.getInheritedFactory).callFn([e.internalType]),i=new Fe(ie.Or,n,n.set(t));o.push(new Xe(i.callFn([r])))}else o.push(new Xe(s));let u=ct([new Ne("t",Z)],o,K,void 0,`${e.name}_Factory`);return null!==n&&(u=ct([],[new Ze(n.name),new Xe(u)]).callFn([],void 0,!0)),{expression:u,statements:[],type:an(e)}}function an(e){const t=null!==e.deps&&"invalid"!==e.deps?function(e){let t=!1;const n=e.map((e=>{const n=function(e){const t=[];null!==e.attributeNameType&&t.push({key:"attribute",value:e.attributeNameType,quoted:!1});e.optional&&t.push({key:"optional",value:dt(!0),quoted:!1});e.host&&t.push({key:"host",value:dt(!0),quoted:!1});e.self&&t.push({key:"self",value:dt(!0),quoted:!1});e.skipSelf&&t.push({key:"skipSelf",value:dt(!0),quoted:!1});return t.length>0?at(t):null}(e);return null!==n?(t=!0,n):dt(null)}));return t?it(st(n)):ne}(e.deps):ne;return it(rt(Ct.FactoryDeclaration,[qt(e.type.type,e.typeArgumentCount),t]))}function un(e,t){return e.map(((e,n)=>function(e,t,n){if(null===e.token)return rt(Ct.invalidFactoryDep).callFn([dt(n)]);if(null===e.attributeNameType){const n=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0)|(t===on.Pipe?16:0);let r=0!==n||e.optional?dt(n):null;const i=[e.token];r&&i.push(r);const o=function(e){switch(e){case on.Component:case on.Directive:case on.Pipe:return Ct.directiveInject;case on.NgModule:case on.Injectable:default:return Ct.inject}}(t);return rt(o).callFn(i)}return rt(Ct.injectAttribute).callFn([e.token])}(e,t,n)))}function cn(e){return void 0!==e.delegateType}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"}(rn||(rn={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(on||(on={}));class ln{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}}class pn{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class dn{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class hn{constructor(e,t,n,r,i,o){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i,this.i18n=o}visit(e){return e.visitTextAttribute(this)}}class fn{constructor(e,t,n,r,i,o,s,a,u){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.keySpan=s,this.valueSpan=a,this.i18n=u}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: ke
2ySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new fn(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class mn{constructor(e,t,n,r,i,o,s,a){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=i,this.sourceSpan=o,this.handlerSpan=s,this.keySpan=a}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new mn(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}class gn{constructor(e,t,n,r,i,o,s,a,u,c){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=i,this.references=o,this.sourceSpan=s,this.startSourceSpan=a,this.endSourceSpan=u,this.i18n=c}visit(e){return e.visitElement(this)}}class vn{constructor(e,t,n,r,i,o,s,a,u,c,l,p){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=i,this.children=o,this.references=s,this.variables=a,this.sourceSpan=u,this.startSourceSpan=c,this.endSourceSpan=l,this.i18n=p}visit(e){return e.visitTemplate(this)}}class yn{constructor(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}visit(e){return e.visitContent(this)}}class _n{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}visit(e){return e.visitVariable(this)}}class bn{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}visit(e){return e.visitReference(this)}}class wn{constructor(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitIcu(this)}}class En{visitElement(e){Sn(this,e.attributes),Sn(this,e.inputs),Sn(this,e.outputs),Sn(this,e.children),Sn(this,e.references)}visitTemplate(e){Sn(this,e.attributes),Sn(this,e.inputs),Sn(this,e.outputs),Sn(this,e.children),Sn(this,e.references),Sn(this,e.variables)}visitContent(e){}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}}function Sn(e,t){const n=[];if(e.visit)for(const n of t){e.visit(n)||n.visit(e)}else for(const r of t){const t=r.visit(e);t&&n.push(t)}return n}class xn{constructor(e,t,n,r,i,o){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.customId=o,this.id=this.customId,this.legacyIds=[],this.messageString=function(e){const t=new Nn;return e.map((e=>e.visit(t))).join("")}(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class Dn{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class Cn{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class Tn{constructor(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}visit(e,t){return e.visitIcu(this,t)}}class kn{constructor(e,t,n,r,i,o,s,a,u){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=s,this.startSourceSpan=a,this.endSourceSpan=u}visit(e,t){return e.visitTagPlaceholder(this,t)}}class In{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class On{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class Mn{visitText(e,t){return new Dn(e.value,e.sourceSpan)}visitContainer(e,t){const n=e.children.map((e=>e.visit(this,t)));return new Cn(n,e.sourceSpan)}visitIcu(e,t){const n={};Object.keys(e.cases).forEach((r=>n[r]=e.cases[r].visit(this,t)));const r=new Tn(e.expression,e.type,n,e.sourceSpan);return r.expressionPlaceholder=e.expressionPlaceholder,r}visitTagPlaceholder(e,t){const n=e.children.map((e=>e.visit(this,t)));return new kn(e.tag,e.attrs,e.startName,e.closeName,n,e.isVoid,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitPlaceholder(e,t){return new In(e.value,e.name,e.sourceSpan)}visitIcuPlaceholder(e,t){return new On(e.value,e.name,e.sourceSpan)}}class An{visitText(e,t){}
2visitContainer(e,t){e.children.forEach((e=>e.visit(this)))}visitIcu(e,t){Object.keys(e.cases).forEach((t=>{e.cases[t].visit(this)}))}visitTagPlaceholder(e,t){e.children.forEach((e=>e.visit(this)))}visitPlaceholder(e,t){}visitIcuPlaceholder(e,t){}}class Nn{visitText(e){return e.value}visitContainer(e){return e.children.map((e=>e.visit(this))).join("")}visitIcu(e){const t=Object.keys(e.cases).map((t=>`${t} {${e.cases[t].visit(this)}}`));return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){const t=e.children.map((e=>e.visit(this))).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}}class Pn{createNameMapper(e){return null}}class Rn extends An{constructor(e,t){super(),this.mapName=t,this.internalToPublic={},this.publicToNextId={},this.publicToInternal={},e.nodes.forEach((e=>e.visit(this)))}toPublicName(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null}toInternalName(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null}visitText(e,t){return null}visitTagPlaceholder(e,t){this.visitPlaceholderName(e.startName),super.visitTagPlaceholder(e,t),this.visitPlaceholderName(e.closeName)}visitPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitIcuPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitPlaceholderName(e){if(!e||this.internalToPublic.hasOwnProperty(e))return;let t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){const e=this.publicToNextId[t];this.publicToNextId[t]=e+1,t=`${t}_${e}`}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}}const Fn=new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map((e=>e.visit(this)));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map((t=>`${t}="${e[t]}"`)).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function jn(e){return e.map((e=>e.visit(Fn))).join("")}class Ln{constructor(e){this.attrs={},Object.keys(e).forEach((t=>{this.attrs[t]=zn(e[t])}))}visit(e){return e.visitDeclaration(this)}}class $n{constructor(e,t){this.rootTag=e,this.dtd=t}visit(e){return e.visitDoctype(this)}}class Vn{constructor(e,t={},n=[]){this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach((e=>{this.attrs[e]=zn(t[e])}))}visit(e){return e.visitTag(this)}}class Bn{constructor(e){this.value=zn(e)}visit(e){return e.visitText(this)}}class Un extends Bn{constructor(e=0){super(`\n${new Array(e+1).join(" ")}`)}}const Hn=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function zn(e){return Hn.reduce(((e,t)=>e.replace(t[0],t[1])),e)}const qn="messagebundle",Gn="ph",Wn="ex";class Yn extends Pn{write(e,t){const n=new Jn,r=new Zn;let i=new Vn(qn);return e.forEach((e=>{const t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);let n=[];e.sources.forEach((e=>{n.push(new Vn("source",{},[new Bn(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))})),i.children.push(new Un(2),new Vn("msg",t,[...n,...r.serialize(e.nodes)]))})),i.children.push(new Un),jn([new Ln({version:"1.0",encoding:"UTF-8"}),new Un,new $n(qn,'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new Un,n.addDefaultExamples(i),new Un])}load(e,t){throw new Error("Unsupported")}
2digest(e){return Kn(e)}createNameMapper(e){return new Rn(e,Xn)}}class Zn{visitText(e,t){return[new Bn(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach((e=>n.push(...e.visit(this)))),n}visitIcu(e,t){const n=[new Bn(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach((t=>{n.push(new Bn(`${t} {`),...e.cases[t].visit(this),new Bn("} "))})),n.push(new Bn("}")),n}visitTagPlaceholder(e,t){const n=new Bn(`<${e.tag}>`),r=new Vn(Wn,{},[n]),i=new Vn(Gn,{name:e.startName},[r,n]);if(e.isVoid)return[i];const o=new Bn(`</${e.tag}>`),s=new Vn(Wn,{},[o]),a=new Vn(Gn,{name:e.closeName},[s,o]);return[i,...this.serialize(e.children),a]}visitPlaceholder(e,t){const n=new Bn(`{{${e.value}}}`),r=new Vn(Wn,{},[n]);return[new Vn(Gn,{name:e.name},[r,n])]}visitIcuPlaceholder(e,t){const n=e.value.expression,r=e.value.type,i=Object.keys(e.value.cases).map((e=>e+" {...}")).join(" "),o=new Bn(`{${n}, ${r}, ${i}}`),s=new Vn(Wn,{},[o]);return[new Vn(Gn,{name:e.name},[s,o])]}serialize(e){return[].concat(...e.map((e=>e.visit(this))))}}function Kn(e){return x(e)}class Jn{addDefaultExamples(e){return e.visit(this),e}visitTag(e){if(e.name===Gn){if(!e.children||0==e.children.length){const t=new Bn(e.attrs.name||"...");e.children=[new Vn(Wn,{},[t])]}}else e.children&&e.children.forEach((e=>e.visit(this)))}visitText(e){}visitDeclaration(e){}visitDoctype(e){}}function Xn(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const Qn="i18n",er="i18n-",tr="�";function nr(e){return e===Qn||e.startsWith(er)}function rr(e){return e instanceof xn}function ir(e){return rr(e)&&1===e.nodes.length&&e.nodes[0]instanceof Tn}function or(e){return!!e.i18n}function sr(e){return e.nodes[0]}function ar(e,t=0){return`${tr}${e}${t>0?`:${t}`:""}${tr}`}function ur(e=0){let t=e;return()=>t++}function cr(e){const t={};return e.forEach(((e,n)=>{t[n]=dt(e.length>1?`[${e.join("|")}]`:e[0])})),t}function lr(e,t,...n){const r=e.get(t)||[];r.push(...n),e.set(t,r)}function pr(e,t=0,n=0){const r=t,i=new Map,o=e instanceof xn?e.nodes.find((e=>e instanceof Cn)):e;return o&&o.children.filter((e=>e instanceof In)).forEach(((e,t)=>{const o=ar(r+t,n);lr(i,e.name,o)})),i}function dr(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach((r=>n[hr(r,t)]=e[r])),n}function hr(e,t=!0){const n=Xn(e);if(!t)return n;const r=n.split("_");if(1===r.length)return e.toLowerCase();let i;/^\d+$/.test(r[r.length-1])&&(i=r.pop());let o=r.shift().toLowerCase();return r.length&&(o+=r.map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join("")),i?`${o}_${i}`:o}function fr(e){return`MSG_${e}`.toUpperCase()}function mr(e){return new Ze(e.name,void 0,K,void 0,e.sourceSpan)}const gr=/[-.]/,vr="_t",yr="ctx",_r="rf",br="restoredCtx",wr=500,Er=new Set([Ct.element,Ct.elementStart,Ct.elementEnd,Ct.elementContainer,Ct.elementContainerStart,Ct.elementContainerEnd,Ct.i18nExp,Ct.listener,Ct.classProp,Ct.syntheticHostListener,Ct.hostProperty,Ct.syntheticHostProperty,Ct.property,Ct.propertyInterpolate1,Ct.propertyInterpolate2,Ct.propertyInterpolate3,Ct.propertyInterpolate4,Ct.propertyInterpolate5,Ct.propertyInterpolate6,Ct.propertyInterpolate7,Ct.propertyInterpolate8,Ct.propertyInterpolateV,Ct.attribute,Ct.attributeInterpolate1,Ct.attributeInterpolate2,Ct.attributeInterpolate3,Ct.attributeInterpolate4,Ct.attributeInterpolate5,Ct.attributeInterpolate6,Ct.attributeInterpolate7,Ct.attributeInterpolate8,Ct.attributeInterpolateV,Ct.styleProp,Ct.stylePropInterpolate1,Ct.stylePropInterpolate2,Ct.stylePropInterpolate3,Ct.stylePropInterpolate4,Ct.stylePropInterpolate5,Ct.stylePropInterpolate6,Ct.stylePropInterpolate7,Ct.stylePropInterpolate8,Ct.stylePropInterpolateV,Ct.textInterpolate,Ct.textInterpolate1,Ct.textInterpolate2,Ct.textInterpolate3,Ct.textInterpolate4,Ct.textInterpolate5,Ct.textInterpolate6,Ct.textInterpolate7,Ct.textInterpolate8,Ct.textInterpolateV]);function Sr(e,t,n){return rt(t,null,e).callFn(n,e)}function xr(e,t){let n=null;return()=>(n||(e.push(new Ze(vr,void 0,Z)),n=nt(t)),n)}function Dr(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}
2function Cr(e){return Array.isArray(e)?st(e.map(Cr)):dt(e,K)}function Tr(e,t){return Object.getOwnPropertyNames(e).length>0?function(e,t){return at(Object.getOwnPropertyNames(e).map((n=>{const r=e[n];let i,o,s,a;return Array.isArray(r)?([o,i]=r,s=n,a=o!==i):(s=i=n,o=r,a=!1),{key:s,quoted:gr.test(s),value:t&&a?st([Cr(o),Cr(i)]):Cr(o)}})))}(e,t):null}function kr(e){for(;ft(e[e.length-1]);)e.pop();return e}function Ir(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach((e=>{const t=e.split(",").map((e=>dt(e.trim())));n.push(...t)})),t.getConstLiteral(st(n),!0)}switch(e.predicate.forwardRef){case 0:case 2:return e.predicate.expression;case 1:return rt(Ct.resolveForwardRef).callFn([e.predicate.expression])}}class Or{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return at(this.values)}}function Mr(e){const{expressions:t,strings:n}=e;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}function Ar(e){const t=[];let n=null,r=null,i=0;for(const o of e){const e=("function"==typeof o.paramsOrFn?o.paramsOrFn():o.paramsOrFn)??[],s=Array.isArray(e)?e:[e];i<wr&&r===o.reference&&Er.has(r)?(n=n.callFn(s,n.sourceSpan),i++):(null!==n&&t.push(n.toStmt()),n=Sr(o.span,o.reference,s),r=o.reference,i=0)}return null!==n&&t.push(n.toStmt()),t}function Nr(e,t){let n=null;const r={name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:e.typeArgumentCount,deps:[],target:on.Injectable};if(void 0!==e.useClass){const i=e.useClass.expression.isEquivalent(e.internalType);let o;void 0!==e.deps&&(o=e.deps),n=void 0!==o?sn({...r,delegate:e.useClass.expression,delegateDeps:o,delegateType:rn.Class}):i?sn(r):{statements:[],expression:Rr(e.type.value,e.useClass.expression,t)}}else n=void 0!==e.useFactory?void 0!==e.deps?sn({...r,delegate:e.useFactory,delegateDeps:e.deps||[],delegateType:rn.Function}):{statements:[],expression:ct([],[new Xe(e.useFactory.callFn([]))])}:void 0!==e.useValue?sn({...r,expression:e.useValue.expression}):void 0!==e.useExisting?sn({...r,expression:rt(Ct.inject).callFn([e.useExisting.expression])}):{statements:[],expression:Rr(e.type.value,e.internalType,t)};const i=e.internalType,o=new Or;o.set("token",i),o.set("factory",n.expression),null!==e.providedIn.expression.value&&o.set("providedIn",tn(e.providedIn));return{expression:rt(Ct.ɵɵdefineInjectable).callFn([o.toLiteralMap()],void 0,!0),type:Pr(e),statements:n.statements}}function Pr(e){return new G(rt(Ct.InjectableDeclaration,[qt(e.type.type,e.typeArgumentCount)]))}function Rr(e,t,n){if(e.node===t.node)return t.prop("ɵfac");if(!n)return Fr(t);return Fr(rt(Ct.resolveForwardRef).callFn([t]))}function Fr(e){return ct([new Ne("t",Z)],[new Xe(e.prop("ɵfac").callFn([nt("t")]))])}const jr=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class Lr{static fromArray(e){return e?(function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){const e=t[0],n=t[1];jr.forEach((t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)}))}}("interpolation",e),new Lr(e[0],e[1])):$r}constructor(e,t){this.start=e,this.end=t}}const $r=new Lr("{{","}}"),Vr=0,Br=9,Ur=10,Hr=32,zr=36,qr=44,Gr=46,Wr=47,Yr=58,Zr=59,Kr=60,Jr=61,Xr=62,Qr=48,ei=57,ti=65,ni=70,ri=90,ii=95,oi=97,si=102,ai=122,ui=123,ci=125,li=160;function pi(e){return e>=Br&&e<=Hr||e==li}function di(e){return Qr<=e&&e<=ei}function hi(e){return e>=oi&&e<=ai||e>=ti&&e<=ri}function fi(e){return e===Ur||13===e}function mi(e){return Qr<=e&&e<=55}function gi(e){return 39===e||34===e||96===e}class vi{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let r=this.offset,i=this.line,o=this.col;for(;r>0&&e<0;){r--,e++;if(t.charCodeAt(r)==Ur){i--;const e=t.substring(0,r-1).lastIndexOf(String.fromCharCode(Ur));o=e>0?r-e:r}else o--}for(;r<n&&e>0;){const n=t.charCodeAt(r);r++,e--,n==Ur?(i++,o=0):o++}return new vi(this.file,r,i,o)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,s=0;for(;o<e&&r>0&&(r--,o++,"\n"!=n[r]||++s!=t););for(o=0,s=0;o<e&&i<n.length-1&&(i++,o++,"\n"!=n[i]||++s!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}}class yi{constructor(e,t){this.content=e,this.url=t}}class _i{constructor(e,t,n=e,r=null){this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var bi;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(bi||(bi={}));class wi{constructor(e,t,n=bi.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${bi[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}function Ei(e,t,n){const r=new yi("",`in ${e} ${t} in ${n}`);return new _i(new vi(r,-1,-1,-1),new vi(r,-1,-1,-1))}let Si=0;function xi(e){if(!e||!e.reference)return null;const t=e.reference;if(t.__anonymousType)return t.__anonymousType;if(t.__forward_ref__)return"__forward_ref__";let n=Ot(t);return n.indexOf("(")>=0?(n="anonymous_"+Si++,t.__anonymousType=n):n=Di(n),n}function Di(e){return e.replace(/\W/g,"_")}
2const Ci='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class Ti extends Ut{constructor(){super(!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){return t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitTaggedTemplateExpr(e,t){const n=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${Ci}(`),t.print(e,`[${n.map((e=>Ht(e.text,!1))).join(", ")}], `),t.print(e,`[${n.map((e=>Ht(e.rawText,!1))).join(", ")}])`),e.template.expressions.forEach((n=>{t.print(e,", "),n.visitExpression(this,t)})),t.print(e,")"),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${Ci}(`);const n=[e.serializeI18nHead()];for(let t=1;t<e.messageParts.length;t++)n.push(e.serializeI18nTemplatePart(t));return t.print(e,`[${n.map((e=>Ht(e.cooked,!1))).join(", ")}], `),t.print(e,`[${n.map((e=>Ht(e.raw,!1))).join(", ")}])`),e.expressions.forEach((n=>{t.print(e,", "),n.visitExpression(this,t)})),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects((e=>t.print(null,e.name)),e,t,",")}}let ki;function Ii(e){return function(){if(void 0===ki&&(ki=null,At.trustedTypes))try{ki=At.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch{}return ki}()?.createScript(e)||e}function Oi(...e){if(!At.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=At.eval(Ii(t));return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(At))}class Mi{evaluateStatements(e,t,n,r){const i=new Ai(n),o=Bt.createRoot();return t.length>0&&!t[0].isEquivalent(dt("use strict").toStmt())&&(t=[dt("use strict").toStmt(),...t]),i.visitAllStatements(t,o),i.createReturnStmt(o),this.evaluateCode(e,o,i.getArgs(),r)}evaluateCode(e,t,n,r){let i=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const o=[],s=[];for(const e in n)s.push(n[e]),o.push(e);if(r){const n=Oi(...o.concat("return null;")).toString(),r=n.slice(0,n.indexOf("return null;")).split("\n").length-1;i+=`\n${t.toSourceMapGenerator(e,r).toJsComment()}`}const a=Oi(...o.concat(i));return this.executeFunction(a,s)}executeFunction(e,t){return e(...t)}}class Ai extends Ti{constructor(e){super(),this.refResolver=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new Xe(new Be(this._evalExportedVars.map((e=>new Ve(e,nt(e),!1))))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(qe.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(qe.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);const e=xi({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${r}`)}n.print(e,this._evalArgNames[r])}}function Ni(e){const t=new Or;null!==e.providers&&t.set("providers",e.providers),e.imports.length>0&&t.set("imports",st(e.imports));return{expression:rt(Ct.defineInjector).callFn([t.toLiteralMap()],void 0,!0),type:Pi(e),statements:[]}}function Pi(e){return new G(rt(Ct.InjectorDeclaration,[new G(e.type.type)]))}class Ri{constructor(e){this.context=e}
2resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}}var Fi,ji,Li,$i;function Vi(e){const{adjacentType:t,internalType:n,bootstrap:r,declarations:i,imports:o,exports:s,schemas:a,containsForwardDecls:u,selectorScopeMode:c,id:l}=e,p=[],d=new Or;if(d.set("type",n),r.length>0&&d.set("bootstrap",Qt(r,u)),c===Fi.Inline)i.length>0&&d.set("declarations",Qt(i,u)),o.length>0&&d.set("imports",Qt(o,u)),s.length>0&&d.set("exports",Qt(s,u));else if(c===Fi.SideEffect){const t=function(e){const{adjacentType:t,declarations:n,imports:r,exports:i,containsForwardDecls:o}=e,s=new Or;n.length>0&&s.set("declarations",Qt(n,o));r.length>0&&s.set("imports",Qt(r,o));i.length>0&&s.set("exports",Qt(i,o));if(0===Object.keys(s.values).length)return null;const a=(c=new me(rt(Ct.setNgModuleScope),[t,s.toLiteralMap()]),Jt("ngJitMode",c)),u=new Pe([],[a.toStmt()]);var c;return new me(u,[]).toStmt()}(e);null!==t&&p.push(t)}null!==a&&a.length>0&&d.set("schemas",st(a.map((e=>e.value)))),null!==l&&(d.set("id",l),p.push(rt(Ct.registerNgModuleType).callFn([t,l]).toStmt()));return{expression:rt(Ct.defineNgModule).callFn([d.toLiteralMap()],void 0,!0),type:Bi(e),statements:p}}function Bi({type:e,declarations:t,exports:n,imports:r,includeImportTypes:i,publicDeclarationTypes:o}){return new G(rt(Ct.NgModuleDeclaration,[new G(e.type),null===o?Ui(t):Hi(o),i?Ui(r):ne,Ui(n)]))}function Ui(e){const t=e.map((e=>ot(e.type)));return e.length>0?it(st(t)):ne}function Hi(e){const t=e.map((e=>ot(e)));return e.length>0?it(st(t)):ne}function zi(e){const t=[];t.push({key:"name",value:dt(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:dt(e.pure),quoted:!1}),e.isStandalone&&t.push({key:"standalone",value:dt(!0),quoted:!1});return{expression:rt(Ct.definePipe).callFn([at(t)],void 0,!0),type:qi(e),statements:[]}}function qi(e){return new G(rt(Ct.PipeDeclaration,[qt(e.type.type,e.typeArgumentCount),new G(new ye(e.pipeName)),new G(new ye(e.isStandalone))]))}!function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"}(Fi||(Fi={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(ji||(ji={}));class Gi{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message=`Parser Error: ${e} ${n} [${t}] in ${r}`}}class Wi{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new _o(e+this.start,e+this.end)}}class Yi{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class Zi extends Yi{constructor(e,t,n){super(e,t),this.nameSpan=n}}class Ki extends Yi{visit(e,t=null){}}class Ji extends Yi{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class Xi extends Ji{visit(e,t=null){return e.visitThisReceiver?.(this,t)}}class Qi extends Yi{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class eo extends Yi{constructor(e,t,n,r,i){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}}class to extends Zi{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}}class no extends Zi{constructor(e,t,n,r,i,o){super(e,t,n),this.receiver=r,this.name=i,this.value=o}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class ro extends Zi{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class io extends Yi{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e,t=null){return e.visitKeyedRead(this,t)}}class oo extends Yi{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}class so extends Yi{constructor(e,t,n,r,i){super(e,t),this.receiver=n,this.key=r,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class ao extends Zi{constructor(e,t,n,r,i,o){super(e,t,o),this.exp=n,this.name=r,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}}class uo extends Yi{constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class co extends Yi{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class lo extends Yi{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e,t=null){return e.visitLiteralMap(this,t)}}class po extends Yi{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e,t=null){return e.visitInterpolation(this,t)}}class ho extends Yi{constructor(e,t,n,r,i){super(e,t),this.operation=n,this.left=r,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}}class fo extends ho{static createMinus(e,t,n){return new fo(e,t,"-",n,"-",new uo(e,t,0),n)}
2static createPlus(e,t,n){return new fo(e,t,"+",n,"-",n,new uo(e,t,0))}constructor(e,t,n,r,i,o,s){super(e,t,i,o,s),this.operator=n,this.expr=r,this.left=null,this.right=null,this.operation=null}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class mo extends Yi{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class go extends Yi{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class vo extends Yi{constructor(e,t,n,r,i){super(e,t),this.receiver=n,this.args=r,this.argumentSpan=i}visit(e,t=null){return e.visitCall(this,t)}}class yo extends Yi{constructor(e,t,n,r,i){super(e,t),this.receiver=n,this.args=r,this.argumentSpan=i}visit(e,t=null){return e.visitSafeCall(this,t)}}class _o{constructor(e,t){this.start=e,this.end=t}}class bo extends Yi{constructor(e,t,n,r,i){super(new Wi(0,null===t?0:t.length),new _o(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class wo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class Eo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class So{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitAll(e,t){for(const n of e)this.visit(n,t)}}class xo{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new po(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new uo(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new to(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new no(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new ro(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitLiteralArray(e,t){return new co(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new lo(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return fo.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return fo.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error(`Unknown unary operator ${e.operator}`)}}visitBinary(e,t){return new ho(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new mo(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new go(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new eo(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new ao(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new io(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new so(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitCall(e,t){return new vo(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitSafeCall(e,t){return new yo(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new Qi(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitSafeKeyedRead(e,t){return new oo(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}}class Do{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new po(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new to(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new no(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new ro(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new co(e.span,e.sourceSpan,n):e}
2visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new lo(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return fo.createPlus(e.span,e.sourceSpan,n);case"-":return fo.createMinus(e.span,e.sourceSpan,n);default:throw new Error(`Unknown unary operator ${e.operator}`)}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new ho(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new mo(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new go(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),i=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||i!==e.falseExp?new eo(e.span,e.sourceSpan,n,r,i):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new ao(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new io(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.receiver.visit(this),r=e.key.visit(this),i=e.value.visit(this);return n!==e.receiver||r!==e.key||i!==e.value?new so(e.span,e.sourceSpan,n,r,i):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const i=e[r],o=i.visit(this);t[r]=o,n=n||o!==i}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Qi(e.span,e.sourceSpan,n):e}visitCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new vo(e.span,e.sourceSpan,n,r,e.argumentSpan):e}visitSafeCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new yo(e.span,e.sourceSpan,n,r,e.argumentSpan):e}visitSafeKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new oo(e.span,e.sourceSpan,n,r):e}}class Co{constructor(e,t,n,r,i,o){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=i,this.valueSpan=o,this.isLiteral=this.type===Li.LITERAL_ATTR,this.isAnimation=this.type===Li.ANIMATION}}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(Li||(Li={}));class To{constructor(e,t,n,r,i,o,s){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=o,this.keySpan=s}}class ko{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}}class Io{constructor(e,t,n,r,i,o,s,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.keySpan=s,this.valueSpan=a}}class Oo{}function Mo(e,t,n,r,i,o,s){e||(e=new zo(s));const a=function(e,t){const n=new $o(e);return t.visit(n)}({createLiteralArrayConverter:e=>e=>st(e),createLiteralMapConverter:e=>t=>at(e.map(((e,n)=>({key:e.key,value:t[n],quoted:e.quoted})))),createPipeConverter:e=>{throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${e}`)}},n);const u=new Vo(e,t,r,!1,i,o),c=[];Bo(a.visit(u,$i.Statement),c),function(e,t,n){for(let r=e-1;r>=0;r--)n.unshift(Fo(t,r))}(u.temporaryCount,r,c),u.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const l=c.length-1;if(l>=0){const e=c[l];e instanceof Je&&(c[l]=new Xe(e.expr))}return c}Oo.event=nt("$event");class Ao{constructor(e,t){this.stmts=e,this.currValExpr=t}}function No(e,t,n,r){e||(e=new zo);const i=new Vo(e,t,r,!1),o=n.visit(i,$i.Expression),s=Po(i,r);return i.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),new Ao(s,o)}function Po(e,t){const n=[];for(let r=0;r<e.temporaryCount;r++)n.push(Fo(t,r));return n}function Ro(e,t){return`tmp_${e}_${t}`}function Fo(e,t){return new Ze(Ro(e,t))}function jo(e,t){if(e!==$i.Expression)throw new Error(`Expected an expression, but saw ${t}`)}function Lo(e,t){return e===$i.Statement?t.toStmt():t}!function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}($i||($i={}));class $o extends xo{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const n=[e.exp,...e.args].map((e=>e.visit(this,t)));return new qo(e.span,e.sourceSpan,n,this._converterFactory.createPipeConverter(e.name,n.length))}visitLiteralArray(e,t){const n=e.expressions.map((e=>e.visit(this,t)));return new qo(e.span,e.sourceSpan,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const n=e.values.map((e=>e.visit(this,t)));return new qo(e.span,e.sourceSpan,n,this._converterFactory.createLiteralMapConverter(e.keys))}}class Vo{constructor(e,t,n,r,i,o){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.supportsInterpolation=r,this.baseSourceSpan=i,this.impl
2icitReceiverAccesses=o,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let n;switch(e.operator){case"+":n=re.Plus;break;case"-":n=re.Minus;break;default:throw new Error(`Unsupported operator ${e.operator}`)}return Lo(t,new Re(n,this._visit(e.expr,$i.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let n;switch(e.operation){case"+":n=ie.Plus;break;case"-":n=ie.Minus;break;case"*":n=ie.Multiply;break;case"/":n=ie.Divide;break;case"%":n=ie.Modulo;break;case"&&":n=ie.And;break;case"||":n=ie.Or;break;case"==":n=ie.Equals;break;case"!=":n=ie.NotEquals;break;case"===":n=ie.Identical;break;case"!==":n=ie.NotIdentical;break;case"<":n=ie.Lower;break;case">":n=ie.Bigger;break;case"<=":n=ie.LowerEquals;break;case">=":n=ie.BiggerEquals;break;case"??":return this.convertNullishCoalesce(e,t);default:throw new Error(`Unsupported operation ${e.operation}`)}return Lo(t,new Fe(n,this._visit(e.left,$i.Expression),this._visit(e.right,$i.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function(e,t){if(e!==$i.Statement)throw new Error(`Expected a statement, but saw ${t}`)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return Lo(t,this._visit(e.condition,$i.Expression).conditional(this._visit(e.trueExp,$i.Expression),this._visit(e.falseExp,$i.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${e.name}`)}visitImplicitReceiver(e,t){return jo(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,t){return this.visitImplicitReceiver(e,t)}visitInterpolation(e,t){if(!this.supportsInterpolation)throw new Error("Unexpected interpolation");jo(t,e);let n=[];for(let t=0;t<e.strings.length-1;t++)n.push(dt(e.strings[t])),n.push(this._visit(e.expressions[t],$i.Expression));n.push(dt(e.strings[e.strings.length-1]));const r=e.strings;return 2===r.length&&""===r[0]&&""===r[1]?n=[n[1]]:e.expressions.length>=9&&(n=[st(n)]),new Ho(n)}visitKeyedRead(e,t){const n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):Lo(t,this._visit(e.receiver,$i.Expression).key(this._visit(e.key,$i.Expression)))}visitKeyedWrite(e,t){const n=this._visit(e.receiver,$i.Expression),r=this._visit(e.key,$i.Expression),i=this._visit(e.value,$i.Expression);return n===this._implicitReceiver&&this._localResolver.maybeRestoreView(),Lo(t,n.key(r).set(i))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?K:void 0;return Lo(t,dt(e.value,n,this.convertSourceSpan(e.span)))}_getLocal(e,t){return this._localResolver.globals?.has(e)&&t instanceof Xi?null:this._localResolver.getLocal(e)}visitPrefixNot(e,t){return Lo(t,ut(this._visit(e.expression,$i.Expression)))}visitNonNullAssert(e,t){return Lo(t,this._visit(e.expression,$i.Expression))}visitPropertyRead(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{let n=null;const r=this.usesImplicitReceiver,i=this._visit(e.receiver,$i.Expression);return i===this._implicitReceiver&&(n=this._getLocal(e.name,e.receiver),n&&(this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name))),null==n&&(n=i.prop(e.name,this.convertSourceSpan(e.span))),Lo(t,n)}}visitPropertyWrite(e,t){const n=this._visit(e.receiver,$i.Expression),r=this.usesImplicitReceiver;let i=null;if(n===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);if(t){if(!(t instanceof je)){const t=e.name,n=e.value instanceof to?e.value.name:void 0;throw new Error(`Cannot assign value "${n}" to template variable "${t}". Template variables are read-only.`)}i=t,this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name)}}return null===i&&(i=n.prop(e.name,this.convertSourceSpan(e.span))),Lo(t,i.set(this._visit(e.value,$i.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeKeyedRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map((e=>this._visit(e,t)))}visitCall(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);const r=this.visitAll(e.args,$i.Expression);if(e instanceof qo)return Lo(t,e.converter(r));const i=e.receiver;if(i instanceof to&&i.receiver instanceof Ji&&!(i.receiver instanceof Xi)&&"$any"===i.name){if(1!==r.length)throw new Error(`Invalid call to $any, expected 1 argument but received ${r.length||"none"}`);return Lo(t,r[0])}return Lo(t,this._visit(i,$i.Expression).callFn(r,this.convertSourceSpan(e.span)))}visitSafeCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}_visit(e,t){const n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)}
2convertSafeAccess(e,t,n){let r,i=this._visit(t.receiver,$i.Expression);this.needsTemporaryInSafeAccess(t.receiver)&&(r=this.allocateTemporary(),i=r.set(i),this._resultMap.set(t.receiver,r));const o=i.isBlank();t instanceof yo?this._nodeMap.set(t,new vo(t.span,t.sourceSpan,t.receiver,t.args,t.argumentSpan)):t instanceof oo?this._nodeMap.set(t,new io(t.span,t.sourceSpan,t.receiver,t.key)):this._nodeMap.set(t,new to(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const s=this._visit(e,$i.Expression);return this._nodeMap.delete(t),r&&this.releaseTemporary(r),Lo(n,o.conditional(He,s))}convertNullishCoalesce(e,t){const n=this._visit(e.left,$i.Expression),r=this._visit(e.right,$i.Expression),i=this.allocateTemporary();return this.releaseTemporary(i),Lo(t,i.set(n).notIdentical(He).and(i.notIdentical(dt(void 0))).conditional(i,r))}leftMostSafeNode(e){const t=(e,t)=>(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return null},visitBinary(e){return null},visitChain(e){return null},visitConditional(e){return null},visitCall(e){return t(this,e.receiver)},visitSafeCall(e){return t(this,e.receiver)||e},visitImplicitReceiver(e){return null},visitThisReceiver(e){return null},visitInterpolation(e){return null},visitKeyedRead(e){return t(this,e.receiver)},visitKeyedWrite(e){return null},visitLiteralArray(e){return null},visitLiteralMap(e){return null},visitLiteralPrimitive(e){return null},visitPipe(e){return null},visitPrefixNot(e){return null},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead(e){return t(this,e.receiver)},visitPropertyWrite(e){return null},visitSafePropertyRead(e){return t(this,e.receiver)||e},visitSafeKeyedRead(e){return t(this,e.receiver)||e}})}needsTemporaryInSafeAccess(e){const t=(e,t)=>t&&(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return t(this,e.expr)},visitBinary(e){return t(this,e.left)||t(this,e.right)},visitChain(e){return!1},visitConditional(e){return t(this,e.condition)||t(this,e.trueExp)||t(this,e.falseExp)},visitCall(e){return!0},visitSafeCall(e){return!0},visitImplicitReceiver(e){return!1},visitThisReceiver(e){return!1},visitInterpolation(e){return((e,n)=>n.some((n=>t(e,n))))(this,e.expressions)},visitKeyedRead(e){return!1},visitKeyedWrite(e){return!1},visitLiteralArray(e){return!0},visitLiteralMap(e){return!0},visitLiteralPrimitive(e){return!1},visitPipe(e){return!0},visitPrefixNot(e){return t(this,e.expression)},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead(e){return!1},visitPropertyWrite(e){return!1},visitSafePropertyRead(e){return!1},visitSafeKeyedRead(e){return!1}})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ce(Ro(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=Ro(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end),r=this.baseSourceSpan.fullStart.moveBy(e.start);return new _i(t,n,r)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}function Bo(e,t){Array.isArray(e)?e.forEach((e=>Bo(e,t))):t.push(e)}function Uo(){throw new Error("Unsupported operation")}class Ho extends ue{constructor(e){super(null,null),this.args=e,this.isConstant=Uo,this.isEquivalent=Uo,this.visitExpression=Uo}}class zo{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(e){return e===Oo.event.name?Oo.event:null}}class qo extends vo{constructor(e,t,n,r){super(e,t,new Ki(e,t),n,null),this.converter=r}}let Go;function Wo(){return Go||(Go={},Yo(f.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Yo(f.STYLE,["*|style"]),Yo(f.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Yo(f.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Go}function Yo(e,t){for(const n of t)Go[n.toLowerCase()]=e}const Zo=new Set(["sandbox","allow","allowfullscreen","referrerpolicy","csp","fetchpriority"]);function Ko(e){return Zo.has(e.toLowerCase())}
2const Jo=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]);class Xo{constructor(){this._animationDeclarationKeyframesRe=/(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g}shimCssText(e,t,n=""){const r=e.match(_s)||[];e=function(e){return e.replace(vs,"")}(e),e=this._insertDirectives(e);return[this._scopeCssText(e,t,n),...r].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_scopeKeyframesRelatedCss(e,t){const n=new Set,r=Os(e,(e=>this._scopeLocalKeyframeDeclarations(e,t,n)));return Os(r,(e=>this._scopeAnimationRule(e,t,n)))}_scopeLocalKeyframeDeclarations(e,t,n){return{...e,selector:e.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,((e,r,i,o,s)=>(n.add(Ns(o,i)),`${r}${i}${t}_${o}${i}${s}`)))}}_scopeAnimationKeyframe(e,t,n){return e.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,((e,r,i,o,s)=>`${r}${i}${o=`${n.has(Ns(o,i))?t+"_":""}${o}`}${i}${s}`))}_scopeAnimationRule(e,t,n){let r=e.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation(?:\s*):(?:\s*))([^;]+)/g,((e,r,i)=>r+i.replace(this._animationDeclarationKeyframesRe,((e,r,i="",o,s)=>o?`${r}${this._scopeAnimationKeyframe(`${i}${o}${i}`,t,n)}`:Jo.has(s)?e:`${r}${this._scopeAnimationKeyframe(s,t,n)}`))));return r=r.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,((e,r,i)=>`${r}${i.split(",").map((e=>this._scopeAnimationKeyframe(e,t,n))).join(",")}`)),{...e,content:r}}_insertPolyfillDirectivesInCssText(e){return e.replace(es,(function(...e){return e[2]+"{"}))}_insertPolyfillRulesInCssText(e){return e.replace(ts,((...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t}))}_scopeCssText(e,t,n){const r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeKeyframesRelatedCss(e,t),e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(ns.lastIndex=0;null!==(t=ns.exec(e));){n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return n}_convertColonHost(e){return e.replace(ss,((e,t,n)=>{if(t){const e=[],r=t.split(",").map((e=>e.trim()));for(const t of r){if(!t)break;const r=cs+t.replace(rs,"")+n;e.push(r)}return e.join(",")}return cs+n}))}_convertColonHostContext(e){return e.replace(as,(e=>{const t=[[]];let n;for(;n=us.exec(e);){const r=(n[1]??"").trim().split(",").map((e=>e.trim())).filter((e=>""!==e)),i=t.length;Ps(t,r.length);for(let e=0;e<r.length;e++)for(let n=0;n<i;n++)t[n+e*i].push(r[e]);e=n[2]}return t.map((t=>function(e,t){const n=cs;fs.lastIndex=0;const r=fs.test(t);if(0===e.length)return n+t;const i=[e.pop()||""];for(;e.length>0;){const t=i.length,n=e.pop();for(let e=0;e<t;e++){const r=i[e];i[2*t+e]=r+" "+n,i[t+e]=n+" "+r,i[e]=n+r}}return i.map((e=>r?`${e}${t}`:`${e}${n}${t}, ${e} ${n}${t}`)).join(",")}(t,e))).join(", ")}))}_convertShadowDOMSelectors(e){return ps.reduce(((e,t)=>e.replace(t," ")),e)}_scopeSelectors(e,t,n){return Os(e,(e=>{let r=e.selector,i=e.content;return"@"!==e.selector[0]?r=this._scopeSelector(e.selector,t,n):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@document")||e.selector.startsWith("@layer")||e.selector.startsWith("@container")?i=this._scopeSelectors(e.content,t,n):(e.selector.startsWith("@font-face")||e.selector.startsWith("@page"))&&(i=this._stripScopingSelectors(e.content)),new Is(r,i)}))}_stripScopingSelectors(e){return Os(e,(e=>{const t=e.selector.replace(ds," ").replace(ls," ");return new Is(t,e.content)}))}_scopeSelector(e,t,n){return e.split(",").map((e=>e.trim().split(ds))).map((e=>{const[r,...i]=e;return[(e=>this._selectorNeedsScoping(e,t)?this._applySelectorScope(e,t,n):e)(r),...i].join(" ")})).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+hs,"m")}_applySimpleSelectorScope(e,t,n){if(fs.lastIndex=0,fs.test(e)){const t=`[${n}]`;return e.replace(ls,((e,n)=>n.replace(/([^:]*)(:*)(.*)/,((e,n,r,i)=>
2n+t+r+i)))).replace(fs,t+" ")}return t+" "+e}_applySelectorScope(e,t,n){const r="["+(t=t.replace(/\[is=([^\]]*)\]/g,((e,...t)=>t[0])))+"]",i=e=>{let i=e.trim();if(!i)return"";if(e.indexOf(cs)>-1)i=this._applySimpleSelectorScope(e,t,n);else{const t=e.replace(fs,"");if(t.length>0){const e=t.match(/([^:]*)(:*)(.*)/);e&&(i=e[1]+r+e[2]+e[3])}}return i},o=new Qo(e);let s,a="",u=0;const c=/( |>|\+|~(?!=))\s*/g;let l=!((e=o.content()).indexOf(cs)>-1);for(;null!==(s=c.exec(e));){const t=s[1],n=e.slice(u,s.index).trim();if(n.match(ys)&&e[s.index+1]?.match(/[a-fA-F\d]/))continue;l=l||n.indexOf(cs)>-1;a+=`${l?i(n):n} ${t} `,u=c.lastIndex}const p=e.substring(u);return l=l||p.indexOf(cs)>-1,a+=l?i(p):p,o.restore(a)}_insertPolyfillHostInCssText(e){return e.replace(gs,is).replace(ms,rs)}}class Qo{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,t,n)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+r}))}restore(e){return e.replace(ys,((e,t)=>this.placeholders[+t]))}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,((e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n}))}}const es=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,ts=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ns=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,rs="-shadowcsshost",is="-shadowcsscontext",os="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ss=new RegExp(rs+os,"gim"),as=new RegExp(is+os,"gim"),us=new RegExp(is+os,"im"),cs=rs+"-no-combinator",ls=/-shadowcsshost-no-combinator([^\s]*)/,ps=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],ds=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,hs="([>\\s~+[.,{:][\\s\\S]*)?$",fs=/-shadowcsshost/gim,ms=/:host/gim,gs=/:host-context/gim,vs=/\/\*[\s\S]*?\*\//g,ys=/__ph-(\d+)__/g;const _s=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const bs="%BLOCK%",ws=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Es=new Map([["{","}"]]),Ss="%COMMA_IN_PLACEHOLDER%",xs="%SEMI_IN_PLACEHOLDER%",Ds="%COLON_IN_PLACEHOLDER%",Cs=new RegExp(Ss,"g"),Ts=new RegExp(xs,"g"),ks=new RegExp(Ds,"g");class Is{constructor(e,t){this.selector=e,this.content=t}}function Os(e,t){const n=function(e){let t=e,n=null;for(let e=0;e<t.length;e++){const r=t[e];if("\\"===r)e++;else if(null!==n)if(r===n)n=null;else{const n=As[r];n&&(t=`${t.substr(0,e)}${n}${t.substr(e+1)}`,e+=n.length-1)}else"'"!==r&&'"'!==r||(n=r)}return t}(e),r=function(e,t,n){const r=[],i=[];let o,s,a=0,u=0,c=-1;for(let l=0;l<e.length;l++){const p=e[l];"\\"===p?l++:p===s?(a--,0===a&&(i.push(e.substring(c,l)),r.push(n),u=l,c=-1,o=s=void 0)):p===o?a++:0===a&&t.has(p)&&(o=p,s=t.get(p),a=1,c=l+1,r.push(e.substring(u,c)))}-1!==c?(i.push(e.substring(c)),r.push(n)):r.push(e.substring(u));return new Ms(r.join(""),i)}(n,Es,bs);let i=0;return function(e){let t=e.replace(Cs,",");return t=t.replace(Ts,";"),t=t.replace(ks,":"),t}(r.escapedString.replace(ws,((...e)=>{const n=e[2];let o="",s=e[4],a="";s&&s.startsWith("{"+bs)&&(o=r.blocks[i++],s=s.substring(bs.length+1),a="{");const u=t(new Is(n,o));return`${e[1]}${u.selector}${e[3]}${a}${u.content}${s}`})))}class Ms{constructor(e,t){this.escapedString=e,this.blocks=t}}const As={";":xs,",":Ss,":":Ds};function Ns(e,t){return t?e.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):e}function Ps(e,t){const n=e.length;for(let r=1;r<t;r++)for(let t=0;t<n;t++)e[t+r*n]=e[t].slice(0)}function Rs(e){return e.replace(/[a-z][A-Z]/g,(e=>e.charAt(0)+"-"+e.charAt(1))).toLowerCase()}const Fs=2;class js{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,n){let r=null;const i=e.substring(0,6),o="style"===e||"style."===i||"style!"===i;if(o||!o&&("class"===e||"class."===i||"class!"===i)){const i="."!==e.charAt(5),s=e.slice(i?5:6);r=o?this.registerStyleInput(s,i,t,n):this.registerClassInput(s,i,t,n)}return r}registerStyleInput(e,t,n,r,i){if(Bs(n))return null;(function(e){return e.startsWith("--")})(e)||(e=Rs(e));const{property:o,hasOverrideFlag:s,suffix:a}
2=$s(e),u={name:o,suffix:i="string"==typeof i&&0!==i.length?i:a,value:n,sourceSpan:r,hasOverrideFlag:s};return t?this._styleMapInput=u:((this._singleStyleInputs=this._singleStyleInputs||[]).push(u),Ls(this._stylesIndex,o)),this._lastStylingInput=u,this._firstStylingInput=this._firstStylingInput||u,this._checkForPipes(n),this.hasBindings=!0,u}registerClassInput(e,t,n,r){if(Bs(n))return null;const{property:i,hasOverrideFlag:o}=$s(e),s={name:i,value:n,sourceSpan:r,hasOverrideFlag:o,suffix:null};return t?this._classMapInput=s:((this._singleClassInputs=this._singleClassInputs||[]).push(s),Ls(this._classesIndex,i)),this._lastStylingInput=s,this._firstStylingInput=this._firstStylingInput||s,this._checkForPipes(n),this.hasBindings=!0,s}_checkForPipes(e){e instanceof bo&&e.ast instanceof ao&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function(e){const t=[];let n=0,r=0,i=0,o=0,s=0,a=null;for(;n<e.length;)switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:0===i?i=39:39===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 34:0===i?i=34:34===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 58:a||0!==r||0!==i||(a=Rs(e.substring(s,n-1).trim()),o=n);break;case 59:if(a&&o>0&&0===r&&0===i){const r=e.substring(o,n-1).trim();t.push(a,r),s=n,o=0,a=null}}if(a&&o){const n=e.slice(o).trim();t.push(a,n)}return t}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(dt(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(dt(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(dt(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(dt(this._initialStyleValues[t]),dt(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",st(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,n){let r=Fs;const i=n.value.visit(e);let o;return i instanceof po?(r+=i.expressions.length,o=t?function(e){switch(Mr(e)){case 1:return Ct.classMap;case 3:return Ct.classMapInterpolate1;case 5:return Ct.classMapInterpolate2;case 7:return Ct.classMapInterpolate3;case 9:return Ct.classMapInterpolate4;case 11:return Ct.classMapInterpolate5;case 13:return Ct.classMapInterpolate6;case 15:return Ct.classMapInterpolate7;case 17:return Ct.classMapInterpolate8;default:return Ct.classMapInterpolateV}}(i):function(e){switch(Mr(e)){case 1:return Ct.styleMap;case 3:return Ct.styleMapInterpolate1;case 5:return Ct.styleMapInterpolate2;case 7:return Ct.styleMapInterpolate3;case 9:return Ct.styleMapInterpolate4;case 11:return Ct.styleMapInterpolate5;case 13:return Ct.styleMapInterpolate6;case 15:return Ct.styleMapInterpolate7;case 17:return Ct.styleMapInterpolate8;default:return Ct.styleMapInterpolateV}}(i)):o=t?Ct.classMap:Ct.styleMap,{reference:o,calls:[{supportsInterpolation:!0,sourceSpan:n.sourceSpan,allocateBindingSlots:r,params:e=>{const t=e(i);return Array.isArray(t)?t:[t]}}]}}_buildSingleInputs(e,t,n,r,i){const o=[];return t.forEach((t=>{const s=o[o.length-1],a=t.value.visit(n);let u=e,c=Fs;a instanceof po&&(c+=a.expressions.length,r&&(u=r(a)));const l={sourceSpan:t.sourceSpan,allocateBindingSlots:c,supportsInterpolation:!!r,params:e=>{const n=[];n.push(dt(t.name));const r=e(a);return Array.isArray(r)?n.push(...r):n.push(r),i||null===t.suffix||n.push(dt(t.suffix)),n}};s&&s.reference===u?s.calls.push(l):o.push({reference:u,calls:[l]})})),o}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(Ct.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(Ct.styleProp,this._singleStyleInputs,e,Vs,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const n=this.buildStyleMapInstruction(e);
2n&&t.push(n);const r=this.buildClassMapInstruction(e);r&&t.push(r),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function Ls(e,t){e.has(t)||e.set(t,e.size)}function $s(e){let t=!1;const n=e.indexOf("!important");-1!==n&&(e=n>0?e.substring(0,n):"",t=!0);let r=null,i=e;const o=e.lastIndexOf(".");return o>0&&(r=e.slice(o+1),i=e.substring(0,o)),{property:i,suffix:r,hasOverrideFlag:t}}function Vs(e){switch(Mr(e)){case 1:return Ct.styleProp;case 3:return Ct.stylePropInterpolate1;case 5:return Ct.stylePropInterpolate2;case 7:return Ct.stylePropInterpolate3;case 9:return Ct.stylePropInterpolate4;case 11:return Ct.stylePropInterpolate5;case 13:return Ct.stylePropInterpolate6;case 15:return Ct.stylePropInterpolate7;case 17:return Ct.stylePropInterpolate8;default:return Ct.stylePropInterpolateV}}function Bs(e){return e instanceof bo&&(e=e.ast),e instanceof Ki}var Us;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"}(Us||(Us={}));const Hs=["var","let","as","null","undefined","true","false","if","else","this"];class zs{tokenize(e){const t=new Zs(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}}class qs{constructor(e,t,n,r,i){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=i}isCharacter(e){return this.type==Us.Character&&this.numValue==e}isNumber(){return this.type==Us.Number}isString(){return this.type==Us.String}isOperator(e){return this.type==Us.Operator&&this.strValue==e}isIdentifier(){return this.type==Us.Identifier}isPrivateIdentifier(){return this.type==Us.PrivateIdentifier}isKeyword(){return this.type==Us.Keyword}isKeywordLet(){return this.type==Us.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==Us.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==Us.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==Us.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==Us.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==Us.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==Us.Keyword&&"this"==this.strValue}isError(){return this.type==Us.Error}toNumber(){return this.type==Us.Number?this.numValue:-1}toString(){switch(this.type){case Us.Character:case Us.Identifier:case Us.Keyword:case Us.Operator:case Us.PrivateIdentifier:case Us.String:case Us.Error:return this.strValue;case Us.Number:return this.numValue.toString();default:return null}}}function Gs(e,t,n){return new qs(e,t,Us.Character,n,String.fromCharCode(n))}function Ws(e,t,n){return new qs(e,t,Us.Operator,0,n)}const Ys=new qs(-1,-1,Us.Character,0,"");class Zs{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?Vr:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=Hr;){if(++r>=t){n=Vr;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(Ks(n))return this.scanIdentifier();if(di(n))return this.scanNumber(r);const i=r;switch(n){case Gr:return this.advance(),di(this.peek)?this.scanNumber(i):Gs(i,this.index,Gr);case 40:case 41:case ui:case ci:case 91:case 93:case qr:case Yr:case Zr:return this.scanCharacter(i,n);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case Wr:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanQuestion(i);case Kr:case Xr:return this.scanComplexOperator(i,String.fromCharCode(n),Jr,"=");case 33:case Jr:return this.scanComplexOperator(i,String.fromCharCode(n),Jr,"=",Jr,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case li:for(;pi(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),Gs(e,this.index,t)}scanOperator(e,t){return this.advance(),Ws(e,this.index,t)}scanComplexOperator(e,t,n,r,i,o){this.advance();let s=t;return this.peek==n&&(this.advance(),s+=r),null!=i&&this.peek==i&&(this.advance(),s+=o),Ws(e,this.index,s)}scanIdentifier(){const e=this.index;for(this.advance();Xs(this.peek);)this.advance();const t=this.input.substring(e,this.index);return Hs.indexOf(t)>-1?(n=e,r=this.index,i=t,new qs(n,r,Us.Keyword,0,i)):function(e,t,n){return new qs(e,t,Us.Identifier,0,n)}(e,this.index,t);var n,r,i}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!Ks(this.peek))return this.error("Invalid character [#]",-1);for(;Xs(this.peek);)this.advance();const t=this.input.substring(e,this.index);return n=e,r=this.index,i=t,new qs(n,r,Us.PrivateIdentifier,0,i);var n,r,i}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(di(this.peek));else if(this.peek===ii){if(!di(this.input.charCodeAt(this.index-1))||!di(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(this.peek===Gr)t=!1;else{if(101!=(r=this.peek)&&69!=r)break;
2if(this.advance(),Qs(this.peek)&&this.advance(),!di(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var r;let i=this.input.substring(e,this.index);n&&(i=i.replace(/_/g,""));const o=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(i):parseFloat(i);return s=e,a=this.index,u=o,new qs(s,a,Us.Number,u,"");var s,a,u}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const i=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=i.substring(r,this.index),this.advance(),117==this.peek){const t=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error(`Invalid unicode escape [\\u${t}]`,0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=ea(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(this.peek==Vr)return this.error("Unterminated quote",0);this.advance()}const o=i.substring(r,this.index);return this.advance(),s=e,a=this.index,u=n+o,new qs(s,a,Us.String,0,u);var s,a,u}scanQuestion(e){this.advance();let t="?";return 63!==this.peek&&this.peek!==Gr||(t+=this.peek===Gr?".":"?",this.advance()),Ws(e,this.index,t)}error(e,t){const n=this.index+t;return function(e,t,n){return new qs(e,t,Us.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}}function Ks(e){return oi<=e&&e<=ai||ti<=e&&e<=ri||e==ii||e==zr}function Js(e){if(0==e.length)return!1;const t=new Zs(e);if(!Ks(t.peek))return!1;for(t.advance();t.peek!==Vr;){if(!Xs(t.peek))return!1;t.advance()}return!0}function Xs(e){return hi(e)||di(e)||e==ii||e==zr}function Qs(e){return 45==e||43==e}function ea(e){switch(e){case 110:return Ur;case si:return 12;case 114:return 13;case 116:return Br;case 118:return 11;default:return e}}class ta{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class na{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}class ra{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,t,n,r,i=$r){this._checkNoInterpolation(e,n,i);const o=this._stripComments(e),s=this._lexer.tokenize(o);let a=1;t&&(a|=2);const u=new sa(e,n,r,s,a,this.errors,0).parseChain();return new bo(u,e,n,r,this.errors)}parseBinding(e,t,n,r=$r){const i=this._parseBindingAst(e,t,n,r);return new bo(i,e,t,n,this.errors)}checkSimpleExpression(e){const t=new aa;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,r=$r){const i=this._parseBindingAst(e,t,n,r),o=this.checkSimpleExpression(i);return o.length>0&&this._reportError(`Host binding expression cannot contain ${o.join(" ")}`,e,t),new bo(i,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new Gi(e,t,n,r))}_parseBindingAst(e,t,n,r){this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),o=this._lexer.tokenize(i);return new sa(e,t,n,o,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,n,r,i){const o=this._lexer.tokenize(t);return new sa(t,n,i,o,0,this.errors,0).parseTemplateBindings({source:e,span:new _o(r,r+e.length)})}parseInterpolation(e,t,n,r,i=$r){const{strings:o,expressions:s,offsets:a}=this.splitInterpolation(e,t,r,i);if(0===s.length)return null;const u=[];for(let r=0;r<s.length;++r){const i=s[r].text,o=this._stripComments(i),c=this._lexer.tokenize(o),l=new sa(e,t,n,c,0,this.errors,a[r]).parseChain();u.push(l)}return this.createInterpolationAst(o.map((e=>e.text)),u,e,t,n)}parseInterpolationExpression(e,t,n){const r=this._stripComments(e),i=this._lexer.tokenize(r),o=new sa(e,t,n,i,0,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[o],e,t,n)}createInterpolationAst(e,t,n,r,i){const o=new Wi(0,n.length),s=new po(o,o.toAbsolute(i),e,t);return new bo(s,n,r,i,this.errors)}splitInterpolation(e,t,n,r=$r){const i=[],o=[],s=[],a=n?function(e){let t=new Map,n=0,r=0,i=0;for(;i<e.length;){const o=e[i];if(9===o.type){const[e,t]=o.parts;n+=t.length,r+=e.length}else{const e=o.parts.reduce(((e,t)=>e+t.length),0);r+=e,n+=e}t.set(r,n),i++}return t}(n):null;let u=0,c=!1,l=!1,{start:p,end:d}=r;for(;u<e.length;)if(c){const n=u,r=n+p.length,i=this._getInterpolationEndIndex(e,d,r);if(-1===i){c=!1,l=!0;break}const h=i+d.length,f=e.substring(r,i);0===f.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${u} in`,t),o.push({text:f,start:n,end:h});const m=(a?.get(n)??n)+p.length;s.push(m),u=h,c=!1}else{const t=u;u=e.indexOf(p,u),-1===u&&(u=e.length);const n=e.substring(t,u);i.push({text:n,start:t,end:u}),c=!0}if(!c)if(l){const t=i[i.length-1];t.text+=e.substring(u),t.end=e.length}else i.push({text:e.substring(u),start:u,end:e.length});return new ta(i,o,s)}wrapLiteralPrimitive(e,t,n){const r=new Wi(0,null==e?0:e.length);return new bo(new uo(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t):e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),i=e.charCodeAt(n+1);if(r===Wr&&i==Wr&&null==t)return n;t===r?t=null:null==t&&gi(r)&&(t=r)}return null}_checkNoInterpolation(e,t,{start:n,end:r}){let i=-1,o=-1;
2for(const t of this._forEachUnquotedChar(e,0))if(-1===i)e.startsWith(n)&&(i=t);else if(o=this._getInterpolationEndIndex(e,r,t),o>-1)break;i>-1&&o>-1&&this._reportError(`Got interpolation (${n}${r}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,n){for(const r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let i=t;i<e.length;i++){const t=e[i];!gi(e.charCodeAt(i))||null!==n&&n!==t||r%2!=0?null===n&&(yield i):n=null===n?t:null,r="\\"===t?r+1:0}}}var ia,oa;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(ia||(ia={}));class sa{constructor(e,t,n,r,i,o,s){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.parseFlags=i,this.errors=o,this.offset=s,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=ia.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:Ys}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(n=t),e>n){const t=n;n=e,e=t}return new Wi(e,n)}sourceSpan(e,t){const n=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ys?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(Zr))for(1&this.parseFlags||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(Zr););else if(this.index<this.tokens.length){const e=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===e)break}}if(0===e.length){const e=this.offset,t=this.offset+this.input.length;return new Ki(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new Qi(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){1&this.parseFlags&&this.error("Cannot have a pipe in an action expression");do{const n=this.inputIndex;let r,i,o=this.expectIdentifierOrKeyword();null!==o?r=this.sourceSpan(n):(o="",i=-1!==this.next.index?this.next.index:this.input.length+this.offset,r=new Wi(i,i).toAbsolute(this.absoluteOffset));const s=[];for(;this.consumeOptionalCharacter(Yr);)s.push(this.parseExpression());t=new ao(this.span(e),this.sourceSpan(e,i),t,o,s,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(Yr))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),r=new Ki(this.span(e),this.sourceSpan(e))}return new eo(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const n=this.parseLogicalAnd();t=new ho(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const n=this.parseNullishCoalescing();t=new ho(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const n=this.parseEquality();t=new ho(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==Us.Operator;){const n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();const r=this.parseRelational();t=new ho(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==Us.Operator;){const n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":this.advance();const r=this.parseAdditive();t=new ho(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==Us.Operator;){const n=this.next.strValue;switch(n){case"+":case"-":this.advance();let r=this.parseMultiplicative();t=new ho(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==Us.Operator;){const n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let r=this.parsePrefix();t=new ho(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parsePrefix(){if(this.next.type==Us.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),fo.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),fo.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new mo(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(Gr))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(40)?this.parseCall(t,e,!0):this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else{if(!this.consumeOptionalOperator("!"))return t;t=new go(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new uo(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new uo(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new uo(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new uo(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Xi(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new co(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(ui))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Ji(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new uo(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new uo(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Ki(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Ki(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new Ki(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(qr));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(ui),!this.consumeOptionalCharacter(ci)){this.rbracesExpected++;do{const n=this.inputIndex,r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();if(e.push({key:i,quoted:r}
2),r)this.expectCharacter(Yr),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(Yr))t.push(this.parsePipe());else{const e=this.span(n),r=this.sourceSpan(n);t.push(new to(e,r,r,new Ji(e,r),i))}}while(this.consumeOptionalCharacter(qr)&&!this.next.isCharacter(ci));this.rbracesExpected--,this.expectCharacter(ci)}return new lo(this.span(n),this.sourceSpan(n),e,t)}parseAccessMember(e,t,n){const r=this.inputIndex,i=this.withContext(ia.Writable,(()=>{const t=this.expectIdentifierOrKeyword()??"";return 0===t.length&&this.error("Expected identifier for property access",e.span.end),t})),o=this.sourceSpan(r);let s;if(n)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),s=new Ki(this.span(t),this.sourceSpan(t))):s=new ro(this.span(t),this.sourceSpan(t),o,e,i);else if(this.consumeOptionalAssignment()){if(!(1&this.parseFlags))return this.error("Bindings cannot contain assignments"),new Ki(this.span(t),this.sourceSpan(t));const n=this.parseConditional();s=new no(this.span(t),this.sourceSpan(t),o,e,i,n)}else s=new to(this.span(t),this.sourceSpan(t),o,e,i);return s}parseCall(e,t,n){const r=this.inputIndex;this.rparensExpected++;const i=this.parseCallArguments(),o=this.span(r,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const s=this.span(t),a=this.sourceSpan(t);return n?new yo(s,a,e,i,o):new vo(s,a,e,i,o)}consumeOptionalAssignment(){return 2&this.parseFlags&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(qr));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new _o(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new na(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(ia.Writable,(()=>{this.rbracketsExpected++;const r=this.parsePipe();if(r instanceof Ki&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.consumeOptionalOperator("="))return n?new oo(this.span(t),this.sourceSpan(t),e,r):new io(this.span(t),this.sourceSpan(t),e,r);if(!n){const n=this.parseConditional();return new so(this.span(t),this.sourceSpan(t),e,r,n)}return this.error("The '?.' operator cannot be used in the assignment"),new Ki(this.span(t),this.sourceSpan(t))}))}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(Yr);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const o=new _o(e.span.start,r);return t.push(new Eo(o,e,n)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Ys||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new bo(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new _o(e.span.start,this.currentAbsoluteOffset);return new wo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new _o(e,this.currentAbsoluteOffset);return new wo(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(Zr)||this.consumeOptionalCharacter(qr)}
2error(e,t=null){this.errors.push(new Gi(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n=`Private identifiers are not supported. Unexpected private identifier: ${e}`;null!==t&&(n+=`, ${t}`),this.error(n)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(Zr)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter(ci)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&ia.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new Gi(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class aa extends So{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}class ua{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class ca extends ua{constructor(e,t,n,r){super(t,r),this.value=e,this.tokens=n}visit(e,t){return e.visitText(this,t)}}class la extends ua{constructor(e,t,n,r,i,o){super(r,o),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=i}visit(e,t){return e.visitExpansion(this,t)}}class pa{constructor(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}}class da extends ua{constructor(e,t,n,r,i,o,s){super(n,s),this.name=e,this.value=t,this.keySpan=r,this.valueSpan=i,this.valueTokens=o}visit(e,t){return e.visitAttribute(this,t)}}class ha extends ua{constructor(e,t,n,r,i,o=null,s){super(r,s),this.name=e,this.attrs=t,this.children=n,this.startSourceSpan=i,this.endSourceSpan=o}visit(e,t){return e.visitElement(this,t)}}class fa{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function ma(e,t,n=null){const r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach((e=>{const t=i(e);t&&r.push(t)})),r}class ga{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let n=[],r=this;return t((function(t){t&&n.push(ma(r,t,e))})),Array.prototype.concat.apply([],n)}}function va(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1===t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function ya(e){return"ng-container"===va(e)[1]}function _a(e){return"ng-content"===va(e)[1]}function ba(e){return"ng-template"===va(e)[1]}function wa(e){return null===e?null:va(e)[0]}function Ea(e,t){return e?`:${e}:${t}`:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(oa||(oa={}));class Sa{}
2const xa=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*p
2ointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Da=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Ca=Array.from(Da).reduce(((e,[t,n])=>(e.set(t,n),e)),new Map);class Ta extends Sa{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,xa.forEac
2h((e=>{const t=new Map,n=new Set,[r,i]=e.split("|"),o=i.split(","),[s,a]=r.split("^");s.split(",").forEach((e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),n)}));const u=a&&this._schema.get(a.toLowerCase());if(u){for(const[e,n]of u)t.set(e,n);for(const e of this._eventSchema.get(a.toLowerCase()))n.add(e)}o.forEach((e=>{if(e.length>0)switch(e[0]){case"*":n.add(e.substring(1));break;case"!":t.set(e.substring(1),"boolean");break;case"#":t.set(e.substring(1),"number");break;case"%":t.set(e.substring(1),"object");break;default:t.set(e,"string")}}))}))}hasProperty(e,t,n){if(n.some((e=>e.name===d.name)))return!0;if(e.indexOf("-")>-1){if(ya(e)||_a(e))return!1;if(n.some((e=>e.name===p.name)))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some((e=>e.name===d.name)))return!0;if(e.indexOf("-")>-1){if(ya(e)||_a(e))return!0;if(t.some((e=>e.name===p.name)))return!0}return this._schema.has(e.toLowerCase())}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let r=Wo()[e+"|"+t];return r||(r=Wo()["*|"+t],r||f.NONE)}getMappedPropName(e){return Da.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){const t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map((e=>Ca.get(e)??e))}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return e.replace(Tt,((...e)=>e[1].toUpperCase()))}normalizeAnimationStyleValue(e,t,n){let r="";const i=n.toString().trim();let o=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(o=`Please provide a CSS unit value for ${t}:${n}`)}return{error:o,value:i+r}}}class ka{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=oa.PARSABLE_DATA,closedByParent:r=!1,isVoid:i=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:s=!1,canSelfClose:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=i,this.closedByParent=r||i,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=s,this.canSelfClose=a??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if("object"==typeof this.contentType){return(void 0===e?void 0:this.contentType[e])??this.contentType.default}return this.contentType}}let Ia,Oa;function Ma(e){return Oa||(Ia=new ka({canSelfClose:!0}),Oa={base:new ka({isVoid:!0}),meta:new ka({isVoid:!0}),area:new ka({isVoid:!0}),embed:new ka({isVoid:!0}),link:new ka({isVoid:!0}),img:new ka({isVoid:!0}),input:new ka({isVoid:!0}),param:new ka({isVoid:!0}),hr:new ka({isVoid:!0}),br:new ka({isVoid:!0}),source:new ka({isVoid:!0}),track:new ka({isVoid:!0}),wbr:new ka({isVoid:!0}),p:new ka({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new ka({closedByChildren:["tbody","tfoot"]}),tbody:new ka({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new ka({closedByChildren:["tbody"],closedByParent:!0}),tr:new ka({closedByChildren:["tr"],closedByParent:!0}),td:new ka({closedByChildren:["td","th"],closedByParent:!0}),th:new ka({closedByChildren:["td","th"],closedByParent:!0}),col:new ka({isVoid:!0}),svg:new ka({implicitNamespacePrefix:"svg"}
2),foreignObject:new ka({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new ka({implicitNamespacePrefix:"math"}),li:new ka({closedByChildren:["li"],closedByParent:!0}),dt:new ka({closedByChildren:["dt","dd"]}),dd:new ka({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new ka({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new ka({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new ka({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new ka({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new ka({closedByChildren:["optgroup"],closedByParent:!0}),option:new ka({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new ka({ignoreFirstLf:!0}),listing:new ka({ignoreFirstLf:!0}),style:new ka({contentType:oa.RAW_TEXT}),script:new ka({contentType:oa.RAW_TEXT}),title:new ka({contentType:{default:oa.ESCAPABLE_RAW_TEXT,svg:oa.PARSABLE_DATA}}),textarea:new ka({contentType:oa.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},(new Ta).allKnownElementNames().forEach((e=>{Oa.hasOwnProperty(e)||null!==wa(e)||(Oa[e]=new ka({canSelfClose:!1}))}))),Oa[e]??Oa[e.toLowerCase()]??Ia}const Aa={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim
2:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",
2Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"â
2‹ ",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"â§´",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Å ",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce
2:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil
2:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"â©­",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"â©·",eDDot:"â©·",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"â§¶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"â©®",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"â§£",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"â§¥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"Ä¡",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"Ä¥",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"Ä«",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"Ä©",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"È·",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"Ä·",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"â©¿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"â
2‹–",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"â©»",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"â«°",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"â«®",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"Å¡",scedil:"ş",scirc:"ŝ",
2scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Na="";Aa.ngsp=Na;class Pa extends wi{constructor(e,t,n){super(n,e),this.tokenType=t}}class Ra{constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}function Fa(e,t,n,r={}){const i=new Ua(new yi(e,t),n,r);return i.tokenize(),new Ra(function(e){const t=[];let n;for(let r=0;r<e.length;r++){const i=e[r];n&&5===n.type&&5===i.type||n&&16===n.type&&16===i.type?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}const ja=/\r\n?/g;function La(e){return`Unexpected character "${e===Vr?"EOF":String.fromCharCode(e)}"`}function $a(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Va;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Va||(Va={}));class Ba{constructor(e){this.error=e}}class Ua{constructor(e,t,n){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||$r,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map((e=>e.codePointAt(0)||0));const r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Za(e,r):new Ya(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;
2try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(ja,"\n")}tokenize(){for(;this._cursor.peek()!==Vr;){const e=this._cursor.clone();try{this._attemptCharCode(Kr)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(Wr)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,(()=>this._isTextEnd()),(()=>this._isTagStart()))}catch(e){this.handleError(e)}}this._beginToken(24),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(this._cursor.peek()!==ci&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===ci){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new Pa("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new Pa("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const n={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new Pa(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Ba(n)}handleError(e){if(e instanceof Ka&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof Ba))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),n=e,Wa(t)===Wa(n)&&(this._cursor.advance(),!0);var t,n}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_consumeEntity(e){this._beginToken(9);const t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){const e=this._attemptCharCode(120)||this._attemptCharCode(88),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(qa),this._cursor.peek()!=Zr){this._cursor.advance();const r=e?Va.HEX:Va.DEC;throw this._createError((n=r,`Unable to parse entity "${this._cursor.getChars(t)}" - ${n} character reference entities must end with ";"`),this._cursor.getSpan())}const i=this._cursor.getChars(r);this._cursor.advance();try{const n=parseInt(i,e?16:10);this._endToken([String.fromCharCode(n),this._cursor.getChars(t)])}catch{throw this._createError($a(this._cursor.getChars(t)),this._cursor.getSpan())}}else{const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ga),this._cursor.peek()!=Zr)this._beginToken(e,t),this._cursor=n,this._endToken(["&"]);else{const e=this._cursor.getChars(n);this._cursor.advance();const r=Aa[e];if(!r)throw this._createError($a(e),this._cursor.getSpan(t));this._endToken([r,`&${e};`])}}var n}_consumeRawText(e,t){this._beginToken(e?6:7);const n=[];for(;;){const r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(n.join(""))]),n.length=0,this._consumeEntity(6),this._beginToken(6)):n.push(this._readChar())}this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e);const t=this._cursor.clone();this._attemptUntilChar(Xr);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;this._cursor.peek()!==Yr&&!(((n=this._cursor.peek())<oi||ai<n)&&(n<ti||ri<n)&&(n<Qr||n>ei));)this._cursor.advance();var n;let r;this._cursor.peek()===Yr?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(za,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,n,r;try{if(!hi(this._cursor.peek()))throw this._createError(La(this._cursor.peek()),this._cursor.getSpan(e));for(r=this._consumeTagOpenStart(e),n=r.parts[0],t=r.parts[1],this._attemptCharCodeUntilFn(Ha);this._cursor.peek()!==Wr&&this._cursor.peek()!==Xr&&this._cursor.peek()!==Kr&&this._cursor.peek()!==Vr;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(Ha),this._attemptCharCode(Jr)&&(this._attemptCharCodeUntilFn(Ha),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Ha);this._consumeTagOpenEnd()}catch(t){if(t instanceof Ba)return void(r?r.type=4:(this._beginToken(5,e),this._endToken(["<"])));throw t}const i=this._getTagDefinition(t).getContentType(n);i===oa.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):i===oa.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,(()=>!!this._attemptCharCode(Kr)&&(!!this._attemptCharCode(Wr)&&(this._attemptCharCodeUntilFn(Ha),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(Ha),this._attemptCharCode(Xr)))))),this._beginToken(3),this._requireCharCodeUntilFn((e=>e===Xr),3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(0,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(La(e),this._cursor.getSpan());this._beginToken(14);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const e=this._cursor.peek();this._consumeQuote(e);const t=()=>this._cursor.peek()===e;this._consumeWithInterpolation(16,17,t,t),this._consumeQuote(e)}else{const e=()=>za(this._cursor.peek());this._consumeWithInterpolation(16,17,e,e)}}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(Wr)?2:1;this._beginToken(e),this._requireCharCode(Xr),this._endToken([])}_consumeTagClose(e){this._beginToken(3,e),this._attemptCharCodeUntilFn(Ha);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Ha),this._requireCharCode(Xr),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(ui),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const e=this._readUntil(qr),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(qr),this._attemptCharCodeUntilFn(Ha),this._beginToken(7);const n=this._readUntil(qr);this._endToken([n]),this._requireCharCode(qr),this._attemptCharCodeUntilFn(Ha)}_consumeExpansionCaseStart(){this._beginToken(20);const e=this._readUntil(ui).trim();this._endToken([e]),this._attemptCharCodeUntilFn(Ha),this._beginToken(21),this._requireCharCode(ui),this._endToken([]),this._attemptCharCodeUntilFn(Ha),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(ci),this._endToken([]),this._attemptCharCodeUntilFn(Ha),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(ci),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,r){this._beginToken(e);const i=[];for(;!n();){const n=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],n),i.length=0,this._consumeInterpolation(t,n,r),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(i.join(""))])}_consumeInterpolation(e,t,n){const r=[];this._beginToken(e,t),r.push(this._interpolationConfig.start);const i=this._cursor.clone();let o=null,s=!1;for(;this._cursor.peek()!==Vr&&(null===n||!n());){const e=this._cursor.clone();
2if(this._isTagStart())return this._cursor=e,r.push(this._getProcessedChars(i,e)),void this._endToken(r);if(null===o){if(this._attemptStr(this._interpolationConfig.end))return r.push(this._getProcessedChars(i,e)),r.push(this._interpolationConfig.end),void this._endToken(r);this._attemptStr("//")&&(s=!0)}const t=this._cursor.peek();this._cursor.advance(),92===t?this._cursor.advance():t===o?o=null:!s&&null===o&&gi(t)&&(o=t)}r.push(this._getProcessedChars(i,this._cursor)),this._endToken(r)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){if(this._isTagStart()||this._cursor.peek()===Vr)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===ci&&this._isInExpansionCase())return!0}return!1}_isTagStart(){if(this._cursor.peek()===Kr){const e=this._cursor.clone();e.advance();const t=e.peek();if(oi<=t&&t<=ai||ti<=t&&t<=ri||t===Wr||33===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}
2isExpansionFormStart(){if(this._cursor.peek()!==ui)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function Ha(e){return!pi(e)||e===Vr}function za(e){return pi(e)||e===Xr||e===Kr||e===Wr||39===e||34===e||e===Jr||e===Vr}function qa(e){return e===Zr||e===Vr||!function(e){return e>=oi&&e<=si||e>=ti&&e<=ni||di(e)}(e)}function Ga(e){return e===Zr||e===Vr||!hi(e)}function Wa(e){return e>=oi&&e<=ai?e-oi+ti:e}class Ya{constructor(e,t){if(e instanceof Ya){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Ya(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const r=this.locationFromCursor(e),i=this.locationFromCursor(this),o=n!==e?this.locationFromCursor(n):r;return new _i(r,i,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ka('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===Ur?(e.line++,e.column=0):fi(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?Vr:this.charAt(e.offset)}locationFromCursor(e){return new vi(e.file,e.state.offset,e.state.line,e.state.column)}}class Za extends Ya{constructor(e,t){e instanceof Za?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}
2advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Za(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=Ur;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=Br;else if(98===e())this.state.peek=8;else if(e()===si)this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===ui){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;e()!==ci;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(mi(e())){let t="",n=0,r=this.clone();for(;mi(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else fi(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.slice(e.internalState.offset,e.internalState.offset+t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Ka("Invalid hexadecimal escape sequence",e);return r}}class Ka{constructor(e,t){this.msg=e,this.cursor=t}}class Ja extends wi{static create(e,t,n){return new Ja(e,t,n)}constructor(e,t,n){super(t,n),this.elementName=e}}class Xa{constructor(e,t){this.rootNodes=e,this.errors=t}}class Qa{constructor(e){this.getTagDefinition=e}parse(e,t,n){const r=Fa(e,t,this.getTagDefinition,n),i=new eu(r.tokens,this.getTagDefinition);return i.build(),new Xa(i.rootNodes,r.errors.concat(i.errors))}}class eu{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;24!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?this._consumeEndTag(this._advance()):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):19===this._peek.type?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(13)}_consumeComment(e){const t=this._advanceIf(7);this._advanceIf(11);const n=null!=t?t.parts[0].trim():null;this._addToParent(new fa(n,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),r=[];for(;20===this._peek.type;){const e=this._parseExpansionCase();if(!e)return;r.push(e)}if(23!==this._peek.type)return void this.errors.push(Ja.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const i=new _i(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new la(t.parts[0],n.parts[0],r,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(21!==this._peek.type)return this.errors.push(Ja.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const r=this._advance();n.push({type:24,parts:[],sourceSpan:r.sourceSpan});const i=new eu(n,this.getTagDefinition);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;const o=new _i(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart),s=new _i(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);return new pa(e.parts[0],i.rootNodes,o,e.sourceSpan,s)}_collectExpansionExpTokens(e){const t=[],n=[21];for(;;){if(19!==this._peek.type&&21!==this._peek.type||n.push(this._peek.type),22===this._peek.type){if(!tu(n,21))return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0===n.length)return t}if(23===this._peek.type){if(!tu(n,19))return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}
2if(24===this._peek.type)return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){const t=[e],n=e.sourceSpan;let r=e.parts[0];if(r.length>0&&"\n"===r[0]){const n=this._getParentElement();null!=n&&0===n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[r]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?r+=e.parts.join("").replace(/&([^;]+);/g,nu):9===e.type?r+=e.parts[0]:r+=e.parts.join("");if(r.length>0){const i=e.sourceSpan;this._addToParent(new ca(r,new _i(n.start,i.end,n.fullStart,n.details),t))}}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[t,n]=e.parts,r=[];for(;14===this._peek.type;)r.push(this._consumeAttr(this._advance()));const i=this._getElementFullName(t,n,this._getParentElement());let o=!1;if(2===this._peek.type){this._advance(),o=!0;const t=this.getTagDefinition(i);t.canSelfClose||null!==wa(i)||t.isVoid||this.errors.push(Ja.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),o=!1);const s=this._peek.sourceSpan.fullStart,a=new _i(e.sourceSpan.start,s,e.sourceSpan.fullStart),u=new _i(e.sourceSpan.start,s,e.sourceSpan.fullStart),c=new ha(i,r,[],a,u,void 0);this._pushElement(c),o?this._popElement(i,a):4===e.type&&(this._popElement(i,null),this.errors.push(Ja.create(i,a,`Opening tag "${i}" not terminated.`)))}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(Ja.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ja.create(t,e.sourceSpan,n))}}_popElement(e,t){let n=!1;for(let r=this._elementStack.length-1;r>=0;r--){const i=this._elementStack[r];if(i.name===e)return i.endSourceSpan=t,i.sourceSpan.end=null!==t?t.end:i.sourceSpan.end,this._elementStack.splice(r,this._elementStack.length-r),!n;this.getTagDefinition(i.name).closedByParent||(n=!0)}return!1}_consumeAttr(e){const t=Ea(e.parts[0],e.parts[1]);let n=e.sourceSpan.end;15===this._peek.type&&this._advance();let r="";const i=[];let o,s;if(16===this._peek.type)for(o=this._peek.sourceSpan,s=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const e=this._advance();i.push(e),17===e.type?r+=e.parts.join("").replace(/&([^;]+);/g,nu):9===e.type?r+=e.parts[0]:r+=e.parts.join(""),s=n=e.sourceSpan.end}if(15===this._peek.type){n=this._advance().sourceSpan.end}const a=o&&s&&new _i(o.start,s,o.fullStart);return new da(t,r,new _i(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,a,i.length>0?i:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,n){if(""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n){const t=va(n.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=wa(n.name))}return Ea(e,t)}}function tu(e,t){return e.length>0&&e[e.length-1]===t}function nu(e,t){return void 0!==Aa[t]?Aa[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}class ru extends Qa{constructor(){super(Ma)}parse(e,t,n){return super.parse(e,t,n)}}
2const iu="ngPreserveWhitespaces",ou=new Set(["pre","template","textarea","script","style"]),su=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",au=new RegExp(`[^${su}]`),uu=new RegExp(`[${su}]{2,}`,"g");function cu(e){return e.replace(new RegExp(Na,"g")," ")}class lu{visitElement(e,t){return ou.has(e.name)||e.attrs.some((e=>e.name===iu))?new ha(e.name,ma(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new ha(e.name,e.attrs,function(e,t){const n=[];return t.forEach(((r,i)=>{const o={prev:t[i-1],next:t[i+1]},s=r.visit(e,o);s&&n.push(s)})),n}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return e.name!==iu?e:null}visitText(e,t){const n=e.value.match(au),r=t&&(t.prev instanceof la||t.next instanceof la);if(n||r){const t=e.tokens.map((e=>5===e.type?function({type:e,parts:t,sourceSpan:n}){return{type:e,parts:[pu(t[0])],sourceSpan:n}}(e):e)),n=pu(e.value);return new ca(n,e.sourceSpan,t,e.i18n)}return null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}function pu(e){return cu(e).replace(uu," ")}function du(e,t=!1){return at(Object.keys(e).map((n=>({key:n,quoted:t,value:e[n]}))))}const hu=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function fu(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),hu.has(e+"|"+t)||hu.has("*|"+t)}const mu="animate-";class gu{constructor(e,t,n,r){this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=r}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(e,t){const n=[];for(const r of Object.keys(e)){const i=e[r];"string"==typeof i?this.parsePropertyBinding(r,i,!0,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}return n}createDirectiveHostEventAsts(e,t){const n=[];for(const r of Object.keys(e)){const i=e[r];"string"==typeof i?this.parseEvent(r,i,!1,t,t,[],n,t):this._reportError(`Value of the host listener "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}return n}parseInterpolation(e,t,n){const r=t.start.toString(),i=t.fullStart.offset;try{const o=this._exprParser.parseInterpolation(e,r,i,n,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,t),o}catch(e){return this._reportError(`${e}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",r,i)}}parseInterpolationExpression(e,t){const n=t.start.toString(),r=t.start.offset;try{const i=this._exprParser.parseInterpolationExpression(e,n,r);return i&&this._reportExpressionParserErrors(i.errors,t),i}catch(e){return this._reportError(`${e}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}parseInlineTemplateBinding(e,t,n,r,i,o,s,a){const u=n.start.offset+1,c=this._parseTemplateBindings(e,t,n,u,r);for(const e of c){const t=_u(n,e.sourceSpan),u=e.key.source,c=_u(n,e.key.span);if(e instanceof wo){const r=e.value?e.value.source:"$implicit",i=e.value?_u(n,e.value.span):void 0;s.push(new ko(u,r,t,c,i))}else if(e.value){const r=a?t:n,s=_u(n,e.value.ast.sourceSpan);this._parsePropertyAst(u,e.value,r,c,s,i,o)}else i.push([u,""]),this.parseLiteralAttr(u,null,c,r,void 0,i,o,c)}}_parseTemplateBindings(e,t,n,r,i){const o=n.start.toString();try{const s=this._exprParser.parseTemplateBindings(e,t,o,r,i);return this._reportExpressionParserErrors(s.errors,n),s.warnings.forEac
2h((e=>{this._reportError(e,n,bi.WARNING)})),s.templateBindings}catch(e){return this._reportError(`${e}`,n),[]}}parseLiteralAttr(e,t,n,r,i,o,s,a){vu(e)?(e=e.substring(1),void 0!==a&&(a=_u(a,new _o(a.start.offset+1,a.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,bi.ERROR),this._parseAnimation(e,t,n,r,a,i,o,s)):s.push(new Co(e,this._exprParser.wrapLiteralPrimitive(t,"",r),Li.LITERAL_ATTR,n,a,i))}parsePropertyBinding(e,t,n,r,i,o,s,a,u){0===e.length&&this._reportError("Property name is missing in binding",r);let c=!1;e.startsWith(mu)?(c=!0,e=e.substring(8),void 0!==u&&(u=_u(u,new _o(u.start.offset+8,u.end.offset)))):vu(e)&&(c=!0,e=e.substring(1),void 0!==u&&(u=_u(u,new _o(u.start.offset+1,u.end.offset)))),c?this._parseAnimation(e,t,r,i,u,o,s,a):this._parsePropertyAst(e,this._parseBinding(t,n,o||r,i),r,u,o,s,a)}parsePropertyInterpolation(e,t,n,r,i,o,s,a){const u=this.parseInterpolation(t,r||n,a);return!!u&&(this._parsePropertyAst(e,u,n,s,r,i,o),!0)}_parsePropertyAst(e,t,n,r,i,o,s){o.push([e,t.source]),s.push(new Co(e,t,Li.DEFAULT,n,r,i))}_parseAnimation(e,t,n,r,i,o,s,a){0===e.length&&this._reportError("Animation trigger is missing",n);const u=this._parseBinding(t||"undefined",!1,o||n,r);s.push([e,u.source]),a.push(new Co(e,u,Li.ANIMATION,n,i,o))}_parseBinding(e,t,n,r){const i=(n&&n.start||"(unknown)").toString();try{const o=t?this._exprParser.parseSimpleBinding(e,i,r,this._interpolationConfig):this._exprParser.parseBinding(e,i,r,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,n),o}catch(e){return this._reportError(`${e}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}}createBoundElementProperty(e,t,n=!1,r=!0){if(t.isAnimation)return new Io(t.name,4,f.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let i,o=null,s=null;const a=t.name.split(".");let u;if(a.length>1)if("attr"==a[0]){s=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(s,t.sourceSpan,!0),u=yu(this._schemaRegistry,e,s,!0);const r=s.indexOf(":");if(r>-1){const e=s.substring(0,r),t=s.substring(r+1);s=Ea(e,t)}i=1}else"class"==a[0]?(s=a[1],i=2,u=[f.NONE]):"style"==a[0]&&(o=a.length>2?a[2]:null,s=a[1],i=3,u=[f.STYLE]);if(null===s){const o=this._schemaRegistry.getMappedPropName(t.name);s=r?o:t.name,u=yu(this._schemaRegistry,e,o,!1),i=0,n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!1)}return new Io(s,i,u[0],t.expression,o,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,r,i,o,s,a){0===e.length&&this._reportError("Event name is missing in binding",r),vu(e)?(e=e.slice(1),void 0!==a&&(a=_u(a,new _o(a.start.offset+1,a.end.offset))),this._parseAnimationEvent(e,t,n,r,i,s,a)):this._parseRegularEvent(e,t,n,r,i,o,s,a)}calcPossibleSecurityContexts(e,t,n){const r=this._schemaRegistry.getMappedPropName(t);return yu(this._schemaRegistry,e,r,n)}_parseAnimationEvent(e,t,n,r,i,o,s){const a=kt(e,".",[e,""]);const u=a[0],c=a[1].toLowerCase(),l=this._parseAction(t,n,i);o.push(new To(u,c,1,l,r,i,s)),0===u.length&&this._reportError("Animation event name is missing in binding",r),c?"start"!==c&&"done"!==c&&this._reportError(`The provided animation output phase value "${c}" for "@${u}" is not supported (use start or done)`,r):this._reportError(`The animation trigger output event (@${u}) is missing its phase value name (start or done are currently supported)`,r)}_parseRegularEvent(e,t,n,r,i,o,s,a){const[u,c]=kt(e,":",[null,e]);const l=this._parseAction(t,n,i);o.push([e,l.source]),s.push(new To(c,u,0,l,r,i,a))}_parseAction(e,t,n){const r=(n&&n.start||"(unknown").toString(),i=n&&n.start?n.start.offset:0;try{const o=this._exprParser.parseAction(e,t,r,i,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,n),!o||o.ast instanceof Ki?(this._reportError("Empty expressions are not allowed",n),this._exprParser.wrapLiteralPrimitive("ERROR",r,i)):o}catch(e){return this._reportError(`${e}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",r,i)}}_reportError(e,t,n=bi.ERROR){this.errors.push(new wi(t,e,n))}_reportExpressionParserErrors(e,t){for(const n of e)this._reportError(n.message,t)}_validatePropertyOrAttributeName(e,t,n){const r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,bi.ERROR)}}function vu(e){return"@"==e[0]}function yu(e,t,n,r){const o=[];return i.parse(t).forEach((t=>{const i=t.element?[t.element]:e.allKnownElementNames(),s=new Set(t.notSelectors.filter((e=>e.isElementSelector())).map((e=>e.element))),a=i.filter((e=>!s.has(e)));o.push(...a.map((t=>e.securityContext(t,n,r))))})),0===o.length?[f.NONE]:Array.from(new Set(o)).sort()}function _u(e,t){const n=t.start-e.start.offset,r=t.end-e.end.offset;return new _i(e.start.moveBy(n),e.end.moveBy(r),e.fullStart.moveBy(n),e.details)}const bu=/^([^:/?#]+):/;function wu(e){let t=null,n=null,r=null,i=!1,o="";
2e.attrs.forEach((e=>{const s=e.name.toLowerCase();"select"==s?t=e.value:"href"==s?n=e.value:"rel"==s?r=e.value:"ngNonBindable"==e.name?i=!0:"ngProjectAs"==e.name&&e.value.length>0&&(o=e.value)})),t=function(e){if(null===e||0===e.length)return"*";return e}(t);const s=e.name.toLowerCase();let a=Eu.OTHER;return _a(s)?a=Eu.NG_CONTENT:"style"==s?a=Eu.STYLE:"script"==s?a=Eu.SCRIPT:"link"==s&&"stylesheet"==r&&(a=Eu.STYLESHEET),new Su(a,t,n,i,o)}var Eu;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(Eu||(Eu={}));class Su{constructor(e,t,n,r,i){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}}const xu=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Du={start:"[(",end:")]"},Cu={start:"[",end:"]"},Tu={start:"(",end:")"};class ku{constructor(e,t){this.bindingParser=e,this.options=t,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(e){const t=rr(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=wu(e);if(n.type===Eu.SCRIPT)return null;if(n.type===Eu.STYLE){const t=function(e){return 1===e.children.length&&e.children[0]instanceof ca?e.children[0].value:null}(e);return null!==t&&this.styles.push(t),null}if(n.type===Eu.STYLESHEET&&function(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(bu);return null===t||"package"==t[1]||"asset"==t[1]}(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;const r=ba(e.name),i=[],o=[],s=[],a=[],u=[],c={},l=[],p=[];let d=!1;for(const t of e.attrs){let e=!1;const n=Ou(t.name);let h=!1;if(t.i18n&&(c[t.name]=t.i18n),n.startsWith("*")){d&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",t.sourceSpan),h=!0,d=!0;const e=t.value,r=n.substring(1),i=[],o=t.valueSpan?t.valueSpan.start.offset:t.sourceSpan.start.offset+t.name.length;this.bindingParser.parseInlineTemplateBinding(r,e,t.sourceSpan,o,[],l,i,!0),p.push(...i.map((e=>new _n(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan))))}else e=this.parseAttribute(r,t,[],i,o,s,a);e||h||u.push(this.visitAttribute(t))}const h=ma(n.nonBindable?Iu:this,e.children);let f;if(n.type===Eu.NG_CONTENT){e.children&&!e.children.every((e=>function(e){return e instanceof ca&&0==e.value.trim().length}(e)||function(e){return e instanceof fa}(e)))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const t=n.selectAttr,r=e.attrs.map((e=>this.visitAttribute(e)));f=new yn(t,r,e.sourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(r){const t=this.extractAttributes(e.name,i,c);f=new vn(e.name,u,t.bound,o,[],h,a,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.extractAttributes(e.name,i,c);f=new gn(e.name,u,t.bound,o,h,a,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(d){const n=this.extractAttributes("ng-template",l,c),i=[];n.literal.forEach((e=>i.push(e))),n.bound.forEach((e=>i.push(e)));const o=f instanceof gn?{attributes:f.attributes,inputs:f.inputs,outputs:f.outputs}:{attributes:[],inputs:[],outputs:[]},s=r&&t?void 0:e.i18n,a=f instanceof vn?null:f.name;f=new vn(a,o.attributes,o.inputs,o.outputs,i,[f],[],p,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,s)}return t&&(this.inI18nBlock=!1),f}visitAttribute(e){return new hn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!rr(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},r={};return Object.keys(t.placeholders).forEach((e=>{const i=t.placeholders[e];if(e.startsWith("VAR_")){const t=e.trim(),r=this.bindingParser.parseInterpolationExpression(i.text,i.sourceSpan);n[t]=new dn(r,i.sourceSpan)}else r[e]=this._visitTextWithInterpolation(i.text,i.sourceSpan,null)})),new wn(n,r,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new ln(e.value||"",e.sourceSpan)),null}
2extractAttributes(e,t,n){const r=[],i=[];return t.forEach((t=>{const o=n[t.name];if(t.isLiteral)i.push(new hn(t.name,t.expression.source||"",t.sourceSpan,t.keySpan,t.valueSpan,o));else{const n=this.bindingParser.createBoundElementProperty(e,t,!0,!1);r.push(fn.fromBoundElementProperty(n,o))}})),{bound:r,literal:i}}parseAttribute(e,t,n,r,i,o,s){const a=Ou(t.name),u=t.value,c=t.sourceSpan,l=t.valueSpan?t.valueSpan.start.offset:c.start.offset;function p(e,n,r){const i=t.name.length-a.length,o=e.start.moveBy(n.length+i),s=o.moveBy(r.length);return new _i(o,s,o,r)}const d=a.match(xu);if(d){if(null!=d[1]){const e=d[7],i=p(c,d[1],e);this.bindingParser.parsePropertyBinding(e,u,!1,c,l,t.valueSpan,n,r,i)}else if(d[2])if(e){const e=d[7],n=p(c,d[2],e);this.parseVariable(e,u,c,n,t.valueSpan,o)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(d[3]){const e=d[7],n=p(c,d[3],e);this.parseReference(e,u,c,n,t.valueSpan,s)}else if(d[4]){const e=[],r=d[7],o=p(c,d[4],r);this.bindingParser.parseEvent(r,u,!1,c,t.valueSpan||c,n,e,o),Mu(e,i)}else if(d[5]){const e=d[7],o=p(c,d[5],e);this.bindingParser.parsePropertyBinding(e,u,!1,c,l,t.valueSpan,n,r,o),this.parseAssignmentEvent(e,u,c,t.valueSpan,n,i,o)}else if(d[6]){const e=p(c,"",a);this.bindingParser.parseLiteralAttr(a,u,c,l,t.valueSpan,n,r,e)}return!0}let h=null;if(a.startsWith(Du.start)?h=Du:a.startsWith(Cu.start)?h=Cu:a.startsWith(Tu.start)&&(h=Tu),null!==h&&a.endsWith(h.end)&&a.length>h.start.length+h.end.length){const e=a.substring(h.start.length,a.length-h.end.length),o=p(c,h.start,e);if(h.start===Du.start)this.bindingParser.parsePropertyBinding(e,u,!1,c,l,t.valueSpan,n,r,o),this.parseAssignmentEvent(e,u,c,t.valueSpan,n,i,o);else if(h.start===Cu.start)this.bindingParser.parsePropertyBinding(e,u,!1,c,l,t.valueSpan,n,r,o);else{const r=[];this.bindingParser.parseEvent(e,u,!1,c,t.valueSpan||c,n,r,o),Mu(r,i)}return!0}const f=p(c,"",a);return this.bindingParser.parsePropertyInterpolation(a,u,c,t.valueSpan,n,r,f,t.valueTokens??null)}_visitTextWithInterpolation(e,t,n,r){const i=cu(e),o=this.bindingParser.parseInterpolation(i,t,n);return o?new dn(o,t,r):new pn(i,t)}parseVariable(e,t,n,r,i,o){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),o.push(new _n(e,t,n,r,i))}parseReference(e,t,n,r,i,o){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length?this.reportError("Reference does not have a name",n):o.some((t=>t.name===e))&&this.reportError(`Reference "#${e}" is defined more than once`,n),o.push(new bn(e,t,n,r,i))}parseAssignmentEvent(e,t,n,r,i,o,s){const a=[];this.bindingParser.parseEvent(`${e}Change`,`${t} =$event`,!0,n,r||n,i,a,s),Mu(a,o)}reportError(e,t,n=bi.ERROR){this.errors.push(new wi(t,e,n))}}const Iu=new class{visitElement(e){const t=wu(e);if(t.type===Eu.SCRIPT||t.type===Eu.STYLE||t.type===Eu.STYLESHEET)return null;const n=ma(this,e.children,null);return new gn(e.name,ma(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new hn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new pn(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function Ou(e){return/^data-/i.test(e)?e.substring(5):e}function Mu(e,t){t.push(...e.map((e=>mn.fromParsedEvent(e))))}var Au;!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE"}(Au||(Au={}));class Nu{constructor(e,t,n=0,r=null,i,o){this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=i,this.registry=o,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=o||{getUniqueId:ur(),icus:new Map},this.id=this._registry.getUniqueId()}appendTag(e,t,n,r){if(t.isVoid&&r)return;const i=t.isVoid||!r?t.startName:t.closeName,o={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};lr(this.placeholders,i,o)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;
2return this.placeholders.forEach(((t,n)=>e.set(n,t.map(ju)))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){lr(this._registry.icus,e,t)}appendBoundText(e){pr(e,this.bindings.size,this.id).forEach(((e,t)=>lr(this.placeholders,t,...e)))}appendTemplate(e,t){this.appendTag(Au.TEMPLATE,e,t,!1),this.appendTag(Au.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,n){this.appendTag(Au.ELEMENT,e,t,n)}appendProjection(e,t){this.appendTag(Au.ELEMENT,e,t,!1),this.appendTag(Au.ELEMENT,e,t,!0)}forkChildContext(e,t,n){return new Nu(e,this.ref,this.level+1,t,n,this._registry)}reconcileChildContext(e){["start","close"].forEach((t=>{const n=e.meta[`${t}Name`],r=(this.placeholders.get(n)||[]).find(Fu(this.id,e.templateIndex));r&&(r.ctx=e.id)}));e.placeholders.forEach(((t,n)=>{const r=this.placeholders.get(n);if(!r)return void this.placeholders.set(n,t);const i=r.findIndex(Fu(e.id,e.templateIndex));if(i>=0){const e=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))r.splice(i+(e?0:1),0,...t);else{t[e?t.length-1:0].tmpl=r[i],r.splice(i,1,...t)}}else r.push(...t);this.placeholders.set(n,r)})),this._unresolvedCtxCount--}}function Pu(e,t,n,r){return ar(`${r?"/":""}${e}${t}`,n)}function Ru(e,{index:t,ctx:n,isVoid:r},i){return r?Pu(e,t,n)+Pu(e,t,n,!0):Pu(e,t,n,i)}function Fu(e,t){return n=>"object"==typeof n&&n.type===Au.TEMPLATE&&n.index===t&&n.ctx===e}function ju(e){const t=(e,t)=>Ru("#",e,t),n=(e,t)=>Ru("*",e,t);switch(e.type){case Au.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case Au.TEMPLATE:return n(e,e.closed);default:return e}}const Lu=new class{visitText(e){return e.value}visitContainer(e){return e.children.map((e=>e.visit(this))).join("")}visitIcu(e){const t=Object.keys(e.cases).map((t=>`${t} {${e.cases[t].visit(this)}}`));return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map((e=>e.visit(this))).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${hr(e,!1)}}`}};function $u(e){return e.visit(Lu)}const Vu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class Bu{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,n){const r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];const i=e.toUpperCase(),o=Vu[i]||`TAG_${i}`,s=this._generateUniqueName(n?o:`START_${o}`);return this._signatureToName[r]=s,s}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),r=Vu[n]||`TAG_${n}`,i=this._generateUniqueName(`CLOSE_${r}`);return this._signatureToName[t]=i,i}getPlaceholderName(e,t){const n=e.toUpperCase(),r=`PH: ${n}=${t}`;if(this._signatureToName[r])return this._signatureToName[r];const i=this._generateUniqueName(n);return this._signatureToName[r]=i,i}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,n){return`<${e}`+Object.keys(t).sort().map((e=>` ${e}=${t[e]}`)).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}const Uu=new ra(new zs);function Hu(e){const t=new qu(Uu,e);return(e,n,r,i,o)=>t.toI18nMessage(e,n,r,i,o)}function zu(e,t){return t}
2class qu{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",n="",r="",i){const o={isIcu:1==e.length&&e[0]instanceof la,icuDepth:0,placeholderRegistry:new Bu,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:i||zu},s=ma(this,e,o);return new xn(s,o.placeholderToContent,o.placeholderToMessage,t,n,r)}visitElement(e,t){const n=ma(this,e.children,t),r={};e.attrs.forEach((e=>{r[e.name]=e.value}));const i=Ma(e.name).isVoid,o=t.placeholderRegistry.getStartTagPlaceholderName(e.name,r,i);t.placeholderToContent[o]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let s="";i||(s=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[s]={text:`</${e.name}>`,sourceSpan:e.endSourceSpan??e.sourceSpan});const a=new kn(e.name,r,o,s,n,i,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,a)}visitAttribute(e,t){const n=void 0===e.valueTokens||1===e.valueTokens.length?new Dn(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){const n=1===e.tokens.length?new Dn(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},r=new Tn(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach((e=>{n[e.value]=new Cn(e.expression.map((e=>e.visit(this,t))),e.expSourceSpan)})),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return r.expressionPlaceholder=n,t.placeholderToContent[n]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,r)}const i=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[i]=this.toI18nMessage([e],"","","",void 0);const o=new On(r,i,e.sourceSpan);return t.visitNodeFn(e,o)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,n,r){const i=[];let o=!1;for(const t of e)switch(t.type){case 8:case 17:o=!0;const e=t.parts[1],r=e.split(Gu)[2]||"INTERPOLATION",s=n.placeholderRegistry.getPlaceholderName(r,e);n.placeholderToContent[s]={text:t.parts.join(""),sourceSpan:t.sourceSpan},i.push(new In(e,s,t.sourceSpan));break;default:if(t.parts[0].length>0){const e=i[i.length-1];e instanceof Dn?(e.value+=t.parts[0],e.sourceSpan=new _i(e.sourceSpan.start,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)):i.push(new Dn(t.parts[0],t.sourceSpan))}}return o?(function(e,t){t instanceof xn&&(!function(e){const t=e.nodes;if(1!==t.length||!(t[0]instanceof Cn))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]);if(t instanceof Cn){!function(e,t){if(e.length!==t.length)throw new Error("The number of i18n message children changed between first and second pass.");if(e.some(((e,n)=>t[n].constructor!==e.constructor)))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,e);for(let n=0;n<e.length;n++)e[n].sourceSpan=t.children[n].sourceSpan}}(i,r),new Cn(i,t)):i[0]}}const Gu=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;class Wu extends wi{constructor(e,t){super(e,t)}}const Yu=(e,t)=>
2(e instanceof ua&&(t instanceof On&&e.i18n instanceof xn&&(t.previousMessage=e.i18n),e.i18n=t),t);class Zu{constructor(e=$r,t=!1,n=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=Hu(this.interpolationConfig)}_generateI18nMessage(e,t="",n){const{meaning:r,description:i,customId:o}=this._parseMetadata(t),s=this._createI18nMessage(e,r,i,o,n);return this._setMessageId(s,t),this._setLegacyIds(s,t),s}visitAllWithErrors(e){const t=e.map((e=>e.visit(this,null)));return new Xa(t,this._errors)}visitElement(e){let t;if(function(e){return e.attrs.some((e=>nr(e.name)))}(e)){this.hasI18nMeta=!0;const n=[],r={};for(const i of e.attrs)if(i.name===Qn){const n=e.i18n||i.value;t=this._generateI18nMessage(e.children,n,Yu),0===t.nodes.length&&(t=void 0),e.i18n=t}else if(i.name.startsWith(er)){const t=i.name.slice(er.length);fu(e.name,t)?this._reportError(i,`Translating attribute '${t}' is disallowed for security reasons.`):r[t]=i.value}else n.push(i);if(Object.keys(r).length)for(const e of n){const t=r[e.name];void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=n)}return ma(this,e.children,t),e}visitExpansion(e,t){let n;const r=e.i18n;if(this.hasI18nMeta=!0,r instanceof On){const i=r.name;n=this._generateI18nMessage([e],r);sr(n).name=i,null!==t&&(t.placeholderToMessage[i]=n)}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,r;if(e=e.trim(),e){const i=e.indexOf(Ju),o=e.indexOf(Ku);let s;[s,t]=i>-1?[e.slice(0,i),e.slice(i+2)]:[e,""],[n,r]=o>-1?[s.slice(0,o),s.slice(o+1)]:["",s]}return{customId:t,meaning:n,description:r}}(e):e instanceof xn?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof xn&&t.id||x(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[S(e),D(e)];else if("string"!=typeof t){const n=t instanceof xn?t:t instanceof On?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}_reportError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}const Ku="|",Ju="@@";const Xu="goog.getMsg";function Qu(e,t,n,r){const i=function(e){return e.nodes.map((e=>e.visit(ec,null))).join("")}(t),o=[dt(i)];Object.keys(r).length&&(o.push(du(dr(r,!0),!0)),o.push(du({original_code:at(Object.keys(r).map((e=>({key:hr(e),quoted:!0,value:t.placeholders[e]?dt(t.placeholders[e].sourceSpan.toString()):dt(t.placeholderToMessage[e].nodes.map((e=>e.sourceSpan.toString())).join(""))}))))})));const s=n.set(nt(Xu).callFn(o)).toConstDecl();s.addLeadingComment(function(e){const t=[];return e.description?t.push({tagName:"desc",text:e.description}):t.push({tagName:"suppress",text:"{msgDescriptions}"}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),tt(t)}(t));return[s,new Je(e.set(n))]}const ec=new class{formatPh(e){return`{$${hr(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map((e=>e.visit(this))).join("")}visitIcu(e){return $u(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map((e=>e.visit(this))).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function tc(e,t,n){const{messageParts:r,placeHolders:i}=function(e){const t=[],n=new nc(e.placeholderToMessage,t);return e.nodes.forEach((e=>e.visit(n))),function(e){const t=[],n=[];e[0]instanceof Ee&&t.push(rc(e[0].sourceSpan.start));for(let r=0;r<e.length;r++){const i=e[r];i instanceof we?t.push(i):(n.push(i),e[r-1]instanceof Ee&&t.push(rc(e[r-1].sourceSpan.end)))}e[e.length-1]instanceof Ee&&t.push(rc(e[e.length-1].sourceSpan.end));return{messageParts:t,placeHolders:n}}(t)}(t),o=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new _i(t.sourceSpan.fullStart,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),s=i.map((e=>n[e.text])),a=ht(t,r,i,s,o),u=e.set(a);return[new Je(u)]}class nc{constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof we)this.pieces[this.pieces.length-1].text+=e.value;else{const t=new _i(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new we(e.value,t))}}
2visitContainer(e){e.children.forEach((e=>e.visit(this)))}visitIcu(e){this.pieces.push(new we($u(e),e.sourceSpan))}visitTagPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.isVoid||(e.children.forEach((e=>e.visit(this))),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,n){return new Ee(hr(e,!1),t,n)}}function rc(e){return new we("",new _i(e,e))}const ic=new Set(["$event"]),oc=new Map([["window",Ct.resolveWindow],["document",Ct.resolveDocument],["body",Ct.resolveBody]]),sc=[" ","\n","\r","\t"];function ac(e,t){return lt(nt(_r).bitwiseAnd(dt(e),null,!1),t)}function uc(e,t=null,n=null){const{type:r,name:i,target:o,phase:s,handler:a}=e;if(o&&!oc.has(o))throw new Error(`Unexpected global target '${o}' defined for '${i}' event.\n        Supported list of global targets: ${Array.from(oc.keys())}.`);const u="$event",c=new Set,l=null===n||0===n.bindingLevel?nt(yr):n.getOrCreateSharedContextVar(0),p=Mo(n,l,a,"b",e.handlerSpan,c,ic),d=[],h=n?.variableDeclarations(),f=n?.restoreViewStatement
2();if(h&&d.push(...h),d.push(...p),f){d.unshift(f);const e=d[d.length-1];e instanceof Xe?d[d.length-1]=new Xe(Sr(e.value.sourceSpan,Ct.resetView,[e.value])):d.push(new Je(Sr(null,Ct.resetView,[])))}const m=1===r?function(e,t){return`${Gt}${e}.${t}`}(i,s):i,g=t&&Di(t),v=[];c.has(u)&&v.push(new Ne(u,Z));const y=ct(v,d,K,null,g),_=[dt(m),y];return o&&_.push(dt(!1),rt(oc.get(o))),_}class cc{constructor(e,t,n=0,r,i,o,s,a,u,c,l=function(){return{prepareStatements:[],constExpressions:[],i18nVarRefsCache:new Map}}()){this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=i,this.templateIndex=o,this.templateName=s,this._namespace=a,this.i18nUseExternalIds=c,this._constants=l,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=Dr,this.visitVariable=Dr,this.visitTextAttribute=Dr,this.visitBoundAttribute=Dr,this.visitBoundEvent=Dr,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=u.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new lc(e,(()=>this.allocateDataSlot()),(e=>this.allocatePureFunctionSlots(e)),((e,t,n,r)=>{this._bindingScope.set(this.level,t,r),this.creationInstruction(null,Ct.pipe,[dt(n),dt(e)])}))}buildTemplateFunction(e,t,n=0,r){this._ngContentSelectorsOffset=n,this._namespace!==Ct.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach((e=>this.registerContextVariables(e)));const i=this.i18nContext||rr(r)&&!ir(r)&&!(1===(o=e).length&&o[0]instanceof gn&&e[0].i18n===r);var o;const s=Dc(e);if(i&&this.i18nStart(null,r,s),Sn(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach((e=>e())),0===this.level&&this._ngContentReservedSlots.length){const e=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const t=this._ngContentReservedSlots.map((e=>"*"!==e?v(e):e));e.push(this.constantPool.getConstLiteral(Cr(t),!0))}this.creationInstruction(null,Ct.projectionDef,e,!0)}i&&this.i18nEnd(null,s);const a=Ar(this._creationCodeFns),u=Ar(this._updateCodeFns),c=this._bindingScope.viewSnapshotStatements(),l=this._bindingScope.variableDeclarations().concat(this._tempVariables),p=a.length>0?[ac(1,c.concat(a))]:[],d=u.length>0?[ac(2,l.concat(u))]:[];return ct([new Ne(_r,Q),new Ne(yr,null)],[...this._prefixCode,...p,...d],K,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}maybeRestoreView(){this._bindingScope.maybeRestoreView()}i18nTranslate(e,t={},n,r){const i=n||this.i18nGenerateMainBlockVar(),o=function(e,t,n,r={},i){const o=[mr(t),lt(kc(),Qu(t,e,n,r),tc(t,e,dr(r,!1)))];i&&o.push(new Je(t.set(i(t))));return o}(e,i,this.i18nGenerateClosureVar(e.id),t,r);return this._constants.prepareStatements.push(...o),i}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),n=this.level,r=nt(e.name+t);this._bindingScope.set(n,e.name,r,1,((t,i)=>{let o;if(t.bindingLevel===n)t.isListenerScope()&&t.hasRestoreViewVariable()?(o=nt(br),t.notifyRestoredViewContextUse()):o=nt(yr);else{const e=t.getSharedContextName(n);o=e||hc(i)}return[r.set(o.prop(e.value||"$implicit")).toConstDecl()]}))}i18nAppendBindings(e){e.length>0&&e.forEach((e=>this.i18n.appendBinding(e)))}
2i18nBindProps(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];if(r instanceof pn)t[n]=dt(r.value);else{const e=r.value.visit(this._valueConverter);if(this.allocateBindingSlots(e),e instanceof po){const{strings:r,expressions:i}=e,{id:o,bindings:s}=this.i18n,a=function(e,t=0,n=0){if(!e.length)return"";let r="";const i=e.length-1;for(let o=0;o<i;o++)r+=`${e[o]}${ar(t+o,n)}`;return r+=e[i],r}(r,s.size,o);this.i18nAppendBindings(i),t[n]=dt(a)}}})),t}i18nGenerateMainBlockVar(){return nt(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const r=fr("EXTERNAL_"),i=this.constantPool.uniqueName(n);t=`${r}${Di(e)}$$${i}`}else{const e=fr(n);t=this.constantPool.uniqueName(e)}return nt(t)}i18nUpdateRef(e){const{icus:t,meta:n,isRoot:r,isResolved:i,isEmitted:o}=e;if(r&&i&&!o&&!ir(n)){e.isEmitted=!0;const r=e.getSerializedPlaceholders();let i={},o=r.size?cr(r):{};t.size&&t.forEach(((e,t)=>{if(1===e.length)o[t]=e[0];else{const n=ar(`I18N_EXP_${t}`);o[t]=dt(n),i[t]=st(e)}}));let s;(Array.from(r.values()).some((e=>e.length>1))||Object.keys(i).length)&&(s=e=>{const t=[e];return Object.keys(i).length&&t.push(du(i,!0)),Sr(null,Ct.i18nPostprocess,t)}),this.i18nTranslate(n,o,e.ref,s)}}i18nStart(e=null,t,n){const r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,t):new Nu(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:i,ref:o}=this.i18n,s=[dt(r),this.addToConsts(o)];i>0&&s.push(dt(i)),this.creationInstruction(e,n?Ct.i18n:Ct.i18nStart,s)}i18nEnd(e=null,t){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:n,bindings:r}=this.i18n;if(r.size){for(const t of r)this.updateInstructionWithAdvance(this.getConstCount()-1,e,Ct.i18nExp,(()=>this.convertPropertyBinding(t)));this.updateInstruction(e,Ct.i18nApply,[dt(n)])}t||this.creationInstruction(e,Ct.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,n){let r=!1;const i=[];if(t.forEach((t=>{const o=t.i18n,s=t.value.visit(this._valueConverter);if(this.allocateBindingSlots(s),s instanceof po){const a=cr(pr(o));i.push(dt(t.name),this.i18nTranslate(o,a)),s.expressions.forEach((t=>{r=!0,this.updateInstructionWithAdvance(e,n,Ct.i18nExp,(()=>this.convertPropertyBinding(t)))}))}})),i.length>0){const e=dt(this.allocateDataSlot()),t=this.addToConsts(st(i));this.creationInstruction(n,Ct.i18nAttributes,[e,t]),r&&this.updateInstruction(n,Ct.i18nApply,[e])}}getNamespaceInstruction(e){switch(e){case"math":return Ct.namespaceMathML;case"svg":return Ct.namespaceSVG;default:return Ct.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.startSourceSpan,e)}interpolatedUpdateInstruction(e,t,n,r,i,o){this.updateInstructionWithAdvance(t,r.sourceSpan,e,(()=>[dt(n),...this.getUpdateInstructionArguments(i),...o]))}visitContent(e){const t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[dt(t)];this._ngContentReservedSlots.push(e.selector);const i=e.attributes.filter((e=>"select"!==e.name.toLowerCase())),o=this.getAttributeExpressions(e.name,i,[],[]);o.length>0?r.push(dt(n),st(o)):0!==n&&r.push(dt(n)),this.creationInstruction(e.sourceSpan,Ct.projection,r),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){const t=this.allocateDataSlot(),n=new js(null);let r=!1;const i=rr(e.i18n)&&!ir(e.i18n),o=[],[s,a]=va(e.name),u=ya(e.name);for(const t of e.attributes){const{name:e,value:i}=t;"ngNonBindable"===e?r=!0:"style"===e?n.registerStyleAttr(i):"class"===e?n.registerClassAttr(i):o.push(t)}const c=[dt(t)];u||c.push(dt(a));const l=[],p=[];e.inputs.forEach((e=>{n.registerBoundInput(e)||(0===e.type&&e.i18n?p.push(e):l.push(e))}));const d=this.getAttributeExpressions(e.name,o,l,e.outputs,n,[],p);c.push(this.addAttrsToConsts(d));const h=this.prepareRefsArray(e.references);c.push(this.addToConsts(h));
2const f=this._namespace,m=this.getNamespaceInstruction(s);m!==f&&this.addNamespaceInstruction(m,e),this.i18n&&this.i18n.appendElement(e.i18n,t);const g=!i&&this.i18n?!Dc(e.children):e.children.length>0,v=!n.hasBindingsWithPipes&&0===e.outputs.length&&0===p.length&&!g,y=!v&&Dc(e.children);if(v)this.creationInstruction(e.sourceSpan,u?Ct.elementContainer:Ct.element,kr(c));else{if(this.creationInstruction(e.startSourceSpan,u?Ct.elementContainerStart:Ct.elementStart,kr(c)),r&&this.creationInstruction(e.startSourceSpan,Ct.disableBindings),p.length>0&&this.i18nAttributesInstruction(t,p,e.startSourceSpan??e.sourceSpan),e.outputs.length>0)for(const n of e.outputs)this.creationInstruction(n.sourceSpan,Ct.listener,this.prepareListenerParameter(e.name,n,t));i&&this.i18nStart(e.startSourceSpan,e.i18n,y)}const _=n.buildUpdateLevelInstructions(this._valueConverter),b=_.length-1;for(let e=0;e<=b;e++){const n=_[e];this._bindingSlots+=this.processStylingUpdateInstruction(t,n)}const w=dt(void 0),E=[],S=[];l.forEach((n=>{const r=n.type;if(4===r){const e=n.value.visit(this._valueConverter),t=!(e instanceof uo)||!!e.value;this.allocateBindingSlots(e),E.push({span:n.sourceSpan,paramsOrFn:Cc((()=>t?this.convertPropertyBinding(e):w),Wt(n.name))})}else{if(n.i18n)return;const i=n.value.visit(this._valueConverter);if(void 0!==i){const o=[],[s,a]=va(n.name),u=1===r;let c=Ec(n.securityContext,u);if(c||"iframe"===e.name.toLowerCase()&&Ko(n.name)&&(c=rt(Ct.validateIframeAttribute)),c&&o.push(c),s){const e=dt(s);c?o.push(e):o.push(dt(null),e)}if(this.allocateBindingSlots(i),0===r)i instanceof po?this.interpolatedUpdateInstruction(yc(i),t,a,n,i,o):E.push({span:n.sourceSpan,paramsOrFn:Cc((()=>this.convertPropertyBinding(i)),a,o)});else if(1===r)if(i instanceof po&&Mr(i)>1)this.interpolatedUpdateInstruction(function(e){switch(Mr(e)){case 3:return Ct.attributeInterpolate1;case 5:return Ct.attributeInterpolate2;case 7:return Ct.attributeInterpolate3;case 9:return Ct.attributeInterpolate4;case 11:return Ct.attributeInterpolate5;case 13:return Ct.attributeInterpolate6;case 15:return Ct.attributeInterpolate7;case 17:return Ct.attributeInterpolate8;default:return Ct.attributeInterpolateV}}(i),t,a,n,i,o);else{const e=i instanceof po?i.expressions[0]:i;S.push({span:n.sourceSpan,paramsOrFn:Cc((()=>this.convertPropertyBinding(e)),a,o)})}else this.updateInstructionWithAdvance(t,n.sourceSpan,Ct.classProp,(()=>[dt(t),dt(a),this.convertPropertyBinding(i),...o]))}}}));for(const e of E)this.updateInstructionWithAdvance(t,e.span,Ct.property,e.paramsOrFn);for(const e of S)this.updateInstructionWithAdvance(t,e.span,Ct.attribute,e.paramsOrFn);if(Sn(this,e.children),!i&&this.i18n&&this.i18n.appendElement(e.i18n,t,!0),!v){const t=e.endSourceSpan??e.sourceSpan;i&&this.i18nEnd(t,y),r&&this.creationInstruction(t,Ct.enableBindings),this.creationInstruction(t,u?Ct.elementContainerEnd:Ct.elementEnd)}}visitTemplate(e){const t="ng-template",n=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,n);const r=e.tagName?va(e.tagName)[1]:e.tagName,i=`${this.contextName}${e.tagName?"_"+Di(e.tagName):""}_${n}`,o=`${i}_Template`,s=[dt(n),nt(o),dt(r)],a=this.getAttributeExpressions(t,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(s.push(this.addAttrsToConsts(a)),e.references&&e.references.length){const t=this.prepareRefsArray(e.references);s.push(this.addToConsts(t)),s.push(rt(Ct.templateRefExtractor))}const u=new cc(this.constantPool,this._bindingScope,this.level+1,i,this.i18n,n,o,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push((()=>{const t=u.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(t.toDeclStmt(o)),u._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...u._ngContentReservedSlots)})),this.creationInstruction(e.sourceSpan,Ct.templateCreate,(()=>(s.splice(2,0,dt(u.getConstCount()),dt(u.getVarCount())),kr(s)))),this.templatePropertyBindings(n,e.templateAttrs),r===t){const[t,r]=function(e,t){const n=[],r=[];for(const i of e)(t(i)?n:r).push(i);return[n,r]}(e.inputs,or);t.length>0&&this.i18nAttributesInstruction(n,t,e.startSourceSpan??e.sourceSpan),r.length>0&&this.templatePropertyBindings(n,r);for(const t of e.outputs)this.creationInstruction(t.sourceSpan,Ct.listener,this.prepareListenerParameter("ng_template",t,n))}}visitBoundText(e){if(this.i18n){const t=e.value.visit(this._valueConverter);return this.allocateBindingSlots(t),void(t instanceof po&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(t.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Ct.text,[dt(t)]);const n=e.value.visit(this._valueConverter);this.allocateBindingSlots(n),n instanceof po?this.updateInstructionWithAdvance(t,e.sourceSpan,function(e){switch(Mr(e)){case 1:return Ct.textInterpolate;case 3:return Ct.textInterpolate1;case 5:return Ct.textInterpolate2;case 7:return Ct.textInterpolate3;case 9:return Ct.textInterpolate4;case 11:return Ct.textInterpolate5;case 13:return Ct.textInterpolate6;case 15:return Ct.textInterpolate7;case 17:return Ct.textInterpolate8;default:return Ct.textInterpolateV}}(n),(()=>this.getUpdateInstructionArguments(n))):It("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,Ct.text,[dt(this.allocateDataSlot()),dt(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));
2const n=this.i18n,r=this.i18nBindProps(e.vars),i=this.i18nBindProps(e.placeholders),o=e.i18n,s=e=>{const t=dr({...r,...i},!1);return Sr(null,Ct.i18nPostprocess,[e,du(t,!0)])};if(ir(n.meta))this.i18nTranslate(o,{},n.ref,s);else{const e=this.i18nTranslate(o,{},void 0,s);n.appendIcu(sr(o).name,e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(Cr(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const n=[];for(const r of t){if(!(r instanceof fn))continue;const t=r.value.visit(this._valueConverter);if(void 0!==t)if(this.allocateBindingSlots(t),t instanceof po){const n=[];this.interpolatedUpdateInstruction(yc(t),e,r.name,r,t,n)}else n.push({span:r.sourceSpan,paramsOrFn:Cc((()=>this.convertPropertyBinding(t)),r.name)})}for(const t of n)this.updateInstructionWithAdvance(e,t.span,Ct.property,t.paramsOrFn)}instructionFn(e,t,n,r,i=!1){e[i?"unshift":"push"]({span:t,reference:n,paramsOrFn:r})}processStylingUpdateInstruction(e,t){let n=0;if(t)for(const r of t.calls)n+=r.allocateBindingSlots,this.updateInstructionWithAdvance(e,r.sourceSpan,t.reference,(()=>r.params((e=>r.supportsInterpolation&&e instanceof po?this.getUpdateInstructionArguments(e):this.convertPropertyBinding(e)))));return n}creationInstruction(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)}updateInstructionWithAdvance(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)}updateInstruction(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,Ct.advance,[dt(n)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof po?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?nt(yr):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=No(this,this.getImplicitReceiverExpr(),e,this.bindingContext()),n=t.currValExpr;return this._tempVariables.push(...t.stmts),n}getUpdateInstructionArguments(e){const{args:t,stmts:n}=function(e,t,n,r){const i=new Vo(e,t,r,!0),o=i.visitInterpolation(n,$i.Expression);return i.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),{stmts:Po(i,r),args:o.args}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...n),t}getAttributeExpressions(e,t,n,r,i,o=[],s=[]){const a=new Set,u=[];let c;for(const n of t)if("ngProjectAs"===n.name&&(c=n),n.i18n){const{i18nVarRefsCache:e}=this._constants;let t;e.has(n.i18n)?t=e.get(n.i18n):(t=this.i18nTranslate(n.i18n),e.set(n.i18n,t)),u.push(dt(n.name),t)}else u.push(...mc(n.name),Sc(e,n));function l(e,t){"string"==typeof e?a.has(e)||(u.push(...mc(e)),void 0!==t&&u.push(t),a.add(e)):u.push(dt(e))}if(c&&u.push(...function(e){const t=v(e.value)[0];return[dt(5),Cr(t)]}(c)),i&&i.populateInitialStylingAttrs(u),n.length||r.length){const e=u.length;for(let e=0;e<n.length;e++){const t=n[e];4!==t.type&&1!==t.type&&l(t.name)}for(let e=0;e<r.length;e++){const t=r[e];1!==t.type&&l(t.name)}u.length!==e&&u.splice(e,0,dt(3))}return o.length&&(u.push(dt(4)),o.forEach((e=>l(e.name)))),s.length&&(u.push(dt(6)),s.forEach((e=>l(e.name)))),u}addToConsts(e){if(ft(e))return ze;const t=this._constants.constExpressions;for(let n=0;n<t.length;n++)if(t[n].isEquivalent(e))return dt(n);return dt(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(st(e)):ze}prepareRefsArray(e){if(!e||0===e.length)return ze;return Cr(e.flatMap((e=>{const t=this.allocateDataSlot(),n=this._bindingScope.freshReferenceName(),r=this.level,i=nt(n);return this._bindingScope.set(r,e.name,i,0,((e,n)=>{const r=n>0?[hc(n).toStmt()]:[],o=i.set(rt(Ct.reference).callFn([dt(t)]));return r.concat(o.toConstDecl())}),!0),[e.name,e.value]})))}prepareListenerParameter(e,t,n){return()=>{const r=t.name,i=1===t.type?Zt(r,t.phase):Di(r),o=`${this.templateName}_${e}_${i}_${n}_listener`,s=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,ic);return uc(t,o,s)}}}class lc extends Do{constructor(e,t,n,r){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=n,this.definePipe=r,this._pipeBindExprs=[]}visitPipe(e,t){const n=this.allocateSlot(),r=`PIPE:${n}`,i=this.allocatePureFunctionSlots(2+e.args.length),o=new to(e.span,e.sourceSpan,e.nameSpan,new Ji(e.span,e.sourceSpan),r),{identifier:s,isVarLength:a}=function(e){const t=pc[e.length];return{identifier:t||Ct.pipeBindV,isVarLength:!t}}(e.args);
2this.definePipe(e.name,r,n,rt(s));const u=[e.exp,...e.args],c=a?this.visitAll([new co(e.span,e.sourceSpan,u)]):this.visitAll(u),l=new vo(e.span,e.sourceSpan,o,[new uo(e.span,e.sourceSpan,n),new uo(e.span,e.sourceSpan,i),...c],null);return this._pipeBindExprs.push(l),l}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach((t=>{t.args[1].value+=e}))}visitLiteralArray(e,t){return new qo(e.span,e.sourceSpan,this.visitAll(e.expressions),(e=>{const t=st(e);return fc(this.constantPool,t,this.allocatePureFunctionSlots)}))}visitLiteralMap(e,t){return new qo(e.span,e.sourceSpan,this.visitAll(e.values),(t=>{const n=at(t.map(((t,n)=>({key:e.keys[n].key,value:t,quoted:e.keys[n].quoted}))));return fc(this.constantPool,n,this.allocatePureFunctionSlots)}))}}const pc=[Ct.pipeBind1,Ct.pipeBind2,Ct.pipeBind3,Ct.pipeBind4];const dc=[Ct.pureFunction0,Ct.pureFunction1,Ct.pureFunction2,Ct.pureFunction3,Ct.pureFunction4,Ct.pureFunction5,Ct.pureFunction6,Ct.pureFunction7,Ct.pureFunction8];function hc(e){return rt(Ct.nextContext).callFn(e>1?[dt(e)]:[])}function fc(e,t,n){const{literalFactory:r,literalFactoryArguments:i}=e.getLiteralFactory(t),o=n(1+i.length),{identifier:s,isVarLength:a}=function(e){const t=dc[e.length];return{identifier:t||Ct.pureFunctionV,isVarLength:!t}}(i),u=[dt(o),r];return a?u.push(st(i)):u.push(...i),rt(s).callFn(u)}function mc(e){const[t,n]=va(e),r=dt(n);return t?[dt(0),dt(t),r]:[r]}const gc="$$shared_ctx$$";class vc{static createRootScope(){return new vc}constructor(e=0,t=null,n){if(this.bindingLevel=e,this.parent=t,this.globals=n,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,void 0!==n)for(const e of n)this.set(0,e,nt(e))}get(e){let t=this;for(;t;){let n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView()),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,n,r=0,i,o){if(this.map.has(t)){if(o)return this;It(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:i,priority:r}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get(gc+0).declare=!0)}nestedScope(e,t){const n=new vc(e,this,t);return e>0&&n.generateSharedContextVar(0),n}getOrCreateSharedContextVar(e){const t=gc+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get(gc+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get(gc+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=nt(yr+this.freshReferenceName());this.map.set(gc+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(e,n)=>[t.set(hc(n)).toConstDecl()],declare:!1,priority:2})}getComponentProperty(e){const t=this.map.get(gc+0);return t.declare=!0,this.maybeRestoreView(),t.lhs.prop(e)}maybeRestoreView(){this.isListenerScope()&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=nt(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}
2restoreViewStatement(){if(this.restoreViewVariable){const e=Sr(null,Ct.restoreView,[this.restoreViewVariable]);return this.usesRestoredViewContext?nt(br).set(e).toConstDecl():e.toStmt()}return null}viewSnapshotStatements(){return this.restoreViewVariable?[this.restoreViewVariable.set(Sr(null,Ct.getCurrentView,[])).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter((e=>e.declare)).sort(((e,t)=>t.retrievalLevel-e.retrievalLevel||t.priority-e.priority)).reduce(((t,n)=>{const r=this.bindingLevel-n.retrievalLevel,i=n.declareLocalCallback(this,r-e);return e=r,t.concat(i)}),[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}hasRestoreViewVariable(){return!!this.restoreViewVariable}notifyRestoredViewContextUse(){this.usesRestoredViewContext=!0}}function yc(e){switch(Mr(e)){case 1:return Ct.propertyInterpolate;case 3:return Ct.propertyInterpolate1;case 5:return Ct.propertyInterpolate2;case 7:return Ct.propertyInterpolate3;case 9:return Ct.propertyInterpolate4;case 11:return Ct.propertyInterpolate5;case 13:return Ct.propertyInterpolate6;case 15:return Ct.propertyInterpolate7;case 17:return Ct.propertyInterpolate8;default:return Ct.propertyInterpolateV}}function _c(e,t,n={}){const{interpolationConfig:r,preserveWhitespaces:i,enableI18nLegacyMessageIdFormat:o}=n,s=wc(r),a=(new ru).parse(e,t,{leadingTriviaChars:sc,...n,tokenizeExpansionForms:!0});if(!n.alwaysAttemptHtmlToR3AstConversion&&a.errors&&a.errors.length>0){const e={interpolationConfig:r,preserveWhitespaces:i,errors:a.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}let u=a.rootNodes;const c=new Zu(r,!i,o),l=c.visitAllWithErrors(u);if(!n.alwaysAttemptHtmlToR3AstConversion&&l.errors&&l.errors.length>0){const e={interpolationConfig:r,preserveWhitespaces:i,errors:l.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}u=l.rootNodes,i||(u=ma(new lu,u),c.hasI18nMeta&&(u=ma(new Zu(r,!1),u)));const{nodes:p,errors:d,styleUrls:h,styles:f,ngContentSelectors:m,commentNodes:g}=function(e,t,n){const r=new ku(t,n),i={nodes:ma(r,e),errors:t.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return n.collectCommentNodes&&(i.commentNodes=r.commentNodes),i}(u,s,{collectCommentNodes:!!n.collectCommentNodes});d.push(...a.errors,...l.errors);const v={interpolationConfig:r,preserveWhitespaces:i,errors:d.length>0?d:null,nodes:p,styleUrls:h,styles:f,ngContentSelectors:m};return n.collectCommentNodes&&(v.commentNodes=g),v}const bc=new Ta;function wc(e=$r){return new gu(new ra(new zs),e,bc,[])}function Ec(e,t){switch(e){case f.HTML:return rt(Ct.sanitizeHtml);case f.SCRIPT:return rt(Ct.sanitizeScript);case f.STYLE:return t?rt(Ct.sanitizeStyle):null;case f.URL:return rt(Ct.sanitizeUrl);case f.RESOURCE_URL:return rt(Ct.sanitizeResourceUrl);default:return null}}function Sc(e,t){const n=Cr(t.value);if(!fu(e,t.name))return n;switch(bc.securityContext(e,t.name,!0)){case f.HTML:return pt(rt(Ct.trustConstantHtml),new _e([new be(t.value)],[]),void 0,t.valueSpan);case f.RESOURCE_URL:return pt(rt(Ct.trustConstantResourceUrl),new _e([new be(t.value)],[]),void 0,t.valueSpan);default:return n}}function xc(e){return e instanceof pn||e instanceof dn||e instanceof wn}function Dc(e){return e.every(xc)}function Cc(e,t,n){return()=>{const r=e(),i=Array.isArray(r)?r:[r];return n&&i.push(...n),t&&i.unshift(dt(t)),i}}const Tc="ngI18nClosureMode";function kc(){return ot(nt(Tc)).notIdentical(dt("undefined",ee)).and(nt(Tc))}const Ic=/attr\.([^\]]+)/,Oc="%COMP%",Mc=`_nghost-${Oc}`,Ac=`_ngcontent-${Oc}`;function Nc(e,t,n){const r=new Or,i=v(e.selector);return r.set("type",e.internalType),i.length>0&&r.set("selectors",Cr(i)),e.queries.length>0&&r.set("contentQueries",function(e,t,n){const r=[],i=[],o=xr(i,vr);for(const n of e){r.push(rt(Ct.contentQuery).callFn([nt("dirIndex"),...Lc(n,t)]).toStmt());const e=o(),s=rt(Ct.loadQuery).callFn([]),a=rt(Ct.queryRefresh).callFn([e.set(s)]),u=nt(yr).prop(n.propertyName).set(n.first?e.prop("first"):e);i.push(a.and(u).toStmt())}const s=n?`${n}_ContentQueries`:null;return ct([new Ne(_r,Q),new Ne(yr,null),new Ne("dirIndex",null)],[ac(1,r),ac(2,i)],K,null,s)}(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",function(e,t,n){const r=[],i=[],o=xr(i,vr);e.forEach((e=>{const n=rt(Ct.viewQuery).callFn(Lc(e,t));r.push(n.toStmt());const s=o(),a=rt(Ct.loadQuery).callFn([]),u=rt(Ct.queryRefresh).callFn([s.set(a)]),c=nt(yr).prop(e.propertyName).set(e.first?s.prop("first"):s);i.push(u.and(c).toStmt())}));const s=n?`${n}_Query`:null;return ct([new Ne(_r,Q),new Ne(yr,null)],[ac(1,r),ac(2,i)],K,null,s)}(e.viewQueries,t,e.name)),r.set("hostBindings",function(e,t,n,r,i,o,s){const a=nt(yr),u=new js(a),{styleAttr:c,classAttr:l}=e.specialAttributes;void 0!==c&&u.registerStyleAttr(c);void 0!==l&&u.registerClassAttr(l);const p=[],d=[],h=[],m=t,g=n.createDirectiveHostEventAsts(e.listeners,m);g&&g.length&&p.push(...function(e,t){const n=[],r=[],i=[];for(const i of e){let e=i.name&&Di(i.name);const o=1===i.type?Zt(e,i.targetOrPhase):e,s=t&&e?`${t}_${o}_HostBindingHandler`:null,a=uc(mn.fromParsedEvent(i),s);1==i.type?r.push(a):n.push(a)}for(const e of r)i.push({reference:Ct.syntheticHostListener,paramsOrFn:e,span:null});for(const e of n)i.push({reference:Ct.listener,paramsOrFn:e,span:null});return i}(g,o));const v=n.createBoundHostProperties(e.properties,m),y=[];let _,b=0;v&&v.forEach((e=>{u.registerInputBasedOnName(e.name,e.expression,m)?b+=Fs:(y.push(e),b++)}));const w=()=>
2{if(!_){_=new lc(r,(()=>It("Unexpected node")),(e=>{const t=b;return b+=e,t}),(()=>It("Unexpected pipe")))}return _},E=[],S=[],x=[];for(const e of y){const t=e.expression.visit(w()),r=zc(a,t),{bindingName:o,instruction:s,isAttribute:u}=Gc(e),c=n.calcPossibleSecurityContexts(i,o,u).filter((e=>e!==f.NONE));let l=null;c.length&&(l=2===c.length&&c.indexOf(f.URL)>-1&&c.indexOf(f.RESOURCE_URL)>-1?rt(Ct.sanitizeUrlOrResourceUrl):Ec(c[0],u));const p=[dt(o),r.currValExpr];l?p.push(l):Ko(o)&&p.push(rt(Ct.validateIframeAttribute)),h.push(...r.stmts),s===Ct.hostProperty?E.push(p):s===Ct.attribute?S.push(p):s===Ct.syntheticHostProperty?x.push(p):d.push({reference:s,paramsOrFn:p,span:null})}for(const e of E)d.push({reference:Ct.hostProperty,paramsOrFn:e,span:null});for(const e of S)d.push({reference:Ct.attribute,paramsOrFn:e,span:null});for(const e of x)d.push({reference:Ct.syntheticHostProperty,paramsOrFn:e,span:null});const D=function(e){const t=[];for(let n of Object.getOwnPropertyNames(e)){const r=e[n];t.push(dt(n),r)}return t}(e.attributes);u.assignHostAttrs(D,s),u.hasBindings&&u.buildUpdateLevelInstructions(w()).forEach((e=>{for(const t of e.calls)b+=Math.max(t.allocateBindingSlots-Fs,0),d.push({reference:e.reference,paramsOrFn:qc(t,a,zc),span:null})}));b&&s.set("hostVars",dt(b));if(p.length>0||d.length>0){const e=o?`${o}_HostBindings`:null,t=[];return p.length>0&&t.push(ac(1,Ar(p))),d.length>0&&t.push(ac(2,h.concat(Ar(d)))),ct([new Ne(_r,Q),new Ne(yr,null)],t,K,null,e)}return null}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,r)),r.set("inputs",Tr(e.inputs,!0)),r.set("outputs",Tr(e.outputs)),null!==e.exportAs&&r.set("exportAs",st(e.exportAs.map((e=>dt(e))))),e.isStandalone&&r.set("standalone",dt(!0)),r}function Pc(e,t){const n=[],r=t.providers,i=t.viewProviders;if(r||i){const e=[r||new $e([])];i&&e.push(i),n.push(rt(Ct.ProvidersFeature).callFn(e))}t.usesInheritance&&n.push(rt(Ct.InheritDefinitionFeature)),t.fullInheritance&&n.push(rt(Ct.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(rt(Ct.NgOnChangesFeature)),t.hasOwnProperty("template")&&t.isStandalone&&n.push(rt(Ct.StandaloneFeature)),t.hostDirectives?.length&&n.push(rt(Ct.HostDirectivesFeature).callFn([Jc(t.hostDirectives)])),n.length&&e.set("features",st(n))}function Rc(e,t,n){const r=Nc(e,t,n);Pc(r,e);return{expression:rt(Ct.defineDirective).callFn([r.toLiteralMap()],void 0,!0),type:Hc(e),statements:[]}}function Fc(e,t,n){const r=Nc(e,t,n);Pc(r,e);const o=e.selector&&i.parse(e.selector),s=o&&o[0];if(s){const e=s.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(st(e.map((e=>dt(null!=e?e:void 0)))),!0))}const a=e.name,u=a?`${a}_Template`:null,p=e.changeDetection,d=e.template,h=new cc(t,vc.createRootScope(),0,a,null,null,u,Ct.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),f=h.buildTemplateFunction(d.nodes,[]),m=h.getNgContentSelectors();m&&r.set("ngContentSelectors",m),r.set("decls",dt(h.getConstCount())),r.set("vars",dt(h.getVarCount()));const{constExpressions:g,prepareStatements:v}=h.getConsts();if(g.length>0){let e=st(g);v.length>0&&(e=ct([],[...v,new Xe(e)])),r.set("consts",e)}if(r.set("template",f),e.declarations.length>0&&r.set("dependencies",function(e,t){switch(t){case 0:return e;case 1:return ct([],[new Xe(e)]);case 2:const t=e.prop("map").callFn([rt(Ct.resolveForwardRef)]);return ct([],[new Xe(t)])}}(st(e.declarations.map((e=>e.type))),e.declarationListEmitMode)),null===e.encapsulation&&(e.encapsulation=c.Emulated),e.styles&&e.styles.length){const n=e.encapsulation==c.Emulated?function(e,t,n){const r=new Xo;return e.map((e=>r.shimCssText(e,t,n)))}(e.styles,Ac,Mc):e.styles,i=n.reduce(((e,n)=>(n.trim().length>0&&e.push(t.getConstLiteral(dt(n))),e)),[]);i.length>0&&r.set("styles",st(i))}else e.encapsulation===c.Emulated&&(e.encapsulation=c.None);e.encapsulation!==c.Emulated&&r.set("encapsulation",dt(e.encapsulation)),null!==e.animations&&r.set("data",at([{key:"animation",value:e.animations,quoted:!1}])),null!=p&&p!==l.Default&&r.set("changeDetection",dt(p));return{expression:rt(Ct.defineComponent).callFn([r.toLiteralMap()],void 0,!0),type:jc(e),statements:[]}}function jc(e){const t=Uc(e);return t.push(Bc(e.template.ngContentSelectors)),t.push(it(dt(e.isStandalone))),t.push(Kc(e)),it(rt(Ct.ComponentDeclaration,t))}function Lc(e,t){const n=[Ir(e,t),dt($c(e))];return e.read&&n.push(e.read),n}
2function $c(e){return(e.descendants?1:0)|(e.static?2:0)|(e.emitDistinctChangesOnly?4:0)}function Vc(e){return at(Object.keys(e).map((t=>({key:t,value:dt(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}))))}function Bc(e){return e.length>0?it(st(e.map((e=>dt(e))))):ne}function Uc(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[qt(e.type.type,e.typeArgumentCount),null!==t?(n=t,it(dt(n))):ne,null!==e.exportAs?Bc(e.exportAs):ne,it(Vc(e.inputs)),it(Vc(e.outputs)),Bc(e.queries.map((e=>e.propertyName)))];var n}function Hc(e){const t=Uc(e);return t.push(ne),t.push(it(dt(e.isStandalone))),t.push(Kc(e)),it(rt(Ct.DirectiveDeclaration,t))}function zc(e,t){return No(null,e,t,"b")}function qc(e,t,n){return e.params((e=>n(t,e).currValExpr))}function Gc(e){let t,n=e.name;const r=n.match(Ic);return r?(n=r[1],t=Ct.attribute):e.isAnimation?(n=Wt(n),t=Ct.syntheticHostProperty):t=Ct.hostProperty,{bindingName:n,instruction:t,isAttribute:!!r}}const Wc=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function Yc(e){const t={},n={},r={},i={};for(const o of Object.keys(e)){const s=e[o],a=o.match(Wc);if(null===a)switch(o){case"class":if("string"!=typeof s)throw new Error("Class binding must be string");i.classAttr=s;break;case"style":if("string"!=typeof s)throw new Error("Style binding must be string");i.styleAttr=s;break;default:t[o]="string"==typeof s?dt(s):s}else if(null!=a[1]){if("string"!=typeof s)throw new Error("Property binding must be string");r[a[1]]=s}else if(null!=a[2]){if("string"!=typeof s)throw new Error("Event binding must be string");n[a[2]]=s}}return{attributes:t,listeners:n,properties:r,specialAttributes:i}}function Zc(e,t){const n=wc();return n.createDirectiveHostEventAsts(e.listeners,t),n.createBoundHostProperties(e.properties,t),n.errors}
2function Kc(e){return e.hostDirectives?.length?it(st(e.hostDirectives.map((e=>at([{key:"directive",value:ot(e.directive.type),quoted:!1},{key:"inputs",value:Vc(e.inputs||{}),quoted:!1},{key:"outputs",value:Vc(e.outputs||{}),quoted:!1}]))))):ne}function Jc(e){const t=[];let n=!1;for(const r of e){if(r.inputs||r.outputs){const e=[{key:"directive",value:r.directive.type,quoted:!1}];if(r.inputs){const t=Xc(r.inputs);t&&e.push({key:"inputs",value:t,quoted:!1})}if(r.outputs){const t=Xc(r.outputs);t&&e.push({key:"outputs",value:t,quoted:!1})}t.push(at(e))}else t.push(r.directive.type);r.isForwardReference&&(n=!0)}return n?new Pe([],[new Xe(st(t))]):st(t)}function Xc(e){const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(dt(n),dt(e[n]));return t.length>0?st(t):null}class Qc{}class el{constructor(e=new Mi){this.jitEvaluator=e,this.FactoryTarget=on,this.ResourceLoader=Qc,this.elementSchemaRegistry=new Ta}compilePipe(e,t,n){const r=zi({name:n.name,type:Xt(n.type),internalType:new pe(n.type),typeArgumentCount:0,deps:null,pipeName:n.pipeName,pure:n.pure,isStandalone:n.isStandalone});return this.jitExpression(r.expression,e,t,[])}compilePipeDeclaration(e,t,n){const r=function(e){return{name:e.type.name,type:Xt(e.type),internalType:new pe(e.type),typeArgumentCount:0,pipeName:e.name,deps:null,pure:e.pure??!0,isStandalone:e.isStandalone??!1}}(n),i=zi(r);return this.jitExpression(i.expression,e,t,[])}compileInjectable(e,t,n){const{expression:r,statements:i}=Nr({name:n.name,type:Xt(n.type),internalType:new pe(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:ml(n.providedIn),useClass:hl(n,"useClass"),useFactory:fl(n,"useFactory"),useValue:hl(n,"useValue"),useExisting:hl(n,"useExisting"),deps:n.deps?.map(gl)},!0);return this.jitExpression(r,e,t,i)}compileInjectableDeclaration(e,t,n){const{expression:r,statements:i}=Nr({name:n.type.name,type:Xt(n.type),internalType:new pe(n.type),typeArgumentCount:0,providedIn:ml(n.providedIn),useClass:hl(n,"useClass"),useFactory:fl(n,"useFactory"),useValue:hl(n,"useValue"),useExisting:hl(n,"useExisting"),deps:n.deps?.map(vl)},!0);return this.jitExpression(r,e,t,i)}compileInjector(e,t,n){const r=Ni({name:n.name,type:Xt(n.type),internalType:new pe(n.type),providers:n.providers&&n.providers.length>0?new pe(n.providers):null,imports:n.imports.map((e=>new pe(e)))});return this.jitExpression(r.expression,e,t,[])}compileInjectorDeclaration(e,t,n){const r=function(e){return{name:e.type.name,type:Xt(e.type),internalType:new pe(e.type),providers:void 0!==e.providers&&e.providers.length>0?new pe(e.providers):null,imports:void 0!==e.imports?e.imports.map((e=>new pe(e))):[]}}(n),i=Ni(r);return this.jitExpression(i.expression,e,t,[])}compileNgModule(e,t,n){const r=Vi({type:Xt(n.type),internalType:new pe(n.type),adjacentType:new pe(n.type),bootstrap:n.bootstrap.map(Xt),declarations:n.declarations.map(Xt),publicDeclarationTypes:null,imports:n.imports.map(Xt),includeImportTypes:!0,exports:n.exports.map(Xt),selectorScopeMode:Fi.Inline,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Xt):null,id:n.id?new pe(n.id):null});return this.jitExpression(r.expression,e,t,[])}compileNgModuleDeclaration(e,t,n){const r=function(e){const t=new Or;return t.set("type",new pe(e.type)),void 0!==e.bootstrap&&t.set("bootstrap",new pe(e.bootstrap)),void 0!==e.declarations&&t.set("declarations",new pe(e.declarations)),void 0!==e.imports&&t.set("imports",new pe(e.imports)),void 0!==e.exports&&t.set("exports",new pe(e.exports)),void 0!==e.schemas&&t.set("schemas",new pe(e.schemas)),void 0!==e.id&&t.set("id",new pe(e.id)),rt(Ct.defineNgModule).callFn([t.toLiteralMap()])}(n);return this.jitExpression(r,e,t,[])}compileDirective(e,t,n){const r=il(n);return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveDeclaration(e,t,n){const r=ol(n,this.createParseSourceSpan("Directive",n.type.name,t));return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveFromMeta(e,t,n){const r=new bt,i=Rc(n,r,wc());return this.jitExpression(i.expression,e,t,r.statements)}compileComponent(e,t,n){const{template:r,interpolation:i}
2=dl(n.template,n.name,t,n.preserveWhitespaces,n.interpolation),o={...n,...il(n),selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:r,declarations:n.declarations.map(cl),declarationListEmitMode:0,styles:[...n.styles,...r.styles],encapsulation:n.encapsulation,interpolation:i,changeDetection:n.changeDetection,animations:null!=n.animations?new pe(n.animations):null,viewProviders:null!=n.viewProviders?new pe(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0},s=`ng:///${n.name}.js`;return this.compileComponentFromMeta(e,s,o)}compileComponentDeclaration(e,t,n){const r=function(e,t,n){const{template:r,interpolation:i}=dl(e.template,e.type.name,n,e.preserveWhitespaces??!1,e.interpolation),o=[];if(e.dependencies)for(const t of e.dependencies)switch(t.kind){case"directive":case"component":o.push(ll(t));break;case"pipe":o.push(pl(t))}else(e.components||e.directives||e.pipes)&&(e.components&&o.push(...e.components.map((e=>ll(e,!0)))),e.directives&&o.push(...e.directives.map((e=>ll(e)))),e.pipes&&o.push(...function(e){if(!e)return[];return Object.keys(e).map((t=>({kind:ji.Pipe,name:t,type:new pe(e[t])})))}(e.pipes)));return{...ol(e,t),template:r,styles:e.styles??[],declarations:o,viewProviders:void 0!==e.viewProviders?new pe(e.viewProviders):null,animations:void 0!==e.animations?new pe(e.animations):null,changeDetection:e.changeDetection??l.Default,encapsulation:e.encapsulation??c.Emulated,interpolation:i,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0}}(n,this.createParseSourceSpan("Component",n.type.name,t),t);return this.compileComponentFromMeta(e,t,r)}compileComponentFromMeta(e,t,n){const r=new bt,i=Fc(n,r,wc(n.interpolation));return this.jitExpression(i.expression,e,t,r.statements)}compileFactory(e,t,n){const r=sn({name:n.name,type:Xt(n.type),internalType:new pe(n.type),typeArgumentCount:n.typeArgumentCount,deps:(i=n.deps,null==i?null:i.map(gl)),target:n.target});var i;return this.jitExpression(r.expression,e,t,r.statements)}compileFactoryDeclaration(e,t,n){const r=sn({name:n.type.name,type:Xt(n.type),internalType:new pe(n.type),typeArgumentCount:0,deps:Array.isArray(n.deps)?n.deps.map(vl):n.deps,target:n.target});return this.jitExpression(r.expression,e,t,r.statements)}createParseSourceSpan(e,t,n){return Ei(e,t,n)}jitExpression(e,t,n,r){const i=[...r,new Ze("$def",e,void 0,qe.Exported)];return this.jitEvaluator.evaluateStatements(n,i,new Ri(t),!0).$def}}function tl(e){return{...e,predicate:rl(e.predicate),read:e.read?new pe(e.read):null,static:e.static,emitDistinctChangesOnly:e.emitDistinctChangesOnly}}function nl(e){return{propertyName:e.propertyName,first:e.first??!1,predicate:rl(e.predicate),descendants:e.descendants??!1,read:e.read?new pe(e.read):null,static:e.static??!1,emitDistinctChangesOnly:e.emitDistinctChangesOnly??!0}}function rl(e){return Array.isArray(e)?e:en(new pe(e),1)}function il(e){const t=El(e.inputs||[]),n=El(e.outputs||[]),r=e.propMetadata,i={},o={};for(const e in r)r.hasOwnProperty(e)&&r[e].forEach((t=>{"Input"===t.ngMetadataName?i[e]=t.bindingPropertyName?[t.bindingPropertyName,e]:e:wl(t)&&(o[e]=t.bindingPropertyName||e)}));return{...e,typeArgumentCount:0,typeSourceSpan:e.typeSourceSpan,type:Xt(e.type),internalType:new pe(e.type),deps:null,host:_l(e.propMetadata,e.typeSourceSpan,e.host),inputs:{...t,...i},outputs:{...n,...o},queries:e.queries.map(tl),providers:null!=e.providers?new pe(e.providers):null,viewQueries:e.viewQueries.map(tl),fullInheritance:!1,hostDirectives:al(e)}}function ol(e,t){return{name:e.type.name,type:Xt(e.type),typeSourceSpan:t,internalType:new pe(e.type),selector:e.selector??null,inputs:e.inputs??{},outputs:e.outputs??{},host:sl(e.host),queries:(e.queries??[]).map(nl),viewQueries:(e.viewQueries??[]).map(nl),providers:void 0!==e.providers?new pe(e.providers):null,exportAs:e.exportAs??null,usesInheritance:e.usesInheritance??!1,lifecycle:{usesOnChanges:e.usesOnChanges??!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:e.isStandalone??!1,hostDirectives:al(e)}}function sl(e={}){return{attributes:ul(e.attributes??{}),listeners:e.listeners??{},properties:e.properties??{},specialAttributes:{classAttr:e.classAttribute,styleAttr:e.styleAttribute}}}function al(e){return e.hostDirectives?.length?e.hostDirectives.map((e=>"function"==typeof e?{directive:Xt(e),inputs:null,outputs:null,isForwardReference:!1}:{directive:Xt(e.directive),isForwardReference:!1,inputs:e.inputs?El(e.input
2s):null,outputs:e.outputs?El(e.outputs):null})):null}function ul(e){const t={};for(const n of Object.keys(e))t[n]=new pe(e[n]);return t}function cl(e){return{...e,type:new pe(e.type)}}function ll(e,t=null){return{kind:ji.Directive,isComponent:t||"component"===e.kind,selector:e.selector,type:new pe(e.type),inputs:e.inputs??[],outputs:e.outputs??[],exportAs:e.exportAs??null}}function pl(e){return{kind:ji.Pipe,name:e.name,type:new pe(e.type)}}function dl(e,t,n,r,i){const o=i?Lr.fromArray(i):$r,s=_c(e,n,{preserveWhitespaces:r,interpolationConfig:o});if(null!==s.errors){const e=s.errors.map((e=>e.toString())).join(", ");throw new Error(`Errors during JIT compilation of template for ${t}: ${e}`)}return{template:s,interpolation:o}}function hl(e,t){return e.hasOwnProperty(t)?en(new pe(e[t]),0):void 0}function fl(e,t){return e.hasOwnProperty(t)?new pe(e[t]):void 0}function ml(e){return en("function"==typeof e?new pe(e):new ye(e??null),0)}function gl(e){const t=null!=e.attribute,n=null===e.token?null:new pe(e.token);return yl(t?new pe(e.attribute):n,t,e.host,e.optional,e.self,e.skipSelf)}function vl(e){const t=e.attribute??!1;return yl(null===e.token?null:new pe(e.token),t,e.host??!1,e.optional??!1,e.self??!1,e.skipSelf??!1)}function yl(e,t,n,r,i,o){return{token:e,attributeNameType:t?dt("unknown"):null,host:n,optional:r,self:i,skipSelf:o}}function _l(e,t,n){const r=Yc(n||{}),i=Zc(r,t);if(i.length)throw new Error(i.map((e=>e.msg)).join("\n"));for(const t in e)e.hasOwnProperty(t)&&e[t].forEach((e=>{"HostBinding"===e.ngMetadataName?r.properties[e.hostPropertyName||t]=Yt("this",t):bl(e)&&(r.listeners[e.eventName||t]=`${t}(${(e.args||[]).join(",")})`)}
2));return r}function bl(e){return"HostListener"===e.ngMetadataName}function wl(e){return"Output"===e.ngMetadataName}function El(e){return e.reduce(((e,t)=>{const[n,r]=t.split(":",2).map((e=>e.trim()));return e[n]=r||n,e}),{})}function Sl(e){(e.ng||(e.ng={})).ɵcompilerFacade=new el}const xl=new Mt("15.2.10");class Dl{constructor({defaultEncapsulation:e=c.Emulated,useJit:t=!0,missingTranslation:n=null,preserveWhitespaces:r,strictInjectionParameters:i}={}){var o;this.defaultEncapsulation=e,this.useJit=!!t,this.missingTranslation=n,this.preserveWhitespaces=Cl(void 0===(o=r)?null:o),this.strictInjectionParameters=!0===i}}function Cl(e,t=!1){return null===e?t:e}const Tl="i18n",kl="i18n-",Il=/^i18n:?/;let Ol=!1;class Ml{constructor(e,t){this.messages=e,this.errors=t}}var Al;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(Al||(Al={}));class Nl{constructor(e,t){this._implicitTags=e,this._implicitAttrs=t}extract(e,t){return this._init(Al.Extract,t),e.forEach((e=>e.visit(this,null))),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new Ml(this._messages,this._errors)}merge(e,t,n){this._init(Al.Merge,n),this._translations=t;const r=new ha("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new Xa(r.children,this._errors)}visitExpansionCase(e,t){const n=ma(this,e.expression,t);if(this._mode===Al.Merge)return new pa(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)}visitExpansion(e,t){this._mayBeAddBlockChildren(e);const n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);const r=ma(this,e.cases,t);return this._mode===Al.Merge&&(e=new la(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e}visitComment(e,t){const n=!!((r=e)instanceof fa&&r.value&&r.value.startsWith("i18n"));var r;if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");const i=function(e){return!!(e instanceof fa&&e.value&&"/i18n"===e.value)}(e);if(!i||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(i){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;const t=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return ma(this,this._translateMessage(e,t))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!Ol&&console&&console.warn){Ol=!0;const t=e.sourceSpan.details?`, ${e.sourceSpan.details}`:"";console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${e.sourceSpan.start}${t})`)}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(Il,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}visitText(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e}visitElement(e,t){this._mayBeAddBlockChildren(e),this._depth++;const n=this._inI18nNode,r=this._inImplicitNode;let i,o=[];const s=e.attrs.find((e=>e.name===Tl))||null;const a=s?s.value:"",u=this._implicitTags.some((t=>e.name===t))&&!this._inIcu&&!this._isInTranslatableSection,c=!r&&u;if(this._inImplicitNode=r||u,this._isInTranslatableSection||this._inIcu)(s||c)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==Al.Extract&&ma(this,e.children);else{if(s||c){this._inI18nNode=!0;const t=this._addMessage(e.children,a);i=this._translateMessage(e,t)}if(this._mode==Al.Extract){const t=s||c;t&&this._openTranslatableSection(e),ma(this,e.children),t&&this._closeTranslatableSection(e,e.children)}}if(this._mode===Al.Merge){(i||e.children).forEach((e=>{const n=e.visit(this,t);n&&!this._isInTranslatableSection&&(o=o.concat(n))}))}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=r,this._mode===Al.Merge){const t=this._translateAttributes(e);return new ha(e.name,t,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null}visitAttribute(e,t){throw new Error("unreachable code")}_init(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=Hu(t)}_visitAttributesOf(e){const t={},n=this._implicitAttrs[e.name]||[];e.attrs.filter((e=>
2e.name.startsWith(kl))).forEach((e=>t[e.name.slice(5)]=e.value)),e.attrs.forEach((e=>{e.name in t?this._addMessage([e],t[e.name]):n.some((t=>e.name===t))&&this._addMessage([e])}))}_addMessage(e,t){if(0==e.length||1==e.length&&e[0]instanceof da&&!e[0].value)return null;const{meaning:n,description:r,id:i}=Pl(t),o=this._createI18nMessage(e,n,r,i);return this._messages.push(o),o}_translateMessage(e,t){if(t&&this._mode===Al.Merge){const n=this._translations.get(t);if(n)return n;this._reportError(e,`Translation unavailable for message id="${this._translations.digest(t)}"`)}return[]}_translateAttributes(e){const t=e.attrs,n={};t.forEach((e=>{e.name.startsWith(kl)&&(n[e.name.slice(5)]=Pl(e.value))}));const r=[];return t.forEach((t=>{if(t.name!==Tl&&!t.name.startsWith(kl))if(t.value&&""!=t.value&&n.hasOwnProperty(t.name)){const{meaning:i,description:o,id:s}=n[t.name],a=this._createI18nMessage([t],i,o,s),u=this._translations.get(a);if(u)if(0==u.length)r.push(new da(t.name,"",t.sourceSpan,void 0,void 0,void 0,void 0));else if(u[0]instanceof ca){const e=u[0].value;r.push(new da(t.name,e,t.sourceSpan,void 0,void 0,void 0,void 0))}else this._reportError(e,`Unexpected translation for attribute "${t.name}" (id="${s||this._translations.digest(a)}")`);else this._reportError(e,`Translation unavailable for attribute "${t.name}" (id="${s||this._translations.digest(a)}")`)}else r.push(t)})),r}_mayBeAddBlockChildren(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)}_openTranslatableSection(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length}get _isInTranslatableSection(){return void 0!==this._msgCountAtSectionStart}_closeTranslatableSection(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");const n=this._msgCountAtSectionStart,r=t.reduce(((e,t)=>e+(t instanceof fa?0:1)),0);if(1==r)for(let e=this._messages.length-1;e>=n;e--){const t=this._messages[e].nodes;if(!(1==t.length&&t[0]instanceof Dn)){this._messages.splice(e,1);break}}this._msgCountAtSectionStart=void 0}_reportError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}function Pl(e){if(!e)return{meaning:"",description:"",id:""};const t=e.indexOf("@@"),n=e.indexOf("|"),[r,i]=t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],[o,s]=n>-1?[r.slice(0,n),r.slice(n+1)]:["",r];return{meaning:o,description:s,id:i.trim()}}const Rl=new class{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return oa.PARSABLE_DATA}};function Fl(e){return Rl}class jl extends Qa{constructor(){super(Fl)}parse(e,t,n){return super.parse(e,t,n)}}const Ll="x",$l="source",Vl="trans-unit",Bl="context";class Ul extends Pn{write(e,t){const n=new Hl,r=[];e.forEach((e=>{let t=[];e.sources.forEach((e=>{let n=new Vn("context-group",{purpose:"location"});n.children.push(new Un(10),new Vn(Bl,{"context-type":"sourcefile"},[new Bn(e.filePath)]),new Un(10),new Vn(Bl,{"context-type":"linenumber"},[new Bn(`${e.startLine}`)]),new Un(8)),t.push(new Un(8),n)}));const i=new Vn(Vl,{id:e.id,datatype:"html"});i.children.push(new Un(8),new Vn($l,{},n.serialize(e.nodes)),...t),e.description&&i.children.push(new Un(8),new Vn("note",{priority:"1",from:"description"},[new Bn(e.description)])),e.meaning&&i.children.push(new Un(8),new Vn("note",{priority:"1",from:"meaning"}
2,[new Bn(e.meaning)])),i.children.push(new Un(6)),r.push(new Un(6),i)}));const i=new Vn("body",{},[...r,new Un(4)]),o=new Vn("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new Un(4),i,new Un(2)]),s=new Vn("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Un(2),o,new Un]);return jn([new Ln({version:"1.0",encoding:"UTF-8"}),new Un,s,new Un])}load(e,t){const n=new zl,{locale:r,msgIdToHtml:i,errors:o}=n.parse(e,t),s={},a=new ql;if(Object.keys(i).forEach((e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);o.push(...r),s[e]=n})),o.length)throw new Error(`xliff parse errors:\n${o.join("\n")}`);return{locale:r,i18nNodesByMsgId:s}}digest(e){return E(e)}}class Hl{visitText(e,t){return[new Bn(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach((e=>n.push(...e.visit(this)))),n}visitIcu(e,t){const n=[new Bn(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach((t=>{n.push(new Bn(`${t} {`),...e.cases[t].visit(this),new Bn("} "))})),n.push(new Bn("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return`x-${e}`}}(e.tag);if(e.isVoid)return[new Vn(Ll,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}/>`})];const r=new Vn(Ll,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}>`}),i=new Vn(Ll,{id:e.closeName,ctype:n,"equiv-text":`</${e.tag}>`});return[r,...this.serialize(e.children),i]}visitPlaceholder(e,t){return[new Vn(Ll,{id:e.name,"equiv-text":`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=`{${e.value.expression}, ${e.value.type}, ${Object.keys(e.value.cases).map((e=>e+" {...}")).join(" ")}}`;return[new Vn(Ll,{id:e.name,"equiv-text":n})]}serialize(e){return[].concat(...e.map((e=>e.visit(this))))}}class zl{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new jl).parse(e,t);return this._errors=n.errors,ma(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Vl:this._unitMlString=null;const t=e.attrs.find((e=>"id"===e.name));if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,`Duplicated translations for msg ${n}`):(ma(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,`<${Vl}> misses the "id" attribute`);break;case $l:case"seg-source":case"alt-trans":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case"file":const o=e.attrs.find((e=>"target-language"===e.name));o&&(this._locale=o.value),ma(this,e.children,null);break;default:ma(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}class ql{convert(e,t){const n=(new jl).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ma(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new Dn(e.value,e.sourceSpan)}visitElement(e,t){if(e.name===Ll){const t=e.attrs.find((e=>"id"===e.name));return t?new In("",t.value,e.sourceSpan):(this._addError(e,`<${Ll}> misses the "id" attribute`),null)}return"mrk"===e.name?[].concat(...ma(this,e.children)):(this._addError(e,"Unexpected tag"),null)}visitExpansion(e,t){const n={};return ma(this,e.cases).forEach((t=>{n[t.value]=new Cn(t.nodes,e.sourceSpan)})),new Tn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ma(this,e.expression)}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}const Gl="ph",Wl="xliff",Yl="source",Zl="unit";class Kl extends Pn{write(e,t){const n=new Jl,r=[];e.forEach((e=>{const t=new Vn(Zl,{id:e.id}),i=new Vn("notes");(e.description||e.meaning)&&(e.description&&i.children.push(new Un(8),new Vn("note",{category:"description"},[new Bn(e.description)])),e.meaning&&i.children.push(new Un(8),new Vn("note",{category:"meaning"}
2,[new Bn(e.meaning)]))),e.sources.forEach((e=>{i.children.push(new Un(8),new Vn("note",{category:"location"},[new Bn(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))})),i.children.push(new Un(6)),t.children.push(new Un(6),i);const o=new Vn("segment");o.children.push(new Un(8),new Vn(Yl,{},n.serialize(e.nodes)),new Un(6)),t.children.push(new Un(6),o,new Un(4)),r.push(new Un(4),t)}));const i=new Vn("file",{original:"ng.template",id:"ngi18n"},[...r,new Un(2)]),o=new Vn(Wl,{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new Un(2),i,new Un]);return jn([new Ln({version:"1.0",encoding:"UTF-8"}),new Un,o,new Un])}load(e,t){const n=new Xl,{locale:r,msgIdToHtml:i,errors:o}=n.parse(e,t),s={},a=new Ql;if(Object.keys(i).forEach((e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);o.push(...r),s[e]=n})),o.length)throw new Error(`xliff2 parse errors:\n${o.join("\n")}`);return{locale:r,i18nNodesByMsgId:s}}digest(e){return x(e)}}class Jl{visitText(e,t){return[new Bn(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach((e=>n.push(...e.visit(this)))),n}visitIcu(e,t){const n=[new Bn(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach((t=>{n.push(new Bn(`${t} {`),...e.cases[t].visit(this),new Bn("} "))})),n.push(new Bn("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(e.tag);if(e.isVoid){return[new Vn(Gl,{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:`<${e.tag}/>`})]}const r=new Vn("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:`<${e.tag}>`,dispEnd:`</${e.tag}>`}),i=[].concat(...e.children.map((e=>e.visit(this))));return i.length?i.forEach((e=>r.children.push(e))):r.children.push(new Bn("")),[r]}visitPlaceholder(e,t){const n=(this._nextPlaceholderId++).toString();return[new Vn(Gl,{id:n,equiv:e.name,disp:`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=Object.keys(e.value.cases).map((e=>e+" {...}")).join(" "),r=(this._nextPlaceholderId++).toString();return[new Vn(Gl,{id:r,equiv:e.name,disp:`{${e.value.expression}, ${e.value.type}, ${n}}`})]}serialize(e){return this._nextPlaceholderId=0,[].concat(...e.map((e=>e.visit(this))))}}class Xl{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new jl).parse(e,t);return this._errors=n.errors,ma(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Zl:this._unitMlString=null;const t=e.attrs.find((e=>"id"===e.name));if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,`Duplicated translations for msg ${n}`):(ma(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,`<${Zl}> misses the "id" attribute`);break;case Yl:break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case Wl:const o=e.attrs.find((e=>"trgLang"===e.name));o&&(this._locale=o.value);const s=e.attrs.find((e=>"version"===e.name));if(s){const t=s.value;"2.0"!==t?this._addError(e,`The XLIFF file version ${t} is not compatible with XLIFF 2.0 serializer`):ma(this,e.children,null)}break;default:ma(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}class Ql{convert(e,t){const n=(new jl).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ma(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new Dn(e.value,e.sourceSpan)}visitElement(e,t){switch(e.name){case Gl:const t=e.attrs.find((e=>"equiv"===e.name));if(t)return[new In("",t.value,e.sourceSpan)];this._addError(e,`<${Gl}> misses the "equiv" attribute`);break;case"pc":const n=e.attrs.find((e=>"equivStart"===e.name)),r=e.attrs.find((e=>"equivEnd"===e.name));if(n){if(r){const t=n.value,i=r.value;return[].concat(new In("",t,e.sourceSpan),...e.children.map((e=>e.visit(this,null))),new In("",i,e.sourceSpan))}this._addError(e,`<${Gl}> misses the "equivEnd" attribute`)}else this._addError(e,`<${Gl}> misses the "equivStart" attribute`);break;case"mrk":return[].concat(...ma(this,e.children));default:this._addError(e,"Unexpected tag")}return null}visitExpansion(e,t){const n={};
2return ma(this,e.cases).forEach((t=>{n[t.value]=new Cn(t.nodes,e.sourceSpan)})),new Tn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:[].concat(...ma(this,e.expression))}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}const ep="translationbundle",tp="translation";class np extends Pn{write(e,t){throw new Error("Unsupported")}load(e,t){const n=new rp,{locale:r,msgIdToHtml:i,errors:o}=n.parse(e,t),s={},a=new ip;if(Object.keys(i).forEach((e=>{!function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){const r=n();return Object.defineProperty(e,t,{enumerable:!0,value:r}),r},set:e=>{throw new Error("Could not overwrite an XTB translation")}})}(s,e,(function(){const{i18nNodes:n,errors:r}=a.convert(i[e],t);if(r.length)throw new Error(`xtb parse errors:\n${r.join("\n")}`);return n}))})),o.length)throw new Error(`xtb parse errors:\n${o.join("\n")}`);return{locale:r,i18nNodesByMsgId:s}}digest(e){return Kn(e)}createNameMapper(e){return new Rn(e,Xn)}}class rp{constructor(){this._locale=null}parse(e,t){this._bundleDepth=0,this._msgIdToHtml={};const n=(new jl).parse(e,t);return this._errors=n.errors,ma(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case ep:this._bundleDepth++,this._bundleDepth>
21&&this._addError(e,`<${ep}> elements can not be nested`);const t=e.attrs.find((e=>"lang"===e.name));t&&(this._locale=t.value),ma(this,e.children,null),this._bundleDepth--;break;case tp:const n=e.attrs.find((e=>"id"===e.name));if(n){const t=n.value;if(this._msgIdToHtml.hasOwnProperty(t))this._addError(e,`Duplicated translations for msg ${t}`);else{const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._msgIdToHtml[t]=i}}else this._addError(e,`<${tp}> misses the "id" attribute`);break;default:this._addError(e,"Unexpected tag")}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}class ip{convert(e,t){const n=(new jl).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:ma(this,n.rootNodes),errors:this._errors}}visitText(e,t){return new Dn(e.value,e.sourceSpan)}visitExpansion(e,t){const n={};return ma(this,e.cases).forEach((t=>{n[t.value]=new Cn(t.nodes,e.sourceSpan)})),new Tn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ma(this,e.expression)}}visitElement(e,t){if("ph"===e.name){const t=e.attrs.find((e=>"name"===e.name));if(t)return new In("",t.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}class op{constructor(e={},t,n,r,i=m.Warning,o){this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new sp(e,t,n,r,i,o)}static load(e,t,n,r,i){const{locale:o,i18nNodesByMsgId:s}=n.load(e,t);return new op(s,o,(e=>n.digest(e)),(e=>n.createNameMapper(e)),r,i)}get(e){const t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes}has(e){return this.digest(e)in this._i18nNodesByMsgId}}class sp{constructor(e={},t,n,r,i,o){this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}convert(e){this._contextStack.length=0,this._errors.length=0;const t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new ru).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:[...this._errors,...r.errors]}}visitText(e,t){return zn(e.value)}visitContainer(e,t){return e.children.map((e=>e.visit(this))).join("")}visitIcu(e,t){const n=Object.keys(e.cases).map((t=>`${t} {${e.cases[t].visit(this)}}`));return`{${this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression].text:e.expression}, ${e.type}, ${n.join(" ")}}`}visitPlaceholder(e,t){const n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n].text:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,`Unknown placeholder "${e.name}"`),"")}visitTagPlaceholder(e,t){const n=`${e.tag}`,r=Object.keys(e.attrs).map((t=>`${t}="${e.attrs[t]}"`)).join(" ");if(e.isVoid)return`<${n} ${r}/>`;return`<${n} ${r}>${e.children.map((e=>e.visit(this))).join("")}</${n}>`}visitIcuPlaceholder(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])}_convertToText(e){const t=this._digest(e),n=this._mapperFactory?this._mapperFactory(e):null;let r;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(t))r=this._i18nNodesByMsgId[t],this._mapper=e=>n?n.toInternalName(e):e;else{if(this._missingTranslationStrategy===m.Error){const n=this._locale?` for locale "${this._locale}"`:"";this._addError(e.nodes[0],`Missing translation for message "${t}"${n}`)}else if(this._console&&this._missingTranslationStrategy===m.Warning){const e=this._locale?` for locale "${this._locale}"`:"";this._console.warn(`Missing translation for message "${t}"${e}`)}r=e.nodes,this._mapper=e=>e}const i=r.map((e=>e.visit(this))).join(""),o=this._contextStack.pop();return this._srcMsg=o.msg,this._mapper=o.mapper,i}_addError(e,t){this._errors.push(new Wu(e.sourceSpan,t))}}class ap{constructor(e,t,n,r=m.Warning,i){if(this._htmlParser=e,t){const e=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new Yn;case"xtb":return new np;case"xliff2":case"xlf2":return new Kl;default:return new Ul}}(n);this._translationBundle=op.load(t,"i18n",e,r,i)}else this._translationBundle=new op({},null,E,void 0,r,i)}parse(e,t,n={}){const r=n.interpolationConfig||$r,i=this._htmlParser.parse(e,t,{interpolationConfig:r,...n});return i.errors.length?new Xa(i.rootNodes,i.errors):function(e,t,n,r,i){return new Nl(r,i).merge(e,t,n)}(i.rootNodes,this._translationBundle,r,[],{})}}class up{constructor(e,t,n,r=null){this._htmlParser=e,this._implicitTags=t,this._implicitAttrs=n,this._locale=r,this._messages=[]}updateFromTemplate(e,t,n){const r=this._htmlParser.parse(e,t,{tokenizeExpansionForms:!0,interpolationConfig:n});if(r.errors.length)return r.errors;const i=function(e,t,n,r){return new Nl(n,r).extract(e,t)}(r.rootNodes,n,this._implicitTags,this._implicitAttrs);return i.errors.length?i.errors:(this._messages.push(...i.messages),[])}getMessages(){return this._messages}write(e,t){const n={},r=new cp;
2this._messages.forEach((t=>{const r=e.digest(t);n.hasOwnProperty(r)?n[r].sources.push(...t.sources):n[r]=t}));const i=Object.keys(n).map((i=>{const o=e.createNameMapper(n[i]),s=n[i],a=o?r.convert(s.nodes,o):s.nodes;let u=new xn(a,{},{},s.meaning,s.description,i);return u.sources=s.sources,t&&u.sources.forEach((e=>e.filePath=t(e.filePath))),u}));return e.write(i,this._locale)}}class cp extends Mn{convert(e,t){return t?e.map((e=>e.visit(this,t))):e}visitTagPlaceholder(e,t){const n=t.toPublicName(e.startName),r=e.closeName?t.toPublicName(e.closeName):e.closeName,i=e.children.map((e=>e.visit(this,t)));return new kn(e.tag,e.attrs,n,r,i,e.isVoid,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitPlaceholder(e,t){return new In(e.value,t.toPublicName(e.name),e.sourceSpan)}visitIcuPlaceholder(e,t){return new On(e.value,t.toPublicName(e.name),e.sourceSpan)}}var lp;!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(lp||(lp={}));class pp{constructor(e){this.directiveMatcher=e}bind(e){if(!e.template)throw new Error("Binding without a template not yet supported");const t=dp.apply(e.template),n=function(e){const t=new Map;function n(e){if(t.has(e.template))return t.get(e.template);const r=e.namedEntities;let i;return i=null!==e.parentScope?new Map([...n(e.parentScope),...r]):new Map(r),t.set(e.template,i),i}const r=[e];for(;r.length>0;){const e=r.pop();for(const t of e.childScopes.values())r.push(t);n(e)}const i=new Map;for(const[e,n]of t)i.set(e,new Set(n.values()));return i}(t),{directives:r,bindings:i,references:o}=hp.apply(e.template,this.directiveMatcher),{expressions:s,symbols:a,nestingLevel:u,usedPipes:c}=fp.applyWithScope(e.template,t);return new mp(e,r,i,o,s,a,u,n,c)}}class dp{constructor(e,t){this.parentScope=e,this.template=t,this.namedEntities=new Map,this.childScopes=new Map}static newRootScope(){return new dp(null,null)}static apply(e){const t=dp.newRootScope();return t.ingest(e),t}
2ingest(e){e instanceof vn?(e.variables.forEach((e=>this.visitVariable(e))),e.children.forEach((e=>e.visit(this)))):e.forEach((e=>e.visit(this)))}visitElement(e){e.references.forEach((e=>this.visitReference(e))),e.children.forEach((e=>e.visit(this)))}visitTemplate(e){e.references.forEach((e=>this.visitReference(e)));const t=new dp(this,e);t.ingest(e),this.childScopes.set(e,t)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitContent(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):null!==this.parentScope?this.parentScope.lookup(e):null}getChildScope(e){const t=this.childScopes.get(e);if(void 0===t)throw new Error(`Assertion error: child scope for ${e} not found`);return t}}class hp{constructor(e,t,n,r){this.matcher=e,this.directives=t,this.bindings=n,this.references=r}static apply(e,t){const n=new Map,r=new Map,i=new Map;return new hp(t,n,r,i).ingest(e),{directives:n,bindings:r,references:i}}ingest(e){e.forEach((e=>e.visit(this)))}visitElement(e){this.visitElementOrTemplate(e.name,e)}visitTemplate(e){this.visitElementOrTemplate("ng-template",e)}visitElementOrTemplate(e,t){const n=function(e,t){const n=new i,r=va(e)[1];return n.setElement(r),Object.getOwnPropertyNames(t).forEach((e=>{const r=va(e)[1],i=t[e];n.addAttribute(r,i),"class"===e.toLowerCase()&&i.trim().split(/\s+/).forEach((e=>n.addClassName(e)))})),n}(e,function(e){const t={};return e instanceof vn&&"ng-template"!==e.tagName?e.templateAttrs.forEach((e=>t[e.name]="")):(e.attributes.forEach((e=>{nr(e.name)||(t[e.name]=e.value)})),e.inputs.forEach((e=>{t[e.name]=""})),e.outputs.forEach((e=>{t[e.name]=""}))),t}(t)),r=[];this.matcher.match(n,((e,t)=>r.push(...t))),r.length>0&&this.directives.set(t,r),t.references.forEach((e=>{let n=null;if(""===e.value.trim())n=r.find((e=>e.isComponent))||null;else if(n=r.find((t=>null!==t.exportAs&&t.exportAs.some((t=>t===e.value))))||null,null===n)return;null!==n?this.references.set(e,{directive:n,node:t}):this.references.set(e,t)}));const o=(e,n)=>{const i=r.find((t=>t[n].hasBindingPropertyName(e.name))),o=void 0!==i?i:t;this.bindings.set(e,o)};t.inputs.forEach((e=>o(e,"inputs"))),t.attributes.forEach((e=>o(e,"inputs"))),t instanceof vn&&t.templateAttrs.forEach((e=>o(e,"inputs"))),t.outputs.forEach((e=>o(e,"outputs"))),t.children.forEach((e=>e.visit(this)))}visitContent(e){}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}}class fp extends So{constructor(e,t,n,r,i,o,s){super(),this.bindings=e,this.symbols=t,this.usedPipes=n,this.nestingLevel=r,this.scope=i,this.template=o,this.level=s,this.visitNode=e=>e.visit(this)}visit(e,t){e instanceof Yi?e.visit(this,t):e.visit(this)}static applyWithScope(e,t){const n=new Map,r=new Map,i=new Map,o=new Set;return new fp(n,r,o,i,t,e instanceof vn?e:null,0).ingest(e),{expressions:n,symbols:r,nestingLevel:i,usedPipes:o}}
2ingest(e){e instanceof vn?(e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level)):e.forEach(this.visitNode)}visitElement(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.children.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode);const t=this.scope.getChildScope(e);new fp(this.bindings,this.symbols,this.usedPipes,this.nestingLevel,t,e,this.level+1).ingest(e)}visitVariable(e){null!==this.template&&this.symbols.set(e,this.template)}visitReference(e){null!==this.template&&this.symbols.set(e,this.template)}visitText(e){}visitContent(e){}visitTextAttribute(e){}visitIcu(e){Object.keys(e.vars).forEach((t=>e.vars[t].visit(this))),Object.keys(e.placeholders).forEach((t=>e.placeholders[t].visit(this)))}visitBoundAttribute(e){e.value.visit(this)}visitBoundEvent(e){e.handler.visit(this)}visitBoundText(e){e.value.visit(this)}visitPipe(e,t){return this.usedPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(t,e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(t,e,e.name),super.visitSafePropertyRead(e,t)}visitPropertyWrite(e,t){return this.maybeMap(t,e,e.name),super.visitPropertyWrite(e,t)}maybeMap(e,t,n){if(!(t.receiver instanceof Ji))return;let r=this.scope.lookup(n);null!==r&&this.bindings.set(t,r)}}class mp{constructor(e,t,n,r,i,o,s,a,u){this.target=e,this.directives=t,this.bindings=n,this.references=r,this.exprTargets=i,this.symbols=o,this.nestingLevel=s,this.templateEntities=a,this.usedPipes=u}getEntitiesInTemplateScope(e){return this.templateEntities.get(e)??new Set}getDirectivesOfNode(e){return this.directives.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getTemplateOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){const e=new Set;return this.directives.forEach((t=>t.forEach((t=>e.add(t))))),Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}}function gp(e){return ct([],[Kt(rt(Ct.setClassMetadata).callFn([e.type,e.decorators,e.ctorParameters??dt(null),e.propDecorators??dt(null)])).toStmt()]).callFn([])}const vp="12.0.0";function yp(e){const t=new Or;return t.set("minVersion",dt(vp)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.type),t.set("decorators",e.decorators),t.set("ctorParameters",e.ctorParameters),t.set("propDecorators",e.propDecorators),rt(Ct.declareClassMetadata).callFn([t.toLiteralMap()])}function _p(e,t){return null===e||0===e.length?null:st(e.map((e=>t(e))))}function bp(e,t){const n=Object.keys(e).map((n=>{const r=e[n];return{key:n,value:t(r),quoted:!0}}));return n.length>0?at(n):null}function wp(e){const t=new Or;return t.set("token",e.token),null!==e.attributeNameType&&t.set("attribute",dt(!0)),e.host&&t.set("host",dt(!0)),e.optional&&t.set("optional",dt(!0)),e.self&&t.set("self",dt(!0)),e.skipSelf&&t.set("skipSelf",dt(!0)),t.toLiteralMap()}const Ep="14.0.0";function Sp(e){const t=xp(e);return{expression:rt(Ct.declareDirective).callFn([t.toLiteralMap()]),type:Hc(e),statements:[]}}function xp(e){const t=new Or;return t.set("minVersion",dt(Ep)),t.set("version",dt("15.2.10")),t.set("type",e.internalType),e.isStandalone&&t.set("isStandalone",dt(e.isStandalone)),null!==e.selector&&t.set("selector",dt(e.selector)),t.set("inputs",Tr(e.inputs,!0)),t.set("outputs",Tr(e.outputs)),t.set("host",function(e){const t=new Or;t.set("attributes",bp(e.attributes,(e=>e))),t.set("listeners",bp(e.listeners,dt)),t.set("properties",bp(e.properties,dt)),e.specialAttributes.styleAttr&&t.set("styleAttribute",dt(e.specialAttributes.styleAttr));e.specialAttributes.classAttr&&t.set("classAttribute",dt(e.specialAttributes.classAttr));return t.values.length>0?t.toLiteralMap():null}(e.host)),t.set("providers",e.providers),e.queries.length>0&&t.set("queries",st(e.queries.map(Dp))),e.viewQueries.length>0&&t.set("viewQueries",st(e.viewQueries.map(Dp))),null!==e.exportAs&&t.set("exportAs",Cr(e.exportAs)),e.usesInheritance&&t.set("usesInheritance",dt(!0)),e.lifecycle.usesOnChanges&&t.set("usesOnChanges",dt(!0)),e.hostDirectives?.length&&t.set("hostDirectives",st(e.hostDirectives.map((e=>{const t=[{key:"directive",value:e.isForwardReference?nn(e.directive.type):e.directive.type,quoted:!1}],n=e.inputs?Xc(e.inputs):null,r=e.outputs?Xc(e.outputs):null;
2return n&&t.push({key:"inputs",value:n,quoted:!1}),r&&t.push({key:"outputs",value:r,quoted:!1}),at(t)})))),t.set("ngImport",rt(Ct.core)),t}function Dp(e){const t=new Or;return t.set("propertyName",dt(e.propertyName)),e.first&&t.set("first",dt(!0)),t.set("predicate",Array.isArray(e.predicate)?Cr(e.predicate):tn(e.predicate)),e.emitDistinctChangesOnly||t.set("emitDistinctChangesOnly",dt(!1)),e.descendants&&t.set("descendants",dt(!0)),t.set("read",e.read),e.static&&t.set("static",dt(!0)),t.toLiteralMap()}function Cp(e,t,n){const r=function(e,t,n){const r=xp(e);r.set("template",function(e,t){if(null!==t.inlineTemplateLiteralExpression)return t.inlineTemplateLiteralExpression;if(t.isInline)return dt(t.content,null,null);const n=t.content,r=new yi(n,t.sourceUrl),i=new vi(r,0,0,0),o=function(e,t){const n=t.length;let r=0,i=0,o=0;do{r=t.indexOf("\n",i),-1!==r&&(i=r+1,o++)}while(-1!==r);return new vi(e,n,o,n-i)}(r,n),s=new _i(i,o);return dt(n,null,s)}(0,n)),n.isInline&&r.set("isInline",dt(!0));r.set("styles",_p(e.styles,dt)),r.set("dependencies",function(e){const t=0!==e.declarationListEmitMode?nn:e=>e;return _p(e.declarations,(e=>{switch(e.kind){case ji.Directive:const n=new Or;return n.set("kind",dt(e.isComponent?"component":"directive")),n.set("type",t(e.type)),n.set("selector",dt(e.selector)),n.set("inputs",_p(e.inputs,dt)),n.set("outputs",_p(e.outputs,dt)),n.set("exportAs",_p(e.exportAs,dt)),n.toLiteralMap();case ji.Pipe:const r=new Or;return r.set("kind",dt("pipe")),r.set("type",t(e.type)),r.set("name",dt(e.name)),r.toLiteralMap();case ji.NgModule:const i=new Or;return i.set("kind",dt("ngmodule")),i.set("type",t(e.type)),i.toLiteralMap()}}))}(e)),r.set("viewProviders",e.viewProviders),r.set("animations",e.animations),void 0!==e.changeDetection&&r.set("changeDetection",rt(Ct.ChangeDetectionStrategy).prop(l[e.changeDetection]));e.encapsulation!==c.Emulated&&r.set("encapsulation",rt(Ct.ViewEncapsulation).prop(c[e.encapsulation]));e.interpolation!==$r&&r.set("interpolation",st([dt(e.interpolation.start),dt(e.interpolation.end)]));!0===t.preserveWhitespaces&&r.set("preserveWhitespaces",dt(!0));return r}(e,t,n);return{expression:rt(Ct.declareComponent).callFn([r.toLiteralMap()]),type:jc(e),statements:[]}}const Tp="12.0.0";function kp(e){const t=new Or;var n;return t.set("minVersion",dt(Tp)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.internalType),t.set("deps","invalid"===(n=e.deps)?dt("invalid"):null===n?dt(null):st(n.map(wp))),t.set("target",rt(Ct.FactoryTarget).prop(on[e.target])),{expression:rt(Ct.declareFactory).callFn([t.toLiteralMap()]),statements:[],type:an(e)}}const Ip="12.0.0";function Op(e){const t=function(e){const t=new Or;if(t.set("minVersion",dt(Ip)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.internalType),void 0!==e.providedIn){const n=tn(e.providedIn);null!==n.value&&t.set("providedIn",n)}void 0!==e.useClass&&t.set("useClass",tn(e.useClass));void 0!==e.useExisting&&t.set("useExisting",tn(e.useExisting));void 0!==e.useValue&&t.set("useValue",tn(e.useValue));void 0!==e.useFactory&&t.set("useFactory",e.useFactory);void 0!==e.deps&&t.set("deps",st(e.deps.map(wp)));return t}(e);return{expression:rt(Ct.declareInjectable).callFn([t.toLiteralMap()]),type:Pr(e),statements:[]}}const Mp="12.0.0";function Ap(e){const t=function(e){const t=new Or;t.set("minVersion",dt(Mp)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.internalType),t.set("providers",e.providers),e.imports.length>0&&t.set("imports",st(e.imports));return t}(e);return{expression:rt(Ct.declareInjector).callFn([t.toLiteralMap()]),type:Pi(e),statements:[]}}const Np="14.0.0";function Pp(e){const t=function(e){const t=new Or;t.set("minVersion",dt(Np)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.internalType),e.bootstrap.length>0&&t.set("bootstrap",Qt(e.bootstrap,e.containsForwardDecls));e.declarations.length>0&&t.set("declarations",Qt(e.declarations,e.containsForwardDecls));e.imports.length>0&&t.set("imports",Qt(e.imports,e.containsForwardDecls));e.exports.length>0&&t.set("exports",Qt(e.exports,e.containsForwardDecls));null!==e.schemas&&e.schemas.length>0&&t.set("schemas",st(e.schemas.map((e=>e.value))));null!==e.id&&t.set("id",e.id);return t}(e);return{expression:rt(Ct.declareNgModule).callFn([t.toLiteralMap()]),type:Bi(e),statements:[]}}const Rp="14.0.0";function Fp(e){const t=function(e){const t=new Or;t.set("minVersion",dt(Rp)),t.set("version",dt("15.2.10")),t.set("ngImport",rt(Ct.core)),t.set("type",e.internalType),e.isStandalone&&t.set("isStandalone",dt(e.isStandalone));t.set("name",dt(e.pipeName)),!1===e.pure&&t.set("pure",dt(e.pure));return t}(e);
2return{expression:rt(Ct.declarePipe).callFn([t.toLiteralMap()]),type:qi(e),statements:[]}}Sl(At)},20831:function(e,t,n){"use strict";n.r(t),n.d(t,{ANALYZE_FOR_ENTRY_COMPONENTS:function(){return yi},ANIMATION_MODULE_TYPE:function(){return Vv},APP_BOOTSTRAP_LISTENER:function(){return Ey},APP_ID:function(){return Nv},APP_INITIALIZER:function(){return Mv},ApplicationInitStatus:function(){return Av},ApplicationModule:function(){return O_},ApplicationRef:function(){return Vy},Attribute:function(){return gi},COMPILER_OPTIONS:function(){return Zv},CUSTOM_ELEMENTS_SCHEMA:function(){return ho},ChangeDetectionStrategy:function(){return je},ChangeDetectorRef:function(){return Yy},Compiler:function(){return Yv},CompilerFactory:function(){return Kv},Component:function(){return Sv},ComponentFactory:function(){return mu},ComponentFactoryResolver:function(){return yu},ComponentRef:function(){return fu},ContentChild:function(){return wi},ContentChildren:function(){return bi},DEFAULT_CURRENCY_CODE:function(){return Hv},DebugElement:function(){return t_},DebugEventListener:function(){return Xy},DebugNode:function(){return e_},DefaultIterableDiffer:function(){return h_},Directive:function(){return Ev},ENVIRONMENT_INITIALIZER:function(){return Ba},ElementRef:function(){return bu},EmbeddedViewRef:function(){return Jy},EnvironmentInjector:function(){return uu},ErrorHandler:function(){return Ou},EventEmitter:function(){return og},Host:function(){return Ki},HostBinding:function(){return Tv},HostListener:function(){return kv},INJECTOR:function(){return Ua},Inject:function(){return Gi},InjectFlags:function(){return fe},Injectable:function(){return ac},InjectionToken:function(){return vi},Injector:function(){return lc},Input:function(){return Dv},IterableDiffers:function(){return E_},KeyValueDiffers:function(){return x_},LOCALE_ID:function(){return Uv},MissingTranslationStrategy:function(){return Gv},ModuleWithComponentFactories:function(){return Wv},NO_ERRORS_SCHEMA:function(){return fo},NgModule:function(){return Iv},NgModuleFactory:function(){return hm},NgModuleRef:function(){return dm},NgProbeToken:function(){return Cy},NgZone:function(){return oy},Optional:function(){return Wi},Output:function(){return Cv},PACKAGE_ROOT_URL:function(){return $v},PLATFORM_ID:function(){return Lv},PLATFORM_INITIALIZER:function(){return jv},Pipe:function(){return xv},PlatformRef:function(){return Ry},Query:function(){return _i},QueryList:function(){return ag},ReflectiveInjector:function(){return Oc},ReflectiveKey:function(){return gc},Renderer2:function(){return Su},RendererFactory2:function(){return Eu},RendererStyleFlags2:function(){return ko},ResolvedReflectiveFactory:function(){return wc},Sanitizer:function(){return xu},SecurityContext:function(){return Ma},Self:function(){return Yi},SimpleChange:function(){return an},SkipSelf:function(){return Zi},TRANSLATIONS:function(){return zv},TRANSLATIONS_FORMAT:function(){return qv},TemplateRef:function(){return ug},Testability:function(){return fy},TestabilityRegistry:function(){return my},Type:function(){return ki},VERSION:function(){return Cu},Version:function(){return Du},ViewChild:function(){return Si},ViewChildren:function(){return Ei},ViewContainerRef:function(){return dg},ViewEncapsulation:function(){return Le},ViewRef:function(){return Ky},asNativeElements:function(){return Qy},assertPlatform:function(){return My},createComponent:function(){return B_},createEnvironmentInjector:function(){return _m},createNgModule:function(){return fm},createNgModuleRef:function(){return mm},createPlatform:function(){return Ty},createPlatformFactory:function(){return Oy},defineInjectable:function(){return ie},destroyPlatform:function(){return Ny},enableProdMode:function(){return zy},forwardRef:function(){return C},getDebugNode:function(){return c_},getModuleFactory:function(){return qy},getNgModuleById:function(){return Gy},getPlatform:function(){return Py},importProvidersFrom:function(){return Ga},inject:function(){return Me},isDevMode:function(){return Hy},isStandalone:function(){return st},makeEnvironmentProviders:function(){return qa},platformCore:function(){return I_},reflectComponentType:function(){return U_},resolveForwardRef:function(){return T},setTestabilityGetter:function(){return gy},"ɵALLOW_MULTIPLE_PLATFORMS":function(){return by},"ɵAPP_ID_RANDOM_PROVIDER":function(){return Rv},"ɵComponentFactory":function(){return mu},"ɵConsole":function(){return Bv},"ɵDEFAULT_LOCALE_ID":function(){return $h},"ɵINJECTOR_SCOPE":function(){return ru},"ɵLContext":function(){return Fo},"ɵLifecycleHooksFeature":function(){return Pl},"ɵLocaleDataIndex":function(){return jh},"ɵNG_COMP_DEF":function(){return Be},"ɵNG_DIR_DEF":function(){return Ue},"ɵNG_ELEMENT_ID":function(){return Ge},"ɵNG_INJ_DEF":function(){return pe},"ɵNG_MOD_DEF":function(){return ze},"ɵNG_PIPE_DEF":function(){return He},"ɵNG_PROV_DEF":function(){return le},"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR":function(){return Tu},"ɵNO_CHANGE":function(){return Qu},"ɵNgModuleFactory":function(){return vm},"ɵNoopNgZone":function(){return py},"ɵReflectionCapabilities":function(){return Hi},"ɵRender3ComponentFactory":function(){return Al},"ɵRender3ComponentRef":function(){return Nl},"ɵRender3NgModuleRef":function(){return gm},"ɵRuntimeError":function(){return A},"ɵTESTABILITY":function(){return dy},"ɵTESTABILITY_GETTER":function(){return hy},"ɵViewRef":function(){return Tl},"ɵXSS_SECURITY_URL":function(){return M},"ɵ_sanitizeHtml":function(){return Ia},"ɵ_sanitizeUrl":function(){return ca},"ɵallowSanitizationBypassAndThrow":function(){return Xs},"ɵbypassSanitizationTrustHtml":function(){return ea},"ɵbypassSanitizationTrustResourceUrl":function(){return ia},"ɵbypassSanitizationTrustScript":function(){return na},"ɵbypassSanitizationTrustStyle":function(){return ta},"ɵbypassSanitizationTrustUrl":function(){return ra},"ɵclearResolutionOfComponentResourcesQueue":function(){return oo},"ɵcoerceToBoolean":function(){return M_},"ɵcompileComponent":function(){return iv},"ɵcompileDirective":function(){return sv},"ɵcompileNgModule":function(){return zg},"ɵcompileNgModuleDefs":function(){return qg},"ɵcompileNgModuleFactory":function(){return Sy},"ɵcompilePipe":function(){return bv},"ɵconvertToBitFlags":function(){return Ae},"ɵcreateInjector":function(){return uc},"ɵdefaultIterableDiffers":function(){return T_},"ɵdefaultKeyValueDiffers":function(){return k_},"ɵdetectChanges":function(){return xp},"ɵdevModeEqual":function(){return Xl},"ɵfindLocaleData":function(){return Ah},"ɵflushModuleScopingQueueAsMuchAsPossible":function(){return Ug},"ɵformatRuntimeError":function(){return N},"ɵgetDebugNode":function(){return c_},"ɵgetDebugNodeR2":function(){return l_},"ɵgetDirectives":function(){return Tm},"ɵgetHostElement":function(){return Om},"ɵgetInjectableDef":function(){return se},"ɵgetLContext":function(){return jo},"ɵgetLocaleCurrencyCode":function(){return Nh},"ɵgetLocalePluralCase":function(){return Ph},"ɵgetSanitizationBypassType":function(){return Qs},"ɵgetUnknownElementStrictMode":function(){return vo},"ɵgetUnknownPropertyStrictMode":function(){return bo},"ɵglobal":function(){return ye},"ɵinjectChangeDetectorRef":function(){return Zy},"ɵinternalCreateApplication":function(){return Iy},"ɵisBoundToModule":function(){return Dy},"ɵisEnvironmentProviders":function(){return I},"ɵisInjectable":function(){return ae},"ɵisNgModule":function(){return $g},"ɵisObservable":function(){return $p},"ɵisPromise":function(){return jp},"ɵisSubscribable":function(){return Lp},"ɵmakeDecorator":function(){return di},"ɵnoSideEffects":function(){return Fe},"ɵpatchComponentDefWithScope":function(){return ev},"ɵpublishDefaultGlobalUtils":function(){return ey},"ɵpublishGlobalUtil":function(){return ty},"ɵregisterLocaleData":function(){return Mh},"ɵresetCompiledComponents":function(){return Jg},"ɵresetJitOptions":function(){return jg},"ɵresolveComponentResources":function(){return to},"ɵsetAllowDuplicateNgModuleIdsForTest":function(){return po},"ɵsetClassMetadata":function(){return Pm},"ɵsetCurrentInjector":function(){return Te},"ɵsetDocument":function(){return $s},"ɵsetLocaleId":function(){return zh},"ɵsetUnknownElementStrictMode":function(){return go},"ɵsetUnknownPropertyStrictMode":function(){return _o},"ɵstore":function(){return Cp},"ɵstringify":function(){return S},"ɵtransitiveScopesFor":function(){return tv},"ɵunregisterLocaleData":function(){return Fh},"ɵunwrapSafeValue":function(){return Js},"ɵɵCopyDefinitionFeature":function(){return Hl},"ɵɵFactoryTarget":function(){return xi}
2,"ɵɵHostDirectivesFeature":function(){return zl},"ɵɵInheritDefinitionFeature":function(){return Fl},"ɵɵNgOnChangesFeature":function(){return un},"ɵɵProvidersFeature":function(){return pm},"ɵɵStandaloneFeature":function(){return wm},"ɵɵadvance":function(){return ec},"ɵɵattribute":function(){return op},"ɵɵattributeInterpolate1":function(){return mp},"ɵɵattributeInterpolate2":function(){return gp},"ɵɵattributeInterpolate3":function(){return vp},"ɵɵattributeInterpolate4":function(){return yp},"ɵɵattributeInterpolate5":function(){return _p},"ɵɵattributeInterpolate6":function(){return bp},"ɵɵattributeInterpolate7":function(){return wp},"ɵɵattributeInterpolate8":function(){return Ep},"ɵɵattributeInterpolateV":function(){return Sp},"ɵɵclassMap":function(){return kd},"ɵɵclassMapInterpolate1":function(){return Qd},"ɵɵclassMapInterpolate2":function(){return eh},"ɵɵclassMapInterpolate3":function(){return th},"ɵɵclassMapInterpolate4":function(){return nh},"ɵɵclassMapInterpolate5":function(){return rh},"ɵɵclassMapInterpolate6":function(){return ih},"ɵɵclassMapInterpolate7":function(){return oh},"ɵɵclassMapInterpolate8":function(){return sh},"ɵɵclassMapInterpolateV":function(){return ah},"ɵɵclassProp":function(){return Dd},"ɵɵcontentQuery":function(){return Ig},"ɵɵdefineComponent":function(){return Ye},"ɵɵdefineDirective":function(){return tt},"ɵɵdefineInjectable":function(){return re},"ɵɵdefineInjector":function(){return oe},"ɵɵdefineNgModule":function(){return Xe},"ɵɵdefinePipe":function(){return nt},"ɵɵdirectiveInject":function(){return Ac},"ɵɵdisableBindings":function(){return Pn},"ɵɵelement":function(){return Ap},"ɵɵelementContainer":function(){return Rp},"ɵɵelementContainerEnd":function(){return Pp},"ɵɵelementContainerStart":function(){return Np},"ɵɵelementEnd":function(){return Mp},"ɵɵelementStart":function(){return Op},"ɵɵenableBindings":function(){return Nn},"ɵɵgetCurrentView":function(){return Fp},"ɵɵgetInheritedFactory":function(){return oi},"ɵɵhostProperty":function(){return Ch},"ɵɵi18n":function(){return Qf},"ɵɵi18nApply":function(){return nm},"ɵɵi18nAttributes":function(){return em},"ɵɵi18nEnd":function(){return Xf},"ɵɵi18nExp":function(){return tm},"ɵɵi18nPostprocess":function(){return rm},"ɵɵi18nStart":function(){return Jf},"ɵɵinject":function(){return Ie},"ɵɵinjectAttribute":function(){return ui},"ɵɵinvalidFactory":function(){return Nc},"ɵɵinvalidFactoryDep":function(){return Oe},"ɵɵlistener":function(){return Vp},"ɵɵloadQuery":function(){return Og},"ɵɵnamespaceHTML":function(){return yr},"ɵɵnamespaceMathML":function(){return vr},"ɵɵnamespaceSVG":function(){return gr},"ɵɵnextContext":function(){return qp},"ɵɵngDeclareClassMetadata":function(){return N_},"ɵɵngDeclareComponent":function(){return P_},"ɵɵngDeclareDirective":function(){return A_},"ɵɵngDeclareFactory":function(){return R_},"ɵɵngDeclareInjectable":function(){return j_},"ɵɵngDeclareInjector":function(){return L_},"ɵɵngDeclareNgModule":function(){return $_},"ɵɵngDeclarePipe":function(){return V_},"ɵɵpipe":function(){return Jm},"ɵɵpipeBind1":function(){return Xm},"ɵɵpipeBind2":function(){return Qm},"ɵɵpipeBind3":function(){return eg},"ɵɵpipeBind4":function(){return tg},"ɵɵpipeBindV":function(){return ng},"ɵɵprojection":function(){return Yp},"ɵɵprojectionDef":function(){return Wp},"ɵɵproperty":function(){return kp},"ɵɵpropertyInterpolate":function(){return Zp},"ɵɵpropertyInterpolate1":function(){return Kp},"ɵɵpropertyInterpolate2":function(){return Jp},"ɵɵpropertyInterpolate3":function(){return Xp},"ɵɵpropertyInterpolate4":function(){return Qp},"ɵɵpropertyInterpolate5":function(){return ed},"ɵɵpropertyInterpolate6":function(){return td},"ɵɵpropertyInterpolate7":function(){return nd},"ɵɵpropertyInterpolate8":function(){return rd},"ɵɵpropertyInterpolateV":function(){return id},"ɵɵpureFunction0":function(){return Rm},"ɵɵpureFunction1":function(){return Fm},"ɵɵpureFunction2":function(){return jm},"ɵɵpureFunction3":function(){return Lm},"ɵɵpureFunction4":function(){return $m},"ɵɵpureFunction5":function(){return Vm},"ɵɵpureFunction6":function(){return Bm},"ɵɵpureFunction7":function(){return Um},"ɵɵpureFunction8":function(){return Hm},"ɵɵpureFunctionV":function(){return zm},"ɵɵqueryRefresh":function(){return Tg},"ɵɵreference":function(){return Tp},"ɵɵregisterNgModuleType":function(){return co}
2,"ɵɵresetView":function(){return Ln},"ɵɵresolveBody":function(){return Ru},"ɵɵresolveDocument":function(){return Pu},"ɵɵresolveWindow":function(){return Nu},"ɵɵrestoreView":function(){return jn},"ɵɵsanitizeHtml":function(){return Aa},"ɵɵsanitizeResourceUrl":function(){return Ra},"ɵɵsanitizeScript":function(){return Fa},"ɵɵsanitizeStyle":function(){return Na},"ɵɵsanitizeUrl":function(){return Pa},"ɵɵsanitizeUrlOrResourceUrl":function(){return $a},"ɵɵsetComponentScope":function(){return Ze},"ɵɵsetNgModuleScope":function(){return Qe},"ɵɵstyleMap":function(){return Cd},"ɵɵstyleMapInterpolate1":function(){return uh},"ɵɵstyleMapInterpolate2":function(){return ch},"ɵɵstyleMapInterpolate3":function(){return lh},"ɵɵstyleMapInterpolate4":function(){return ph},"ɵɵstyleMapInterpolate5":function(){return dh},"ɵɵstyleMapInterpolate6":function(){return hh},"ɵɵstyleMapInterpolate7":function(){return fh},"ɵɵstyleMapInterpolate8":function(){return mh},"ɵɵstyleMapInterpolateV":function(){return gh},"ɵɵstyleProp":function(){return xd},"ɵɵstylePropInterpolate1":function(){return vh},"ɵɵstylePropInterpolate2":function(){return yh},"ɵɵstylePropInterpolate3":function(){return _h},"ɵɵstylePropInterpolate4":function(){return bh},"ɵɵstylePropInterpolate5":function(){return wh},"ɵɵstylePropInterpolate6":function(){return Eh},"ɵɵstylePropInterpolate7":function(){return Sh},"ɵɵstylePropInterpolate8":function(){return xh},"ɵɵstylePropInterpolateV":function(){return Dh},"ɵɵsyntheticHostListener":function(){return Bp},"ɵɵsyntheticHostProperty":function(){return Th},"ɵɵtemplate":function(){return Dp},"ɵɵtemplateRefExtractor":function(){return Pg},"ɵɵtext":function(){return Ud},"ɵɵtextInterpolate":function(){return Hd},"ɵɵtextInterpolate1":function(){return zd},"ɵɵtextInterpolate2":function(){return qd},"ɵɵtextInterpolate3":function(){return Gd},"ɵɵtextInterpolate4":function(){return Wd},"ɵɵtextInterpolate5":function(){return Yd},"ɵɵtextInterpolate6":function(){return Zd},"ɵɵtextInterpolate7":function(){return Kd},"ɵɵtextInterpolate8":function(){return Jd},"ɵɵtextInterpolateV":function(){return Xd},"ɵɵtrustConstantHtml":function(){return ja},"ɵɵtrustConstantResourceUrl":function(){return La},"ɵɵvalidateIframeAttribute":function(){return Ls},"ɵɵviewQuery":function(){return kg}});var r=n(97582),i=n(81480),o=n(35720),s=(0,n(1819).d)((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),a=n(3699),u=n(68846),c=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.ZT)(t,e),t.prototype.lift=function(e){var t=new l(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new s},t.prototype.next=function(e){var t=this;(0,u.x)((function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=(0,r.XA)(t.currentObservers),s=o.next();!s.done;s=o.next()){s.value.next(e)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;(0,u.x)((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;(0,u.x)((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,s=n.observers;
2return r||i?o.Lc:(this.currentObservers=null,s.push(e),new o.w0((function(){t.currentObservers=null,(0,a.P)(s,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new i.y;return e.source=this,e},t.create=function(e,t){return new l(e,t)},t}(i.y),l=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.ZT)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:o.Lc},t}(c),p=n(87877),d=n(90278);var h=n(87878),f=new i.y((function(e){return e.complete()}));var m=n(57617),g=n(11954);function v(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,m.yG)(e),r=(0,m._6)(e,1/0),i=e;return i.length?1===i.length?(0,h.Xf)(i[0]):function(e){return void 0===e&&(e=1/0),(0,p.z)(d.y,e)}(r)((0,g.D)(i,n)):f}var y=n(15642),_=n(96798);function b(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!0!==t){if(!1!==t){var o=new y.Hp({next:function(){o.unsubscribe(),e()}});return(0,h.Xf)(t.apply(void 0,(0,r.ev)([],(0,r.CR)(n)))).subscribe(o)}}else e()}function w(e){for(let t in e)if(e[t]===w)return t;throw Error("Could not find renamed property on target object.")}function E(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function S(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(S).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function x(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const D=w({__forward_ref__:w});function C(e){return e.__forward_ref__=C,e.toString=function(){return S(this())},e}function T(e){return k(e)?e():e}function k(e){return"function"==typeof e&&e.hasOwnProperty(D)&&e.__forward_ref__===C}function I(e){return e&&!!e.ɵproviders}const O="https://angular.io/errors",M="https://g.co/ng/security#xss";class A extends Error{constructor(e,t){super(N(e,t)),this.code=e}}function N(e,t){const n=`NG0${Math.abs(e)}`;let r=`${n}${t?": "+t.trim():""}`;if(ngDevMode&&e<0){const e=!r.match(/[.,;!?]$/);r=`${r}${e?".":""} Find more at ${O}/${n}`}return r}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function R(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}function F(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${n}`)}function j(){throw new Error("Cannot mix multi providers and regular providers")}function L(e,t,n){if(e&&t){const r=t.map((e=>e==n?"?"+n+"?":"..."));throw new Error(`Invalid provider for the NgModule '${S(e)}' - only instances of Provider and Type are allowed, got: [${r.join(", ")}]`)}throw I(n)?n.ɵfromNgModule?new A(207,"Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers."):new A(207,"Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers."):new Error("Invalid provider")}function $(e,t){const n=t?` in ${t}`:"";throw new A(-201,ngDevMode&&`No provider for ${R(e)} found${n}`)}function V(e,t){"number"!=typeof e&&Q(t,typeof e,"number","===")}function B(e,t,n){V(e,"Expected a number"),Z(e,n,"Expected number to be less than or equal to"),J(e,t,"Expected number to be greater than or equal to")}function U(e,t){"string"!=typeof e&&Q(t,null===e?"null":typeof e,"string","===")}function H(e,t){"function"!=typeof e&&Q(t,null===e?"null":typeof e,"function","===")}function z(e,t,n){e!=t&&Q(n,e,t,"==")}function q(e,t,n){e==t&&Q(n,e,t,"!=")}function G(e,t,n){e!==t&&Q(n,e,t,"===")}function W(e,t,n){e===t&&Q(n,e,t,"!==")}function Y(e,t,n){e<t||Q(n,e,t,"<")}function Z(e,t,n){e<=t||Q(n,e,t,"<=")}function K(e,t,n){e>t||Q(n,e,t,">")}function J(e,t,n){e>=t||Q(n,e,t,">=")}function X(e,t){null==e&&Q(t,e,null,"!=")}function Q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function ee(e){"undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name||Q(`The provided value must be an instance of a DOM Node but got ${S(e)}`)}function te(e,t){X(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&Q(`Index expected to be less than ${n} but got ${t}`)}function ne(e,...t){if(-1!==t.indexOf(e))return!0;Q(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}function re(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ie=re;function oe(e){return{providers:e.providers||[],imports:e.imports||[]}}function se(e){return ue(e,le)||ue(e,de)}function ae(e){return null!==se(e)}function ue(e,t){return e.hasOwnProperty(t)?e[t]:null}function ce(e){return e&&(e.hasOwnProperty(pe)||e.hasOwnProperty(he))?e[pe]:null}const le=w({"ɵprov":w}),pe=w({"ɵinj":w}),de=w({ngInjectableDef:w}),he=w({ngInjectorDef:w});var fe;let me;function ge(e){const t=me;return me=e,t}function ve(e,t,n){const r=se(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&fe.Optional?null:void 0!==t?t:void $(S(e),"Injector")}!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(fe||(fe={}));const ye=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)();function _e(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&function(){const e="undefined"!=typeof location?location.toString():"",t={namedConstructors:-1!=e.indexOf("ngDevMode=namedConstructors"),firstCreatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0},n=-1===e.indexOf("ngDevMode=false");ye.ngDevMode=n&&t}(),"undefined"!=typeof ngDevMode&&!!ngDevMode)}const be={},we="__NG_DI_FLAG__",Ee="ngTempTokenPath",Se=/\n/gm,xe="ɵ",De="__source";let Ce;function Te(e){const t=Ce;return Ce=e,t}function ke(e,t=fe.Default){if(void 0===Ce)throw new A(-203,ngDevMode&&"inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `EnvironmentInjector#runInContext`.");return null===Ce?ve(e,void 0,t):Ce.get(e,t&fe.Optional?null:void 0,t)}function Ie(e,t=fe.Default){return(me||ke)(T(e),t)}function Oe(e){throw new A(202,ngDevMode&&`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${e}
2 of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${e} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`)}function Me(e,t=fe.Default){return Ie(e,Ae(t))}function Ae(e){return void 0===e||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ne(e){const t=[];for(let n=0;n<e.length;n++){const r=T(e[n]);if(Array.isArray(r)){if(0===r.length)throw new A(900,ngDevMode&&"Arguments array must have arguments.");let e,n=fe.Default;for(let t=0;t<r.length;t++){const i=r[t],o=i[we];"number"==typeof o?-1===o?e=i.token:n|=o:e=i}t.push(Ie(e,n))}else t.push(Ie(r))}return t}function Pe(e,t){return e[we]=t,e.prototype[we]=t,e}function Re(e,t,n,r){const i=e[Ee];throw t[De]&&i.unshift(t[De]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==xe?e.slice(2):e;let i=S(t);if(Array.isArray(t))i=t.map(S).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):S(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Se,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Ee]=null,e}function Fe(e){return{toString:e}.toString()}var je,Le;!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(je||(je={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Le||(Le={}));const $e={},Ve=[];("undefined"==typeof ngDevMode||ngDevMode)&&_e()&&(Object.freeze($e),Object.freeze(Ve));const Be=w({"ɵcmp":w}),Ue=w({"ɵdir":w}),He=w({"ɵpipe":w}),ze=w({"ɵmod":w}),qe=w({"ɵfac":w}),Ge=w({__NG_ELEMENT_ID__:w});let We=0;function Ye(e){return Fe((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&_e();const t=ut(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===je.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Le.Emulated,id:"c"+We++,styles:e.styles||Ve,_:null,schemas:e.schemas||null,tView:null};ct(n);const r=e.dependencies;return n.directiveDefs=lt(r,!1),n.pipeDefs=lt(r,!0),n}))}function Ze(e,t,n){const r=e.ɵcmp;r.directiveDefs=lt(t,!1),r.pipeDefs=lt(n,!0)}function Ke(e){return rt(e)||it(e)}function Je(e){return null!==e}function Xe(e){return Fe((()=>({type:e.type,bootstrap:e.bootstrap||Ve,declarations:e.declarations||Ve,imports:e.imports||Ve,exports:e.exports||Ve,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function Qe(e,t){return Fe((()=>{const n=at(e,!0);n.declarations=t.declarations||Ve,n.imports=t.imports||Ve,n.exports=t.exports||Ve}))}function et(e,t){if(null==e)return $e;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function tt(e){return Fe((()=>{const t=ut(e);return ct(t),t}))}function nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function rt(e){return e[Be]||null}function it(e){return e[Ue]||null}function ot(e){return e[He]||null}function st(e){const t=rt(e)||it(e)||ot(e);return null!==t&&t.standalone}function at(e,t){const n=e[ze]||null;if(!n&&!0===t)throw new Error(`Type ${S(e)} does not have 'ɵmod' property.`);return n}function ut(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||Ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:et(e.input
2s,t),outputs:et(e.outputs)}}function ct(e){e.features?.forEach((t=>t(e)))}function lt(e,t){if(!e)return null;const n=t?ot:Ke;return()=>("function"==typeof e?e():e).map((e=>n(e))).filter(Je)}const pt=0,dt=1,ht=2,ft=3,mt=4,gt=5,vt=6,yt=7,_t=8,bt=9,wt=10,Et=11,St=12,xt=13,Dt=14,Ct=15,Tt=16,kt=17,It=18,Ot=19,Mt=20,At=21,Nt=22,Pt=1,Rt=2,Ft=7,jt=9,Lt=10;function $t(e){return Array.isArray(e)&&"object"==typeof e[Pt]}function Vt(e){return Array.isArray(e)&&!0===e[Pt]}function Bt(e){return 0!=(4&e.flags)}function Ut(e){return e.componentOffset>-1}function Ht(e){return 1==(1&e.flags)}function zt(e){return!!e.template}function qt(e,t){Gt(e,t[dt])}function Gt(e,t){Wt(e),e.hasOwnProperty("tView_")&&z(e.tView_,t,"This TNode does not belong to this TView.")}function Wt(e){X(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||Q("Not of type TNode, got: "+e)}function Yt(e){X(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&Q("Object is not of TIcu type.")}function Zt(e){X(e,"currentTNode should exist!"),X(e.parent,"currentTNode should have a parent")}function Kt(e){X(e,"LContainer must be defined"),z(Vt(e),!0,"Expecting LContainer")}function Jt(e){e&&z($t(e),!0,"Expecting LView or undefined or null")}function Xt(e){X(e,"LView must be defined"),z($t(e),!0,"Expecting LView")}function Qt(e,t){z(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function en(e,t){z(e.firstUpdatePass,!0,t||"Should only be called in first update pass.")}function tn(e,t){nn(e[1].expandoStartIndex,e.length,t)}function nn(e,t,n){e<=n&&n<t||Q(`Index out of range (expecting ${e} <= ${n} < ${t})`)}function rn(e,t){X(e,t||"Component views should always have a parent view (component's host view)")}function on(e,t){tn(e,t),tn(e,t+8),V(e[t+0],"injectorIndex should point to a bloom filter"),V(e[t+1],"injectorIndex should point to a bloom filter"),V(e[t+2],"injectorIndex should point to a bloom filter"),V(e[t+3],"injectorIndex should point to a bloom filter"),V(e[t+4],"injectorIndex should point to a bloom filter"),V(e[t+5],"injectorIndex should point to a bloom filter"),V(e[t+6],"injectorIndex should point to a bloom filter"),V(e[t+7],"injectorIndex should point to a bloom filter"),V(e[t+8],"injectorIndex should point to parent injector")}function sn(e,t){const n=e.hasOwnProperty(qe);if(!n&&!0===t&&ngDevMode)throw new Error(`Type ${S(e)} does not have 'ɵfac' property.`);return n?e[qe]:null}class an{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function un(){return cn}function cn(e){return e.type.prototype.ngOnChanges&&(e.setInput=pn),ln}function ln(){const e=hn(this),t=e?.current;if(t){const n=e.previous;if(n===$e)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function pn(e,t,n,r){const i=this.declaredInputs[n];ngDevMode&&U(i,"Name of input in ngOnChanges has to be a string");const o=hn(e)||function(e,t){return e[dn]=t}(e,{previous:$e,current:null}),s=o.current||(o.current={}),a=o.previous,u=a[i];s[i]=new an(u&&u.currentValue,t,a===$e),e[r]=t}un.ngInherit=!0;const dn="__ngSimpleChanges__";function hn(e){return e[dn]||null}let fn=null;const mn=e=>{fn=e},gn=function(e,t,n){null!=fn&&fn(e,t,n)},vn="svg",yn="math";function _n(e){for(;Array.isArray(e);)e=e[pt];return e}function bn(e,t){return ngDevMode&&te(t,e),ngDevMode&&J(e,Nt,"Expected to be past HEADER_OFFSET"),_n(t[e])}function wn(e,t){ngDevMode&&qt(e,t),ngDevMode&&te(t,e.index);return _n(t[e.index])}function En(e,t){ngDevMode&&K(t,-1,"wrong index for TNode"),ngDevMode&&Y(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&Wt(n),n}function Sn(e,t){return ngDevMode&&te(e,t),e[t]}function xn(e,t){ngDevMode&&te(t,e);const n=t[e];return $t(n)?n:n[pt]}function Dn(e){return 4==(4&e[ht])}function Cn(e){return 64==(64&e[ht])}function Tn(e,t){return null==t?null:(ngDevMode&&te(e,t),e[t])}function kn(e){e[It]=0}function In(e,t){e[gt]+=t;let n=e,r=e[ft];for(;null!==r&&(1===t&&1===n[gt]||-1===t&&0===n[gt]);)r[gt]+=t,n=r,r=r[ft]}
2const On={lFrame:ur(null),bindingsEnabled:!0};let Mn=!1;function An(){return On.bindingsEnabled}function Nn(){On.bindingsEnabled=!0}function Pn(){On.bindingsEnabled=!1}function Rn(){return On.lFrame.lView}function Fn(){return On.lFrame.tView}function jn(e){return On.lFrame.contextLView=e,e[_t]}function Ln(e){return On.lFrame.contextLView=null,e}function $n(){let e=Vn();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vn(){return On.lFrame.currentTNode}function Bn(){const e=On.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Un(e,t){ngDevMode&&e&&Gt(e,On.lFrame.tView);const n=On.lFrame;n.currentTNode=e,n.isParent=t}function Hn(){return On.lFrame.isParent}function zn(){On.lFrame.isParent=!1}function qn(){return!ngDevMode&&Q("Must never be called in production mode"),Mn}function Gn(e){!ngDevMode&&Q("Must never be called in production mode"),Mn=e}function Wn(){const e=On.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yn(){return On.lFrame.bindingIndex}function Zn(e){return On.lFrame.bindingIndex=e}function Kn(){return On.lFrame.bindingIndex++}function Jn(e){const t=On.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xn(e){On.lFrame.inI18n=e}function Qn(e,t){const n=On.lFrame;n.bindingIndex=n.bindingRootIndex=e,er(t)}function er(e){On.lFrame.currentDirectiveIndex=e}function tr(e){const t=On.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function nr(){return On.lFrame.currentQueryIndex}function rr(e){On.lFrame.currentQueryIndex=e}function ir(e){const t=e[dt];return 2===t.type?(ngDevMode&&X(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===t.type?e[vt]:null}function or(e,t,n){if(ngDevMode&&Jt(e),n&fe.SkipSelf){ngDevMode&&Gt(t,e[dt]);let r=t,i=e;for(;!(ngDevMode&&X(r,"Parent TNode should be defined"),r=r.parent,null!==r||n&fe.Host||(r=ir(i),null===r)||(ngDevMode&&X(i,"Parent LView should be defined"),i=i[Ct],10&r.type)););if(null===r)return!1;t=r,e=i}ngDevMode&&qt(t,e);const r=On.lFrame=ar();return r.currentTNode=t,r.lView=e,!0}function sr(e){ngDevMode&&q(e[0],e[1],"????"),ngDevMode&&Jt(e);const t=ar();ngDevMode&&(z(t.isParent,!0,"Expected clean LFrame"),z(t.lView,null,"Expected clean LFrame"),z(t.tView,null,"Expected clean LFrame"),z(t.selectedIndex,-1,"Expected clean LFrame"),z(t.elementDepthCount,0,"Expected clean LFrame"),z(t.currentDirectiveIndex,-1,"Expected clean LFrame"),z(t.currentNamespace,null,"Expected clean LFrame"),z(t.bindingRootIndex,-1,"Expected clean LFrame"),z(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[dt];On.lFrame=t,ngDevMode&&n.firstChild&&Gt(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ar(){const e=On.lFrame,t=null===e?null:e.child;return null===t?ur(e):t}function ur(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cr(){const e=On.lFrame;return On.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lr=cr;function pr(){const e=cr();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dr(e){return(On.lFrame.contextLView=function(e,t){for(;e>0;)ngDevMode&&X(t[Ct],"Declaration view should be defined if nesting level is greater than 0."),t=t[Ct],e--;return t}(e,On.lFrame.contextLView))[_t]}function hr(){return On.lFrame.selectedIndex}function fr(e){ngDevMode&&-1!==e&&J(e,Nt,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&Y(e,On.lFrame.lView.length,"Can't set index passed end of LView"),On.lFrame.selectedIndex=e}function mr(){const e=On.lFrame;return En(e.tView,e.selectedIndex)}function gr(){On.lFrame.currentNamespace=vn}function vr(){On.lFrame.currentNamespace=yn}function yr(){On.lFrame.currentNamespace=null}function _r(e,t){ngDevMode&&Qt(e);for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];ngDevMode&&X(t,"Expecting DirectiveDef");const r=t.type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:a,ngOnDestroy:u}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-n,i),o&&((e.contentHooks??(e.contentHooks=[])).push(n,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,o)),s&&(e.viewHooks??(e.viewHooks=[])).push(-n,s),a&&((e.viewHooks??(e.viewHooks=[])).push(n,a),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,a)),null!=u&&(e.destroyHooks??(e.destroyHooks=[])).push(n,u)}}function br(e,t,n){Sr(e,t,3,n)}function wr(e,t,n,r){ngDevMode&&q(n,3,"Init pre-order hooks should not be called more than once"),(3&e[ht])===n&&Sr(e,t,n,r)}function Er(e,t){ngDevMode&&q(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=e[ht];(3&n)===t&&(n&=2047,n+=1,e[ht]=n)}function Sr(e,t,n,r){ngDevMode&&z(qn(),!1,"Hooks should never be run when in check no changes mode.");const i=void 0!==r?65535&e[It]:0,o=null!=r?r:-1,s=t.length-1;let a=0;for(let u=i;u<s;u++){if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else{t[u]<0&&(e[It]+=65536),(a<o||-1==o)&&(xr(e,n,t,u),e[It]=(4294901760&e[It])+u+2),u
2++}}}function xr(e,t,n,r){const i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];if(i){if(e[ht]>>11<e[It]>>16&&(3&e[ht])===t){e[ht]+=2048,gn(4,s,o);try{o.call(s)}finally{gn(5,s,o)}}}else{gn(4,s,o);try{o.call(s)}finally{gn(5,s,o)}}}const Dr=-1;class Cr{constructor(e,t,n){this.factory=e,this.resolving=!1,ngDevMode&&X(e,"Factory not specified"),ngDevMode&&z(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function Tr(e){let t="";return 1&e&&(t+="|Text"),2&e&&(t+="|Element"),4&e&&(t+="|Container"),8&e&&(t+="|ElementContainer"),16&e&&(t+="|Projection"),32&e&&(t+="|IcuContainer"),64&e&&(t+="|Placeholder"),t.length>0?t.substring(1):t}function kr(e,t,n){X(e,"should be called with a TNode"),0==(e.type&t)&&Q(n||`Expected [${Tr(t)}] but got ${Tr(e.type)}.`)}function Ir(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];ngDevMode&&ngDevMode.rendererSetAttribute++,e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];ngDevMode&&ngDevMode.rendererSetAttribute++,Mr(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}return r}function Or(e){return 3===e||4===e||6===e}function Mr(e){return 64===e.charCodeAt(0)}function Ar(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Nr(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Nr(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Pr(e){return e!==Dr}function Rr(e){ngDevMode&&V(e,"Number expected"),ngDevMode&&q(e,-1,"Not a valid state.");return ngDevMode&&K(32767&e,Nt,"Parent injector must be pointing past HEADER_OFFSET."),32767&e}function Fr(e,t){let n=e>>16;let r=t;for(;n>0;)r=r[Ct],n--;return r}let jr=!0;function Lr(e){const t=jr;return jr=e,t}const $r=255,Vr=5;let Br=0;const Ur={};function Hr(e,t){const n=qr(e,t);if(-1!==n)return n;const r=t[dt];r.firstCreatePass&&(e.injectorIndex=t.length,zr(r.data,e),zr(t,null),zr(r.blueprint,null));const i=Gr(e,t),o=e.injectorIndex;if(Pr(i)){const e=Rr(i),n=Fr(i,t),r=n[dt].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function zr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&te(t,e.injectorIndex),e.injectorIndex)}function Gr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ai(i),null===r)return Dr;if(ngDevMode&&r&&qt(r,i[Ct]),n++,i=i[Ct],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Dr}function Wr(e,t,n){!function(e,t,n){let r;ngDevMode&&z(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ge)&&(r=n[Ge]),null==r&&(r=n[Ge]=Br++);const i=r&$r,o=1<<i;t.data[e+(i>>Vr)]|=o}(e,t,n)}function Yr(e,t,n){if(n&fe.Optional||void 0!==e)return e;$(t,"NodeInjector")}function Zr(e,t,n,r){if(n&fe.Optional&&void 0===r&&(r=null),0==(n&(fe.Self|fe.Host))){const i=e[bt],o=ge(void 0);try{return i?i.get(t,r,n&fe.Optional):ve(t,r,n&fe.Optional)}finally{ge(o)}}return Yr(r,t,n)}function Kr(e,t,n,r=fe.Default,i){if(null!==e){if(1024&t[ht]){const i=function(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&1024&s[ht]&&!(256&s[ht]);){ngDevMode&&qt(o,s);const e=Jr(o,s,n,r|fe.Self,Ur);if(e!==Ur)return e;let t=o.parent;if(!t){const e=s[At];if(e){const t=e.get(n,Ur,r);if(t!==Ur)return t}t=ai(s),s=s[Ct]}o=t}return i}(e,t,n,r,Ur);if(i!==Ur)return i}const i=Jr(e,t,n,r,Ur);if(i!==Ur)return i}return Zr(t,n,r,i)}function Jr(e,t,n,r,i){const o=function(e){if(ngDevMode&&X(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ge)?e[Ge]:void 0;return"number"==typeof t?t>=0?t&$r:(ngDevMode&&z(t,-1,"Expecting to get Special Injector Id"),ii):t}(n);if("function"==typeof o){if(!or(t,e,r))return r&fe.Host?Yr(i,n,r):Zr(t,n,r,i);try{const e=o(r);if(null!=e||r&fe.Optional)return e;$(n)}finally{lr()}}else if("number"==typeof o){let i=null,s=qr(e,t),a=Dr,u=r&fe.Host?t[Tt][vt]:null;for((-1===s||r&fe.SkipSelf)&&(a=-1===s?Gr(e,t):t[s+8],a!==Dr&&ni(r,!1)?(i=t[dt],s=Rr(a),t=Fr(a,t)):s=-1);-1!==s;){ngDevMode&&on(t,s);const e=t[dt];
2if(ngDevMode&&qt(e.data[s+8],t),ti(o,s,e.data)){const e=Xr(s,t,n,i,r,u);if(e!==Ur)return e}a=t[s+8],a!==Dr&&ni(r,t[dt].data[s+8]===u)&&ti(o,s,t)?(i=e,s=Rr(a),t=Fr(a,t)):s=-1}}return i}function Xr(e,t,n,r,i,o){const s=t[dt],a=s.data[e+8],u=Qr(a,s,n,null==r?Ut(a)&&jr:r!=s&&0!=(3&a.type),i&fe.Host&&o===a);return null!==u?ei(t,s,u,a):Ur}function Qr(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=e.directiveEnd,l=o>>20,p=i?a+l:c;for(let e=r?a:a+l;e<p;e++){const t=s[e];if(e<u&&n===t||e>=u&&t.type===n)return e}if(i){const e=s[u];if(e&&zt(e)&&e.type===n)return u}return null}function ei(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof Cr){const s=i;s.resolving&&F(R(o[n]));const a=Lr(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?ge(s.injectImpl):null,c=or(e,r,fe.Default);ngDevMode&&z(c,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&function(e){void 0!==e.type&&null!=e.selectors&&void 0!==e.inputs||Q("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(o[n]),function(e,t,n){ngDevMode&&Qt(n);const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=cn(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t))}finally{null!==u&&ge(u),Lr(a),s.resolving=!1,lr()}}return i}function ti(e,t,n){const r=1<<e;return!!(n[t+(e>>Vr)]&r)}function ni(e,t){return!(e&fe.Self||e&fe.Host&&t)}class ri{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return Kr(this._tNode,this._lView,e,Ae(n),t)}}function ii(){return new ri($n(),Rn())}function oi(e){return Fe((()=>{const t=e.prototype.constructor,n=t[qe]||si(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[qe]||si(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e}))}function si(e){return k(e)?()=>{const t=si(T(e));return t&&t()}:sn(e)}function ai(e){const t=e[dt],n=t.type;return 2===n?(ngDevMode&&X(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===n?e[vt]:null}function ui(e){return function(e,t){if(ngDevMode&&kr(e,15),ngDevMode&&X(e,"expecting tNode"),"class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const i=n[r];if(Or(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(i===t)return n[r+1];r+=2}}}return null}($n(),e)}const ci="__annotations__",li="__parameters__",pi="__prop__metadata__";function di(e,t,n,r,i){return Fe((()=>{const o=hi(t);function s(...e){if(this instanceof s)return o.call(this,...e),this;const t=new s(...e);return function(n){i&&i(n,...e);return(n.hasOwnProperty(ci)?n[ci]:Object.defineProperty(n,ci,{value:[]})[ci]).push(t),r&&r(n),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}function hi(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function fi(e,t,n){return Fe((()=>{const r=hi(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(li)?e[li]:Object.defineProperty(e,li,{value:[]})[li];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}function mi(e,t,n,r){return Fe((()=>{const i=hi(t);function o(...e){if(this instanceof o)return i.apply(this,e),this;const t=new o(...e);return function(n,i){const o=n.constructor,s=o.hasOwnProperty(pi)?o[pi]:Object.defineProperty(o,pi,{value:{}})[pi];s[i]=s.hasOwnProperty(i)&&s[i]||[],s[i].unshift(t),r&&r(n,i,...e)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}const gi=fi("Attribute",(e=>({attributeName:e,__NG_ELEMENT_ID__:()=>ui(e)})));class vi{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&Y(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=re({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const yi=new vi("AnalyzeForEntryComponents");class _i{}const bi=mi("ContentChildren",((e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...t})),_i),wi=mi("ContentChild",((e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t})),_i),Ei=mi("ViewChildren",((e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...t})),_i),Si=mi("ViewChild",((e,t)=>
2({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t})),_i);var xi,Di,Ci;function Ti(e){const t=ye.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error(`JIT compilation failed for ${e.kind}`,e.type);let t=`The ${e.kind} '${e.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;throw 1===e.usage?(t+=`The ${e.kind} is part of a library that has been partially compiled.\n`,t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(xi||(xi={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(Di||(Di={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Ci||(Ci={}));const ki=Function;function Ii(e){return"function"==typeof e}function Oi(e){return e.flat(Number.POSITIVE_INFINITY)}function Mi(e,t){e.forEach((e=>Array.isArray(e)?Mi(e,t):t(e)))}function Ai(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ni(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ri(e,t,n){let r=ji(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){ngDevMode&&Z(t,e.length,"Can't insert past array end.");let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){const t=i-2;e[i]=e[t],i--}
2e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Fi(e,t){const n=ji(e,t);if(n>=0)return e[1|n]}function ji(e,t){return Li(e,t,1)}function Li(e,t,n){ngDevMode&&z(Array.isArray(e),!0,"Expecting an array");let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}const $i=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Bi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ui=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Hi{constructor(e){this._reflect=e||ye.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Pi(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(function(e){return $i.test(e)||Ui.test(e)||Vi.test(e)&&!Bi.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map((e=>e&&e.type)),r=e.map((e=>e&&zi(e.decorators)));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(li)&&e[li],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||r?this._zipTypesAndAnnotations(i,r):Pi(e.length)}parameters(e){if(!Ii(e))return[];const t=qi(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?zi(e.decorators):e.hasOwnProperty(ci)?e[ci]:null}annotations(e){if(!Ii(e))return[];const t=qi(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach((e=>{n[e]=zi(t[e])})),n}return e.hasOwnProperty(pi)?e[pi]:null}propMetadata(e){if(!Ii(e))return{};const t=qi(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach((t=>{n[t]=e[t]}))}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach((e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t})),n}ownPropMetadata(e){return Ii(e)&&this._ownPropMetadata(e,qi(e))||{}}hasLifecycleHook(e,t){return e instanceof ki&&t in e.prototype}}function zi(e){return e?e.map((e=>new(0,e.type.annotationCls)(...e.args?e.args:[]))):[]}function qi(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Gi=Pe(fi("Inject",(e=>({token:e}))),-1),Wi=Pe(fi("Optional"),8),Yi=Pe(fi("Self"),2),Zi=Pe(fi("SkipSelf"),4),Ki=Pe(fi("Host"),1);let Ji=null;function Xi(){return Ji=Ji||new Hi}function Qi(e){return eo(Xi().parameters(e))}function eo(e){return e.map((e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof Wi||"Optional"===i.ngMetadataName)t.optional=!0;else if(r instanceof Zi||"SkipSelf"===i.ngMetadataName)t.skipSelf=!0;else if(r instanceof Yi||"Self"===i.ngMetadataName)t.self=!0;else if(r instanceof Ki||"Host"===i.ngMetadataName)t.host=!0;else if(r instanceof Gi)t.token=r.token;else if(r instanceof gi){if(void 0===r.attributeName)throw new A(204,ngDevMode&&"Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}(e)))}function to(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const i=e(t);n.set(t,r=i.then(so))}return r}
2return no.forEach(((e,n)=>{const i=[];e.templateUrl&&i.push(r(e.templateUrl).then((t=>{e.template=t})));const o=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;o&&o.forEach(((t,n)=>{s.push(""),i.push(r(t).then((r=>{s[a+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));const u=Promise.all(i).then((()=>function(e){ro.delete(e)}(n)));t.push(u)})),oo(),Promise.all(t).then((()=>{}))}let no=new Map;const ro=new Set;function io(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function oo(){const e=no;return no=new Map,e}function so(e){return"string"==typeof e?e:e.text()}const ao=new Map;let uo=!0;function co(e,t){!function(e,t,n){if(t&&t!==n&&uo)throw new Error(`Duplicate module registered for ${e} - ${S(t)} vs ${S(t.name)}`)}(t,ao.get(t)||null,e),ao.set(t,e)}function lo(e){return ao.get(e)}function po(e){uo=!e}const ho={name:"custom-elements"},fo={name:"no-errors-schema"};let mo=!1;function go(e){mo=e}function vo(){return mo}let yo=!1;function _o(e){yo=e}function bo(){return yo}function wo(e,t,n,r){t||4!==n||(t="ng-template");const i=xo(r);let o=`Can't bind to '${e}' since it isn't a known property of '${t}'${Do(r)}.`;const s=`'${i?"@Component":"@NgModule"}.schemas'`,a=i?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared";if(Co.has(e)){o+=`\nIf the '${e}' is an Angular control flow directive, please make sure that either the '${Co.get(e)}' directive or the 'CommonModule' is ${a}.`}else o+=`\n1. If '${t}' is an Angular component and it has the '${e}' input, then verify that it is ${a}.`,t&&t.indexOf("-")>-1?(o+=`\n2. If '${t}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${s} of this component to suppress this message.`,o+=`\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the ${s} of this component.`):o+=`\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the ${s} of this component.`;Eo(o)}function Eo(e){if(yo)throw new A(303,e);console.error(N(303,e))}function So(e){!ngDevMode&&Q("Must never be called in production mode");const t=e[Tt][_t];return t&&t.constructor?rt(t.constructor):null}function xo(e){!ngDevMode&&Q("Must never be called in production mode");const t=So(e);return!!t?.standalone}function Do(e){!ngDevMode&&Q("Must never be called in production mode");const t=So(e),n=t?.type?.name;return n?` (used in the '${n}' component template)`:""}const Co=new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function To(e,t){if(null!==e)for(let n=0;n<e.length;n++){const r=e[n];if(r===fo||r===ho&&t&&t.indexOf("-")>-1)return!0}return!1}var ko;!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(ko||(ko={}));const Io=/^>|^->|<!--|-->|--!>|<!-$/g,Oo=/(<|>)/,Mo="​$1​";function Ao(e){return e.replace(Io,(e=>e.replace(Oo,Mo)))}const No=new Map;let Po=0;function Ro(e){return ngDevMode&&V(e,"ID used for LView lookup must be a number"),No.get(e)||null}class Fo{get lView(){return Ro(this.lViewId)}constructor(e,t,n){this.lViewId=e,this.nodeIndex=t,this.native=n}}function jo(e){let t=Uo(e);if(t){if($t(t)){const r=t;let i,o,s;if(zo(e)){if(i=Wo(r,e),-1==i)throw new Error("The provided component was not found in the application");o=e}else if((n=e)&&n.constructor&&n.constructor.ɵdir){if(i=function(e,t){let n=e[dt].firstChild;for(;n;){const r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(e[o]===t)return n.index;n=Go(n)}return-1}(r,e),-1==i)throw new Error("The provided directive was not found in the application");s=Yo(i,r)}else if(i=qo(r,e),-1==i)return null;const a=_n(r[i]),u=Uo(a),c=u&&!Array.isArray(u)?u:Lo(r,i,a);if(o&&void 0===c.component&&(c.component=o,Bo(c.component,c)),s&&void 0===c.directives){c.directives=s;for(let e=0;e<s.length;e++)Bo(s[e],c)}Bo(c.native,c),t=c}}else{const n=e;ngDevMode&&ee(n);let r=n;for(;r=r.parentNode;){const e=Uo(r);if(e){const r=Array.isArray(e)?e:e.lView;if(!r)return null;const i=qo(r,n);if(i>=0){const e=_n(r[i]),n=Lo(r,i,e);Bo(e,n),t=n;break}}}}var n;return t||null}function Lo(e,t,n){return new Fo(e[Mt],t,n)}function $o(e){let t,n=Uo(e);if($t(n)){const r=n,i=Wo(r,e);t=xn(i,r);const o=Lo(r,i,t[pt]);
2o.component=e,Bo(e,o),Bo(o.native,o)}else{const e=n,r=e.lView;ngDevMode&&Xt(r),t=xn(e.nodeIndex,r)}return t}const Vo="__ngContext__";function Bo(e,t){var n;ngDevMode&&X(e,"Target expected"),$t(t)?(e[Vo]=t[Mt],n=t,ngDevMode&&V(n[Mt],"LView must have an ID in order to be registered"),No.set(n[Mt],n)):e[Vo]=t}function Uo(e){ngDevMode&&X(e,"Target expected");const t=e[Vo];return"number"==typeof t?Ro(t):t||null}function Ho(e){const t=Uo(e);return t?$t(t)?t:t.lView:null}function zo(e){return e&&e.constructor&&e.constructor.ɵcmp}function qo(e,t){const n=e[dt];for(let r=Nt;r<n.bindingStartIndex;r++)if(_n(e[r])===t)return r;return-1}function Go(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Wo(e,t){const n=e[dt].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(xn(i,e)[_t]===t)return i}else{if(xn(Nt,e)[_t]===t)return Nt}return-1}function Yo(e,t){const n=t[dt].data[e];if(0===n.directiveStart)return Ve;const r=[];for(let e=n.directiveStart;e<n.directiveEnd;e++){const n=t[e];zo(n)||r.push(n)}return r}let Zo;function Ko(e,t){return Zo(e,t)}function Jo(e){ngDevMode&&Xt(e);const t=e[ft];return Vt(t)?t[ft]:t}function Xo(e){const t=function(e){ngDevMode&&X(e,"component");let t=$t(e)?e:Ho(e);for(;t&&!(256&t[ht]);)t=Jo(t);return ngDevMode&&Xt(t),t}(e);return ngDevMode&&X(t[_t],"Root view has no context. Perhaps it is disconnected?"),t[_t]}function Qo(e){return ts(e[xt])}function es(e){return ts(e[mt])}function ts(e){for(;null!==e&&!Vt(e);)e=e[mt];return e}function ns(e,t,n,r,i){if(null!=r){let o,s=!1;Vt(r)?o=r:$t(r)&&(s=!0,ngDevMode&&X(r[pt],"HOST must be defined for a component LView"),r=r[pt]);const a=_n(r);0===e&&null!==n?null==i?ms(t,n,a):fs(t,n,a,i||null,!0):1===e&&null!==n?fs(t,n,a,i||null,!0):2===e?Os(t,a,s):3===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(a)),null!=o&&function(e,t,n,r,i){ngDevMode&&Kt(n);const o=n[Ft],s=_n(n);o!==s&&ns(t,e,r,o,i);for(let i=Lt;i<n.length;i++){const s=n[i];As(s[dt],s,e,t,r,o)}}(t,e,o,n,i)}}function rs(e,t){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,e.createText(t)}function is(e,t,n){ngDevMode&&ngDevMode.rendererSetText++,e.setValue(t,n)}function os(e,t){return ngDevMode&&ngDevMode.rendererCreateComment++,e.createComment(Ao(t))}function ss(e,t,n){return ngDevMode&&ngDevMode.rendererCreateElement++,e.createElement(t,n)}function as(e,t,n,r){ngDevMode&&Xt(t),ngDevMode&&Kt(n);const i=Lt+r,o=n.length;r>0&&(n[i-1][mt]=t),r<o-Lt?(t[mt]=n[i],Ai(n,Lt+r,t)):(n.push(t),t[mt]=null),t[ft]=n;const s=t[kt];null!==s&&n!==s&&function(e,t){ngDevMode&&X(t,"LView required"),ngDevMode&&Kt(e);const n=e[jt],r=t[ft];ngDevMode&&Kt(r);const i=r[ft][Tt];ngDevMode&&X(i,"Missing insertedComponentLView");const o=t[Tt];ngDevMode&&X(o,"Missing declaredComponentLView"),o!==i&&(e[Rt]=!0);null===n?e[jt]=[t]:n.push(t)}(s,t);const a=t[Ot];null!==a&&a.insertView(e),t[ht]|=64}function us(e,t){ngDevMode&&Kt(e),ngDevMode&&X(e[jt],"A projected view should belong to a non-empty projected views collection");const n=e[jt],r=n.indexOf(t),i=t[ft];ngDevMode&&Kt(i),512&t[ht]&&(t[ht]&=-513,In(i,-1)),n.splice(r,1)}function cs(e,t){if(e.length<=Lt)return;const n=Lt+t,r=e[n];if(r){const o=r[kt];null!==o&&o!==e&&us(o,r),t>0&&(e[n-1][mt]=r[mt]);const s=Ni(e,Lt+t);As(r[dt],i=r,i[Et],2,null,null),i[pt]=null,i[vt]=null;const a=s[Ot];null!==a&&a.detachView(s[dt]),r[ft]=null,r[mt]=null,r[ht]&=-65}var i;return r}function ls(e,t){if(!(128&t[ht])){const n=t[Et];n.destroyNode&&As(e,t,n,3,null,null),function(e){let t=e[xt];if(!t)return ps(e[dt],e);for(;t;){let n=null;if($t(t))n=t[xt];else{ngDevMode&&Kt(t);const e=t[Lt];e&&(n=e)}if(!n){for(;t&&!t[mt]&&t!==e;)$t(t)&&ps(t[dt],t),t=t[ft];null===t&&(t=e),$t(t)&&ps(t[dt],t),n=t&&t[mt]}t=n}}(t)}}function ps(e,t){if(!(128&t[ht])){t[ht]&=-65,t[ht]|=128,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const r=t[n[e]];if(!(r instanceof Cr)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=r[t[e]],i=t[e+1];gn(4,n,i);
2try{i.call(n)}finally{gn(5,n,i)}}else{gn(4,r,t);try{t.call(r)}finally{gn(5,r,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[yt];let i=-1;if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const t=n[e+3];ngDevMode&&V(t,"cleanup target must be a number"),t>=0?r[i=t]():r[i=-t].unsubscribe(),e+=2}else{const t=r[i=n[e+1]];n[e].call(t)}if(null!==r){for(let e=i+1;e<r.length;e++){const t=r[e];ngDevMode&&H(t,"Expecting instance cleanup function."),t()}t[yt]=null}}(e,t),1===t[dt].type&&(ngDevMode&&ngDevMode.rendererDestroy++,t[Et].destroy());const n=t[kt];if(null!==n&&Vt(t[ft])){n!==t[ft]&&us(n,t);const r=t[Ot];null!==r&&r.detachView(e)}!function(e){ngDevMode&&V(e[Mt],"Cannot stop tracking an LView that does not have an ID"),No.delete(e[Mt])}(t)}}function ds(e,t,n){return hs(e,t.parent,n)}function hs(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[pt];{ngDevMode&&kr(r,7);const{componentOffset:t}=r;if(t>-1){ngDevMode&&qt(r,n);const{encapsulation:i}=e.data[r.directiveStart+t];if(i===Le.None||i===Le.Emulated)return null}return wn(r,n)}}function fs(e,t,n,r,i){ngDevMode&&ngDevMode.rendererInsertBefore++,e.insertBefore(t,n,r,i)}function ms(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&X(t,"parent node must be defined"),e.appendChild(t,n)}function gs(e,t,n,r,i){null!==r?fs(e,t,n,r,i):ms(e,t,n)}function vs(e,t){return e.parentNode(t)}function ys(e,t,n){return xs(e,t,n)}
2function _s(e,t,n){return 40&e.type?wn(e,n):null}let bs,ws,Es,Ss,xs=_s;function Ds(e,t){xs=e,bs=t}function Cs(e,t,n,r){const i=ds(e,r,t),o=t[Et],s=ys(r.parent||t[vt],r,t);if(null!=i)if(Array.isArray(n))for(let e=0;e<n.length;e++)gs(o,i,n[e],s,!1);else gs(o,i,n,s,!1);void 0!==bs&&bs(o,r,t,n,i)}function Ts(e,t){if(null!==t){ngDevMode&&kr(t,63);const n=t.type;if(3&n)return wn(t,e);if(4&n)return Is(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Ts(e,n);{const n=e[t.index];return Vt(n)?Is(-1,n):_n(n)}}if(32&n){return Ko(t,e)()||_n(e[t.index])}{const n=ks(e,t);if(null!==n){if(Array.isArray(n))return n[0];const t=Jo(e[Tt]);return ngDevMode&&rn(t),Ts(t,n)}return Ts(e,t.next)}}return null}function ks(e,t){if(null!==t){const n=e[Tt][vt],r=t.projection;return ngDevMode&&function(e,t){X(e[Tt],"Component views should exist."),X(e[Tt][vt].projection,t||"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),n.projection[r]}return null}function Is(e,t){const n=Lt+e+1;if(n<t.length){const e=t[n],r=e[dt].firstChild;if(null!==r)return Ts(e,r)}return t[Ft]}function Os(e,t,n){ngDevMode&&ngDevMode.rendererRemoveNode++;const r=vs(e,t);r&&function(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function Ms(e,t,n,r,i,o,s){for(;null!=n;){ngDevMode&&qt(n,r),ngDevMode&&kr(n,63);const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Bo(_n(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Ms(e,t,n.child,r,i,o,!1),ns(t,e,i,a,o);else if(32&u){const s=Ko(n,r);let u;for(;u=s();)ns(t,e,i,u,o);ns(t,e,i,a,o)}else 16&u?Ns(e,t,r,n,i,o):(ngDevMode&&kr(n,7),ns(t,e,i,a,o));n=s?n.projectionNext:n.next}}function As(e,t,n,r,i,o){Ms(n,r,e.firstChild,t,i,o,!1)}function Ns(e,t,n,r,i,o){const s=n[Tt],a=s[vt];ngDevMode&&z(typeof r.projection,"number","expecting projection index");const u=a.projection[r.projection];if(Array.isArray(u))for(let n=0;n<u.length;n++){ns(t,e,i,u[n],o)}else{Ms(e,t,u,s[ft],i,o,!0)}}function Ps(e,t,n){ngDevMode&&U(n,"'newValue' should be a string"),""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n),ngDevMode&&ngDevMode.rendererSetClassName++}function Rs(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Ir(e,t,r),null!==i&&Ps(e,t,i),null!==o&&function(e,t,n){ngDevMode&&U(n,"'newValue' should be a string"),e.setAttribute(t,"style",n),ngDevMode&&ngDevMode.rendererSetStyle++}(e,t,o)}function Fs(){if(void 0===ws&&(ws=null,ye.trustedTypes))try{ws=ye.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ws}function js(e){return Fs()?.createHTML(e)||e}function Ls(e,t,n){const r=Rn(),i=mr(),o=wn(i,r);if(2===i.type&&"iframe"===t.toLowerCase()){const e=o;e.src="",e.srcdoc=js(""),Os(r[Et],e);const t=ngDevMode&&`Angular has detected that the \`${n}\` was applied as a binding to an <iframe>${Do(r)}. For security reasons, the \`${n}\` can be set on an <iframe> as a static attribute only. \nTo fix this, switch the \`${n}\` binding to a static attribute in a template or in host bindings section.`;throw new A(-910,t)}return e}function $s(e){Es=e}function Vs(){return void 0!==Es?Es:"undefined"!=typeof document?document:void 0}function Bs(){if(void 0===Ss&&(Ss=null,ye.trustedTypes))try{Ss=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ss}function Us(e){return Bs()?.createHTML(e)||e}function Hs(e){return Bs()?.createScript(e)||e}function zs(e){return Bs()?.createScriptURL(e)||e}class qs{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${M})`}}class Gs extends qs{getTypeName(){return"HTML"}}class Ws extends qs{getTypeName(){return"Style"}}class Ys extends qs{getTypeName(){return"Script"}}class Zs extends qs{getTypeName(){return"URL"}}class Ks extends qs{getTypeName(){return"ResourceURL"}}function Js(e){return e instanceof qs?e.changingThisBreaksApplicationSecurity:e}function Xs(e,t){const n=Qs(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${M})`)}return n===t}function Qs(e){return e instanceof qs&&e.getTypeName()||null}function ea(e){return new Gs(e)}function ta(e){return new Ws(e)}function na(e){return new Ys(e)}function ra(e){return new Zs(e)}function ia(e){return new Ks(e)}function oa(e){const t=new aa(e);return function(){try{return!!(new window.DOMParser).parseFromString(js(""),"text/html")}catch{return!1}}
2()?new sa(t):t}class sa{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(js(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class aa{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=js(e),t}}const ua=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ca(e){return(e=String(e)).match(ua)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see ${M})`),"unsafe:"+e)}function la(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function pa(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const da=la("area,br,col,hr,img,wbr"),ha=la("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fa=la("rp,rt"),ma=pa(fa,ha),ga=pa(ha,la("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")),va=pa(fa,la("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")),ya=pa(da,ga,va,ma),_a=la("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ba=la("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"),wa=la("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"),Ea=pa(_a,ba,wa),Sa=la("script,style,template");class xa{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!ya.hasOwnProperty(t))return this.sanitizedSomething=!0,!Sa.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),r=t.name,i=r.toLowerCase();if(!Ea.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=t.value;_a[i]&&(o=ca(o)),this.buf.push(" ",r,'="',Ta(o),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ya.hasOwnProperty(t)&&!da.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ta(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Da=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ca=/([^\#-~ |!])/g;function Ta(e){return e.replace(/&/g,"&amp;").replace(Da,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ca,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ka;function Ia(e,t){let n=null;try{ka=ka||oa(e);let r=t?String(t):"";n=ka.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ka.getInertBodyElement(r)}while(r!==o);const s=new xa,a=s.sanitizeChildren(Oa(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&s.sanitizedSomething&&console.warn(`WARNING: sanitizing HTML stripped some content, see ${M}`),js(a)}finally{if(n){const e=Oa(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}
2function Oa(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ma;function Aa(e){const t=Va();return t?Us(t.sanitize(Ma.HTML,e)||""):Xs(e,"HTML")?Us(Js(e)):Ia(Vs(),P(e))}function Na(e){const t=Va();return t?t.sanitize(Ma.STYLE,e)||"":Xs(e,"Style")?Js(e):P(e)}function Pa(e){const t=Va();return t?t.sanitize(Ma.URL,e)||"":Xs(e,"URL")?Js(e):ca(P(e))}function Ra(e){const t=Va();if(t)return zs(t.sanitize(Ma.RESOURCE_URL,e)||"");if(Xs(e,"ResourceURL"))return zs(Js(e));throw new A(904,ngDevMode&&`unsafe value used in a resource URL context (see ${M})`)}function Fa(e){const t=Va();if(t)return Hs(t.sanitize(Ma.SCRIPT,e)||"");if(Xs(e,"Script"))return Hs(Js(e));throw new A(905,ngDevMode&&"unsafe value used in a script context")}function ja(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted HTML constant: ${e.join("?")}`);return js(e[0])}function La(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error(`Unexpected interpolation in trusted URL constant: ${e.join("?")}`);return function(e){return Fs()?.createScriptURL(e)||e}(e[0])}function $a(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ra:Pa}(t,n)(e)}function Va(){const e=Rn();return e&&e[St]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ma||(Ma={}));const Ba=new vi("ENVIRONMENT_INITIALIZER"),Ua=new vi("INJECTOR",-1),Ha=new vi("INJECTOR_DEF_TYPES");class za{get(e,t=be){if(t===be){const t=new Error(`NullInjectorError: No provider for ${S(e)}!`);throw t.name="NullInjectorError",t}return t}}function qa(e){return{"ɵproviders":e}}function Ga(...e){return{"ɵproviders":Wa(!0,e),"ɵfromNgModule":!0}}function Wa(e,...t){const n=[],r=new Set;let i;return Mi(t,(t=>{if(("undefined"==typeof ngDevMode||ngDevMode)&&e){const e=rt(t);if(e?.standalone)throw new A(800,`Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${R(t)}"`)}const o=t;Za(o,n,[],r)&&(i||(i=[]),i.push(o))})),void 0!==i&&Ya(i,n),n}function Ya(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Ja(i,(e=>{ngDevMode&&Ka(e,i||Ve,r),t.push(e)}))}}function Za(e,t,n,r){if(!(e=T(e)))return!1;let i=null,o=ce(e);const s=!o&&rt(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const t=e.ngModule;if(o=ce(t),!o)return!1;i=t}if(ngDevMode&&-1!==n.indexOf(i)){F(S(i),n.map(S))}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const e="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const i of e)Za(i,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let e;ngDevMode&&n.push(i),r.add(i);try{Mi(o.imports,(i=>{Za(i,t,n,r)&&(e||(e=[]),e.push(i))}))}finally{ngDevMode&&n.pop()}void 0!==e&&Ya(e,t)}if(!a){const e=sn(i)||(()=>new i);t.push({provide:i,useFactory:e,deps:Ve},{provide:Ha,useValue:i,multi:!0},{provide:Ba,useValue:()=>Ie(i),multi:!0})}const s=o.providers;if(null!=s&&!a){const n=e;Ja(s,(e=>{ngDevMode&&Ka(e,s,n),t.push(e)}))}}}return i!==e&&void 0!==e.providers}function Ka(e,t,n){if(nu(e)||Qa(e)||tu(e)||eu(e))return;T(e&&(e.useClass||e.provide))||L(n,t,e)}function Ja(e,t){for(let n of e)I(n)&&(n=n.ɵproviders),Array.isArray(n)?Ja(n,t):t(n)}const Xa=w({provide:String,useValue:w});function Qa(e){return null!==e&&"object"==typeof e&&Xa in e}function eu(e){return!(!e||!e.useExisting)}function tu(e){return!(!e||!e.useFactory)}function nu(e){return"function"==typeof e}const ru=new vi("Set Injector scope."),iu={},ou={};let su;function au(){return void 0===su&&(su=new za),su}class uu{}class cu extends uu{get destroyed(){return this._destroyed}constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hu(e,(e=>this.processProvider(e))),this.records.set(Ua,du(void 0,this)),r.has("environment")&&this.records.set(uu,du(void 0,this));const i=this.records.get(ru);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ha.multi,Ve,fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=Te(this),n=ge(void 0);try{return e()}finally{Te(t),ge(n)}}
2get(e,t=be,n=fe.Default){this.assertNotDestroyed(),n=Ae(n);const r=Te(this),i=ge(void 0);try{if(!(n&fe.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(o=e)||"object"==typeof o&&o instanceof vi)&&se(e);t=n&&this.injectableDefInScope(n)?du(lu(e),iu):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const r=n&fe.Self?au():this.parent;return t=n&fe.Optional&&t===be?null:t,r.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t[Ee]=t[Ee]||[]).unshift(S(e)),r)throw t;return Re(t,e,"R3InjectorError",this.source)}throw t}finally{ge(i),Te(r)}var o}resolveInjectorInitializers(){const e=Te(this),t=ge(void 0);try{const e=this.get(Ba.multi,Ve,fe.Self);if(ngDevMode&&!Array.isArray(e))throw new A(-209,`Unexpected type of the \`ENVIRONMENT_INITIALIZER\` token value (expected an array, but got ${typeof e}). Please check that the \`ENVIRONMENT_INITIALIZER\` token is configured as a \`multi: true\` provider.`);for(const t of e)t()}finally{Te(e),ge(t)}}toString(){const e=[],t=this.records;for(const n of t.keys())e.push(S(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,ngDevMode&&"Injector has already been destroyed.")}processProvider(e){let t=nu(e=T(e))?e:T(e&&e.provide);const n=function(e){if(Qa(e))return du(void 0,e.useValue);return du(pu(e),iu)}(e);if(nu(e)||!0!==e.multi){const e=this.records.get(t);ngDevMode&&e&&void 0!==e.multi&&j()}else{let n=this.records.get(t);n?ngDevMode&&void 0===n.multi&&j():(n=du(void 0,iu,!0),n.factory=()=>Ne(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t){var n;return ngDevMode&&t.value===ou?F(S(e)):t.value===iu&&(t.value=ou,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=T(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function lu(e){const t=se(e),n=null!==t?t.factory:sn(e);if(null!==n)return n;if(e instanceof vi)throw new A(204,ngDevMode&&`Token ${S(e)} is missing a ɵprov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Pi(t,"?");throw new A(204,ngDevMode&&`Can't resolve all parameters for ${S(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[le]||e[de]);return t?(ngDevMode&&console.warn(`DEPRECATED: DI is instantiating a token "${e.name}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e.name}" class.`),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new A(204,ngDevMode&&"unreachable")}function pu(e,t,n){let r;if(ngDevMode&&I(e)&&L(void 0,n,e),nu(e)){const t=T(e);return sn(t)||lu(t)}if(Qa(e))r=()=>T(e.useValue);else if(tu(e))r=()=>e.useFactory(...Ne(e.deps||[]));else if(eu(e))r=()=>Ie(T(e.useExisting));else{const i=T(e&&(e.useClass||e.provide));if(ngDevMode&&!i&&L(t,n,e),!e.deps)return sn(i)||lu(i);r=()=>new i(...Ne(e.deps))}return r}function du(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hu(e,t){for(const n of e)Array.isArray(n)?hu(n,t):n&&I(n)?hu(n.ɵproviders,t):t(n)}class fu{}class mu{}const gu="ngComponent";class vu{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${S(e)}. Did you add it to @NgModule.entryComponents?`);return t[gu]=e,t}(e)}}class yu{}function _u(e,t){return new bu(wn(e,t))}yu.NULL=new vu;class bu{constructor(e){this.nativeElement=e}}function wu(e){return e instanceof bu?e.nativeElement:e}bu.__NG_ELEMENT_ID__=function(){return _u($n(),Rn())};class Eu{}class Su{}Su.__NG_ELEMENT_ID__=()=>function(){const e=Rn(),t=xn($n().index,e);return($t(t)?t:e)[Et]}();class xu{}xu.ɵprov=re({token:xu,providedIn:"root",factory:()=>null});class Du{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Cu=new Du("15.2.10"),Tu={},ku="ngOriginalError";function Iu(e){return e[ku]}class Ou{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Iu(e);for(;t&&Iu(t);)t=Iu(t);return t||null}}function Mu(e){var t;return t=e.replace(/[$@]/g,"_"),`ng-reflect-${e=t.replace(Au,((...e)=>"-"+e[1].toLowerCase()))}`}const Au=/([A-Z])/g;function Nu(e){return e.ownerDocument.defaultView}function Pu(e){return e.ownerDocument}function Ru(e){return e.ownerDocument.body}const Fu="�";function ju(e){return e instanceof Function?e():e}function Lu(e){if(!rt(e))throw new A(906,`The ${R(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function $u(e,t,n){throw new A(-300,`Multiple components match node with tagname ${e.value}: ${R(t)} and ${R(n)}`)}function Vu(e,t,n,r,i){const[o,s,...a]=r.split(Fu);let u=s,c=s;for(let r=0;r<a.length;r++){const o=t+r;u+=`${e[o]}${a[r]}`,c+=`${o===n?i:e[o]}${a[r]}`}return{propName:o,oldValue:u,newValue:c}}function Bu(e,t,n){ngDevMode&&q(t,"",'can not look for "" string.');let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const Uu="ng-template";function Hu(e,t,n){ngDevMode&&z(t,t.toLowerCase(),"Class name expected to be lowercase.");let r=0,i=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&i){const i=e[r++];if(n&&"class"===o&&-1!==Bu(i.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);
2)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(i=!1)}}return!1}function zu(e){return 4===e.type&&e.value!==Uu}function qu(e,t,n){return t===(4!==e.type||n?e.value:Uu)}function Gu(e,t,n){ngDevMode&&X(t[0],"Selector should have a tag name");let r=4;const i=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++){if(Or(e[t]))return t}return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!qu(e,u,n)||""===u&&1===t.length){if(Wu(r))return!1;s=!0}}else{const c=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!Hu(e.attrs,c,n)){if(Wu(r))return!1;s=!0}continue}const l=Yu(8&r?"class":u,i,zu(e),n);if(-1===l){if(Wu(r))return!1;s=!0;continue}if(""!==c){let e;l>o?e="":(ngDevMode&&q(i[l],0,"We do not match directives on namespaced attributes"),e=i[l+1].toLowerCase());const t=8&r?e:null;if(t&&-1!==Bu(t,c,0)||2&r&&c!==e){if(Wu(r))return!1;s=!0}}}}else{if(!s&&!Wu(r)&&!Wu(u))return!1;if(s&&Wu(u))continue;s=!1,r=u|1&r}}return Wu(r)||s}function Wu(e){return 0==(1&e)}function Yu(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;
2if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zu(e,t,n=!1){for(let r=0;r<t.length;r++)if(Gu(e,t[r],n))return!0;return!1}function Ku(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Ju(e,t){return e?":not("+t.trim()+")":t}function Xu(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];i+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||Wu(s)||(t+=Ju(o,i),i=""),r=s,o=o||!Wu(r);n++}return""!==i&&(t+=Ju(o,i)),t}const Qu="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function ec(e){ngDevMode&&K(e,0,"Can only advance forward"),tc(Fn(),Rn(),hr()+e,!!ngDevMode&&qn())}function tc(e,t,n,r){if(ngDevMode&&function(e,t){const n=e[1];nn(Nt,n.bindingStartIndex,t)}(t,n),!r){if(3==(3&t[ht])){const r=e.preOrderCheckHooks;null!==r&&br(t,r,n)}else{const r=e.preOrderHooks;null!==r&&wr(t,r,0,n)}}fr(n)}const nc={"ɵɵdefineInjectable":re,"ɵɵdefineInjector":oe,"ɵɵinject":Ie,"ɵɵinvalidFactoryDep":Oe,resolveForwardRef:T};function rc(e,t){let n=null,r=null;e.hasOwnProperty(le)||Object.defineProperty(e,le,{get:()=>{if(null===n){const r=Ti({usage:0,kind:"injectable",type:e});n=r.compileInjectable(nc,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};(oc(n)||sc(n))&&void 0!==n.deps&&(r.deps=eo(n.deps));oc(n)?r.useClass=n.useClass:!function(e){return ic in e}(n)?sc(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting):r.useValue=n.useValue;return r}(e,t))}return n}}),e.hasOwnProperty(qe)||Object.defineProperty(e,qe,{get:()=>{if(null===r){const t=Ti({usage:0,kind:"injectable",type:e});r=t.compileFactory(nc,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Qi(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})}const ic=w({provide:String,useValue:w});function oc(e){return void 0!==e.useClass}function sc(e){return void 0!==e.useFactory}const ac=di("Injectable",void 0,void 0,void 0,((e,t)=>rc(e,t)));function uc(e,t=null,n=null,r){const i=cc(e,t,n,r);return i.resolveInjectorInitializers(),i}function cc(e,t=null,n=null,r,i=new Set){const o=[n||Ve,Ga(e)];return r=r||("object"==typeof e?void 0:S(e)),new cu(o,t||au(),r||null,i)}class lc{static create(e,t){if(Array.isArray(e))return uc({name:""},t,e,"");{const t=e.name??"";return uc({name:t},e.parent,e.providers,t)}}}function pc(e){if(e.length>1){return" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((e=>S(e.token))).join(" -> ")+")"}return""}function dc(e,t,n,r){const i=[t],o=n(i),s=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[ku]=t,r}(o,r):Error(o);return s.addKey=hc,s.keys=i,s.injectors=[e],s.constructResolvingMessage=n,s[ku]=r,s}function hc(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function fc(e,t){const n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];r&&0!=r.length?n.push(r.map(S).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+S(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+S(e)+"' is decorated with Injectable.")}function mc(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}lc.THROW_IF_NOT_FOUND=be,lc.NULL=new za,lc.ɵprov=re({token:lc,providedIn:"any",factory:()=>Ie(Ua)}),lc.__NG_ELEMENT_ID__=-1;class gc{constructor(e,t){if(this.token=e,this.id=t,!e)throw new A(208,ngDevMode&&"Token must be defined!");this.displayName=S(this.token)}static get(e){return vc.get(T(e))}static get numberOfKeys(){return vc.numberOfKeys}}const vc=new class{constructor(){this._allKeys=new Map}get(e){if(e instanceof gc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new gc(e,gc.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};class yc{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new yc(e,!1,null)}}const _c=[];class bc{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class wc{constructor(e,t){this.factory=e,this.dependencies=t}}function Ec(e){let t,n;if(e.useClass){const r=T(e.useClass);t=Xi().factory(r),n=Cc(r)}else e.useExisting?(t=e=>e,n=[yc.fromKey(gc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map((e=>[e]));return t.map((t=>
2Tc(e,t,n)))}return Cc(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=_c);return new wc(t,n)}function Sc(e){return new bc(gc.get(e.provide),[Ec(e)],e.multi||!1)}function xc(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw mc(i,r);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)i.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new bc(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(Dc(e,[]).map(Sc),new Map);return Array.from(t.values())}function Dc(e,t){return e.forEach((e=>{if(e instanceof ki)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`);Dc(e,t)}})),t}function Cc(e){const t=Xi().parameters(e);if(!t)return[];if(t.some((e=>null==e)))throw fc(e,t);return t.map((n=>Tc(e,n,t)))}function Tc(e,t,n){let r=null,i=!1;if(!Array.isArray(t))return kc(t instanceof Gi?t.token:t,i,null);let o=null;for(let e=0;e<t.length;++e){const n=t[e];n instanceof ki?r=n:n instanceof Gi?r=n.token:n instanceof Wi?i=!0:n instanceof Yi||n instanceof Zi?o=n:n instanceof vi&&(r=n)}if(r=T(r),null!=r)return kc(r,i,o);throw fc(e,n)}function kc(e,t,n){return new yc(gc.get(e),t,n)}const Ic={};class Oc{static resolve(e){return xc(e)}static resolveAndCreate(e,t){const n=Oc.resolve(e);return Oc.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Mc(e,t)}}class Mc{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let t=0;t<n;t++)this.keyIds[t]=e[t].key.id,this.objs[t]=Ic}get(e,t=be){return this._getByKey(gc.get(e),null,t)}resolveAndCreateChild(e){const t=Oc.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new Mc(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(Oc.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,dc(t,n,(function(e){return`Cannot instantiate cyclic dependency!${pc(e)}`}));var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,i;try{r=t.dependencies.map((e=>this._getByReflectiveDependency(e)))}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{i=n(...r)}catch(t){throw o=this,s=t,t.stack,a=e.key,dc(o,a,(function(e){const t=S(e[0].token);return`${s.message}: Error during instantiation of ${t}!${pc(e)}.`}),s)}var o,s,a;return i}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:be)}_getByKey(e,t,n){return e===Mc.INJECTOR_KEY?this:t instanceof Yi?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Ic&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Ic}_throwOrNull(e,t){if(t!==be)return t;throw function(e,t){return dc(e,t,(function(e){return`No provider for ${S(e[0].token)}!${pc(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==Ic?n:this._throwOrNull(e,t)}_getByKeyDefault(e,t,n){let r;for(r=n instanceof Zi?this.parent:this;r instanceof Mc;){const t=r,n=t._getObjByKeyId(e.id);if(n!==Ic)return n;r=t.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,(e=>' "'+e.key.displayName+'" ')).join(", ")}])`}toString(){return this.displayName}}function Ac(e,t=fe.Default){const n=Rn();if(null===n)return ngDevMode&&(r=Ac,ngDevMode&&q(me,r,"Calling ɵɵinject would cause infinite recursion")),Ie(e,t);var r;return Kr($n(),n,T(e),t)}function Nc(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function Pc(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];ngDevMode&&X(n,"DirectiveDef not found."),ngDevMode&&X(n.contentQueries,"contentQueries function should be defined"),rr(i),n.contentQueries(2,t[o],o)}}}function Rc(e,t,n,r,i,o,s,a,u,c,l){const p=t.blueprint.slice();
2return p[pt]=i,p[ht]=76|r,(null!==l||e&&1024&e[ht])&&(p[ht]|=1024),kn(p),ngDevMode&&t.declTNode&&e&&qt(t.declTNode,e),p[ft]=p[Ct]=e,p[_t]=n,p[wt]=s||e&&e[wt],ngDevMode&&X(p[wt],"RendererFactory is required"),p[Et]=a||e&&e[Et],ngDevMode&&X(p[Et],"Renderer is required"),p[St]=u||e&&e[St]||null,p[bt]=c||e&&e[bt]||null,p[vt]=o,p[Mt]=Po++,p[At]=l,ngDevMode&&z(2!=t.type||null!==e,!0,"Embedded views must have parentLView"),p[Tt]=2==t.type?e[Tt]:p,p}function Fc(e,t,n,r,i){ngDevMode&&0!==t&&J(t,Nt,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&Q(`Expected TNodeType to have only a single type selected, but got ${Tr(e)}.`)}(n);let o=e.data[t];if(null===o)o=jc(e,t,n,r,i),On.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=Bn();o.injectorIndex=null===s?-1:s.injectorIndex,ngDevMode&&Gt(o,e),ngDevMode&&z(t,o.index,"Expecting same index")}return Un(o,!0),o}function jc(e,t,n,r,i){const o=Vn(),s=Hn(),a=s?o:o&&o.parent,u=e.data[t]=function(e,t,n,r,i,o){ngDevMode&&0!==r&&J(r,Nt,"TNodes can't be in the LView header."),ngDevMode&&W(o,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&ngDevMode.tNode++,ngDevMode&&t&&Gt(t,e);let s=t?t.injectorIndex:-1;const a={type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};ngDevMode&&Object.seal(a);return a}(e,a,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==o&&(s?null==o.child&&null!==u.parent&&(o.child=u):null===o.next&&(o.next=u,u.prev=o)),u}function Lc(e,t,n,r){if(0===n)return-1;ngDevMode&&(Qt(e),G(e,t[dt],"`LView` must be associated with `TView`!"),z(e.data.length,t.length,"Expecting LView to be same size as TView"),z(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),en(e));const i=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function $c(e,t,n){ngDevMode&&z(Dn(t),!0,"Should be run in creation mode"),sr(t);try{const r=e.viewQuery;null!==r&&vl(1,r,n);const i=e.template;null!==i&&Bc(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Pc(e,t),e.staticViewQueries&&vl(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)dl(e,t[n])}(t,o)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[ht]&=-5,pr()}}function Vc(e,t,n,r){ngDevMode&&z(Dn(t),!1,"Should be run in update mode");const i=t[ht];if(128==(128&i))return;sr(t);const o=ngDevMode&&qn();try{kn(t),Zn(e.bindingStartIndex),null!==n&&Bc(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&br(t,n,null)}else{const n=e.preOrderHooks;null!==n&&wr(t,n,0,null),Er(t,0)}if(function(e){for(let t=Qo(e);null!==t;t=es(t)){if(!t[Rt])continue;const e=t[jt];ngDevMode&&X(e,"Transplanted View flags set but missing MOVED_VIEWS");for(let t=0;t<e.length;t++){const n=e[t],r=n[ft];ngDevMode&&Kt(r),0==(512&n[ht])&&In(r,1),n[ht]|=512}}}(t),function(e){for(let t=Qo(e);null!==t;t=es(t))for(let e=Lt;e<t.length;e++){const n=t[e],r=n[dt];ngDevMode&&X(r,"TView must be allocated"),Cn(n)&&Vc(r,n,r.template,n[_t])}}(t),null!==e.contentQueries&&Pc(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&br(t,n)}else{const n=e.contentHooks;null!==n&&wr(t,n,1),Er(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)fr(~r);else{const i=r,o=n[++e],s=n[++e];Qn(o,i),s(2,t[i])}}}finally{fr(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)ll(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&vl(2,u,r),!o)if(s){const n=e.viewCheckHooks;null!==n&&br(t,n)}else{const n=e.viewHooks;null!==n&&wr(t,n,2),Er(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[ht]&=-41),512&t[ht]&&(t[ht]&=-513,In(t[ft],-1))}finally{pr()}}function Bc(e,t,n,r,i){const o=hr(),s=2&r;try{fr(-1),s&&t.length>Nt&&tc(e,t,Nt,!!ngDevMode&&qn());gn(s?2:0,i),n(r,i)}finally{fr(o);gn(s?3:1,i)}}function Uc(e,t,n){if(Bt(t)){const r=t.directiveStart,i=t.directiveEnd;for(let t=r;t<i;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function Hc(e,t,n){An()&&(!function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Ut(n)&&(ngDevMode&&kr(n,3),function(e,t,n){const r=wn(t,e),i=qc(n),o=e[wt],s=hl(e,Rc(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=s}
2(t,n,e.data[i+n.componentOffset]));e.firstCreatePass||Hr(n,t);Bo(r,t);const s=n.initialInputs;for(let r=i;r<o;r++){const o=e.data[r],a=ei(t,e,r,n);if(Bo(a,t),null!==s&&al(t,r-i,a,o,n,s),zt(o)){xn(n.index,t)[_t]=ei(t,e,r,n)}}}(e,t,n,wn(n,t)),64==(64&n.flags)&&el(e,t,n))}function zc(e,t,n=wn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}function qc(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=Gc(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function Gc(e,t,n,r,i,o,s,a,u,c){ngDevMode&&ngDevMode.tView++;const l=Nt+r,p=l+i,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Qu);return n}(l,p),h="function"==typeof c?c():c,f=d[dt]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1};return ngDevMode&&Object.seal(f),f}function Wc(e,t,n,r){const i=_l(t);null===n?(ngDevMode&&Object.freeze(bl(e)),i.push(r)):(i.push(n),e.firstCreatePass&&bl(e).push(r,i.length-1))}function Yc(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Zc(n,t,i,o):r.hasOwnProperty(i)&&Zc(n,t,r[i],o)}return n}function Zc(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Kc(e,t,n,r,i,o,s,a){ngDevMode&&W(i,Qu,"Incoming value should never be NO_CHANGE.");const u=wn(t,n);let c,l=t.inputs;var p;!a&&null!=l&&(c=l[r])?(Sl(e,n,c,r,i),Ut(t)&&function(e,t){ngDevMode&&Xt(e);const n=xn(t,e);16&n[ht]||(n[ht]|=32)}(n,t.index),ngDevMode&&function(e,t,n,r,i){if(7&n)for(let o=0;o<r.length;o+=2)Jc(e,t,n,r[o+1],i)}(n,u,t.type,c,i)):3&t.type?(r="class"===(p=r)?"className":"for"===p?"htmlFor":"formaction"===p?"formAction":"innerHtml"===p?"innerHTML":"readonly"===p?"readOnly":"tabindex"===p?"tabIndex":p,ngDevMode&&(!function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`;throw new A(306,t)}}(r),function(e,t,n,r){return!(null!==r&&!(To(r,n)||t in e||Mr(t))&&"undefined"!=typeof Node&&null!==Node&&e instanceof Node)}(u,r,t.value,e.schemas)||wo(r,t.value,t.type,n),ngDevMode.rendererSetProperty++),i=null!=s?s(i,t.value||"",r):i,o.setProperty(u,r,i)):12&t.type&&ngDevMode&&!To(e.schemas,t.value)&&wo(r,t.value,t.type,n)}function Jc(e,t,n,r,i){const o=e[Et];r=Mu(r);const s=function(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}(i);if(3&n)null==i?o.removeAttribute(t,r):o.setAttribute(t,r,s);else{const e=Ao(`bindings=${JSON.stringify({[r]:s},null,2)}`);o.setValue(t,e)}}function Xc(e,t,n,r){if(ngDevMode&&Qt(e),An()){const i=null===r?null:{"":-1},o=function(e,t){ngDevMode&&Qt(e),ngDevMode&&kr(t,15);const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const s=n[o];if(Zu(t,s.selectors,!1))if(r||(r=[]),zt(s))if(ngDevMode&&(kr(t,2,`"${t.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${S(s.type)} component.`),Ut(t)&&$u(t,r.find(zt).type,s.type)),null!==s.findHostDirectiveDefs){const n=[];i=i||new Map,s.findHostDirectiveDefs(s,n,i),r.unshift(...n,s);nl(e,t,n.length)}else r.unshift(s),nl(e,t,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,n);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Qc(e,t,n,s,i,a),i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new A(-301,ngDevMode&&`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,i)}n.mergedAttrs=Ar(n.mergedAttrs,n.attrs)}function Qc(e,t,n,r,i,o){ngDevMode&&Qt(e);for(let i=0;i<r.length;i++)Wr(Hr(n,t),e,r[i].type);!function(e,t,n){ngDevMode&&q(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t
2+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let e=0;e<r.length;e++){const t=r[e];t.providersResolver&&t.providersResolver(t)}let s=!1,a=!1,u=Lc(e,t,r.length,null);ngDevMode&&G(u,n.directiveStart,"TNode.directiveStart should point to just allocated space");for(let o=0;o<r.length;o++){const c=r[o];n.mergedAttrs=Ar(n.mergedAttrs,c.hostAttrs),il(e,n,t,u,c),rl(u,c,i),null!==c.contentQueries&&(n.flags|=4),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=64);const l=c.type.prototype;!s&&(l.ngOnChanges||l.ngOnInit||l.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),s=!0),a||!l.ngOnChanges&&!l.ngDoCheck||((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function(e,t,n){ngDevMode&&Qt(e);const r=t.directiveStart,i=t.directiveEnd,o=e.data,s=t.attrs,a=[];let u=null,c=null;for(let e=r;e<i;e++){const r=o[e],i=n?n.get(r):null,l=i?i.inputs:null,p=i?i.outputs:null;u=Yc(r.inputs,e,u,l),c=Yc(r.outputs,e,c,p);const d=null===u||null===s||zu(t)?null:ul(u,e,s);a.push(d)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}(e,n,o)}function el(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=On.lFrame.currentDirectiveIndex;try{fr(o);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];er(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||tl(r,i)}}finally{fr(-1),er(s)}}function tl(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function nl(e,t,n){ngDevMode&&Qt(e),ngDevMode&&K(n,-1,"componentOffset must be great than -1"),t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function rl(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;zt(t)&&(n[""]=e)}}function il(e,t,n,r,i){ngDevMode&&J(r,Nt,"Must be in Expando section"),e.data[r]=i;const o=i.factory||(i.factory=sn(i.type,!0)),s=new Cr(o,zt(i),Ac);e.blueprint[r]=s,n[r]=s,function(e,t,n,r,i){ngDevMode&&Qt(e);const o=i.hostBindings;if(o){let i=e.hostBindingOpCodes;null===i&&(i=e.hostBindingOpCodes=[]);const s=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=s&&i.push(s),i.push(n,r,o)}}(e,t,r,Lc(e,n,i.hostVars,Qu),i)}function ol(e,t,n,r,i,o){ngDevMode&&(W(r,Qu,"Incoming value should never be NO_CHANGE."),function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`;throw new A(306,t)}}(n),kr(e,2,`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const s=wn(e,t);sl(t[Et],s,o,e.value,n,r,i)}function sl(e,t,n,r,i,o,s){if(null==o)ngDevMode&&ngDevMode.rendererRemoveAttribute++,e.removeAttribute(t,i,n);else{ngDevMode&&ngDevMode.rendererSetAttribute++;const a=null==s?P(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}function al(e,t,n,r,i,o){const s=o[t];if(null!==s){const t=r.setInput;for(let o=0;o<s.length;){const a=s[o++],u=s[o++],c=s[o++];if(null!==t?r.setInput(n,c,a,u):n[u]=c,ngDevMode){Jc(e,wn(i,e),i.type,u,c)}}}}function ul(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let e=0;e<s.length;e+=2)if(s[e]===t){r.push(o,s[e+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function cl(e,t,n,r){ngDevMode&&Xt(t);const i=[e,!0,!1,t,null,0,r,n,null,null];return ngDevMode&&z(i.length,Lt,"Should allocate correct number of slots for LContainer header."),i}function ll(e,t){ngDevMode&&z(Dn(e),!1,"Should be run in update mode");const n=xn(t,e);if(Cn(n)){const e=n[dt];48&n[ht]?Vc(e,n,e.template,n[_t]):n[gt]>0&&pl(n)}}function pl(e){for(let t=Qo(e);null!==t;t=es(t))for(let e=Lt;e<t.length;e++){const n=t[e];if(Cn(n))if(512&n[ht]){const e=n[dt];ngDevMode&&X(e,"TView must be allocated"),Vc(e,n,e.template,n[_t])}else n[gt]>0&&pl(n)}const t=e[dt].components;if(null!==t)for(let n=0;n<t.length;n++){const r=xn(t[n],e);Cn(r)&&r[gt]>0&&pl(r)}}function dl(e,t){ngDevMode&&z(Dn(e),!0,"Should be run in creation mode");const n=xn(t,e),r=n[dt];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),$c(r,n,n[_t])}function hl(e,t){return e[xt]?e[Dt][mt]=t:e[xt]=t,e[Dt]=t,t}function fl(e){for(;e;){e[ht]|=32;const t=Jo(e);if(0!=(256&e[ht])&&!t)return e;e=t}return null}function ml(e,t,n,r=!0){const i=t[wt],o=!!ngDevMode&&qn();!o&&i.begin&&i.begin();try{Vc(e,t,e.template,n)}catch(e){throw r&&El(t,e),e}finally{!o&&i.end&&i.end()}}function gl(e,t,n,r=!0){Gn(!0);try{ml(e,t,n,r)}finally{Gn(!1)}}
2function vl(e,t,n){ngDevMode&&X(t,"View queries function to execute must be defined."),rr(0),t(e,n)}function yl(e,t,n,r,...i){if(null===e[r]&&(null==t.inputs||!t.inputs[n])){(t.propertyBindings||(t.propertyBindings=[])).push(r);let o=n;i.length>0&&(o+=Fu+i.join(Fu)),e[r]=o}}function _l(e){return e[yt]||(e[yt]=[])}function bl(e){return e.cleanup||(e.cleanup=[])}function wl(e,t,n){return(null===e||zt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[Pt])return e;e=e[pt]}return null}(n[t.index])),n[Et]}function El(e,t){const n=e[bt],r=n?n.get(Ou,null):null;r&&r.handleError(t)}function Sl(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],u=t[s];ngDevMode&&te(t,s);const c=e.data[s];null!==c.setInput?c.setInput(u,i,r,a):u[a]=i}}function xl(e,t,n){ngDevMode&&U(n,"Value should be a string"),ngDevMode&&W(n,Qu,"value should not be NO_CHANGE"),ngDevMode&&te(e,t);const r=bn(t,e);ngDevMode&&X(r,"native element should exist"),is(e[Et],r,n)}function Dl(e,t,n){ngDevMode&&Qt(Fn(),"Expecting to be called in first template pass only");let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];if("number"==typeof n)o=n;else if(1==o)i=x(i,n);else if(2==o){r=x(r,n+": "+t[++e]+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Cl(e,t,n,r,i=!1){for(;null!==n;){ngDevMode&&kr(n,63);const o=t[n.index];if(null!==o&&r.push(_n(o)),Vt(o))for(let e=Lt;e<o.length;e++){const t=o[e],n=t[dt].firstChild;null!==n&&Cl(t[dt],t,n,r)}const s=n.type;if(8&s)Cl(e,t,n.child,r);else if(32&s){const e=Ko(n,t);let i;for(;i=e();)r.push(i)}else if(16&s){const e=ks(t,n);if(Array.isArray(e))r.push(...e);else{const n=Jo(t[Tt]);ngDevMode&&rn(n),Cl(n[dt],n,e,r,!0)}}n=i?n.projectionNext:n.next}return r}Mc.INJECTOR_KEY=gc.get(lc);class Tl{get rootNodes(){const e=this._lView,t=e[dt];return Cl(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[_t]}set context(e){this._lView[_t]=e}get destroyed(){return 128==(128&this._lView[ht])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[ft];if(Vt(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ngDevMode&&z(n,e.indexOf(this._lView)-Lt,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),cs(e,n),Ni(t,n))}this._attachedToViewContainer=!1}ls(this._lView[dt],this._lView)}onDestroy(e){Wc(this._lView[dt],this._lView,null,e)}markForCheck(){fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[ht]&=-65}reattach(){this._lView[ht]|=64}detectChanges(){ml(this._lView[dt],this._lView,this.context)}checkNoChanges(){ngDevMode&&gl(this._lView[dt],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new A(902,ngDevMode&&"This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e,t;this._appRef=null,e=this._lView[dt],t=this._lView,As(e,t,t[Et],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new A(902,ngDevMode&&"This view is already attached to a ViewContainer!");this._appRef=e}}class kl extends Tl{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;ml(e[dt],e,e[_t],!1)}checkNoChanges(){if(ngDevMode){const e=this._view;gl(e[dt],e,e[_t],!1)}}get context(){return null}}class Il extends yu{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&function(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){rt(e)||Q(t)}(e);const t=rt(e);return new Al(t,this.ngModule)}}function Ol(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}class Ml{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=Ae(n);const r=this.injector.get(e,Tu,n);return r!==Tu||t===Tu?r:this.parentInjector.get(e,t,n)}}class Al extends mu{get inputs(){return Ol(this.componentDef.inputs)}get outputs(){return Ol(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Xu).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,n,r){let i=(r=r||this.ngModule)instanceof uu?r:r?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const o=i?new Ml(e,i):e,s=o.get(Eu,null);if(null===s)throw new A(407,ngDevMode&&"Angular was not able to inject a renderer (RendererFactory2). Likely this is due to a broken DI hierarchy. Make sure that any injector used to create this component has a correct parent.");const a=o.get(xu,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){const r=n===Le.ShadowDom;return e.selectRootElement(t,r)}(u,n,this.componentDef.encapsulation):ss(u,c,function(e){const t=e.toLowerCase();return"svg"===t?vn:"math"===t?yn:null}
2(c)),p=this.componentDef.onPush?288:272,d=Gc(0,null,null,1,0,null,null,null,null,null),h=Rc(null,d,null,p,null,null,s,u,a,o,null);let f,m;sr(h);try{const e=this.componentDef;let r,i=null;e.findHostDirectiveDefs?(r=[],i=new Map,e.findHostDirectiveDefs(e,r,i),r.push(e)):r=[e];const o=function(e,t,n,r,i,o,s,a){const u=i[dt];!function(e,t,n,r){for(const n of e)t.mergedAttrs=Ar(t.mergedAttrs,n.hostAttrs);null!==t.mergedAttrs&&(Dl(t,t.mergedAttrs,!0),null!==n&&Rs(r,n,t))}(r,e,t,s);const c=o.createRenderer(t,n),l=Rc(i,qc(n),null,n.onPush?32:16,i[e.index],e,o,c,a||null,null,null);u.firstCreatePass&&nl(u,e,r.length-1);return hl(i,l),i[e.index]=l}(function(e,t){const n=e[dt],r=Nt;return ngDevMode&&te(e,r),e[r]=t,Fc(n,r,2,"#host",null)}(h,l),l,e,r,h,s,u);m=En(d,Nt),l&&function(e,t,n,r){if(r)Ir(e,n,["ng-version",Cu.full]);else{const{attrs:r,classes:i}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Wu(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);r&&Ir(e,n,r),i&&i.length>0&&Ps(e,n,i.join(" "))}}(u,e,l,n),void 0!==t&&function(e,t,n){const r=e.projection=[];for(let e=0;e<t.length;e++){const t=n[e];r.push(null!=t?Array.from(t):null)}}(m,this.ngContentSelectors,t),f=function(e,t,n,r,i,o){const s=$n();ngDevMode&&X(s,"tNode should have been already created");const a=i[dt],u=wn(s,i);Qc(a,i,s,n,null,r);for(let e=0;e<n.length;e++){Bo(ei(i,a,s.directiveStart+e,s),i)}el(a,i,s),u&&Bo(u,i);ngDevMode&&K(s.componentOffset,-1,"componentOffset must be great than -1");const c=ei(i,a,s.directiveStart+s.componentOffset,s);if(e[_t]=i[_t]=c,null!==o)for(const e of o)e(c,t);return Uc(a,s,e),c}(o,e,r,i,h,[Pl]),$c(d,h,null)}finally{pr()}return new Nl(this.componentType,f,_u(m,h),h,m)}}class Nl extends fu{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new kl(r),this.componentType=e}setInput(e,t){const n=this._tNode.inputs;let r;if(null!==n&&(r=n[e])){const n=this._rootLView;Sl(n[dt],n,r,e,t);fl(xn(this._tNode.index,n))}else if(ngDevMode){let t=`Can't set value of the '${e}' input on the '${R(this.componentType)}' component. `;t+=`Make sure that the '${e}' property is annotated with @Input() or a mapped @Input('${e}') exists.`,Eo(t)}}get injector(){return new ri(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Pl(){const e=$n();ngDevMode&&X(e,"TNode is required"),_r(Rn()[dt],e)}function Rl(e){return Object.getPrototypeOf(e.prototype).constructor}function Fl(e){let t=Rl(e.type),n=!0;const r=[e];for(;t;){let i;if(zt(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new A(903,ngDevMode&&`Directives cannot inherit Components. Directive ${R(e.type)} is attempting to extend component ${R(t)}`);i=t.ɵdir}if(i){if(n){r.push(i);const t=e;t.inputs=jl(e.inputs),t.declaredInputs=jl(e.declaredInputs),t.outputs=jl(e.outputs);const n=i.hostBindings;n&&Vl(e,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Ll(e,o),s&&$l(e,s),E(e.inputs,i.inputs),E(e.declaredInputs,i.declaredInputs),E(e.outputs,i.outputs),zt(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Fl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ar(i.hostAttrs,n=Ar(n,i.hostAttrs))}}(r)}function jl(e){return e===$e?{}:e===Ve?[]:e}function Ll(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function $l(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Vl(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const Bl=["providersResolver"],Ul=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Hl(e){let t,n=Rl(e.type);t=zt(e)?n.ɵcmp:n.ɵdir;const r=e;for(const e of Bl)r[e]=t[e];if(zt(t))for(const e of Ul)r[e]=t[e]}function zl(e){return t=>{t.findHostDirectiveDefs=ql,t.hostDirectives=(Array.isArray(e)?e:e()).map((e=>"function"==typeof e?{directive:T(e),inputs:$e,outputs:$e}
2:{directive:T(e.directive),inputs:Gl(e.inputs),outputs:Gl(e.outputs)}))}}function ql(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives){const e=it(r.directive);("undefined"==typeof ngDevMode||ngDevMode)&&Yl(r,e,t),Wl(e.declaredInputs,r.inputs),ql(e,t,n),n.set(e,r),t.push(e)}}function Gl(e){if(void 0===e||0===e.length)return $e;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Wl(e,t){for(const n in t)if(t.hasOwnProperty(n)){const r=t[n],i=e[n];("undefined"==typeof ngDevMode||ngDevMode)&&e.hasOwnProperty(r)&&z(e[r],e[n],`Conflicting host directive input alias ${n}.`),e[r]=i}}function Yl(e,t,n){const r=e.directive;if(null===t){if(null!==rt(r))throw new A(310,`Host directive ${r.name} cannot be a component.`);throw new A(307,`Could not resolve metadata for host directive ${r.name}. Make sure that the ${r.name} class is annotated with an @Directive decorator.`)}if(!t.standalone)throw new A(308,`Host directive ${t.type.name} must be standalone.`);if(n.indexOf(t)>-1)throw new A(309,`Directive ${t.type.name} matches multiple times on the same element. Directives can only match an element once.`);Zl("input",t,e.inputs),Zl("output",t,e.outputs)}function Zl(e,t,n){const r=t.type.name,i="input"===e?t.inputs:t.outputs;for(const t in n)if(n.hasOwnProperty(t)){if(!i.hasOwnProperty(t))throw new A(311,`Directive ${r} does not have an ${e} with a public name of ${t}.`);const o=n[t];if(i.hasOwnProperty(o)&&i[o]!==t)throw new A(312,`Cannot alias ${e} ${t} of host directive ${r} to ${o}, because it already has a different ${e} with the same public name.`)}}function Kl(e){return!!Jl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Jl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Xl(e,t){const n=Kl(e),r=Kl(t);if(n&&r)return function(e,t,n){const r=e[Symbol.iterator](),i=t[Symbol.iterator]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Xl);return!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||Object.is(e,t)}function Ql(e,t,n){return e[t]=n}function ep(e,t){return ngDevMode&&te(e,t),ngDevMode&&W(e[t],Qu,"Stored value should never be NO_CHANGE."),e[t]}function tp(e,t,n){ngDevMode&&W(n,Qu,"Incoming value should never be NO_CHANGE."),ngDevMode&&Y(t,e.length,"Slot should have been initialized to NO_CHANGE");const r=e[t];if(Object.is(r,n))return!1;if(ngDevMode&&qn()){const i=r!==Qu?r:void 0;if(!Xl(i,n)){const o=function(e,t,n,r){const i=e[dt].data,o=i[t];if("string"==typeof o)return o.indexOf(Fu)>-1?Vu(e,t,t,o,r):{propName:o,oldValue:n,newValue:r};if(null===o){let n=t-1;for(;"string"!=typeof i[n]&&null===i[n+1];)n--;const o=i[n];if("string"==typeof o){const i=o.match(new RegExp(Fu,"g"));if(i&&i.length-1>t-n)return Vu(e,n,t,o,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,i,n);!function(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${t}'. Current value: '${n}'.`;throw e&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new A(-100,i)}(r===Qu,o.oldValue,o.newValue,o.propName)}return!1}return e[t]=n,!0}function np(e,t,n,r){const i=tp(e,t,n);return tp(e,t+1,r)||i}function rp(e,t,n,r,i){const o=np(e,t,n,r);return tp(e,t+2,i)||o}function ip(e,t,n,r,i,o){const s=np(e,t,n,r);return np(e,t+2,i,o)||s}function op(e,t,n,r){const i=Rn(),o=Kn();if(tp(i,o,t)){const s=Fn(),a=mr();ol(a,i,e,t,n,r),ngDevMode&&yl(s.data,a,"attr."+e,o)}return op}function sp(e,t){ngDevMode&&Y(2,t.length,"should have at least 3 values"),ngDevMode&&z(t.length%2,1,"should have an odd number of values");let n=!1,r=Yn();for(let i=1;i<t.length;i+=2)n=tp(e,r++,t[i])||n;if(Zn(r),!n)return Qu;let i=t[0];for(let e=1;e<t.length;e+=2)i+=P(t[e])+t[e+1];return i}function ap(e,t,n,r){return tp(e,Kn(),n)?t+P(n)+r:Qu}function up(e,t,n,r,i,o){const s=np(e,Yn(),n,i);return Jn(2),s?t+P(n)+r+P(i)+o:Qu}function cp(e,t,n,r,i,o,s,a){const u=rp(e,Yn(),n,i,s);return Jn(3),u?t+P(n)+r+P(i)+o+P(s)+a:Qu}function lp(e,t,n,r,i,o,s,a,u,c){const l=ip(e,Yn(),n,i,s,u);return Jn(4),l?t+P(n)+r+P(i)+o+P(s)+a+P(u)+c:Qu}function pp(e,t,n,r,i,o,s,a,u,c,l,p){const d=Yn();let h=ip(e,d,n,i,s,u);return h=tp(e,d+4,l)||h,Jn(5),h?t+P(n)+r+P(i)+o+P(s)+a+P(u)+c+P(l)+p:Qu}function dp(e,t,n,r,i,o,s,a,u,c,l,p,d,h){const f=Yn();let m=ip(e,f,n,i,s,u);return m=np(e,f+4,l,d)||m,Jn(6),m?t+P(n)+r+P(i)+o+P(s)+a+P(u)+c+P(l)+p+P(d)+h:Qu}function hp(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m){const g=Yn();let v=ip(e,g,n,i,s,u);return v=rp(e,g+4,l,d,f)||v,Jn(7),v?t+P(n)+r+P(i)+o+P(s)+a+P(u)+c+P(l)+p+P(d)+h+P(f)+m:Qu}function fp(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v){const y=Yn();let _=ip(e,y,n,i,s,u);return _=ip(e,y+4,l,d,f,g)||_,Jn(8),_?t+P(n)+r+P(i)+o+P(s)+a+P(u)+c+P(l)+p+P(d)+h+P(f)+m+P(g)+v:Qu}function mp(e,t,n,r,i,o){const s=Rn(),a=ap(s,t,n,r);if(a!==Qu){const n=mr();ol(n,s,e,a,i,o),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-1,t,r)}return mp}function gp(e,t,n,r,i,o,s,a){const u=Rn(),c=up(u,t,n,r,i,o);if(c!==Qu){const n=mr();ol(n,u,e,c,s,a),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-2,t,r,o)}return gp}function vp(e,t,n,r,i,o,s,a,u,c){const l=Rn(),p=cp(l,t,n,r,i,o,s,a);if(p!==Qu){const n=mr();ol(n,l,e,p,u,c),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-3,t,r,o,a)}return vp}function yp(e,t,n,r,i,o,s,a,u,c,l,p){const d=Rn(),h=lp(d,t,n,r,i,o,s,a,u,c);if(h!==Qu){const n=mr();ol(n,d,e,h,l,p),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-4,t,r,o,a,c)}return yp}function _p(e,t,n,r,i,o,s,a,u,c,l,p,d,h){const f=Rn(),m=pp(f,t,n,r,i,o,s,a,u,c,l,p);if(m!==Qu){const n=mr();ol(n,f,e,m,d,h),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-5,t,r,o,a,c,p)}return _p}function bp(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m){const g=Rn(),v=dp(g,t,n,r,i,o,s,a,u,c,l,p,d,h);if(v!==Qu){const n=mr();ol(n,g,e,v,f,m),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-6,t,r,o,a,c,p,h)}return bp}function wp(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v){const y=Rn(),_=hp(y,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m);if(_!==Qu){const n=mr();ol(n,y,e,_,g,v),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-7,t,r,o,a,c,p,h,m)}return wp}function Ep(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v,y,_){const b=Rn(),w=fp(b,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v);if(w!==Qu){const n=mr();ol(n,b,e,w,y,_),ngDevMode&&yl(Fn().data,n,"attr."+e,Yn()-8,t,r,o,a,c,p,h,m,v)}return Ep}function Sp(e,t,n,r){const i=Rn(),o=sp(i,t);if(o!==Qu){const s=mr();if(ol(s,i,e,o,n,r),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);yl(Fn().data,s,"attr."+e,Yn()-n.length+1,...n)}}return Sp}function xp(e){const t=$o(e);ml(t[dt],t,e)}function Dp(e,t,n,r,i,o,s,a){const u=Rn(),c=Fn(),l=e+Nt,p=c.firstCreatePass?function(e,t,n,r,i,o,s,a,u){ngDevMode&&Qt(t),ngDevMode&&ngDevMode.firstCreatePass++;const c=t.consts,l=Fc(t,e,4,s||null,Tn(c,a));Xc(t,n,l,Tn(c,u)),_r(t,l);
2const p=l.tView=Gc(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,l),p.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,i,o,s):c.data[l];Un(p,!1);const d=u[Et].createComment(ngDevMode?"container":"");Cs(c,u,d,p),Bo(d,u),hl(u,u[l]=cl(d,u,d,p)),Ht(p)&&Hc(c,u,p),null!=s&&zc(u,p,a)}function Cp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Tp(e){return Sn(function(){const e=On.lFrame.contextLView;return ngDevMode&&X(e,"contextLView must be defined."),e}(),Nt+e)}function kp(e,t,n){const r=Rn(),i=Kn();if(tp(r,i,t)){const o=Fn(),s=mr();Kc(o,s,r,e,t,r[Et],n,!1),ngDevMode&&yl(o.data,s,e,i)}return kp}function Ip(e,t,n,r,i){const o=i?"class":"style";Sl(e,n,t.inputs[o],o,r)}function Op(e,t,n,r){const i=Rn(),o=Fn(),s=Nt+e;ngDevMode&&z(Yn(),o.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&te(i,s);const a=i[Et],u=o.firstCreatePass?function(e,t,n,r,i,o){ngDevMode&&Qt(t),ngDevMode&&ngDevMode.firstCreatePass++;const s=t.consts,a=Fc(t,e,2,r,Tn(s,i));return Xc(t,n,a,Tn(s,o)),null!==a.attrs&&Dl(a,a.attrs,!1),null!==a.mergedAttrs&&Dl(a,a.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,a),a}(s,o,i,t,n,r):o.data[s],c=i[s]=ss(a,t,On.lFrame.currentNamespace),l=Ht(u);return ngDevMode&&o.firstCreatePass&&function(e,t,n,r,i){if(null!==r&&!i&&null!==n&&("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&e instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&n.indexOf("-")>-1&&!customElements.get(n))&&!To(r,n)){const e=xo(t),r=`'${e?"@Component":"@NgModule"}.schemas'`;let i=`'${n}' is not a known element${Do(t)}:\n`;if(i+=`1. If '${n}' is an Angular component, then verify that it is ${e?"included in the '@Component.imports' of this component":"a part of an @NgModule where this component is declared"}.\n`,n&&n.indexOf("-")>-1?i+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${r} of this component to suppress this message.`:i+=`2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${r} of this component.`,mo)throw new A(304,i);console.error(N(304,i))}}(c,i,u.value,o.schemas,l),Un(u,!0),Rs(a,c,u),32!=(32&u.flags)&&Cs(o,i,c,u),0===On.lFrame.elementDepthCount&&Bo(c,i),On.lFrame.elementDepthCount++,l&&(Hc(o,i,u),Uc(o,u,i)),null!==r&&zc(i,u),Op}function Mp(){let e=$n();ngDevMode&&X(e,"No parent node to close."),Hn()?zn():(ngDevMode&&Zt($n()),e=e.parent,Un(e,!1));const t=e;ngDevMode&&kr(t,3),On.lFrame.elementDepthCount--;const n=Fn();return n.firstCreatePass&&(_r(n,e),Bt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(8&e.flags)}(t)&&Ip(n,t,Rn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ip(n,t,Rn(),t.stylesWithoutHost,!1),Mp}function Ap(e,t,n,r){return Op(e,t,n,r),Mp(),Ap}function Np(e,t,n){const r=Rn(),i=Fn(),o=e+Nt;ngDevMode&&te(r,o),ngDevMode&&z(Yn(),i.bindingStartIndex,"element containers should be created before any bindings");const s=i.firstCreatePass?function(e,t,n,r,i){ngDevMode&&ngDevMode.firstCreatePass++;const o=t.consts,s=Tn(o,r),a=Fc(t,e,8,"ng-container",s);return null!==s&&Dl(a,s,!0),Xc(t,n,a,Tn(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];Un(s,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[o]=r[Et].createComment(ngDevMode?"ng-container":"");return Cs(i,r,a,s),Bo(a,r),Ht(s)&&(Hc(i,r,s),Uc(i,s,r)),null!=n&&zc(r,s),Np}function Pp(){let e=$n();const t=Fn();return Hn()?zn():(ngDevMode&&Zt(e),e=e.parent,Un(e,!1)),ngDevMode&&kr(e,8),t.firstCreatePass&&(_r(t,e),Bt(e)&&t.queries.elementEnd(e)),Pp}function Rp(e,t,n){return Np(e,t,n),Pp(),Rp}function Fp(){return Rn()}function jp(e){return!!e&&"function"==typeof e.then}function Lp(e){return!!e&&"function"==typeof e.subscribe}const $p=Lp;function Vp(e,t,n,r){const i=Rn(),o=Fn(),s=$n();return Up(o,i,i[Et],s,e,t,r),Vp}function Bp(e,t){const n=$n(),r=Rn(),i=Fn();return Up(i,r,wl(tr(i.data),n,r),n,e,t),Bp}function Up(e,t,n,r,i,o,s){const a=Ht(r),u=e.firstCreatePass&&bl(e),c=t[_t],l=_l(t);ngDevMode&&kr(r,15);let p=!0;if(3&r.type||s){const d=wn(r,t),h=s?s(d):d,f=l.length,m=s?e=>s(_n(e[r.index])):r.index;let g=null;if(!s&&a&&(g=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let e=0;e<i.length-1;e+=2){const o=i[e];if(o===n&&i[e+1]===r){const n=t[yt],r=i[e+2];return n.length>r?n[r]:null}"string"==typeof o&&(e+=2)}return null}(e,t,i,r.index)),null!==g){(g.__ngLastListenerFn__||g).__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,p=!1}else{o=zp(r,t,c,o,!1);const e=n.listen(h,i,o);ngDevMode&&ngDevMode.rendererAddEventListener++,l.push(o,e),u&&u.push(i,m,f,f+1)}}else o=zp(r,t,c,o,!1);const d=r.outputs;let h;if(p&&null!==d&&(h=d[i])){const e=h.length;if(e)for(let n=0;n<e;n+=2){const e=h[n];ngDevMode&&te(t,e);const s=h[n+1],a=t[e],c=a[s];if(ngDevMode&&!$p(c))throw new Error(`@Output ${s} not initialized in '${a.constructor.name}'.`);const p=c.subscribe(o),d=l.length;l.push(o,p),u&&u.push(i,r.index,d,-(d+1))}}}function Hp(e,t,n,r){try{return gn(6,t,n),!1!==n(r)}
2catch(t){return El(e,t),!1}finally{gn(7,t,n)}}function zp(e,t,n,r,i){return function o(s){if(s===Function)return r;fl(e.componentOffset>-1?xn(e.index,t):t);let a=Hp(t,n,r,s),u=o.__ngNextListenerFn__;for(;u;)a=Hp(t,n,u,s)&&a,u=u.__ngNextListenerFn__;return i&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function qp(e=1){return dr(e)}function Gp(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?Zu(e,o,!0):Ku(r,o))return i}else n=i}return n}function Wp(e){const t=Rn()[Tt][vt];if(!t.projection){const n=e?e.length:1,r=t.projection=Pi(n,null),i=r.slice();let o=t.child;for(;null!==o;){const t=e?Gp(o,e):0;null!==t&&(i[t]?i[t].projectionNext=o:r[t]=o,i[t]=o),o=o.next}}}function Yp(e,t=0,n){const r=Rn(),i=Fn(),o=Fc(i,Nt+e,16,null,n||null);null===o.projection&&(o.projection=t),zn(),32!=(32&o.flags)&&function(e,t,n){Ns(t[Et],0,t,n,ds(e,n,t),ys(n.parent||t[vt],n,t))}(i,r,o)}function Zp(e,t,n){return Kp(e,"",t,"",n),Zp}function Kp(e,t,n,r,i){const o=Rn(),s=ap(o,t,n,r);if(s!==Qu){const n=Fn(),a=mr();Kc(n,a,o,e,s,o[Et],i,!1),ngDevMode&&yl(n.data,a,e,Yn()-1,t,r)}return Kp}function Jp(e,t,n,r,i,o,s){const a=Rn(),u=up(a,t,n,r,i,o);if(u!==Qu){const n=Fn(),i=mr();Kc(n,i,a,e,u,a[Et],s,!1),ngDevMode&&yl(n.data,i,e,Yn()-2,t,r,o)}return Jp}function Xp(e,t,n,r,i,o,s,a,u){const c=Rn(),l=cp(c,t,n,r,i,o,s,a);if(l!==Qu){const n=Fn(),i=mr();Kc(n,i,c,e,l,c[Et],u,!1),ngDevMode&&yl(n.data,i,e,Yn()-3,t,r,o,a)}return Xp}function Qp(e,t,n,r,i,o,s,a,u,c,l){const p=Rn(),d=lp(p,t,n,r,i,o,s,a,u,c);if(d!==Qu){const n=Fn(),i=mr();Kc(n,i,p,e,d,p[Et],l,!1),ngDevMode&&yl(n.data,i,e,Yn()-4,t,r,o,a,c)}return Qp}function ed(e,t,n,r,i,o,s,a,u,c,l,p,d){const h=Rn(),f=pp(h,t,n,r,i,o,s,a,u,c,l,p);if(f!==Qu){const n=Fn(),i=mr();Kc(n,i,h,e,f,h[Et],d,!1),ngDevMode&&yl(n.data,i,e,Yn()-5,t,r,o,a,c,p)}return ed}function td(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f){const m=Rn(),g=dp(m,t,n,r,i,o,s,a,u,c,l,p,d,h);if(g!==Qu){const n=Fn(),i=mr();Kc(n,i,m,e,g,m[Et],f,!1),ngDevMode&&yl(n.data,i,e,Yn()-6,t,r,o,a,c,p,h)}return td}function nd(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g){const v=Rn(),y=hp(v,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m);if(y!==Qu){const n=Fn(),i=mr();Kc(n,i,v,e,y,v[Et],g,!1),ngDevMode&&yl(n.data,i,e,Yn()-7,t,r,o,a,c,p,h,m)}return nd}function rd(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v,y){const _=Rn(),b=fp(_,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v);if(b!==Qu){const n=Fn(),i=mr();Kc(n,i,_,e,b,_[Et],y,!1),ngDevMode&&yl(n.data,i,e,Yn()-8,t,r,o,a,c,p,h,m,v)}return rd}function id(e,t,n){const r=Rn(),i=sp(r,t);if(i!==Qu){const o=Fn(),s=mr();if(Kc(o,s,r,e,i,r[Et],n,!1),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);yl(o.data,s,e,Yn()-n.length+1,...n)}}return id}function od(e,t){return ngDevMode&&B(e,0,32767),ngDevMode&&B(t,0,32767),e<<17|t<<2}function sd(e){return ngDevMode&&V(e,"expected number"),e>>17&32767}function ad(e){return ngDevMode&&V(e,"expected number"),2|e}function ud(e){return ngDevMode&&V(e,"expected number"),(131068&e)>>2}function cd(e,t){return ngDevMode&&V(e,"expected number"),ngDevMode&&B(t,0,32767),-131069&e|t<<2}function ld(e){return ngDevMode&&V(e,"expected number"),1|e}function pd(e,t,n,r,i,o){ngDevMode&&en(Fn());let s=o?t.classBindings:t.styleBindings,a=sd(s),u=ud(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||ji(e,c)>0)&&(l=!0)}else c=n;if(i){if(0!==u){const t=sd(e[a+1]);e[r+1]=od(t,a),0!==t&&(e[t+1]=cd(e[t+1],r)),e[a+1]=(p=e[a+1],d=r,ngDevMode&&V(p,"expected number"),ngDevMode&&B(d,0,32767),131071&p|d<<17)}else e[r+1]=od(a,0),0!==a&&(e[a+1]=cd(e[a+1],r)),a=r}else e[r+1]=od(u,0),ngDevMode&&z(0!==a&&0===u,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=r:e[u+1]=cd(e[u+1],r),u=r;var p,d;l&&(e[r+1]=ad(e[r+1])),dd(e,c,r,!0,o),dd(e,c,r,!1,o),function(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ji(o,t)>=0&&(n[r+1]=ld(n[r+1]))}(t,c,e,r,o),s=od(a,u),o?t.classBindings=s:t.styleBindings=s}function dd(e,t,n,r,i){const o=e[n+1],s=null===t;let a=r?sd(o):ud(o),u=!1;for(;0!==a&&(!1===u||s);){ngDevMode&&te(e,a);const n=e[a],i=e[a+1];hd(n,t)&&(u=!0,e[a+1]=r?ld(i):ad(i)),a=r?sd(i):ud(i)}u&&(e[n+1]=r?ad(o):ld(o))}function hd(e,t){return ngDevMode&&q(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ji(e,t)>=0}const fd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
2;function md(e){return e.substring(fd.key,fd.keyEnd)}function gd(e){return e.substring(fd.value,fd.valueEnd)}function vd(e,t){const n=fd.textEnd;return n===t?-1:(t=fd.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,fd.key=t,n),bd(e,t,n))}function yd(e,t){const n=fd.textEnd;let r=fd.key=bd(e,t,n);return n===r?-1:(r=fd.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=wd(e,r,n,58),r=fd.value=bd(e,r,n),r=fd.valueEnd=function(e,t,n){let r=-1,i=-1,o=-1,s=t,a=s;for(;s<n;){const u=e.charCodeAt(s++);if(59===u)return a;34===u||39===u?a=s=Ed(e,u,s,n):t===s-4&&85===o&&82===i&&76===r&&40===u?a=s=Ed(e,41,s,n):u>32&&(a=s),o=i,i=r,r=-33&u}return a}(e,r,n),wd(e,r,n,59))}function _d(e){fd.key=0,fd.keyEnd=0,fd.value=0,fd.valueEnd=0,fd.textEnd=e.length}function bd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function wd(e,t,n,r){return(t=bd(e,t,n))<n&&(ngDevMode&&e.charCodeAt(t)!==r&&Sd(e,String.fromCharCode(r),t),t++),t}function Ed(e,t,n,r){let i=-1,o=n;for(;o<r;){const n=e.charCodeAt(o++);if(n==t&&92!==i)return o;i=92==n&&92===i?0:n}throw ngDevMode?Sd(e,String.fromCharCode(t),r):new Error}function Sd(e,t,n){throw ngDevMode&&z("string"==typeof e,!0,"String expected here"),Q(`Malformed style at location ${n} in string '`+e.substring(0,n)+"[>>"+e.substring(n,n+1)+"<<]"+e.slice(n+1)+`'. Expecting '${t}'.`)}function xd(e,t,n){return Od(e,t,n,!1),xd}function Dd(e,t){return Od(e,t,null,!0),Dd}function Cd(e){Md(Fd,Td,e,!1)}function Td(e,t){for(let n=function(e){return _d(e),yd(e,bd(e,0,fd.textEnd))}(t);n>=0;n=yd(t,n))Fd(e,md(t),gd(t))}function kd(e){Md(jd,Id,e,!0)}function Id(e,t){for(let n=function(e){return _d(e),vd(e,bd(e,0,fd.textEnd))}(t);n>=0;n=vd(t,n))Ri(e,md(t),!0)}function Od(e,t,n,r){const i=Rn(),o=Fn(),s=Jn(2);if(o.firstUpdatePass&&Nd(o,e,s,r),t!==Qu&&tp(i,s,t)){Ld(o,o.data[hr()],i,i[Et],e,i[s+1]=function(e,t){null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=S(Js(e))));return e}(t,n),r,s)}}function Md(e,t,n,r){const i=Fn(),o=Jn(2);i.firstUpdatePass&&Nd(i,null,o,r);const s=Rn();if(n!==Qu&&tp(s,o,n)){const a=i.data[hr()];if(Bd(a,r)&&!Ad(i,o)){if(ngDevMode){const e=i.data[o];z(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===r&&null!==e&&z(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=x(e,n||"")),Ip(i,a,s,n,r)}else!function(e,t,n,r,i,o,s,a){i===Qu&&(i=Ve);let u=0,c=0,l=0<i.length?i[0]:null,p=0<o.length?o[0]:null;for(;null!==l||null!==p;){ngDevMode&&Y(u,999,"Are we stuck in infinite loop?"),ngDevMode&&Y(c,999,"Are we stuck in infinite loop?");const d=u<i.length?i[u+1]:void 0,h=c<o.length?o[c+1]:void 0;let f,m=null;l===p?(u+=2,c+=2,d!==h&&(m=p,f=h)):null===p||null!==l&&l<p?(u+=2,m=l):(ngDevMode&&X(p,"Expecting to have a valid key"),c+=2,m=p,f=h),null!==m&&Ld(e,t,n,r,m,f,s,a),l=u<i.length?i[u]:null,p=c<o.length?o[c]:null}}(i,a,s,s[Et],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return Ve;const r=[],i=Js(n);if(Array.isArray(i))for(let t=0;t<i.length;t++)e(r,i[t],!0);else if("object"==typeof i)for(const t in i)i.hasOwnProperty(t)&&e(r,t,i[t]);else"string"==typeof i?t(r,i):ngDevMode&&Q("Unsupported styling type "+typeof i+": "+i);return r}(e,t,n),r,o)}}function Ad(e,t){return t>=e.expandoStartIndex}function Nd(e,t,n,r){ngDevMode&&en(e);const i=e.data;if(null===i[n+1]){const o=i[hr()];ngDevMode&&X(o,"TNode expected");const s=Ad(e,n);Bd(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){const i=tr(e);let o=r?t.residualClasses:t.residualStyles;if(null===i){0===(r?t.classBindings:t.styleBindings)&&(n=Rd(n=Pd(null,e,t,n,r),t.attrs,r),o=null)}else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Pd(i,e,t,n,r),null===o){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===ud(r))return;return e[sd(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=Pd(null,e,t,n[1],r),n=Rd(n,t.attrs,r),function(e,t,n,r){const i=n?t.classBindings:t.styleBindings;ngDevMode&&q(ud(i),0,"Expecting to have at least one template styling binding."),e[sd(i)]=r}(e,t,r,n))}else o=function(e,t,n){let r;const i=t.directiveEnd;ngDevMode&&q(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let o=1+t.directiveStylingLast;o<i;o++){r=Rd(r,e[o].hostAttrs,n)}return Rd(r,t.attrs,n)}(e,t,r)}void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o);return n}(i,o,t,r),pd(i,o,t,n,s,r)}}function Pd(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;
2for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],ngDevMode&&X(o,"expected to be defined"),r=Rd(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Rd(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ri(e,s,!!n||t[++o]))}return void 0===e?null:e}function Fd(e,t,n){Ri(e,t,Js(n))}function jd(e,t,n){const r=String(t);""===r||r.includes(" ")||Ri(e,r,n)}function Ld(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const u=e.data,c=u[a+1];var l;if(!Vd((l=c,ngDevMode&&V(l,"expected number"),1==(1&l)?$d(u,t,n,i,ud(c),s):void 0))){Vd(o)||function(e){return ngDevMode&&V(e,"expected number"),2==(2&e)}(c)&&(o=$d(u,null,n,i,a,s));!function(e,t,n,r,i){if(t)i?(ngDevMode&&ngDevMode.rendererAddClass++,e.addClass(n,r)):(ngDevMode&&ngDevMode.rendererRemoveClass++,e.removeClass(n,r));else{let t=-1===r.indexOf("-")?void 0:ko.DashCase;null==i?(ngDevMode&&ngDevMode.rendererRemoveStyle++,e.removeStyle(n,r,t)):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),t|=ko.Important),ngDevMode&&ngDevMode.rendererSetStyle++,e.setStyle(n,r,i,t))}}(r,s,bn(hr(),n),i,o)}}function $d(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const t=e[i],o=Array.isArray(t),u=o?t[1]:t,c=null===u;let l=n[i+1];l===Qu&&(l=c?Ve:void 0);let p=c?Fi(l,r):u===r?l:void 0;if(o&&!Vd(p)&&(p=Fi(t,r)),Vd(p)&&(a=p,s))return a;const d=e[i+1];i=s?sd(d):ud(d)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=Fi(e,r))}return a}function Vd(e){return void 0!==e}function Bd(e,t){return 0!=(e.flags&(t?8:16))}function Ud(e,t=""){const n=Rn(),r=Fn(),i=e+Nt;ngDevMode&&z(Yn(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&te(n,i);const o=r.firstCreatePass?Fc(r,i,1,t,null):r.data[i],s=n[i]=rs(n[Et],t);Cs(r,n,s,o),Un(o,!1)}function Hd(e){return zd("",e,""),Hd}function zd(e,t,n){const r=Rn(),i=ap(r,e,t,n);return i!==Qu&&xl(r,hr(),i),zd}function qd(e,t,n,r,i){const o=Rn(),s=up(o,e,t,n,r,i);return s!==Qu&&xl(o,hr(),s),qd}function Gd(e,t,n,r,i,o,s){const a=Rn(),u=cp(a,e,t,n,r,i,o,s);return u!==Qu&&xl(a,hr(),u),Gd}function Wd(e,t,n,r,i,o,s,a,u){const c=Rn(),l=lp(c,e,t,n,r,i,o,s,a,u);return l!==Qu&&xl(c,hr(),l),Wd}function Yd(e,t,n,r,i,o,s,a,u,c,l){const p=Rn(),d=pp(p,e,t,n,r,i,o,s,a,u,c,l);return d!==Qu&&xl(p,hr(),d),Yd}function Zd(e,t,n,r,i,o,s,a,u,c,l,p,d){const h=Rn(),f=dp(h,e,t,n,r,i,o,s,a,u,c,l,p,d);return f!==Qu&&xl(h,hr(),f),Zd}function Kd(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f){const m=Rn(),g=hp(m,e,t,n,r,i,o,s,a,u,c,l,p,d,h,f);return g!==Qu&&xl(m,hr(),g),Kd}function Jd(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g){const v=Rn(),y=fp(v,e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g);return y!==Qu&&xl(v,hr(),y),Jd}function Xd(e){const t=Rn(),n=sp(t,e);return n!==Qu&&xl(t,hr(),n),Xd}function Qd(e,t,n){Md(Ri,Id,ap(Rn(),e,t,n),!0)}function eh(e,t,n,r,i){Md(Ri,Id,up(Rn(),e,t,n,r,i),!0)}function th(e,t,n,r,i,o,s){Md(Ri,Id,cp(Rn(),e,t,n,r,i,o,s),!0)}function nh(e,t,n,r,i,o,s,a,u){Md(Ri,Id,lp(Rn(),e,t,n,r,i,o,s,a,u),!0)}function rh(e,t,n,r,i,o,s,a,u,c,l){Md(Ri,Id,pp(Rn(),e,t,n,r,i,o,s,a,u,c,l),!0)}function ih(e,t,n,r,i,o,s,a,u,c,l,p,d){Md(Ri,Id,dp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d),!0)}function oh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f){Md(Ri,Id,hp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d,h,f),!0)}function sh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g){Md(Ri,Id,fp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g),!0)}function ah(e){Md(Ri,Id,sp(Rn(),e),!0)}function uh(e,t,n){Cd(ap(Rn(),e,t,n))}function ch(e,t,n,r,i){Cd(up(Rn(),e,t,n,r,i))}function lh(e,t,n,r,i,o,s){Cd(cp(Rn(),e,t,n,r,i,o,s))}function ph(e,t,n,r,i,o,s,a,u){Cd(lp(Rn(),e,t,n,r,i,o,s,a,u))}function dh(e,t,n,r,i,o,s,a,u,c,l){Cd(pp(Rn(),e,t,n,r,i,o,s,a,u,c,l))}function hh(e,t,n,r,i,o,s,a,u,c,l,p,d){Cd(dp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d))}function fh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f){Cd(hp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d,h,f))}function mh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g){Cd(fp(Rn(),e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g))}function gh(e){Cd(sp(Rn(),e))}function vh(e,t,n,r,i){return Od(e,ap(Rn(),t,n,r),i,!1),vh}function yh(e,t,n,r,i,o,s){return Od(e,up(Rn(),t,n,r,i,o),s,!1),yh}function _h(e,t,n,r,i,o,s,a,u){return Od(e,cp(Rn(),t,n,r,i,o,s,a),u,!1),_h}function bh(e,t,n,r,i,o,s,a,u,c,l){return Od(e,lp(Rn(),t,n,r,i,o,s,a,u,c),l,!1),bh}function wh(e,t,n,r,i,o,s,a,u,c,l,p,d){return Od(e,pp(Rn(),t,n,r,i,o,s,a,u,c,l,p),d,!1),wh}function Eh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f){return Od(e,dp(Rn(),t,n,r,i,o,s,a,u,c,l,p,d,h),f,!1),Eh}function Sh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g){return Od(e,hp(Rn(),t,n,r,i,o,s,a,u,c,l,p,d,h,f,m),g,!1),Sh}function xh(e,t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v,y){return Od(e,fp(Rn(),t,n,r,i,o,s,a,u,c,l,p,d,h,f,m,g,v),y,!1),xh}function Dh(e,t,n){return Od(e,sp(Rn(),t),n,!1),Dh}
2function Ch(e,t,n){const r=Rn(),i=Kn();if(tp(r,i,t)){const o=Fn(),s=mr();Kc(o,s,r,e,t,r[Et],n,!0),ngDevMode&&yl(o.data,s,e,i)}return Ch}function Th(e,t,n){const r=Rn(),i=Kn();if(tp(r,i,t)){const o=Fn(),s=mr();Kc(o,s,r,e,t,wl(tr(o.data),s,r),n,!0),ngDevMode&&yl(o.data,s,e,i)}return Th}"undefined"==typeof ngI18nClosureMode&&(ye.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);const kh=void 0;var Ih=["en",[["a","p"],["AM","PM"],kh],[["AM","PM"],kh,kh],[["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"]],kh,[["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"]],kh,[["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}",kh,"{1} 'at' {0}",kh],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Oh={};function Mh(e,t,n){"string"!=typeof t&&(n=t,t=e[jh.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Oh[t]=e,n&&(Oh[t][jh.ExtraData]=n)}function Ah(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Rh(t);if(n)return n;const r=t.split("-")[0];if(n=Rh(r),n)return n;if("en"===r)return Ih;throw new A(701,ngDevMode&&`Missing locale data for the locale "${e}".`)}function Nh(e){return Ah(e)[jh.CurrencyCode]||null}function Ph(e){return Ah(e)[jh.PluralCase]}function Rh(e){return e in Oh||(Oh[e]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[e]),Oh[e]}function Fh(){Oh={}}var jh;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(jh||(jh={}));const Lh=["zero","one","two","few","many"];const $h="en-US",Vh={marker:"element"},Bh={marker:"ICU"};var Uh;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(Uh||(Uh={}));let Hh=$h;function zh(e){X(e,"Expected localeId to be defined"),"string"==typeof e&&(Hh=e.toLowerCase().replace(/_/g,"-"))}function qh(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?_s(e,0,n):(ngDevMode&&te(n,i),_n(n[i]))}function Gh(e,t,n,r,i){const o=t.insertBeforeIndex;if(Array.isArray(o)){ngDevMode&&ee(r);let s=r,a=null;if(3&t.type||(a=s,s=i),null!==s&&-1===t.componentOffset)for(let t=1;t<o.length;t++){fs(e,s,n[o[t]],a,!1)}}}function Wh(e,t){if(ngDevMode&&z(t.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Yh(r)||Zh(r,t)&&null===Kh(r)&&Jh(r,t.index)}}function Yh(e){return!(64&e.type)}function Zh(e,t){return Yh(t)||e.index>t.index}function Kh(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Jh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Ds(qh,Gh),e.insertBeforeIndex=t)}function Xh(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tView")||n.hasOwnProperty("currentCaseLViewIndex")||Q("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&Yt(r),r}function Qh(e,t,n){const r=jc(e,n,64,null,null);return Wh(t,r),r}function ef(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function tf(e){return e>>>17}function nf(e){return(131070&e)>>>1}function rf(e){return 1&e}let of=0,sf=0;function af(e,t,n,r){ngDevMode&&ee(r);const i=n[Et];let o,s=null;for(let a=0;a<t.length;a++){const u=t[a];if("string"==typeof u){const e=t[++a];null===n[e]&&(ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&te(n,e),n[e]=rs(i,u))}else if("number"==typeof u)switch(1&u){case 0:const c=tf(u);let l,p;if(null===s&&(s=c,o=vs(i,r)),c===s?(l=r,p=o):(l=null,p=_n(n[c])),null!==p){ngDevMode&&ee(p);const t=nf(u);ngDevMode&&K(t,Nt,"Missing ref");const r=n[t];ngDevMode&&ee(r),fs(i,p,r,l,!1);const o=Xh(e,t);if(null!==o&&"object"==typeof o){ngDevMode&&Yt(o);const t=ef(o,n);null!==t&&af(e,o.create[t],n,n[o.anchorIdx])}}break;case 1:const d=u>>>1,h=t[++a],f=t[++a];sl(i,bn(d,n),null,null,h,f,null);break;default:if(ngDevMode)throw new A(700,`Unable to determine the type of mutate operation for "${u}"`)}else switch(u){case Bh:const e=t[++a],r=t[++a];if(null===n[r]){ngDevMode&&z(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&tn(n,r);Bo(n[r]=os(i,e),n)}break;case Vh:const o=t[++a],s=t[++a];if(null===n[s]){ngDevMode&&z(typeof o,"string",`Expected "${o}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&tn(n,s);Bo(n[s]=ss(i,o,null),n)}break;default:ngDevMode&&Q(`Unable to determine the type of mutate operation for "${u}"`)}}}function uf(e,t,n,r,i){for(let o=0;o<n.length;o++){const s=n[o],a=n[++o];if(s&i){let i="";for(let s=o+1;s<=o+a;s++){const o=n[s];if("string"==typeof o)i+=o;else if("number"==typeof o)if(o<0)i+=P(t[r-o]);else{const a=o>>>2;switch(3&o){case 1:const o=n[++s],u=n[++s],c=e.data[a];ngDevMode&&X(c,"Experting TNode or string"),"string"==typeof c?sl(t[Et],t[a],null,c,o,i,u):Kc(e,c,t,o,i,t[Et],u,!1);break;case 0:const l=t[a];null!==l&&is(t[Et],l,i);break;case 2:lf(e,Xh(e,a),t,i);break;case 3:cf(e,Xh(e,a),r,t)}}}}else{const i=n[o+1];if(i>0&&3==(3&i)){const n=Xh(e,i>>>2);t[n.currentCaseLViewIndex]<0&&cf(e,n,r,t)}}o+=a}}function cf(e,t,n,r){ngDevMode&&te(r,t.currentCaseLViewIndex);let i=r[t.currentCaseLViewIndex];if(null!==i){let o=of;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),uf(e,r,t.update[i],n,o)}}function lf(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=Ph(t)(p
2arseInt(e,10)),r=Lh[n];return void 0!==r?r:"other"}(t,Hh);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(ef(t,n)!==i&&(pf(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[t.anchorIdx];r&&(ngDevMode&&ee(r),af(e,t.create[i],n,r))}}function pf(e,t,n){let r=ef(t,n);if(null!==r){const i=t.remove[r];for(let t=0;t<i.length;t++){const r=i[t];if(r>0){const e=bn(r,n);null!==e&&Os(n[Et],e)}else pf(e,Xh(e,~r),n)}}}function df(){const e=[];let t,n,r=-1;function i(e,t){r=0;const i=ef(e,t);null!==i?(ngDevMode&&B(i,0,e.cases.length-1),n=e.remove[i]):n=Ve}function o(){if(r<n.length){const s=n[r++];if(ngDevMode&&V(s,"Expecting OpCode number"),s>0){const e=t[s];return ngDevMode&&ee(e),e}{e.push(r,n);const a=~s,u=t[dt].data[a];return ngDevMode&&Yt(u),i(u,t),o()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),o())}return function(n,r){for(t=r;e.length;)e.pop();return ngDevMode&&qt(n,r),i(n.value,r),o}}function hf(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e++],i=t[e],o=(r&Uh.COMMENT)===Uh.COMMENT,s=(r&Uh.APPEND_EAGERLY)===Uh.APPEND_EAGERLY,a=r>>>Uh.SHIFT;n.push(`lView[${a}] = document.${o?"createComment":"createText"}(${JSON.stringify(i)});`),s&&n.push(`parent.appendChild(lView[${a}]);`)}return n}function ff(e){const t=new vf(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=e>>>2,r=3&e;switch(r){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const e=t.consumeString(),r=t.consumeFunction();return`(lView[${n}] as Element).setAttribute('${e}', ${r?`(${r})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(${n}, $$$)`;case 3:return`icuUpdateCase(${n})`}throw new Error("unexpected OpCode")}for(;t.hasMore();){let e=t.consumeNumber(),i=t.consumeNumber();const o=t.i+i,s=[];let a="";for(;t.i<o;){let e=t.consumeNumberOrString();if("string"==typeof e)a+=e;else if(e<0)a+="${lView[i"+e+"]}";else{const t=r(e);s.push(t.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${e.toString(2)}) { ${s.join(" ")} }`)}return n}function mf(e){const t=new vf(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=tf(e),r=nf(e);switch(rf(e)){case 0:return`(lView[${n}] as Element).appendChild(lView[${i}])`;case 1:return`(lView[${r}] as Element).setAttribute("${t.consumeString()}", "${t.consumeString()}")`}throw new Error("Unexpected OpCode: "+rf(e))}let i=-1;for(;t.hasMore();){let e=t.consumeNumberStringOrMarker();if(e===Bh){const e=t.consumeString();i=t.consumeNumber(),n.push(`lView[${i}] = document.createComment("${e}")`)}else if(e===Vh){const e=t.consumeString();i=t.consumeNumber(),n.push(`lView[${i}] = document.createElement("${e}")`)}else if("string"==typeof e)i=t.consumeNumber(),n.push(`lView[${i}] = document.createTextNode("${e}")`);else{if("number"!=typeof e)throw new Error("Unexpected value");{const t=r(e);t&&n.push(t)}}}return n}function gf(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e];r>0?n.push(`remove(lView[${r}])`):n.push(`removeNestedICU(${~r})`)}return n}class vf{constructor(e){this.i=0,this.codes=e}hasMore(){return this.i<this.codes.length}consumeNumber(){let e=this.codes[this.i++];return V(e,"expecting number in OpCode"),e}consumeString(){let e=this.codes[this.i++];return U(e,"expecting string in OpCode"),e}consumeFunction(){let e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let e=this.codes[this.i++];return"string"==typeof e||V(e,"expecting number or string in OpCode"),e}consumeNumberStringOrMarker(){let e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==Bh||e==Vh||V(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}const yf=/�(\d+):?\d*�/gi,_f=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,bf=/�(\d+)�/,wf=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Ef="�",Sf=/�\/?\*(\d+:\d+)�/gi,xf=/�(\/?[#*]\d+):?\d*�/gi,Df=/\uE500/g;function Cf(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:t,enumerable:!1})}function Tf(e,t,n,r,i,o){const s=Bn(),a=[],u=[],c=[[]];ngDevMode&&(Cf(a,hf),Cf(u,ff)),i=function(e,t){if(function(e){return-1===e}(t))return Nf(e);{const n=e.indexOf(`:${t}${Ef}`)+2+t.toString().length,r=e.search(new RegExp(`${Ef}\\/\\*\\d+:${t}${Ef}`));return Nf(e.substring(n,r))}}(i,o);const l=(p=i,p.replace(Df," ")).split(xf);var p;for(let o=0;o<l.length;o++){let p=l[o];if(0==(1&o)){const o=Ff(p);for(let l=0;l<o.length;l++){let p=o[l];if(0==(1&l)){const t=p;ngDevMode&&U(t,"Parsed ICU part should be string"),""!==t&&If(e,s,c[0],a,u,n,t)}else{const o=p;if("object"!=typeof o)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const l=kf(e,s,c[0],n,a,ngDevMode?`ICU ${r}:${o.mainBinding}`:"",!0).index;
2ngDevMode&&J(l,Nt,"Index must be in absolute LView offset"),Pf(e,n,u,t,o,l)}}}else{const t=47===p.charCodeAt(0),n=p.charCodeAt(t?1:0);ngDevMode&&ne(n,42,35);const r=Nt+Number.parseInt(p.substring(t?2:1));if(t)c.shift(),Un(Bn(),!1);else{const t=Qh(e,c[0],r);c.unshift([]),Un(t,!0)}}}e.data[r]={create:a,update:u}}function kf(e,t,n,r,i,o,s){const a=Lc(e,r,1,null);let u=a<<Uh.SHIFT,c=Bn();var l;t===c&&(c=null),null===c&&(u|=Uh.APPEND_EAGERLY),s&&(u|=Uh.COMMENT,l=df,void 0===Zo&&(Zo=l())),i.push(u,null===o?"":o);const p=jc(e,a,s?32:1,null===o?ngDevMode?"{{?}}":"":o,null);Wh(n,p);const d=p.index;return Un(p,!1),null!==c&&t!==c&&function(e,t){ngDevMode&&Wt(e);let n=e.insertBeforeIndex;null===n?(Ds(qh,Gh),n=e.insertBeforeIndex=[null,t]):(z(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,d),p}function If(e,t,n,r,i,o,s){const a=s.match(yf),u=kf(e,t,n,o,r,a?null:s,!1);a&&Of(i,s,u.index,null,0,null)}function Of(e,t,n,r,i,o){ngDevMode&&J(n,Nt,"Index must be in absolute LView offset");const s=e.length,a=s+1;e.push(null,null);const u=s+2;ngDevMode&&Cf(e,ff);const c=t.split(yf);let l=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=i+parseInt(n,10);e.push(-1-t),l|=Af(t)}else""!==n&&e.push(n)}return e.push(n<<2|(r?1:0)),r&&e.push(r,o),e[s]=l,e[a]=e.length-u,l}function Mf(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Af(e){return 1<<Math.min(e,31)}function Nf(e){let t,n,r="",i=0,o=!1;for(;null!==(t=Sf.exec(e));)o?t[0]===`${Ef}/*${n}${Ef}`&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return ngDevMode&&z(o,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${e}"`),r+=e.slice(i),r}function Pf(e,t,n,r,i,o){ngDevMode&&X(i,"ICU expression must be defined");let s=0;const a={type:i.type,currentCaseLViewIndex:Lc(e,t,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Af(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,o),function(e,t,n){const r=e.data[t];ngDevMode&&z(null===r||r.hasOwnProperty("tView"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[t]=n:(ngDevMode&&kr(r,32),r.value=n)}(e,o,a);const u=i.values;for(let o=0;o<u.length;o++){const c=u[o],l=[];for(let e=0;e<c.length;e++){const t=c[e];if("string"!=typeof t){const n=l.push(t)-1;c[e]=`\x3c!--�${n}�--\x3e`}}s=jf(e,a,t,n,r,i.cases[o],c.join(""),l)|s}s&&function(e,t,n){e.push(t,1,n<<2|3)}(n,s,o)}function Rf(e){const t=[],n=[];let r=1,i=0;const o=Ff(e=e.replace(wf,(function(e,t,n){return r="select"===n?0:1,i=parseInt(t.slice(1),10),""})));for(let e=0;e<o.length;){let i=o[e++].trim();1===r&&(i=i.replace(/\s*(?:=)?(\w+)\s*/,"$1")),i.length&&t.push(i);const s=Ff(o[e++]);t.length>n.length&&n.push(s)}return{type:r,mainBinding:i,cases:t,values:n}}function Ff(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(e);){const i=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=e.substring(t,i);wf.test(n)?r.push(Rf(n)):r.push(n),t=i+1}}else{if(0==n.length){const n=e.substring(t,i);r.push(n),t=i+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function jf(e,t,n,r,i,o,s,a){const u=[],c=[],l=[];ngDevMode&&(Cf(u,mf),Cf(c,gf),Cf(l,ff)),t.cases.push(o),t.create.push(u),t.remove.push(c),t.update.push(l);const p=oa(Vs()).getInertBodyElement(s);ngDevMode&&X(p,"Unable to generate inert body element");const d=Oa(p)||p;return d?Lf(e,t,n,r,u,c,l,d,i,a,0):0}function Lf(e,t,n,r,i,o,s,a,u,c,l){let p=0,d=a.firstChild;for(;d;){const a=Lc(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const h=d,f=h.tagName.toLowerCase();if(ya.hasOwnProperty(f)){Bf(i,Vh,f,u,a),e.data[a]=f;const m=h.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();!!t.value.match(yf)?Ea.hasOwnProperty(n)?_a[n]?Of(s,t.value,a,t.name,0,ca):Of(s,t.value,a,t.name,0,null):ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute value ${n} on element ${f} (see ${M})`):Uf(i,a,t)}p=Lf(e,t,n,r,i,o,s,d,a,c,l+1)|p,$f(o,a,l)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(yf);Bf(i,null,g?"":m,u,a),$f(o,a,l),g&&(p=Of(s,m,a,null,0,null)|p);break;case Node.COMMENT_NODE:const v=bf.exec(d.textContent||"");if(v){const t=parseInt(v[1],10),s=c[t];Bf(i,Bh,ngDevMode?`nested ICU ${t}`:"",u,a),Pf(e,n,r,u,s,a),Vf(o,a,l)}}d=d.nextSibling}return p}function $f(e,t,n){0===n&&e.push(t)}function Vf(e,t,n){0===n&&(e.push(~t),e.push(t))}function Bf(e,t,n,r,i){var o,s,a;
2null!==t&&e.push(t),e.push(n,i,(o=0,s=r,a=i,ngDevMode&&J(s,0,"Missing parent index"),ngDevMode&&K(a,0,"Missing ref index"),o|s<<17|a<<1))}function Uf(e,t,n){e.push(t<<1|1,n.name,n.value)}const Hf=0,zf=/\[(�.+?�?)\]/,qf=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Gf=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Wf=/{([A-Z0-9_]+)}/g,Yf=/�I18N_EXP_(ICU(_\d+)?)�/g,Zf=/\/\*/,Kf=/\d+\:(\d+)/;function Jf(e,t,n=-1){const r=Fn(),i=Rn(),o=Nt+e;ngDevMode&&X(r,"tView should be defined");const s=Tn(r.consts,t),a=Bn();r.firstCreatePass&&Tf(r,null===a?0:a.index,i,o,s,n);const u=r.data[o],c=hs(r,a===i[vt]?null:a,i),l=a&&8&a.type?i[a.index]:null;!function(e,t,n,r){const i=e[Et];for(let o=0;o<t.length;o++){const s=t[o++],a=t[o],u=(s&Uh.COMMENT)===Uh.COMMENT,c=(s&Uh.APPEND_EAGERLY)===Uh.APPEND_EAGERLY,l=s>>>Uh.SHIFT;let p=e[l];null===p&&(p=e[l]=u?i.createComment(a):rs(i,a)),c&&null!==n&&fs(i,n,p,r,!1)}}(i,u.create,c,l),Xn(!0)}function Xf(){Xn(!1)}function Qf(e,t,n){Jf(e,t,n),Xf()}function em(e,t){const n=Fn();ngDevMode&&X(n,"tView should be defined");const r=Tn(n.consts,t);!function(e,t,n){const r=$n().index,i=[];if(ngDevMode&&Cf(i,ff),e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],o=n[e+1];if(""!==o){if(_f.test(o))throw new Error(`ICU expressions are not supported in attributes. Message: "${o}".`);Of(i,o,r,t,Mf(i),null)}}e.data[t]=i}}(n,e+Nt,r)}function tm(e){const t=Rn();return tp(t,Kn(),e)&&(of|=1<<Math.min(sf,31)),sf++,tm}function nm(e){!function(e,t,n){if(sf>0){ngDevMode&&X(e,"tView should be defined");const r=e.data[n];uf(e,t,Array.isArray(r)?r:r.update,Yn()-sf-1,of)}of=0,sf=0}(Fn(),Rn(),e+Nt)}
2function rm(e,t={}){return function(e,t={}){let n=e;if(zf.test(e)){const e={},t=[Hf];n=n.replace(qf,((n,r,i)=>{const o=r||i,s=e[o]||[];if(s.length||(o.split("|").forEach((e=>{const t=e.match(Kf),n=t?parseInt(t[1],10):Hf,r=Zf.test(e);s.push([n,r,e])})),e[o]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${o}`);const a=t[t.length-1];let u=0;for(let e=0;e<s.length;e++)if(s[e][0]===a){u=e;break}const[c,l,p]=s[u];return l?t.pop():a!==c&&t.push(c),s.splice(u,1),p}))}return Object.keys(t).length?(n=n.replace(Gf,((e,n,r,i,o,s)=>t.hasOwnProperty(r)?`${n}${t[r]}${s}`:e)),n=n.replace(Wf,((e,n)=>t.hasOwnProperty(n)?t[n]:e)),n=n.replace(Yf,((e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e})),n):n}(e,t)}function im(e,t,n,r,i){if(e=T(e),Array.isArray(e))for(let o=0;o<e.length;o++)im(e[o],t,n,r,i);else{const o=Fn(),s=Rn();let a=nu(e)?e:T(e.provide),u=pu(e);const c=$n(),l=1048575&c.providerIndexes,p=c.directiveStart,d=c.providerIndexes>>20;if(nu(e)||!e.multi){const r=new Cr(u,i,Ac),h=am(a,t,i?l:l+d,p);-1===h?(Wr(Hr(c,s),o,a),om(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(r),s.push(r)):(n[h]=r,s[h]=r)}else{const h=am(a,t,l+d,p),f=am(a,t,l,l+d),m=h>=0&&n[h],g=f>=0&&n[f];if(i&&!g||!i&&!m){Wr(Hr(c,s),o,a);const l=function(e,t,n,r,i){const o=new Cr(e,n,Ac);return o.multi=[],o.index=t,o.componentProviders=0,sm(o,i,r&&!n),o}(i?cm:um,n.length,i,r,u);!i&&g&&(n[f].providerFactory=l),om(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(l),s.push(l)}else{om(o,e,h>-1?h:f,sm(n[i?f:h],u,!i&&r))}!i&&r&&g&&n[f].componentProviders++}}}function om(e,t,n,r){const i=nu(t),o=!!t.useClass;if(i||o){const s=(o?T(t.useClass):t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){ngDevMode&&X(r,"indexInFactory when registering multi factory destroy hook");const e=o.indexOf(n);-1===e?o.push(n,[r,s]):o[e+1].push(r,s)}else o.push(n,s)}}}function sm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function am(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function um(e,t,n,r){return lm(this.multi,[])}function cm(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=ei(n,n[dt],this.providerFactory.index,r);o=t.slice(0,e),lm(i,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],lm(i,o);return o}function lm(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function pm(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Fn();if(r.firstCreatePass){const i=zt(e);im(n,r.data,r.blueprint,i,!0),im(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}class dm{}class hm{}function fm(e,t){return new gm(e,t??null)}const mm=fm;class gm extends dm{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Il(this);const n=at(e);ngDevMode&&X(n,`NgModule '${S(e)}' is not a subtype of 'NgModuleType'.`),this._bootstrapComponents=ju(n.bootstrap),this._r3Injector=cc(e,t,[{provide:dm,useValue:this},{provide:yu,useValue:this.componentFactoryResolver}],S(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){ngDevMode&&X(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((e=>e())),this.destroyCbs=null}onDestroy(e){ngDevMode&&X(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class vm extends hm{constructor(e){super(),this.moduleType=e}create(e){return new gm(this.moduleType,e)}}class ym extends dm{constructor(e,t,n){super(),this.componentFactoryResolver=new Il(this),this.instance=null;const r=new cu([...e,{provide:dm,useValue:this},{provide:yu,useValue:this.componentFactoryResolver}],t||au(),n,new Set(["environment"]));
2this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function _m(e,t,n=null){return new ym(e,t,n).injector}class bm{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const t=Wa(!1,e.type),n=t.length>0?_m([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,n)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}function wm(e){e.getStandaloneInjector=t=>t.get(bm).getOrCreateStandaloneInjector(e)}function Em(e){ngDevMode&&Nm(e);const t=jo(e);if(null===t)return null;if(void 0===t.component){const e=t.lView;if(null===e)return null;t.component=function(e,t){const n=t[dt].data[e],{directiveStart:r,componentOffset:i}=n;return i>-1?t[r+i]:null}(t.nodeIndex,e)}return t.component}function Sm(e){Nm(e);const t=jo(e),n=t?t.lView:null;return null===n?null:n[_t]}function xm(e){const t=jo(e);let n,r=t?t.lView:null;if(null===r)return null;for(;2===r[dt].type&&(n=Jo(r));)r=n;return 256&r[ht]?null:r[_t]}function Dm(e){const t=Ho(e);return null!==t?[Xo(t)]:[]}function Cm(e){const t=jo(e),n=t?t.lView:null;if(null===n)return lc.NULL;const r=n[dt].data[t.nodeIndex];return new ri(r,n)}function Tm(e){if(e instanceof Text)return[];const t=jo(e),n=t?t.lView:null;if(null===n)return[];const r=n[dt],i=t.nodeIndex;return r?.data[i]?(void 0===t.directives&&(t.directives=Yo(i,n)),null===t.directives?[]:[...t.directives]):[]}function km(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=rt(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?je.OnPush:je.Default};const r=it(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Im(e){const t=jo(e);if(null===t)return{};if(void 0===t.localRefs){const e=t.lView;if(null===e)return{};t.localRefs=function(e,t){const n=e[dt].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)t[n.localNames[i]]=e[r],r++;return t}return null}(e,t.nodeIndex)}return t.localRefs||{}}function Om(e){return jo(e).native}function Mm(e){ngDevMode&&Nm(e);const t=jo(e),n=null===t?null:t.lView;if(null===n)return[];const r=n[dt],i=n[yt],o=r.cleanup,s=[];if(o&&i)for(let t=0;t<o.length;){const r=o[t++],a=o[t++];if("string"==typeof r){const u=r,c=_n(n[a]),l=i[o[t++]],p=o[t++],d="boolean"==typeof p||p>=0?"dom":"output",h="boolean"==typeof p&&p;e==c&&s.push({element:e,name:u,callback:l,useCapture:h,type:d})}}return s.sort(Am),s}function Am(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Nm(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function Pm(e,t,n,r){return Fe((()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?i.propDecorators={...i.propDecorators,...r}:i.propDecorators=r)}))}function Rm(e,t,n){const r=Wn()+e,i=Rn();return i[r]===Qu?Ql(i,r,n?t.call(n):t()):ep(i,r)}function Fm(e,t,n,r){return Gm(Rn(),Wn(),e,t,n,r)}function jm(e,t,n,r,i){return Wm(Rn(),Wn(),e,t,n,r,i)}function Lm(e,t,n,r,i,o){return Ym(Rn(),Wn(),e,t,n,r,i,o)}function $m(e,t,n,r,i,o,s){return Zm(Rn(),Wn(),e,t,n,r,i,o,s)}function Vm(e,t,n,r,i,o,s,a){const u=Wn()+e,c=Rn(),l=ip(c,u,n,r,i,o);return tp(c,u+4,s)||l?Ql(c,u+5,a?t.call(a,n,r,i,o,s):t(n,r,i,o,s)):ep(c,u+5)}function Bm(e,t,n,r,i,o,s,a,u){const c=Wn()+e,l=Rn(),p=ip(l,c,n,r,i,o);return np(l,c+4,s,a)||p?Ql(l,c+6,u?t.call(u,n,r,i,o,s,a):t(n,r,i,o,s,a)):ep(l,c+6)}function Um(e,t,n,r,i,o,s,a,u,c){const l=Wn()+e,p=Rn();let d=ip(p,l,n,r,i,o);return rp(p,l+4,s,a,u)||d?Ql(p,l+7,c?t.call(c,n,r,i,o,s,a,u):t(n,r,i,o,s,a,u)):ep(p,l+7)}function Hm(e,t,n,r,i,o,s,a,u,c,l){const p=Wn()+e,d=Rn(),h=ip(d,p,n,r,i,o);return ip(d,p+4,s,a,u,c)||h?Ql(d,p+8,l?t.call(l,n,r,i,o,s,a,u,c):t(n,r,i,o,s,a,u,c)):ep(d,p+8)}function zm(e,t,n,r){return Km(Rn(),Wn(),e,t,n,r)}function qm(e,t){ngDevMode&&te(e,t);const n=e[t];return n===Qu?void 0:n}function Gm(e,t,n,r,i,o){const s=t+n;return tp(e,s,i)?Ql(e,s+1,o?r.call(o,i):r(i)):qm(e,s+1)}function Wm(e,t,n,r,i,o,s){const a=t+n;return np(e,a,i,o)?Ql(e,a+2,s?r.call(s,i,o):r(i,o)):qm(e,a+2)}function Ym(e,t,n,r,i,o,s,a){const u=t+n;return rp(e,u,i,o,s)?Ql(e,u+3,a?r.call(a,i,o,s):r(i,o,s)):qm(e,u+3)}function Zm(e,t,n,r,i,o,s,a,u){const c=t+n;return ip(e,c,i,o,s,a)?Ql(e,c+4,u?r.call(u,i,o,s,a):r(i,o,s,a)):qm(e,c+4)}function Km(e,t,n,r,i,o){let s=t+n,a=!1;for(let t=0;t<i.length;t++)tp(e,s++,i[t])&&(a=!0);return a?Ql(e,s,r.apply(o,i)):qm(e,s)}function Jm(e,t){const n=Fn();let r;const i=e+Nt;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}if(ngDevMode)throw new A(-302,function(e){const t=Rn(),n=t[Tt][_t],r=xo(t),i=n?` in the '${n.constructor.name}' component`:"",o=`The pipe '${e}' could not be found${i}. ${"Verify that it is "+(r?"included in the '@Component.imports' of this component":"declared or imported in this module")}`;return o}(e))}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=sn(r.type,!0)),s=ge(Ac);try{const e=Lr(!1),t=o();return Lr(e),Cp(n,Rn(),i,t),t}finally{ge(s)}}function Xm(e,t,n){const r=e+Nt,i=Rn(),o=Sn(i,r);return rg(i,r)?Gm(i,Wn(),t,o.transform,n,o):o.transform(n)}function Qm(e,t,n,r){const i=e+Nt,o=Rn(),s=Sn(o,i);return rg(o,i)?Wm(o,Wn(),t,s.transform,n,r,s):s.transform(n,r)}function eg(e,t,n,r,i){const o=e+Nt,s=Rn(),a=Sn(s,o);return rg(s,o)?Ym(s,Wn(),t,a.transform,n,r,i,a):a.transform(n,r,i)}function tg(e,t,n,r,i,o){const s=e+Nt,a=Rn(),u=Sn(a,s);return rg(a,s)?Zm(a,Wn(),t,u.transform,n,r,i,o,u):u.transform(n,r,i,o)}function ng(e,t,n){const r=e+Nt,i=Rn(),o=Sn(i,r);return rg(i,r)?Km(i,Wn(),t,o.transform,n,o):o.transform.apply(o,n)}function rg(e,t){return e[dt].data[t].pure}bm.ɵprov=re({token:bm,providedIn:"environment",factory:()=>new bm(Ie(uu))});function ig(e){return t=>{setTimeout(e,void 0,t)}}const og=class extends c{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r=e,i=t||(()=>null),s=n;if(e&&"object"==typeof e){const t=e;r=t.next?.bind(t),i=t.error?.bind(t),s=t.complete?.bind(t)}this.__isAsync&&(i=ig(i),r&&(r=ig(r)),s&&(s=ig(s)));const a=super.subscribe({next:r,error:i,complete:s});return e instanceof o.w0&&e.add(a),a}};function sg(){return this._results[Symbol.iterator]()}class ag{get changes(){return this._changes||(this._changes=new og)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=ag.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=sg)}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,t){return this._results.reduce(e,t)}
2forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=Oi(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol.iterator;class ug{}ug.__NG_ELEMENT_ID__=function(){return pg($n(),Rn())};const cg=ug,lg=class extends cg{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e,t){const n=this._declarationTContainer.tView,r=Rc(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null,t||null),i=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Kt(i),r[kt]=i;const o=this._declarationLView[Ot];return null!==o&&(r[Ot]=o.createEmbeddedView(n)),$c(n,r,e),new Tl(r)}};function pg(e,t){return 4&e.type?(ngDevMode&&X(e.tView,"TView must be allocated"),new lg(t,e,_u(e,t))):null}class dg{}dg.__NG_ELEMENT_ID__=function(){return vg($n(),Rn())};const hg=dg,fg=class extends hg{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return _u(this._hostTNode,this._hostLView)}get injector(){return new ri(this._hostTNode,this._hostLView)}get parentInjector(){const e=Gr(this._hostTNode,this._hostLView);if(Pr(e)){const t=Fr(e,this._hostLView),n=Rr(e);ngDevMode&&on(t,n);const r=t[dt].data[n+8];return new ri(r,t)}return new ri(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=mg(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Lt}createEmbeddedView(e,t,n){let r,i;"number"==typeof n?r=n:null!=n&&(r=n.index,i=n.injector);const o=e.createEmbeddedView(t||{},i);return this.insert(o,r),o}createComponent(e,t,n,r,i){const o=e&&!Ii(e);let s;if(o)ngDevMode&&z("object"!=typeof t,!0,"It looks like Component factory was provided as the first argument and an options object as the second argument. This combination of arguments is incompatible. You can either change the first argument to provide Component type or change the second argument to be a number (representing an index at which to insert the new component's host view into this container)"),s=t;else{ngDevMode&&(X(rt(e),"Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator."),z("number"!=typeof t,!0,"It looks like Component type was provided as the first argument and a number (representing an index at which to insert the new component's host view into this container as the second argument. This combination of arguments is incompatible. Please use an object as the second argument instead."));const o=t||{};ngDevMode&&o.environmentInjector&&o.ngModuleRef&&Q("Cannot pass both environmentInjector and ngModuleRef options to createComponent()."),s=o.index,n=o.injector,r=o.projectableNodes,i=o.environmentInjector||o.ngModuleRef}const a=o?e:new Al(rt(e)),u=n||this.parentInjector;if(!i&&null==a.ngModule){const e=(o?u:this.parentInjector).get(uu,null);e&&(i=e)}const c=a.create(u,r,void 0,i);return this.insert(c.hostView,s),c}insert(e,t){const n=e._lView,r=n[dt];if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(Vt(n[ft])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[ft];ngDevMode&&z(Vt(t),!0,"An attached view should have its PARENT point to a container.");const r=new fg(t,t[vt],t[ft]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t),o=this._lContainer;as(r,n,o,i);const s=Is(i,o),a=n[Et],u=vs(a,o[Ft]);return null!==u&&function(e,t,n,r,i,o){r[pt]=i,r[vt]=t,As(e,r,n,1,i,o)}(r,o[vt],a,n,u,s),e.attachToViewContainerRef(),Ai(gg(o),i,e),e}move(e,t){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=mg(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=cs(this._lContainer,t);n&&(Ni(gg(this._lContainer),t),ls(n[dt],n))}detach(e){const t=this._adjustIndex(e,-1),n=cs(this._lContainer,t);return n&&null!=Ni(gg(this._lContainer),t)?new Tl(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(K(e,-1,`ViewRef index must be positive, got ${e}`),Y(e,this.length+1+t,"index")),e)}};function mg(e){return e[8]}function gg(e){return e[8]||(e[8]=[])}function vg(e,t){let n;ngDevMode&&kr(e,15);const r=t[e.index];if(Vt(r))n=r;else{let i;if(8&e.type)i=_n(r);else{const n=t[Et];ngDevMode&&ngDevMode.rendererCreateComment++,i=n.createComment(ngDevMode?"container":"");const r=wn(e,t);fs(n,vs(n,r),i,function(e,t){return e.nextSibling(t)}(n,r),!1)}t[e.index]=n=cl(r,t,i,e),hl(t,n)}return new fg(n,e,t)}class yg{constructor(e){this.queryList=e,this.matches=null}clone(){return new yg(this.queryList)}setDirty(){this.queryList.setDirty()}}class _g{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),i=this.queries[n.indexInDeclarationView];
2r.push(i.clone())}return new _g(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Ng(e,t).matches&&this.queries[t].setDirty()}}class bg{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class wg{constructor(e=[]){this.queries=e}elementStart(e,t){ngDevMode&&Qt(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new wg(t):null}template(e,t){ngDevMode&&Qt(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return ngDevMode&&te(this.queries,e),this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Eg{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Eg(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Sg(t,i)),this.matchTNodeWithReadOption(e,t,Qr(t,e,i,!1,!1))}else n===ug?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Qr(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===bu||r===dg||r===ug&&4&t.type)this.addMatch(t.index,-2);else{const n=Qr(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Sg(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function xg(e,t,n,r){return-1===n?function(e,t){return 11&e.type?_u(e,t):4&e.type?pg(e,t):null}(t,e):-2===n?function(e,t,n){if(n===bu)return _u(t,e);if(n===ug)return pg(t,e);if(n===dg)return ngDevMode&&kr(t,15),vg(t,e);ngDevMode&&Q(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${S(n)}.`)}(e,t,r):ei(e,e[dt],n,t)}function Dg(e,t,n,r){const i=t[Ot].queries[r];if(null===i.matches){const r=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const i=o[e];if(i<0)s.push(null);else{ngDevMode&&te(r,i);const a=r[i];s.push(xg(t,a,o[e+1],n.metadata.read))}}i.matches=s}return i.matches}function Cg(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=Dg(e,t,i,n);for(let e=0;e<o.length;e+=2){const n=o[e];if(n>0)r.push(s[e/2]);else{const i=o[e+1],s=t[-n];ngDevMode&&Kt(s);for(let e=Lt;e<s.length;e++){const t=s[e];t[kt]===t[ft]&&Cg(t[dt],t,i,r)}if(null!==s[jt]){const e=s[jt];for(let t=0;t<e.length;t++){const n=e[t];Cg(n[dt],n,i,r)}}}}}return r}function Tg(e){const t=Rn(),n=Fn(),r=nr();rr(r+1);const i=Ng(n,r);if(e.dirty&&Dn(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?Cg(n,t,r,[]):Dg(n,t,i,r);e.reset(o,wu),e.notifyOnChanges()}return!0}return!1}function kg(e,t,n){ngDevMode&&V(t,"Expecting flags");const r=Fn();r.firstCreatePass&&(Ag(r,new bg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Mg(r,Rn(),t)}function Ig(e,t,n,r){ngDevMode&&V(n,"Expecting flags");const i=Fn();if(i.firstCreatePass){const o=$n();Ag(i,new bg(t,n,r),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Mg(i,Rn(),n)}function Og(){return e=Rn(),t=nr(),ngDevMode&&X(e[Ot],"LQueries should be defined when trying to load a query"),ngDevMode&&te(e[Ot].queries,t),e[Ot].queries[t].queryList;var e,t}
2function Mg(e,t,n){const r=new ag(4==(4&n));Wc(e,t,r,r.destroy),null===t[Ot]&&(t[Ot]=new _g),t[Ot].queries.push(new yg(r))}function Ag(e,t,n){null===e.queries&&(e.queries=new wg),e.queries.track(new Eg(t,n))}function Ng(e,t){return ngDevMode&&X(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}function Pg(e,t){return pg(e,t)}const Rg={"ɵɵattribute":op,"ɵɵattributeInterpolate1":mp,"ɵɵattributeInterpolate2":gp,"ɵɵattributeInterpolate3":vp,"ɵɵattributeInterpolate4":yp,"ɵɵattributeInterpolate5":_p,"ɵɵattributeInterpolate6":bp,"ɵɵattributeInterpolate7":wp,"ɵɵattributeInterpolate8":Ep,"ɵɵattributeInterpolateV":Sp,"ɵɵdefineComponent":Ye,"ɵɵdefineDirective":tt,"ɵɵdefineInjectable":re,"ɵɵdefineInjector":oe,"ɵɵdefineNgModule":Xe,"ɵɵdefinePipe":nt,"ɵɵdirectiveInject":Ac,"ɵɵgetInheritedFactory":oi,"ɵɵinject":Ie,"ɵɵinjectAttribute":ui,"ɵɵinvalidFactory":Nc,"ɵɵinvalidFactoryDep":Oe,"ɵɵtemplateRefExtractor":Pg,"ɵɵresetView":Ln,"ɵɵHostDirectivesFeature":zl,"ɵɵNgOnChangesFeature":un,"ɵɵProvidersFeature":pm,"ɵɵCopyDefinitionFeature":Hl,"ɵɵInheritDefinitionFeature":Fl,"ɵɵStandaloneFeature":wm,"ɵɵnextContext":qp,"ɵɵnamespaceHTML":yr,"ɵɵnamespaceMathML":vr,"ɵɵnamespaceSVG":gr,"ɵɵenableBindings":Nn,"ɵɵdisableBindings":Pn,"ɵɵelementStart":Op,"ɵɵelementEnd":Mp,"ɵɵelement":Ap,"ɵɵelementContainerStart":Np,"ɵɵelementContainerEnd":Pp,"ɵɵelementContainer":Rp,"ɵɵpureFunction0":Rm,"ɵɵpureFunction1":Fm,"ɵɵpureFunction2":jm,"ɵɵpureFunction3":Lm,"ɵɵpureFunction4":$m,"ɵɵpureFunction5":Vm,"ɵɵpureFunction6":Bm,"ɵɵpureFunction7":Um,"ɵɵpureFunction8":Hm,"ɵɵpureFunctionV":zm,"ɵɵgetCurrentView":Fp,"ɵɵrestoreView":jn,"ɵɵlistener":Vp,"ɵɵprojection":Yp,"ɵɵsyntheticHostProperty":Th,"ɵɵsyntheticHostListener":Bp,"ɵɵpipeBind1":Xm,"ɵɵpipeBind2":Qm,"ɵɵpipeBind3":eg,"ɵɵpipeBind4":tg,"ɵɵpipeBindV":ng,"ɵɵprojectionDef":Wp,"ɵɵhostProperty":Ch,"ɵɵproperty":kp,"ɵɵpropertyInterpolate":Zp,"ɵɵpropertyInterpolate1":Kp,"ɵɵpropertyInterpolate2":Jp,"ɵɵpropertyInterpolate3":Xp,"ɵɵpropertyInterpolate4":Qp,"ɵɵpropertyInterpolate5":ed,"ɵɵpropertyInterpolate6":td,"ɵɵpropertyInterpolate7":nd,"ɵɵpropertyInterpolate8":rd,"ɵɵpropertyInterpolateV":id,"ɵɵpipe":Jm,"ɵɵqueryRefresh":Tg,"ɵɵviewQuery":kg,"ɵɵloadQuery":Og,"ɵɵcontentQuery":Ig,"ɵɵreference":Tp,"ɵɵclassMap":kd,"ɵɵclassMapInterpolate1":Qd,"ɵɵclassMapInterpolate2":eh,"ɵɵclassMapInterpolate3":th,"ɵɵclassMapInterpolate4":nh,"ɵɵclassMapInterpolate5":rh,"ɵɵclassMapInterpolate6":ih,"ɵɵclassMapInterpolate7":oh,"ɵɵclassMapInterpolate8":sh,"ɵɵclassMapInterpolateV":ah,"ɵɵstyleMap":Cd,"ɵɵstyleMapInterpolate1":uh,"ɵɵstyleMapInterpolate2":ch,"ɵɵstyleMapInterpolate3":lh,"ɵɵstyleMapInterpolate4":ph,"ɵɵstyleMapInterpolate5":dh,"ɵɵstyleMapInterpolate6":hh,"ɵɵstyleMapInterpolate7":fh,"ɵɵstyleMapInterpolate8":mh,"ɵɵstyleMapInterpolateV":gh,"ɵɵstyleProp":xd,"ɵɵstylePropInterpolate1":vh,"ɵɵstylePropInterpolate2":yh,"ɵɵstylePropInterpolate3":_h,"ɵɵstylePropInterpolate4":bh,"ɵɵstylePropInterpolate5":wh,"ɵɵstylePropInterpolate6":Eh,"ɵɵstylePropInterpolate7":Sh,"ɵɵstylePropInterpolate8":xh,"ɵɵstylePropInterpolateV":Dh,"ɵɵclassProp":Dd,"ɵɵadvance":ec,"ɵɵtemplate":Dp,"ɵɵtext":Ud,"ɵɵtextInterpolate":Hd,"ɵɵtextInterpolate1":zd,"ɵɵtextInterpolate2":qd,"ɵɵtextInterpolate3":Gd,"ɵɵtextInterpolate4":Wd,"ɵɵtextInterpolate5":Yd,"ɵɵtextInterpolate6":Zd,"ɵɵtextInterpolate7":Kd,"ɵɵtextInterpolate8":Jd,"ɵɵtextInterpolateV":Xd,"ɵɵi18n":Qf,"ɵɵi18nAttributes":em,"ɵɵi18nExp":tm,"ɵɵi18nStart":Jf,"ɵɵi18nEnd":Xf,"ɵɵi18nApply":nm,"ɵɵi18nPostprocess":rm,"ɵɵresolveWindow":Nu,"ɵɵresolveDocument":Pu,"ɵɵresolveBody":Ru,"ɵɵsetComponentScope":Ze,"ɵɵsetNgModuleScope":Qe,"ɵɵregisterNgModuleType":co,"ɵɵsanitizeHtml":Aa,"ɵɵsanitizeStyle":Na,"ɵɵsanitizeResourceUrl":Ra,"ɵɵsanitizeScript":Fa,"ɵɵsanitizeUrl":Pa,"ɵɵsanitizeUrlOrResourceUrl":$a,"ɵɵtrustConstantHtml":ja,"ɵɵtrustConstantResourceUrl":La,"ɵɵvali
2dateIframeAttribute":Ls,forwardRef:C,resolveForwardRef:T};let Fg=null;function jg(){Fg=null}function Lg(e){return void 0!==e.ngModule}function $g(e){return!!at(e)}const Vg=[];let Bg=!1;function Ug(){if(!Bg){Bg=!0;try{for(let e=Vg.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Vg[e];n.declarations&&n.declarations.every(Hg)&&(Vg.splice(e,1),Qg(t,n))}}finally{Bg=!1}}}function Hg(e){return Array.isArray(e)?e.every(Hg):!!T(e)}function zg(e,t={}){qg(e,t),void 0!==t.id&&co(e,t.id),function(e,t){Vg.push({moduleType:e,ngModule:t})}(e,t)}function qg(e,t,n=!1){ngDevMode&&X(e,"Required value moduleType"),ngDevMode&&X(t,"Required value ngModule");const r=Oi(t.declarations||Ve);let i=null;Object.defineProperty(e,ze,{configurable:!0,get:()=>{if(null===i){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${R(e)}' module can't import itself`);const n=Ti({usage:0,kind:"NgModule",type:e});i=n.compileNgModule(Rg,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:Oi(t.bootstrap||Ve).map(T),declarations:r.map(T),imports:Oi(t.imports||Ve).map(T).map(nv),exports:Oi(t.exports||Ve).map(T).map(nv),schemas:t.schemas?Oi(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])}return i}});let o=null;Object.defineProperty(e,qe,{get:()=>{if(null===o){const t=Ti({usage:0,kind:"NgModule",type:e});o=t.compileFactory(Rg,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:Qi(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!!ngDevMode});let s=null;Object.defineProperty(e,pe,{get:()=>{if(null===s){ngDevMode&&Gg(e,n);const r={name:e.name,type:e,providers:t.providers||Ve,imports:[(t.imports||Ve).map(T),(t.exports||Ve).map(T)]},i=Ti({usage:0,kind:"NgModule",type:e});s=i.compileInjector(Rg,`ng:///${e.name}/ɵinj.js`,r)}return s},configurable:!!ngDevMode})}function Gg(e,t,n){if(Kg.get(e))return;if(st(e))return;let r;if(Kg.set(e,!0),e=T(e),n){if(r=at(e),!r)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=at(e,!0);const i=[],o=ju(r.declarations),s=ju(r.imports);Oi(s).map(Wg).forEach((t=>{p(t,e),Gg(t,!1,e)}));const a=ju(r.exports);o.forEach((function(t){t=T(t);rt(t)||it(t)||ot(t)||i.push(`Unexpected value '${R(t)}' declared by the module '${R(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),o.forEach((function(e){const t=it(e=T(e));!rt(e)&&t&&0==t.selectors.length&&i.push(`Directive ${R(e)} has no selector, please add it!`)})),o.forEach((t=>function(e,t){const n=rt(e=T(e))||it(e)||ot(e);if(n?.standalone){const n=`"${R(t)}" NgModule`;i.push(function(e,t){return`Unexpected "${R(e)}" found in the "declarations" array of the ${t}, "${R(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}(e,n))}}(t,e)));const u=[...o.map(T),...Oi(s.map(Xg)).map(T)];a.forEach((function(t){const n=(rt(t=T(t))?"component":it(t)&&"directive")||ot(t)&&"pipe";n&&-1===u.lastIndexOf(t)&&i.push(`Can't export ${n} ${R(t)} from ${R(e)} as it was neither declared nor imported!`)})),o.forEach((n=>function(t,n){t=T(t);const r=Zg.get(t);if(r&&r!==e){if(!n){const n=[r,e].map(R).sort();i.push(`Type ${R(t)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${R(t)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${R(t)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else Zg.set(t,e)}(n,t))),o.forEach((function(e){if(rt(e=T(e))){const t=Yg(e,"Component");t&&t.entryComponents&&Mi(t.entryComponents,l)}}));const c=Yg(e,"NgModule");if(c&&(c.imports&&Oi(c.imports).map(Wg).forEach((t=>{p(t,e),Gg(t,!1,e)})),c.bootstrap&&Mi(c.bootstrap,(function(e){rt(e=T(e))||i.push(`${R(e)} cannot be used as an entry component.`);st(e)&&i.push(`The \`${R(e)}\` class is a standalone component, which can not be used in the \`@NgModule.bootstrap\` array. Use the \`bootstrapApplication\` function for bootstrap instead.`)})),c.bootstrap&&Mi(c.bootstrap,l),c.entryComponents&&Mi(c.entryComponents,l)),i.length)throw new Error(i.join("\n"));function l(e){e=T(e);Zg.get(e)||st(e)||i.push(`Component ${R(e)} is not part of any NgModule or the module has not been imported into your module.`)}function p(e,t){const n=rt(e=T(e))||it(e);
2if(null!==n&&!n.standalone)throw new Error(`Unexpected directive '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`);const r=ot(e);if(null!==r&&!r.standalone)throw new Error(`Unexpected pipe '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`)}}function Wg(e){return(e=T(e)).ngModule||e}function Yg(e,t){let n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(i)}function i(e){if(!n){if(Object.getPrototypeOf(e).ngMetadataName==t)n=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0])}}}}let Zg=new WeakMap,Kg=new WeakMap;function Jg(){Zg=new WeakMap,Kg=new WeakMap,Vg.length=0}function Xg(e){const t=at(e=T(e));return null===t?[e]:[...Oi(ju(t.exports).map((e=>at(e)?(Gg(e,!1),Xg(e)):e)))]}function Qg(e,t){const n=Oi(t.declarations||Ve),r=tv(e);n.forEach((t=>{if((t=T(t)).hasOwnProperty(Be)){ev(rt(t),r)}else t.hasOwnProperty(Ue)||t.hasOwnProperty(He)||(t.ngSelectorScope=e)}))}function ev(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map((e=>e.hasOwnProperty(Be)?rt(e):it(e))).filter((e=>!!e)),e.pipeDefs=()=>Array.from(t.compilation.pipes).map((e=>ot(e))),e.schemas=t.schemas,e.tView=null}function tv(e){if($g(e))return function(e){const t=at(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ju(t.imports).forEach((e=>{const t=tv(e);t.exported.directives.forEach((e=>n.compilation.directives.add(e))),t.exported.pipes.forEach((e=>n.compilation.pipes.add(e)))})),ju(t.declarations).forEach((e=>{ot(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)})),ju(t.exports).forEach((e=>{const t=e;if($g(t)){const e=tv(t);e.exported.directives.forEach((e=>{n.compilation.directives.add(e),n.exported.directives.add(e)})),e.exported.pipes.forEach((e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)}))}else ot(t)?n.exported.pipes.add(t):n.exported.directives.add(t)})),t.transitiveCompileScopes=n,n}(e);if(st(e)){if(null!==(rt(e)||it(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==ot(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (ɵmod property)`)}function nv(e){return Lg(e)?e.ngModule:e}let rv=0;function iv(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&_e();let n=null;!function(e,t){io(t)&&(no.set(e,t),ro.add(e))}(e,t),uv(e,t),Object.defineProperty(e,Be,{get:()=>{if(null===n){const r=Ti({usage:0,kind:"component",type:e});if(io(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const i=Fg;let o=t.preserveWhitespaces;void 0===o&&(o=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let s=t.encapsulation;void 0===s&&(s=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:Le.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,u={...lv(e,t),typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:o,styles:t.styles||Ve,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:s,interpolation:t.interpolation,viewProviders:t.viewProviders||null};rv++;try{if(u.usesInheritance&&pv(e),n=r.compileComponent(Rg,a,u),t.standalone){const r=Oi(t.imports||Ve),{directiveDefs:i,pipeDefs:o}=function(e,t){let n=null,r=null;const i=()=>{if(null===n){n=[rt(e)];const r=new Set;for(const i of t){ngDevMode&&ov(i,e);const t=T(i);if(!r.has(t))if(r.add(t),at(t)){const e=tv(t);for(const t of e.exported.directives){const e=rt(t)||it(t);e&&!r.has(t)&&(r.add(t),n.push(e))}}else{const e=rt(t)||it(t);e&&n.push(e)}}}return n},o=()=>
2{if(null===r){r=[];const e=new Set;for(const n of t){const t=T(n);if(!e.has(t))if(e.add(t),at(t)){const n=tv(t);for(const t of n.exported.pipes){const n=ot(t);n&&!e.has(t)&&(e.add(t),r.push(n))}}else{const e=ot(t);e&&r.push(e)}}}return r};return{directiveDefs:i,pipeDefs:o}}(e,r);n.directiveDefs=i,n.pipeDefs=o,n.dependencies=()=>r.map(T)}}finally{rv--}if(0===rv&&Ug(),void 0!==e.ngSelectorScope){const t=tv(e.ngSelectorScope);ev(n,t)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${R(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else t.standalone&&(n.schemas=[])}return n},configurable:!!ngDevMode})}function ov(e,t){if(k(e)&&!(e=T(e)))throw new Error(`Expected forwardRef function, imported from "${R(t)}", to return a standalone entity or NgModule but got "${R(e)||e}".`);if(null==at(e)){const r=rt(e)||it(e)||ot(e);if(null==r)throw Lg(e)?new Error(`A module with providers was imported from "${R(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${R(e)}" type, imported from "${R(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!r.standalone)throw new Error(`The "${R(e)}" ${n=e,rt(n)?"component":it(n)?"directive":ot(n)?"pipe":"type"}, imported from "${R(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}var n}function sv(e,t){let n=null;uv(e,t||{}),Object.defineProperty(e,Ue,{get:()=>{if(null===n){const r=av(e,t||{}),i=Ti({usage:0,kind:"directive",type:e});n=i.compileDirective(Rg,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function av(e,t){const n=e&&e.name,r=`ng:///${n}/ɵdir.js`,i=Ti({usage:0,kind:"directive",type:e}),o=lv(e,t);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&pv(e),{metadata:o,sourceMapUrl:r}}function uv(e,t){let n=null;Object.defineProperty(e,qe,{get:()=>{if(null===n){const r=av(e,t),i=Ti({usage:0,kind:"directive",type:e});n=i.compileFactory(Rg,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:Qi(e),target:i.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function cv(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function lv(e,t){const n=Xi(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||$e,propMetadata:r,inputs:t.inputs||Ve,outputs:t.outputs||Ve,queries:hv(e,r,fv),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!cv(e),exportAs:(i=t.exportAs,void 0===i?null:vv(i)),providers:t.providers||null,viewQueries:hv(e,r,mv),isStandalone:!!t.standalone,hostDirectives:t.hostDirectives?.map((e=>"function"==typeof e?{directive:e}:e))||null};var i}function pv(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)it(n)||rt(n)||!_v(n)||sv(n,null),n=Object.getPrototypeOf(n)}function dv(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?vv(n):T(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function hv(e,t,n){const r=[];for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];o.forEach((t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${i}" of "${R(e)}" since the query selector wasn't defined.`);if(o.some(gv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(dv(i,t))}}))}return r}function fv(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function mv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function gv(e){return"Input"===e.ngMetadataName}function vv(e){return e.split(",").map((e=>e.trim()))}const yv=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function _v(e){const t=Xi();if(yv.some((n=>t.hasLifecycleHook(e,n))))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],r=n.ngMetadataName;if(gv(n)||fv(n)||mv(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function bv(e,t){let n=null,r=null;Object.defineProperty(e,qe,{get:()=>{if(null===r){const n=wv(e,t),i=Ti({usage:0,kind:"pipe",type:n.type});r=i.compileFactory(Rg,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:Qi(e),target:i.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,He,{get:()=>{if(null===n){const r=wv(e,t),i=Ti({usage:0,kind:"pipe",type:r.type});n=i.compilePipe(Rg,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!!ngDevMode})}function wv(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Ev=di("Directive",((e={})=>e),void 0,void 0,((e,t)=>sv(e,t))),Sv=di("Component",((e={})=>({changeDetection:je.Default,...e})),Ev,void 0,((e,t)=>iv(e,t))),xv=di("Pipe",(e=>({pure:!0,...e})),void 0,void 0,((e,t)=>bv(e,t))),Dv=mi("Input",(e=>({bindingPropertyName:e}))),Cv=mi("Output",(e=>({bindingPropertyName:e}))),Tv=mi("HostBinding",(e=>({hostPropertyName:e}))),kv=mi("HostListener",((e,t)=>
2({eventName:e,args:t}))),Iv=di("NgModule",(e=>e),void 0,void 0,((e,t)=>zg(e,t)));function Ov(...e){}const Mv=new vi("Application Initializer");class Av{constructor(e){this.appInits=e,this.resolve=Ov,this.reject=Ov,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let t=0;t<this.appInits.length;t++){const n=this.appInits[t]();if(jp(n))e.push(n);else if($p(n)){const t=new Promise(((e,t)=>{n.subscribe({complete:e,error:t})}));e.push(t)}}Promise.all(e).then((()=>{t()})).catch((e=>{this.reject(e)})),0===e.length&&t(),this.initialized=!0}}Av.ɵfac=function(e){return new(e||Av)(Ie(Mv,8))},Av.ɵprov=re({token:Av,factory:Av.ɵfac,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(Av,[{type:ac,args:[{providedIn:"root"}]}],(function(){return[{type:void 0,decorators:[{type:Gi,args:[Mv]},{type:Wi}]}]}),null);const Nv=new vi("AppId",{providedIn:"root",factory:Pv});function Pv(){return`${Fv()}${Fv()}${Fv()}`}const Rv={provide:Nv,useFactory:Pv,deps:[]};function Fv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jv=new vi("Platform Initializer"),Lv=new vi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$v=new vi("Application Packages Root URL"),Vv=new vi("AnimationModuleType");class Bv{log(e){console.log(e)}warn(e){console.warn(e)}}Bv.ɵfac=function(e){return new(e||Bv)},Bv.ɵprov=re({token:Bv,factory:Bv.ɵfac,providedIn:"platform"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(Bv,[{type:ac,args:[{providedIn:"platform"}]}],null,null);const Uv=new vi("LocaleId",{providedIn:"root",factory:()=>Me(Uv,fe.Optional|fe.SkipSelf)||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||$h)}),Hv=new vi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),zv=new vi("Translations"),qv=new vi("TranslationsFormat");var Gv;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Gv||(Gv={}));class Wv{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Yv{compileModuleSync(e){return new vm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),n=ju(at(e).declarations).reduce(((e,t)=>{const n=rt(t);return n&&e.push(new Al(n)),e}),[]);return new Wv(t,n)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}Yv.ɵfac=function(e){return new(e||Yv)},Yv.ɵprov=re({token:Yv,factory:Yv.ɵfac,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(Yv,[{type:ac,args:[{providedIn:"root"}]}],null,null);const Zv=new vi("compilerOptions");class Kv{}function Jv(e){ngDevMode&&X(e,"component"),fl($o(e)),Dm(e).forEach((e=>xp(e)))}const Xv="ng";let Qv=!1;function ey(){Qv||(Qv=!0,ty("ɵsetProfiler",mn),ty("getDirectiveMetadata",km),ty("getComponent",Em),ty("getContext",Sm),ty("getListeners",Mm),ty("getOwningComponent",xm),ty("getHostElement",Om),ty("getInjector",Cm),ty("getRootComponents",Dm),ty("getDirectives",Tm),ty("applyChanges",Jv))}function ty(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=ye;if(ngDevMode&&X(t,"function not defined"),n){let r=n[Xv];r||(r=n[Xv]={}),r[e]=t}}}const ny=Promise.resolve(0);function ry(e){"undefined"==typeof Zone?ny.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class iy{constructor(e,t=console){this.name="asyncStackTagging for "+e,this.createTask=t?.createTask??(()=>null)}onScheduleTask(e,t,n,r){return r.consoleTask=this.createTask(`Zone - ${r.source||r.type}`),e.scheduleTask(n,r)}onInvokeTask(e,t,n,r,i,o){let s;return s=r.consoleTask?r.consoleTask.run((()=>e.invokeTask(n,r,i,o))):e.invokeTask(n,r,i,o),s}}class oy{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new og(!1),this.onMicrotaskEmpty=new og(!1),this.onStable=new og(!1),this.onError=ne
2w og(!1),"undefined"==typeof Zone)throw new A(908,ngDevMode&&"In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,ngDevMode&&(r._inner=r._inner.fork(new iy("Angular"))),Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=ye.requestAnimationFrame,t=ye.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){if(e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ye,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,uy(e),e.isCheckStableRunning=!0,ay(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),uy(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return cy(e),n.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),ly(e)}},onInvoke:(n,r,i,o,s,a,u)=>{try{return cy(e),n.invoke(i,o,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),ly(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,uy(e),ay(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular((()=>e.onError.emit(i))),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oy.isInAngularZone())throw new A(909,ngDevMode&&"Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(oy.isInAngularZone())throw new A(909,ngDevMode&&"Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,sy,Ov,Ov);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const sy={};function ay(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((()=>e.onStable.emit(null)))}finally{e.isStable=!0}}}function uy(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function cy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ly(e){e._nesting--,ay(e)}class py{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new og,this.onMicrotaskEmpty=new og,this.onStable=new og,this.onError=new og}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}const dy=new vi(""),hy=new vi("");class fy{constructor(e,t,n){this._ngZone=e,this.registry=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vy||(gy(n),n.addToWindow(t)),this._watchAngularEvents(),e.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{oy.assertNotInAngularZone(),ry((()=>
2{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ry((()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1}));else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter((t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((e=>({source:e.source,creationLocation:e.creationLocation,data:e.data}))):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout((()=>{this._callbacks=this._callbacks.filter((e=>e.timeoutId!==r)),e(this._didWork,this.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}}fy.ɵfac=function(e){return new(e||fy)(Ie(oy),Ie(my),Ie(hy))},fy.ɵprov=re({token:fy,factory:fy.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(fy,[{type:ac}],(function(){return[{type:oy},{type:my},{type:void 0,decorators:[{type:Gi,args:[hy]}]}]}),null);class my{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return vy?.findTestabilityInTree(this,e,t)??null}}function gy(e){vy=e}let vy;my.ɵfac=function(e){return new(e||my)},my.ɵprov=re({token:my,factory:my.ɵfac,providedIn:"platform"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(my,[{type:ac,args:[{providedIn:"platform"}]}],null,null);const yy="undefined"==typeof ngDevMode||ngDevMode;let _y=null;const by=new vi("AllowMultipleToken"),wy=new vi("PlatformDestroyListeners"),Ey=new vi("appBootstrapListener");function Sy(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){at(e)||Q(t)}(n);const r=new vm(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const i=e.get(Zv,[]).concat(t);if(function(e){if(null!==Fg){if(e.defaultEncapsulation!==Fg.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==Fg.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}Fg=e}({defaultEncapsulation:Uy(i.map((e=>e.defaultEncapsulation))),preserveWhitespaces:Uy(i.map((e=>e.preserveWhitespaces)))}),0===no.size)return Promise.resolve(r);const o=function(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}(i.map((e=>e.providers)));if(0===o.length)return Promise.resolve(r);const s=Ti({usage:0,kind:"NgModule",type:n}),a=lc.create({providers:o}).get(s.ResourceLoader);return to((e=>Promise.resolve(a.get(e)))).then((()=>r))}function xy(){ngDevMode&&ey()}function Dy(e){return e.isBoundToModule}class Cy{constructor(e,t){this.name=e,this.token=t}}function Ty(e){if(_y&&!_y.get(by,!1))throw new A(400,ngDevMode&&"There can be only one platform. Destroy the previous one to create a new one.");xy(),_y=e;const t=e.get(Ry);return ky(e),t}function ky(e){const t=e.get(jv,null);t&&t.forEach((e=>e()))}function Iy(e){const{rootComponent:t,appProviders:n,platformProviders:r}=e;yy&&void 0!==t&&function(e){if(Lu(e),!rt(e).standalone)throw new A(907,`The ${R(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${R(e)} component has the \`standalone: true\` flag in the decorator.`)}(t);const i=function(e=[]){if(_y)return _y;
2const t=Ay(e);return _y=t,xy(),ky(t),t}(r),o=jy("zone.js",Fy());return o.run((()=>{const e=_m([{provide:oy,useValue:o},...n||[]],i,"Environment Injector"),r=e.get(Ou,null);if(yy&&!r)throw new A(402,"No `ErrorHandler` found in the Dependency Injection tree.");let s;o.runOutsideAngular((()=>{s=o.onError.subscribe({next:e=>{r.handleError(e)}})}));const a=()=>e.destroy(),u=i.get(wy);return u.add(a),e.onDestroy((()=>{s.unsubscribe(),u.delete(a)})),Ly(r,o,(()=>{const n=e.get(Av);return n.runInitializers(),n.donePromise.then((()=>{zh(e.get(Uv,$h)||$h);const n=e.get(Vy);return void 0!==t&&n.bootstrap(t),n}))}))}))}function Oy(e,t,n=[]){const r=`Platform: ${t}`,i=new vi(r);return(t=[])=>{let o=Py();if(!o||o.injector.get(by,!1)){const o=[...n,...t,{provide:i,useValue:!0}];e?e(o):Ty(Ay(o,r))}return My(i)}}function My(e){const t=Py();if(!t)throw new A(401,ngDevMode&&"No platform exists!");if(("undefined"==typeof ngDevMode||ngDevMode)&&!t.injector.get(e,null))throw new A(400,"A platform with a different configuration has been created. Please destroy it first.");return t}function Ay(e=[],t){return lc.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:wy,useValue:new Set([()=>_y=null])},...e]})}function Ny(){Py()?.destroy()}function Py(){return _y?.get(Ry)??null}class Ry{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=jy(t?.ngZone,Fy(t)),r=[{provide:oy,useValue:n}];return n.run((()=>{const t=lc.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Ou,null);if(!o)throw new A(402,ngDevMode&&"No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular((()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});i.onDestroy((()=>{By(this._modules,i),e.unsubscribe()}))})),Ly(o,n,(()=>{const e=i.injector.get(Av);return e.runInitializers(),e.donePromise.then((()=>(zh(i.injector.get(Uv,$h)||$h),this._moduleDoBootstrap(i),i)))}))}))}bootstrapModule(e,t=[]){const n=$y({},t);return Sy(this.injector,n,e).then((e=>this.bootstrapModuleFactory(e,n)))}_moduleDoBootstrap(e){const t=e.injector.get(Vy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((e=>t.bootstrap(e)));else{if(!e.instance.ngDoBootstrap)throw new A(-403,ngDevMode&&`The module ${S(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,ngDevMode&&"The platform has already been destroyed!");this._modules.slice().forEach((e=>e.destroy())),this._destroyListeners.forEach((e=>e()));const e=this._injector.get(wy,null);e&&(e.forEach((e=>e())),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}function Fy(e){return{enableLongStackTrace:"undefined"!=typeof ngDevMode&&!!ngDevMode,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}function jy(e,t){let n;return n="noop"===e?new py:("zone.js"===e?void 0:e)||new oy(t),n}function Ly(e,t,n){try{const r=n();return jp(r)?r.catch((n=>{throw t.runOutsideAngular((()=>e.handleError(n))),n})):r}catch(n){throw t.runOutsideAngular((()=>e.handleError(n))),n}}function $y(e,t){return e=Array.isArray(t)?t.reduce($y,e):{...e,...t}}Ry.ɵfac=function(e){return new(e||Ry)(Ie(lc))},Ry.ɵprov=re({token:Ry,factory:Ry.ɵfac,providedIn:"platform"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(Ry,[{type:ac,args:[{providedIn:"platform"}]}],(function(){return[{type:lc}]}),null);class Vy{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,t,n){this._zone=e,this._injector=t,this._exceptionHandler=n,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const r=new i.y((e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>
2{e.next(this._stable),e.complete()}))})),o=new i.y((e=>{let t;this._zone.runOutsideAngular((()=>{t=this._zone.onStable.subscribe((()=>{oy.assertNotInAngularZone(),ry((()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))}))}))}));const n=this._zone.onUnstable.subscribe((()=>{oy.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{e.next(!1)})))}));return()=>{t.unsubscribe(),n.unsubscribe()}}));this.isStable=v(r,o.pipe(function(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new c}:t,r=e.resetOnError,i=void 0===r||r,o=e.resetOnComplete,s=void 0===o||o,a=e.resetOnRefCountZero,u=void 0===a||a;return function(e){var t,r,o,a=0,c=!1,l=!1,p=function(){null==r||r.unsubscribe(),r=void 0},d=function(){p(),t=o=void 0,c=l=!1},f=function(){var e=t;d(),null==e||e.unsubscribe()};return(0,_.e)((function(e,m){a++,l||c||p();var g=o=null!=o?o:n();m.add((function(){0!=--a||l||c||(r=b(f,u))})),g.subscribe(m),!t&&a>0&&(t=new y.Hp({next:function(e){return g.next(e)},error:function(e){l=!0,p(),r=b(d,i,e),g.error(e)},complete:function(){c=!0,p(),r=b(d,s),g.complete()}}),(0,h.Xf)(e).subscribe(t))}))(e)}}()))}bootstrap(e,t){yy&&this.warnIfDestroyed();const n=e instanceof mu;if(!this._injector.get(Av).done){const t=!n&&st(e);throw new A(405,yy&&"Cannot bootstrap as there are still asynchronous initializers running."+(t?"":" Bootstrap components in the `ngDoBootstrap` method of the root module."))}let r;if(n)r=e;else{r=this._injector.get(yu).resolveComponentFactory(e)}this.componentTypes.push(r.componentType);const i=Dy(r)?void 0:this._injector.get(dm),o=t||r.selector,s=r.create(lc.NULL,[],o,i),a=s.location.nativeElement,u=s.injector.get(dy,null);if(u?.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),By(this.components,s),u?.unregisterApplication(a)})),this._loadComponent(s),"undefined"==typeof ngDevMode||ngDevMode){this._injector.get(Bv).log("Angular is running in development mode. Call enableProdMode() to enable production mode.")}return s}tick(){if(yy&&this.warnIfDestroyed(),this._runningTick)throw new A(101,ngDevMode&&"ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if("undefined"==typeof ngDevMode||ngDevMode)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(e)))}finally{this._runningTick=!1}}attachView(e){yy&&this.warnIfDestroyed();const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){yy&&this.warnIfDestroyed();const t=e;By(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(Ey,[]);if(ngDevMode&&!Array.isArray(t))throw new A(-209,`Unexpected type of the \`APP_BOOTSTRAP_LISTENER\` token value (expected an array, but got ${typeof t}). Please check that the \`APP_BOOTSTRAP_LISTENER\` token is configured as a \`multi: true\` provider.`);t.push(...this._bootstrapListeners),t.forEach((t=>t(e)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((e=>e())),this._views.slice().forEach((e=>e.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return yy&&this.warnIfDestroyed(),this._destroyListeners.push(e),()=>By(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new A(406,ngDevMode&&"This instance of the `ApplicationRef` has already been destroyed.");const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){yy&&this._destroyed&&console.warn(N(406,"This instance of the `ApplicationRef` has already been destroyed."))}}function By(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Uy(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function Hy(){return"undefined"==typeof ngDevMode||!!ngDevMode}function zy(){("undefined"==typeof ngDevMode||ngDevMode)&&(ye.ngDevMode=!1)}function qy(e){const t=lo(e);if(!t)throw Wy(e);return new vm(t)}function Gy(e){const t=lo(e);if(!t)throw Wy(e);return t}function Wy(e){return new Error(`No module with ID ${e} loaded`)}Vy.ɵfac=function(e){return new(e||Vy)(Ie(oy),Ie(uu),Ie(Ou))},Vy.ɵprov=re({token:Vy,factory:Vy.ɵfac,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(Vy,[{type:ac,args:[{providedIn:"root"}]}],(function(){return[{type:oy},{type:uu},{type:Ou}]}),null);class Yy{}function Zy(e){return function(e,t,n){if(Ut(e)&&!n){const n=xn(e.index,t);return new Tl(n,n)}if(47&e.type){const e=t[Tt];return new Tl(e,t)}return null}($n(),Rn(),16==(16&e))}Yy.__NG_ELEMENT_ID__=Zy;class Ky extends Yy{}class Jy extends Ky{}class Xy{constructor(e,t){this.name=e,this.callback=t}}function Qy(e){return e.map((e=>e.nativeElement))}class e_{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new t_(e):null}get injector(){return Cm(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Em(e)||xm(e))}get context(){return Em(this.nativeNode)||Sm(this.nativeNode)}get listeners(){return Mm(this.nativeNode).filter((e=>"dom"===e.type))}get references(){return Im(this.nativeNode)}get providerTokens(){return function(e){const t=jo(e),n=t?t.lView:null;if(null===n)return[];const r=n[dt],i=r.data[t.nodeIndex],o=[],s=1048575&i.providerIndexes,a=i.directiveEnd;for(let e=s;e<a;e++){let t=r.data[e];void 0!==(u=t).type&&void 0!==u.declaredInputs&&void 0!==u.findHostDirectiveDefs&&(t=t.type),o.push(t)}var u;return o}(this.nativeNode)}}class t_ extends e_{constructor(e){ngDevMode&&ee(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=jo(this.nativeNode),t=e?e.lView:null;if(null!==t){return t[dt].data[e.nodeIndex].value}return this.nativeNode.nodeName}get properties(){const e=jo(this.nativeNode),t=e?e.lView:null;if(null===t)return{};const n=t[dt].data,r=n[e.nodeIndex],i={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];n_(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,i),function(e,t,n,r){let i=t.propertyBindings;if(null!==i)for(let t=0;t<i.length;t++){const o=i[t],s=r[o].split(Fu),a=s[0];if(s.length>1){let t=s[1];for(let e=1;e<s.length-1;e++)t+=P(n[o+e-1])+s[e+1];e[a]=t}else e[a]=n[o]}}(i,r,t,n),i}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=jo(t),r=n?n.lView:null;if(null===r)return{};const i=r[dt].data[n.nodeIndex].attrs,o=[];if(i){let t=0;for(;t<i.length;){const n=i[t];if("string"!=typeof n)break;const r=i[t+1];e[n]=r,o.push(n.toLowerCase()),t+=2}}for(const n of t.attributes)o.includes(n.name)||(e[n.name]=n.value);return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return("string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEac
2h((t=>e[t]=!0)),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(c_(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let e=0;e<t.length;e++){const r=t[e];n.push(c_(r))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return r_(this,e,t,!0),t}queryAllNodes(e){const t=[];return r_(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach((i=>{if(i.name===e){const e=i.callback;e.call(n,t),r.push(e)}})),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach((e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const i=e("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,t)}}))}}function n_(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function r_(e,t,n,r){const i=jo(e.nativeNode),o=i?i.lView:null;if(null!==o){i_(o[dt].data[i.nodeIndex],o,t,n,r,e.nativeNode)}else a_(e.nativeNode,t,n,r)}function i_(e,t,n,r,i,o){ngDevMode&&qt(e,t);const s=function(e,t){const n=null===e?-1:e.index;if(-1!==n)return ngDevMode&&qt(e,t),_n(t[n]);return null}(e,t);if(11&e.type){if(s_(s,n,r,i,o),Ut(e)){const s=xn(e.index,t);s&&s[dt].firstChild&&i_(s[dt].firstChild,s,n,r,i,o)}else e.child&&i_(e.child,t,n,r,i,o),s&&a_(s,n,r,i);const a=t[e.index];Vt(a)&&o_(a,n,r,i,o)}else if(4&e.type){const s=t[e.index];s_(s[Ft],n,r,i,o),o_(s,n,r,i,o)}else if(16&e.type){const s=t[Tt],a=s[vt].projection[e.projection];if(Array.isArray(a))for(let e of a)s_(e,n,r,i,o);else if(a){const e=s[ft];i_(e[dt].data[a.index],e,n,r,i,o)}}else e.child&&i_(e.child,t,n,r,i,o);if(o!==s){const s=2&e.flags?e.projectionNext:e.next;s&&i_(s,t,n,r,i,o)}}function o_(e,t,n,r,i){for(let o=Lt;o<e.length;o++){const s=e[o],a=s[dt].firstChild;a&&i_(a,s,t,n,r,i)}}function s_(e,t,n,r,i){if(i!==e){const i=c_(e);if(!i)return;(r&&i instanceof t_&&t(i)&&-1===n.indexOf(i)||!r&&t(i)&&-1===n.indexOf(i))&&n.push(i)}}function a_(e,t,n,r){const i=e.childNodes,o=i.length;for(let e=0;e<o;e++){const o=i[e],s=c_(o);s&&((r&&s instanceof t_&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s),a_(o,t,n,r))}}new Map;const u_="__ng_debug__";function c_(e){return e instanceof Node?(e.hasOwnProperty(u_)||(e[u_]=e.nodeType==Node.ELEMENT_NODE?new t_(e):new e_(e)),e[u_]):null}function l_(e){return null}class p_{constructor(){}supports(e){return Kl(e)}create(e){return new h_(e)}}const d_=(e,t)=>t;class h_{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||d_}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<v_(n,r,i)?t:n,s=v_(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Kl(e))throw new A(900,ngDevMode&&`Error trying to diff '${S(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,(e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++})),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):e=this._addAfter(new f_(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new g_),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new g_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class f_{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class m_{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(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,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class g_{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new m_,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function v_(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class y_{constructor(){}supports(e){return e instanceof Map||Jl(e)}create(){return new __}}class __{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Jl(e)))throw new A(900,ngDevMode&&`Error trying to diff '${S(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;
2if(this._appendAfter=null,this._forEach(e,((e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}})),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new b_(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((n=>t(e[n],n)))}}class b_{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function w_(){return new E_([new p_])}class E_{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new E_(e)}static extend(e){return{provide:E_,useFactory:t=>E_.create(e,t||w_()),deps:[[E_,new Zi,new Wi]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(null!=t)return t;throw new A(901,ngDevMode&&`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}function S_(){return new x_([new y_])}E_.ɵprov=re({token:E_,providedIn:"root",factory:w_});class x_{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new x_(e)}static extend(e){return{provide:x_,useFactory:t=>x_.create(e,t||S_()),deps:[[x_,new Zi,new Wi]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(t)return t;throw new A(901,ngDevMode&&`Cannot find a differ supporting object '${e}'`)}}x_.ɵprov=re({token:x_,providedIn:"root",factory:S_});const D_=[new y_],C_=[new p_],T_=new E_(C_),k_=new x_(D_),I_=Oy(null,"core",[]);class O_{constructor(e){}}function M_(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function A_(e){return Ti({usage:1,kind:"directive",type:e.type}).compileDirectiveDeclaration(Rg,`ng:///${e.type.name}/ɵfac.js`,e)}function N_(e){Pm(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function P_(e){return Ti({usage:1,kind:"component",type:e.type}).compileComponentDeclaration(Rg,`ng:///${e.type.name}/ɵcmp.js`,e)}function R_(e){return Ti({usage:1,kind:F_(e.target),type:e.type}).compileFactoryDeclaration(Rg,`ng:///${e.type.name}/ɵfac.js`,e)}function F_(e){switch(e){case xi.Directive:return"directive";case xi.Component:return"component";case xi.Injectable:return"injectable";case xi.Pipe:return"pipe";case xi.NgModule:return"NgModule"}}function j_(e){return Ti({usage:1,kind:"injectable",type:e.type}
2).compileInjectableDeclaration(Rg,`ng:///${e.type.name}/ɵprov.js`,e)}function L_(e){return Ti({usage:1,kind:"NgModule",type:e.type}).compileInjectorDeclaration(Rg,`ng:///${e.type.name}/ɵinj.js`,e)}function $_(e){return Ti({usage:1,kind:"NgModule",type:e.type}).compileNgModuleDeclaration(Rg,`ng:///${e.type.name}/ɵmod.js`,e)}function V_(e){return Ti({usage:1,kind:"pipe",type:e.type}).compilePipeDeclaration(Rg,`ng:///${e.type.name}/ɵpipe.js`,e)}function B_(e,t){ngDevMode&&Lu(e);const n=rt(e),r=t.elementInjector||au();return new Al(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function U_(e){const t=rt(e);if(!t)return null;const n=new Al(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}O_.ɵfac=function(e){return new(e||O_)(Ie(Vy))},O_.ɵmod=Xe({type:O_}),O_.ɵinj=oe({}),("undefined"==typeof ngDevMode||ngDevMode)&&Pm(O_,[{type:Iv}],(function(){return[{type:Vy}]}),null),"undefined"!=typeof ngDevMode&&ngDevMode&&(ye.$localize=ye.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")})},20589:function(e,t,n){"use strict";n.r(t),n.d(t,{AbstractControl:function(){return ke},AbstractControlDirective:function(){return oe},AbstractFormGroupDirective:function(){return it},COMPOSITION_BUFFER_MODE:function(){return D},CheckboxControlValueAccessor:function(){return S},CheckboxRequiredValidator:function(){return Zt},ControlContainer:function(){return se},DefaultValueAccessor:function(){return C},EmailValidator:function(){return Jt},FormArray:function(){return cn},FormArrayName:function(){return Tt},FormBuilder:function(){return hn},FormControl:function(){return tt},FormControlDirective:function(){return wt},FormControlName:function(){return Ot},FormGroup:function(){return Ie},FormGroupDirective:function(){return St},FormGroupName:function(){return Dt},FormRecord:function(){return Ae},FormsModule:function(){return vn},MaxLengthValidator:function(){return tn},MaxValidator:function(){return Ht},MinLengthValidator:function(){return Qt},MinValidator:function(){return qt},NG_ASYNC_VALIDATORS:function(){return M},NG_VALIDATORS:function(){return O},NG_VALUE_ACCESSOR:function(){return w},NgControl:function(){return ae},NgControlStatus:function(){return pe},NgControlStatusGroup:function(){return de},NgForm:function(){return Xe},NgModel:function(){return ct},NgModelGroup:function(){return st},NgSelectOption:function(){return Pt},NonNullableFormBuilder:function(){return fn},NumberValueAccessor:function(){return dt},PatternValidator:function(){return rn},RadioControlValueAccessor:function(){return gt},RangeValueAccessor:function(){return yt},ReactiveFormsModule:function(){return yn},RequiredValidator:function(){return Yt},SelectControlValueAccessor:function(){return Nt},SelectMultipleControlValueAccessor:function(){return jt},UntypedFormArray:function(){return ln},UntypedFormBuilder:function(){return mn},UntypedFormControl:function(){return nt},UntypedFormGroup:function(){return Oe},VERSION:function(){return gn},Validators:function(){return N},isFormArray:function(){return pn},isFormControl:function(){return rt},isFormGroup:function(){return Me},isFormRecord:function(){return Ne},"ɵInternalFormsSharedModule":function(){return un},"ɵNgNoValidate":function(){return lt},"ɵNgSelectMultipleOption":function(){return Lt}});var r=n(20831),i=n(53533),o=n(11954),s=n(81480),a=Array.isArray,u=Object.getPrototypeOf,c=Object.prototype,l=Object.keys;function p(e){if(1===e.length){var t=e[0];if(a(t))return{args:t,keys:null};if((r=t)&&"object"==typeof r&&u(r)===c){var n=l(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var r;return{args:e,keys:null}}var d=n(87878),h=n(57617),f=n(2566),m=n(97582),g=n(29127),v=Array.isArray;function y(e){return(0,g.U)((function(t){return function(e,t){return v(t)?e.apply(void 0,(0,m.ev)([],(0,m.CR
2)(t))):e(t)}(e,t)}))}class _{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}_.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:_,deps:[{token:r.Renderer2},{token:r.ElementRef}],target:r["ɵɵFactoryTarget"].Directive}),_.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:_,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:_,decorators:[{type:r.Directive}],ctorParameters:function(){return[{type:r.Renderer2},{type:r.ElementRef}]}});class b extends _{}b.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:b,deps:null,target:r["ɵɵFactoryTarget"].Directive}),b.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:b,usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:b,decorators:[{type:r.Directive}]});const w=new r.InjectionToken("NgValueAccessor"),E={provide:w,useExisting:(0,r.forwardRef)((()=>S)),multi:!0};class S extends b{writeValue(e){this.setProperty("checked",e)}}S.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:S,deps:null,target:r["ɵɵFactoryTarget"].Directive}),S.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:S,selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{listeners:{change:"onChange($event.target.checked)",blur:"onTouched()"}},providers:[E],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:S,decorators:[{type:r.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[E]}]}]});const x={provide:w,useExisting:(0,r.forwardRef)((()=>C)),multi:!0};const D=new r.InjectionToken("CompositionEventMode");class C extends _{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=(0,i["ɵgetDOM"])()?(0,i["ɵgetDOM"])().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}C.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:C,deps:[{token:r.Renderer2},{token:r.ElementRef},{token:D,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),C.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:C,selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{listeners:{input:"$any(this)._handleInput($event.target.value)",blur:"onTouched()",compositionstart:"$any(this)._compositionStart()",compositionend:"$any(this)._compositionEnd($event.target.value)"}},providers:[x],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:C,decorators:[{type:r.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[x]}]}],ctorParameters:function(){return[{type:r.Renderer2},{type:r.ElementRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[D]}]}]}});const T="undefined"==typeof ngDevMode||!!ngDevMode;function k(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function I(e){return null!=e&&"number"==typeof e.length}const O=new r.InjectionToken("NgValidators"),M=new r.InjectionToken("NgAsyncValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class N{static min(e){return P(e)}static max(e){return R(e)}static required(e){return F(e)}static requiredTrue(e){return j(e)}static email(e){return L(e)}static minLength(e){return $(e)}static maxLength(e){return V(e)}static pattern(e){return B(e)}static nullValidator(e){return null}static compose(e){return Y(e)}static composeAsync(e){return K(e)}}function P(e){return t=>{if(k(t.value)||k(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function R(e){return t=>{if(k(t.value)||k(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function F(e){return k(e.value)?{required:!0}:null}function j(e){return!0===e.value?null:{required:!0}}function L(e){return k(e.value)||A.test(e.value)?null:{email:!0}}function $(e){return t=>k(t.value)||!I(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function V(e){return t=>I(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function B(e){if(!e)return U;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(k(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function U(e){return null}function H(e){return null!=e}function z(e){const t=(0,r["ɵisPromise"])(e)?(0,o.D)(e):e;if(T&&!(0,r["ɵisObservable"])(t)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof e&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new r["ɵRuntimeError"](-1101,t)}return t}function q(e){let t={};return e.forEach((e=>{t=null!=e?{...t,...e}:t})),0===Object.keys(t).length?null:t}function G(e,t){return t.map((t=>t(e)))}function W(e){return e.map((e=>function(e){return!e.validate}(e)?e:t=>e.validate(t)))}function Y(e){if(!e)return null;const t=e.filter(H);return 0==t.length?null:function(e){return q(G(e,t))}}function Z(e){return null!=e?Y(W(e)):null}function K(e){if(!e)return null;const t=e.filter(H);return 0==t.length?null:function(e){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,h.jO)(e),r=p(e),i=r.args,o=r.keys,a=new s.y((function(e){var t=i.length;if(t)for(var n=new Array(t),r=t,s=t,a=function(t){var a=!1;(0,d.Xf)(i[t]).subscribe((0,f.x)(e,(function(e){a||(a=!0,s--),n[t]=e}),(function(){return r--}),void 0,(function(){r&&a||(s||e.next(o?function(e,t){return e.reduce((function(e,n,r){return e[n]=t[r],e}),{})}(o,n):n),e.complete())})))},u=0;u<t;u++)a(u);else e.complete()}
2));return n?a.pipe(y(n)):a}(G(e,t).map(z)).pipe((0,g.U)(q))}}function J(e){return null!=e?K(W(e)):null}function X(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Q(e){return e._rawValidators}function ee(e){return e._rawAsyncValidators}function te(e){return e?Array.isArray(e)?e:[e]:[]}function ne(e,t){return Array.isArray(e)?e.includes(t):e===t}function re(e,t){const n=te(t);return te(e).forEach((e=>{ne(n,e)||n.push(e)})),n}function ie(e,t){return te(t).filter((t=>!ne(e,t)))}class oe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=J(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,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class se extends oe{get formDirective(){return null}get path(){return null}}class ae extends oe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ue{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}const ce={"[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"},le={...ce,"[class.ng-submitted]":"isSubmitted"};class pe extends ue{constructor(e){super(e)}}pe.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:pe,deps:[{token:ae,self:!0}],target:r["ɵɵFactoryTarget"].Directive}),pe.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:pe,selector:"[formControlName],[ngModel],[formControl]",host:{properties:{"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"}},usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:pe,decorators:[{type:r.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:ce}]}],ctorParameters:function(){return[{type:ae,decorators:[{type:r.Self}]}]}});class de extends ue{constructor(e){super(e)}}de.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:de,deps:[{token:se,optional:!0,self:!0}],target:r["ɵɵFactoryTarget"].Directive}
2),de.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:de,selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:{properties:{"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","class.ng-submitted":"isSubmitted"}},usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:de,decorators:[{type:r.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:le}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Optional},{type:r.Self}]}]}});const he='\n  <div [formGroup]="myGroup">\n    <input formControlName="firstName">\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      firstName: new FormControl()\n  });',fe='\n  <div [formGroup]="myGroup">\n      <div formGroupName="person">\n        <input formControlName="firstName">\n      </div>\n  </div>\n\n  In your class:\n\n  this.myGroup = new FormGroup({\n      person: new FormGroup({ firstName: new FormControl() })\n  });',me='\n  <form>\n      <div ngModelGroup="person">\n        <input [(ngModel)]="person.name" name="firstName">\n      </div>\n  </form>';const ge="\n  It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n  when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n  you. We recommend using this approach to avoid 'changed after checked' errors.\n\n  Example:\n  // Specify the `disabled` property at control creation time:\n  form = new FormGroup({\n    first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n    last: new FormControl('Drew', Validators.required)\n  });\n\n  // Controls can also be enabled/disabled after creation:\n  form.get('first')?.enable();\n  form.get('last')?.disable();\n";function ve(e,t){return e?`with name: '${t}'`:`at index: ${t}`}const ye="undefined"==typeof ngDevMode||!!ngDevMode,_e="VALID",be="INVALID",we="PENDING",Ee="DISABLED";function Se(e){return(De(e)?e.validators:e)||null}function xe(e,t){return("undefined"==typeof ngDevMode||ngDevMode)&&De(t)&&e&&console.warn("\n  It looks like you're constructing using a FormControl with both an options argument and an\n  async validators argument. Mixing these arguments will cause your async validators to be dropped.\n  You should either put all your validators in the options object, or in separate validators\n  arguments. For example:\n\n  // Using validators arguments\n  fc = new FormControl(42, Validators.required, myAsyncValidator);\n\n  // Using AbstractControlOptions\n  fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});\n\n  // Do NOT mix them: async validators will be dropped!\n  fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);\n"),(De(t)?t.asyncValidators:e)||null}function De(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ce(e,t,n){const i=e.controls;if(!(t?Object.keys(i):i).length)throw new r["ɵRuntimeError"](1e3,ye?function(e){return`\n    There are no form controls registered with this ${e?"group":"array"} yet. If you're using ngModel,\n    you may want to check next tick (e.g. use setTimeout).\n  `}(t):"");if(!i[n])throw new r["ɵRuntimeError"](1001,ye?function(e,t){return`Cannot find form control ${ve(e,t)}`}(t,n):"")}function Te(e,t,n){e._forEachChild(((e,i)=>{if(void 0===n[i])throw new r["ɵRuntimeError"](1002,ye?function(e,t){return`Must supply a value for form control ${ve(e,t)}`}(t,i):"")}))}class ke{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}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 valid(){return this.status===_e}get invalid(){return this.status===be}get pending(){return this.status==we}get disabled(){return this.status===Ee}get enabled(){return this.status!==Ee}get dirty(){return!this.pristine}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(re(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(re(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ie(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ie(e,this._rawAsyncValidators))}hasValidator(e){return ne(this._rawValidators,e)}hasAsyncValidator(e){return ne(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
2),this._forEachChild((e=>e.markAllAsTouched()))}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((e=>{e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=we,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ee,this.errors=null,this._forEachChild((t=>{t.disable({...e,onlySelf:!0})})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach((e=>e(!0)))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=_e,this._forEachChild((t=>{t.enable({...e,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach((e=>e(!1)))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==_e&&this.status!==we||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild((t=>t._updateTreeValidity(e))),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ee:_e}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=we,this._hasOwnPendingAsyncValidator=!0;const t=z(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe((t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){let t=e;return null==t?null:(Array.isArray(t)||(t=t.split(".")),0===t.length?null:t.reduce(((e,t)=>e&&e._find(t)),this))}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Ee:this.errors?be:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(we)?we:this._anyControlsHaveStatus(be)?be:_e}_anyControlsHaveStatus(e){return this._anyControls((t=>t.status===e))}_anyControlsDirty(){return this._anyControls((e=>e.dirty))}_anyControlsTouched(){return this._anyControls((e=>e.touched))}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){De(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}
2_find(e){return null}_assignValidators(e){var t;this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=(t=this._rawValidators,Array.isArray(t)?Z(t):t||null)}_assignAsyncValidators(e){var t;this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=(t=this._rawAsyncValidators,Array.isArray(t)?J(t):t||null)}}class Ie extends ke{constructor(e,t,n){super(Se(t),xe(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){Te(this,!0,e),Object.keys(e).forEach((n=>{Ce(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach((n=>{const r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},((e,t,n)=>(e[n]=t.getRawValue(),e)))}_syncPendingControls(){let e=this._reduceChildren(!1,((e,t)=>!!t._syncPendingControls()||e));return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach((t=>{const n=this.controls[t];n&&e(n,t)}))}_setUpControls(){this._forEachChild((e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},((e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e)))}_reduceChildren(e,t){let n=e;return this._forEachChild(((e,r)=>{n=t(n,e,r)})),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}const Oe=Ie,Me=e=>e instanceof Ie;class Ae extends Ie{}const Ne=e=>e instanceof Ae,Pe=new r.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Re}),Re="always";function Fe(e,t){return[...t.path,e]}function je(e,t,n=Re){("undefined"==typeof ngDevMode||ngDevMode)&&(e||ze(t,"Cannot find control with"),t.valueAccessor||function(e){const t=qe(e);throw new r["ɵRuntimeError"](-1203,`No value accessor for form control ${t}.`)}(t)),Ve(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function(e,t){t.valueAccessor.registerOnChange((n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Ue(e,t)}))}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy((()=>{e._unregisterOnChange(n)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Ue(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy((()=>{e._unregisterOnDisabledChange(n)}))}}(e,t)}function Le(e,t,n=!0){const r=()=>{n&&("undefined"==typeof ngDevMode||ngDevMode)&&function(e){ze(e,"There is no FormControl instance attached to form control element with")}(t)};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Be(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange((()=>{})))}function $e(e,t){e.forEach((e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)}
2))}function Ve(e,t){const n=Q(e);null!==t.validator?e.setValidators(X(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=ee(e);null!==t.asyncValidator?e.setAsyncValidators(X(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();$e(t._rawValidators,i),$e(t._rawAsyncValidators,i)}function Be(e,t){let n=!1;if(null!==e){if(null!==t.validator){const r=Q(e);if(Array.isArray(r)&&r.length>0){const i=r.filter((e=>e!==t.validator));i.length!==r.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const r=ee(e);if(Array.isArray(r)&&r.length>0){const i=r.filter((e=>e!==t.asyncValidator));i.length!==r.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return $e(t._rawValidators,r),$e(t._rawAsyncValidators,r),n}function Ue(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function He(e,t){null!=e||"undefined"!=typeof ngDevMode&&!ngDevMode||ze(t,"Cannot find control with"),Ve(e,t)}function ze(e,t){const n=qe(e);throw new Error(`${t} ${n}`)}function qe(e){const t=e.path;return t&&t.length>1?`path: '${t.join(" -> ")}'`:t?.[0]?`name: '${t}'`:"unspecified name attribute"}function Ge(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function We(e,t){e._syncPendingControls(),t.forEach((e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function Ye(e,t){if(!t)return null;let n,i,o;return Array.isArray(t)||"undefined"!=typeof ngDevMode&&!ngDevMode||function(e){const t=qe(e);throw new r["ɵRuntimeError"](1200,`Value accessor was not provided as an array for form control with ${t}. Check that the \`NG_VALUE_ACCESSOR\` token is configured as a \`multi: true\` provider.`)}(e),t.forEach((t=>{var r;t.constructor===C?n=t:(r=t,Object.getPrototypeOf(r.constructor)===b?(i&&("undefined"==typeof ngDevMode||ngDevMode)&&ze(e,"More than one built-in value accessor matches form control with"),i=t):(o&&("undefined"==typeof ngDevMode||ngDevMode)&&ze(e,"More than one custom value accessor matches form control with"),o=t))})),o||(i||(n||(("undefined"==typeof ngDevMode||ngDevMode)&&ze(e,"No valid value accessor for form control with"),null)))}function Ze(e,t,n,r){var i;"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(console.warn(`\n  It looks like you're using ngModel on the same form field as ${i=e}.\n  Support for using the ngModel input property and ngModelChange event with\n  reactive form directives has been deprecated in Angular v6 and will be removed\n  in a future version of Angular.\n\n  For more information on this, see our API docs here:\n  https://angular.io/api/forms/${"formControl"
2===i?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n  `),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const Ke={provide:se,useExisting:(0,r.forwardRef)((()=>Xe))},Je=Promise.resolve();class Xe extends se{constructor(e,t,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.EventEmitter,this.form=new Ie({},Z(e),J(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Je.then((()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),je(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)}))}getControl(e){return this.form.get(e.path)}removeControl(e){Je.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)}))}addFormGroup(e){Je.then((()=>{const t=this._findContainer(e.path),n=new Ie({});He(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(e){Je.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)}))}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Je.then((()=>{this.form.get(e.path).setValue(t)}))}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,We(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}function Qe(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function et(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Xe.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Xe,deps:[{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0},{token:Pe,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),Xe.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Xe,selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},host:{listeners:{submit:"onSubmit($event)",reset:"onReset()"}},providers:[Ke],exportAs:["ngForm"],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Xe,decorators:[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",providers:[Ke],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Pe]}]}]},propDecorators:{options:[{type:r.Input,args:["ngFormOptions"]}]}});const tt=class extends ke{constructor(e=null,t,n){super(Se(t),xe(n,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),De(t)&&(t.nonNullable||t.initialValueIsDefault)&&(et(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((e=>e(this.value,!1!==t.emitViewToModelChange))),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Qe(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Qe(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pe
2ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(e){et(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},nt=tt,rt=e=>e instanceof tt;class it extends se{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}it.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:it,deps:null,target:r["ɵɵFactoryTarget"].Directive}),it.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:it,usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:it,decorators:[{type:r.Directive}]});const ot={provide:se,useExisting:(0,r.forwardRef)((()=>st))};class st extends it{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(!(this._parent instanceof st)&&!(this._parent instanceof Xe)&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1353,`\n    ngModelGroup cannot be used with a parent formGroup directive.\n\n    Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n    ${fe}\n\n    Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n    ${me}`)}}st.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:st,deps:[{token:se,host:!0,skipSelf:!0},{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0}],target:r["ɵɵFactoryTarget"].Directive}),st.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:st,selector:"[ngModelGroup]",inputs:{name:["ngModelGroup","name"]},providers:[ot],exportAs:["ngModelGroup"],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:st,decorators:[{type:r.Directive,args:[{selector:"[ngModelGroup]",providers:[ot],exportAs:"ngModelGroup"}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Host},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]}]},propDecorators:{name:[{type:r.Input,args:["ngModelGroup"]}]}});const at={provide:ae,useExisting:(0,r.forwardRef)((()=>ct))},ut=Promise.resolve();class ct extends ae{constructor(e,t,n,i,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new tt,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Ye(this,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ge(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){je(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}
2_checkParentType(){if("undefined"==typeof ngDevMode||ngDevMode){if(!(this._parent instanceof st)&&this._parent instanceof it)throw new r["ɵRuntimeError"](1351,`\n    ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n    Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n    ${fe}\n\n    Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n    ${me}`);if(!(this._parent instanceof st||this._parent instanceof Xe))throw new r["ɵRuntimeError"](1350,`\n    ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n    formGroup's partner directive "formControlName" instead.  Example:\n\n    ${he}\n\n    Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n    Example:\n\n    \n  <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n      <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n  </div>\n`)}}_checkName(){if(this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&!this.name&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1352,'If ngModel is used within a form tag, either the name attribute must be set or the form\n    control must be defined as \'standalone\' in ngModelOptions.\n\n    Example 1: <input [(ngModel)]="person.firstName" name="first">\n    Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}_updateValue(e){ut.then((()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(e){const t=e.isDisabled.currentValue,n=0!==t&&(0,r["ɵcoerceToBoolean"])(t);ut.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(e){return this._parent?Fe(e,this._parent):[e]}}ct.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ct,deps:[{token:se,host:!0,optional:!0},{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0},{token:w,optional:!0,self:!0},{token:r.ChangeDetectorRef,optional:!0},{token:Pe,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),ct.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:ct,selector:"[ngModel]:not([formControlName]):not([formControl])",inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},providers:[at],exportAs:["ngModel"],usesInheritance:!0,usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ct,decorators:[{type:r.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[at],exportAs:"ngModel"}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Optional},{type:r.Host}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[w]}]},{type:r.ChangeDetectorRef,decorators:[{type:r.Optional},{type:r.Inject,args:[r.ChangeDetectorRef]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Pe]}]}]},propDecorators:{name:[{type:r.Input}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],options:[{type:r.Input,args:["ngModelOptions"]}],update:[{type:r.Output,args:["ngModelChange"]}]}});class lt{}lt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:lt,deps:[],target:r["ɵɵFactoryTarget"].Directive}),lt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:lt,selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{attributes:{novalidate:""}},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:lt,decorators:[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}]});const pt={provide:w,useExisting:(0,r.forwardRef)((()=>dt)),multi:!0};class dt extends b{writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}
2dt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:dt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),dt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:dt,selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{listeners:{input:"onChange($event.target.value)",blur:"onTouched()"}},providers:[pt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:dt,decorators:[{type:r.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[pt]}]}]});const ht={provide:w,useExisting:(0,r.forwardRef)((()=>gt)),multi:!0};class ft{}ft.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ft,deps:[],target:r["ɵɵFactoryTarget"].NgModule}),ft.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:ft}),ft.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ft}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:ft,decorators:[{type:r.NgModule}]});class mt{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach((t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)}))}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}mt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mt,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),mt.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mt,providedIn:ft}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mt,decorators:[{type:r.Injectable,args:[{providedIn:ft}]}]});class gt extends b{constructor(e,t,n,i){super(e,t),this._registry=n,this._injector=i,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,r.inject)(Pe,{optional:!0})??Re}ngOnInit(){this._control=this._injector.get(ae),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw new r["ɵRuntimeError"](1202,'\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}}gt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:gt,deps:[{token:r.Renderer2},{token:r.ElementRef},{token:mt},{token:r.Injector}],target:r["ɵɵFactoryTarget"].Directive}),gt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:gt,selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",inputs:{name:"name",formControlName:"formControlName",value:"value"},host:{listeners:{change:"onChange()",blur:"onTouched()"}},providers:[ht],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:gt,decorators:[{type:r.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[ht]}]}],ctorParameters:function(){return[{type:r.Renderer2},{type:r.ElementRef},{type:mt},{type:r.Injector}]},propDecorators:{name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]}});const vt={provide:w,useExisting:(0,r.forwardRef)((()=>yt)),multi:!0};class yt extends b{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}
2yt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),yt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:yt,selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{listeners:{change:"onChange($event.target.value)",input:"onChange($event.target.value)",blur:"onTouched()"}},providers:[vt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yt,decorators:[{type:r.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[vt]}]}]});const _t=new r.InjectionToken("NgModelWithFormControlWarning"),bt={provide:ae,useExisting:(0,r.forwardRef)((()=>wt))};class wt extends ae{set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(ge)}constructor(e,t,n,i,o){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=o,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Ye(this,n)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Le(t,this,!1),je(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ge(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&Ze("formControl",wt,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Le(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}wt._ngModelWarningSentOnce=!1,wt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wt,deps:[{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0},{token:w,optional:!0,self:!0},{token:_t,optional:!0},{token:Pe,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),wt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:wt,selector:"[formControl]",inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},providers:[bt],exportAs:["ngForm"],usesInheritance:!0,usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:wt,decorators:[{type:r.Directive,args:[{selector:"[formControl]",providers:[bt],exportAs:"ngForm"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[w]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_t]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Pe]}]}]},propDecorators:{form:[{type:r.Input,args:["formControl"]}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}]}});const Et={provide:se,useExisting:(0,r.forwardRef)((()=>St))};class St extends se{constructor(e,t,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return je(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
2removeControl(e){Le(e.control||null,e,!1),function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,We(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach((e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(Le(t||null,e),rt(n)&&(je(n,e,this.callSetDisabledState),e.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);He(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){const n=function(e,t){return Be(e,t)}(t,e);n&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){Ve(this.form,this),this._oldForm&&Be(this._oldForm,this)}_checkFormPresent(){if(!this.form&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1052,`formGroup expects a FormGroup instance. Please pass one in.\n\n      Example:\n\n      ${he}`)}}St.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:St,deps:[{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0},{token:Pe,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),St.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:St,selector:"[formGroup]",inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},host:{listeners:{submit:"onSubmit($event)",reset:"onReset()"}},providers:[Et],exportAs:["ngForm"],usesInheritance:!0,usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:St,decorators:[{type:r.Directive,args:[{selector:"[formGroup]",providers:[Et],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Pe]}]}]},propDecorators:{form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]}});const xt={provide:se,useExisting:(0,r.forwardRef)((()=>Dt))};class Dt extends it{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){if(kt(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1053,`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n    directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${fe}`)}}Dt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Dt,deps:[{token:se,host:!0,optional:!0,skipSelf:!0},{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0}],target:r["ɵɵFactoryTarget"].Directive}),Dt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Dt,selector:"[formGroupName]",inputs:{name:["formGroupName","name"]},providers:[xt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Dt,decorators:[{type:r.Directive,args:[{selector:"[formGroupName]",providers:[xt]}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]}]},propDecorators:{name:[{type:r.Input,args:["formGroupName"]}]}});const Ct={provide:se,useExisting:(0,r.forwardRef)((()=>Tt))};class Tt extends se{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}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 Fe(null==this.name?this.name:this.name.toString(),this._parent)}
2_checkParentType(){if(kt(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1054,'formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      \n  <div [formGroup]="myGroup">\n    <div formArrayName="cities">\n      <div *ngFor="let city of cityArray.controls; index as i">\n        <input [formControlName]="i">\n      </div>\n    </div>\n  </div>\n\n  In your class:\n\n  this.cityArray = new FormArray([new FormControl(\'SF\')]);\n  this.myGroup = new FormGroup({\n    cities: this.cityArray\n  });')}}function kt(e){return!(e instanceof Dt||e instanceof St||e instanceof Tt)}Tt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Tt,deps:[{token:se,host:!0,optional:!0,skipSelf:!0},{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0}],target:r["ɵɵFactoryTarget"].Directive}),Tt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Tt,selector:"[formArrayName]",inputs:{name:["formArrayName","name"]},providers:[Ct],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Tt,decorators:[{type:r.Directive,args:[{selector:"[formArrayName]",providers:[Ct]}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]}]},propDecorators:{name:[{type:r.Input,args:["formArrayName"]}]}});const It={provide:ae,useExisting:(0,r.forwardRef)((()=>Ot))};class Ot extends ae{set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(ge)}constructor(e,t,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Ye(this,i)}ngOnChanges(e){this._added||this._setUpControl(),Ge(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&Ze("formControlName",Ot,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){if("undefined"==typeof ngDevMode||ngDevMode){if(!(this._parent instanceof Dt)&&this._parent instanceof it)throw new r["ɵRuntimeError"](1051,`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n      that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n      Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n      ${fe}\n\n      Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n      ${me}`);if(!(this._parent instanceof Dt||this._parent instanceof St||this._parent instanceof Tt))throw new r["ɵRuntimeError"](1050,`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n    Example:\n\n    ${he}`)}}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}Ot._ngModelWarningSentOnce=!1,Ot.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ot,deps:[{token:se,host:!0,optional:!0,skipSelf:!0},{token:O,optional:!0,self:!0},{token:M,optional:!0,self:!0},{token:w,optional:!0,self:!0},{token:_t,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),Ot.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Ot,selector:"[formControlName]",inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},providers:[It],usesInheritance:!0,usesOnChanges:!0,ngImport:r}
2),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ot,decorators:[{type:r.Directive,args:[{selector:"[formControlName]",providers:[It]}]}],ctorParameters:function(){return[{type:se,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[O]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[M]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[w]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[_t]}]}]},propDecorators:{name:[{type:r.Input,args:["formControlName"]}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}]}});const Mt={provide:w,useExisting:(0,r.forwardRef)((()=>Nt)),multi:!0};function At(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class Nt extends b{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1201,`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=At(this._getOptionId(e),e);this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}Nt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Nt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Nt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Nt,selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",inputs:{compareWith:"compareWith"},host:{listeners:{change:"onChange($event.target.value)",blur:"onTouched()"}},providers:[Mt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Nt,decorators:[{type:r.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Mt]}]}],propDecorators:{compareWith:[{type:r.Input}]}});class Pt{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(At(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}Pt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Pt,deps:[{token:r.ElementRef},{token:r.Renderer2},{token:Nt,host:!0,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),Pt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Pt,selector:"option",inputs:{ngValue:"ngValue",value:"value"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Pt,decorators:[{type:r.Directive,args:[{selector:"option"}]}],ctorParameters:function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:Nt,decorators:[{type:r.Optional},{type:r.Host}]}]},propDecorators:{ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]}});const Rt={provide:w,useExisting:(0,r.forwardRef)((()=>jt)),multi:!0};function Ft(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class jt extends b{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new r["ɵRuntimeError"](1201,`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map((e=>this._getOptionId(e)));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};
2this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[],r=t.selectedOptions;if(void 0!==r){const e=r;for(let t=0;t<e.length;t++){const r=e[t],i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e[t];if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}jt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:jt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),jt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:jt,selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",inputs:{compareWith:"compareWith"},host:{listeners:{change:"onChange($event.target)",blur:"onTouched()"}},providers:[Rt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:jt,decorators:[{type:r.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[Rt]}]}],propDecorators:{compareWith:[{type:r.Input}]}});class Lt{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Ft(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Ft(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function $t(e){return"number"==typeof e?e:parseInt(e,10)}function Vt(e){return"number"==typeof e?e:parseFloat(e)}Lt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Lt,deps:[{token:r.ElementRef},{token:r.Renderer2},{token:jt,host:!0,optional:!0}],target:r["ɵɵFactoryTarget"].Directive}),Lt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Lt,selector:"option",inputs:{ngValue:"ngValue",value:"value"},ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Lt,decorators:[{type:r.Directive,args:[{selector:"option"}]}],ctorParameters:function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:jt,decorators:[{type:r.Optional},{type:r.Host}]}]},propDecorators:{ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]}});class Bt{constructor(){this._validator=U}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):U,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}Bt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Bt,deps:[],target:r["ɵɵFactoryTarget"].Directive}),Bt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Bt,usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Bt,decorators:[{type:r.Directive}]});const Ut={provide:O,useExisting:(0,r.forwardRef)((()=>Ht)),multi:!0};class Ht extends Bt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>Vt(e),this.createValidator=e=>R(e)}}
2Ht.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ht,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Ht.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Ht,selector:"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",inputs:{max:"max"},host:{properties:{"attr.max":"_enabled ? max : null"}},providers:[Ut],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Ht,decorators:[{type:r.Directive,args:[{selector:"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",providers:[Ut],host:{"[attr.max]":"_enabled ? max : null"}}]}],propDecorators:{max:[{type:r.Input}]}});const zt={provide:O,useExisting:(0,r.forwardRef)((()=>qt)),multi:!0};class qt extends Bt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>Vt(e),this.createValidator=e=>P(e)}}qt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:qt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),qt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:qt,selector:"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",inputs:{min:"min"},host:{properties:{"attr.min":"_enabled ? min : null"}},providers:[zt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:qt,decorators:[{type:r.Directive,args:[{selector:"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",providers:[zt],host:{"[attr.min]":"_enabled ? min : null"}}]}],propDecorators:{min:[{type:r.Input}]}});const Gt={provide:O,useExisting:(0,r.forwardRef)((()=>Yt)),multi:!0},Wt={provide:O,useExisting:(0,r.forwardRef)((()=>Zt)),multi:!0};class Yt extends Bt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r["ɵcoerceToBoolean"],this.createValidator=e=>F}enabled(e){return e}}Yt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Yt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Yt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Yt,selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",inputs:{required:"required"},host:{properties:{"attr.required":'_enabled ? "" : null'}},providers:[Gt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Yt,decorators:[{type:r.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Gt],host:{"[attr.required]":'_enabled ? "" : null'}}]}],propDecorators:{required:[{type:r.Input}]}});class Zt extends Yt{constructor(){super(...arguments),this.createValidator=e=>j}}Zt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Zt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Zt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Zt,selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",host:{properties:{"attr.required":'_enabled ? "" : null'}},providers:[Wt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Zt,decorators:[{type:r.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Wt],host:{"[attr.required]":'_enabled ? "" : null'}}]}]});const Kt={provide:O,useExisting:(0,r.forwardRef)((()=>Jt)),multi:!0};class Jt extends Bt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=r["ɵcoerceToBoolean"],this.createValidator=e=>L}enabled(e){return e}}
2Jt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Jt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Jt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Jt,selector:"[email][formControlName],[email][formControl],[email][ngModel]",inputs:{email:"email"},providers:[Kt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Jt,decorators:[{type:r.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Kt]}]}],propDecorators:{email:[{type:r.Input}]}});const Xt={provide:O,useExisting:(0,r.forwardRef)((()=>Qt)),multi:!0};class Qt extends Bt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>$t(e),this.createValidator=e=>$(e)}}Qt.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Qt,deps:null,target:r["ɵɵFactoryTarget"].Directive}),Qt.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:Qt,selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",inputs:{minlength:"minlength"},host:{properties:{"attr.minlength":"_enabled ? minlength : null"}},providers:[Xt],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:Qt,decorators:[{type:r.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Xt],host:{"[attr.minlength]":"_enabled ? minlength : null"}}]}],propDecorators:{minlength:[{type:r.Input}]}});const en={provide:O,useExisting:(0,r.forwardRef)((()=>tn)),multi:!0};class tn extends Bt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>$t(e),this.createValidator=e=>V(e)}}tn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:tn,deps:null,target:r["ɵɵFactoryTarget"].Directive}),tn.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:tn,selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",inputs:{maxlength:"maxlength"},host:{properties:{"attr.maxlength":"_enabled ? maxlength : null"}},providers:[en],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:tn,decorators:[{type:r.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[en],host:{"[attr.maxlength]":"_enabled ? maxlength : null"}}]}],propDecorators:{maxlength:[{type:r.Input}]}});const nn={provide:O,useExisting:(0,r.forwardRef)((()=>rn)),multi:!0};class rn extends Bt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>B(e)}}rn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:rn,deps:null,target:r["ɵɵFactoryTarget"].Directive}),rn.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:rn,selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",inputs:{pattern:"pattern"},host:{properties:{"attr.pattern":"_enabled ? pattern : null"}},providers:[nn],usesInheritance:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:rn,decorators:[{type:r.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[nn],host:{"[attr.pattern]":"_enabled ? pattern : null"}}]}],propDecorators:{pattern:[{type:r.Input}]}});const on=[lt,Pt,Lt,C,dt,yt,S,Nt,jt,gt,pe,de,Yt,Qt,tn,rn,Zt,Jt,qt,Ht],sn=[ct,st,Xe],an=[wt,St,Ot,Dt,Tt];class un{}un.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:un,deps:[],target:r["ɵɵFactoryTarget"].NgModule}),un.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:un,declarations:[lt,Pt,Lt,C,dt,yt,S,Nt,jt,gt,pe,de,Yt,Qt,tn,rn,Zt,Jt,qt,Ht],imports:[ft],exports:[lt,Pt,Lt,C,dt,yt,S,Nt,jt,gt,pe,de,Yt,Qt,tn,rn,Zt,Jt,qt,Ht]}
2),un.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:un,imports:[ft]}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:un,decorators:[{type:r.NgModule,args:[{declarations:on,imports:[ft],exports:on}]}]});class cn extends ke{constructor(e,t,n){super(Se(t),xe(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange((()=>{})),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange((()=>{})),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){Te(this,!1,e),e.forEach(((e,n)=>{Ce(this,!1,n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach(((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map((e=>e.getRawValue()))}clear(e={}){this.controls.length<1||(this._forEachChild((e=>e._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce(((e,t)=>!!t._syncPendingControls()||e),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach(((t,n)=>{e(t,n)}))}_updateValue(){this.value=this.controls.filter((e=>e.enabled||this.disabled)).map((e=>e.value))}_anyControls(e){return this.controls.some((t=>t.enabled&&e(t)))}_setUpControls(){this._forEachChild((e=>this._registerControl(e)))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}const ln=cn,pn=e=>e instanceof cn;function dn(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}class hn{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new hn;return e.useNonNullable=!0,e}group(e,t=null){const n=this._reduceControls(e);let r={};return dn(t)?r=t:null!==t&&(r.validators=t.validator,r.asyncValidators=t.asyncValidator),new Ie(n,r)}record(e,t=null){const n=this._reduceControls(e);return new Ae(n,t)}control(e,t,n){let r={};return this.useNonNullable?(dn(t)?r=t:(r.validators=t,r.asyncValidators=n),new tt(e,{...r,nonNullable:!0})):new tt(e,t,n)}array(e,t,n){const r=e.map((e=>this._createControl(e)));return new cn(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach((n=>{t[n]=this._createControl(e[n])})),t}_createControl(e){if(e instanceof tt)return e;if(e instanceof ke)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}hn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:hn,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),hn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:hn,providedIn:"root"}
2),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:hn,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}]});class fn{}fn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:fn,deps:[],target:r["ɵɵFactoryTarget"].Injectable}),fn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:fn,providedIn:"root",useFactory:()=>(0,r.inject)(hn).nonNullable}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:fn,decorators:[{type:r.Injectable,args:[{providedIn:"root",useFactory:()=>(0,r.inject)(hn).nonNullable}]}]});class mn extends hn{group(e,t=null){return super.group(e,t)}control(e,t,n){return super.control(e,t,n)}array(e,t,n){return super.array(e,t,n)}}mn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mn,deps:null,target:r["ɵɵFactoryTarget"].Injectable}),mn.ɵprov=r["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mn,providedIn:"root"}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:mn,decorators:[{type:r.Injectable,args:[{providedIn:"root"}]}]});const gn=new r.Version("15.2.10");class vn{static withConfig(e){return{ngModule:vn,providers:[{provide:Pe,useValue:e.callSetDisabledState??Re}]}}}vn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:vn,deps:[],target:r["ɵɵFactoryTarget"].NgModule}),vn.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:vn,declarations:[ct,st,Xe],exports:[un,ct,st,Xe]}),vn.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:vn,imports:[un]}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:vn,decorators:[{type:r.NgModule,args:[{declarations:sn,exports:[un,sn]}]}]});class yn{static withConfig(e){return{ngModule:yn,providers:[{provide:_t,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Pe,useValue:e.callSetDisabledState??Re}]}}}yn.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,deps:[],target:r["ɵɵFactoryTarget"].NgModule}),yn.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:yn,declarations:[wt,St,Ot,Dt,Tt],exports:[un,wt,St,Ot,Dt,Tt]}),yn.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,imports:[un]}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:yn,decorators:[{type:r.NgModule,args:[{declarations:[an],exports:[un,an]}]}]})},69796:function(e,t,n){"use strict";n.r(t),n.d(t,{JitCompilerFactory:function(){return u},RESOURCE_CACHE_PROVIDER:function(){return g},VERSION:function(){return m},platformBrowserDynamic:function(){return v},"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS":function(){return h},"ɵplatformCoreDynamic":function(){return p}});var r=n(72063),i=n(20831),o=n(53533),s=n(39443);new i.InjectionToken("ErrorCollector"),i.PACKAGE_ROOT_URL;const a=[{provide:i.Compiler,useFactory:()=>new i.Compiler}];class u{constructor(e){const t={useJit:!0,defaultEncapsulation:i.ViewEncapsulation.Emulated,missingTranslation:i.MissingTranslationStrategy.Warning};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={useJit:c((n=this._defaultOptions.concat(e)).map((e=>e.useJit))),defaultEncapsulation:c(n.map((e=>e.defaultEncapsulation))),providers:l(n.map((e=>e.providers))),missingTranslation:c(n.map((e=>e.missingTranslation))),preserveWhitespaces:c(n.map((e=>e.preserveWhitespaces)))};var n;return i.Injector.create({providers:[a,{provide:r.CompilerConfig,useFactory:()=>new r.CompilerConfig({useJit:t.useJit,defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(i.Compiler)}}function c(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function l(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}const p=(0,i.createPlatformFactory)(i.platformCore,"coreDynamic",[{provide:i.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:i.CompilerFactory,useClass:u,deps:[i.COMPILER_OPTIONS]}]);class d extends r.ResourceLoader{get(e){let t,n;const r=new Promise(((e,r)=>{t=e,n=r})),i=new XMLHttpRequest;return i.open("GET",e,!0),i.responseType="text",i.onload=function(){const r=i.response||i.responseText;let o=1223===i.status?204:i.status;0===o&&(o=r?200:0),200<=o&&o<=300?t(r):n(`Failed to load ${e}`)},i.onerror=function(){n(`Failed to load ${e}`)},i.send(),r}}
2d.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d,deps:null,target:i["ɵɵFactoryTarget"].Injectable}),d.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d,decorators:[{type:i.Injectable}]});const h=[s["ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS"],{provide:i.COMPILER_OPTIONS,useValue:{providers:[{provide:r.ResourceLoader,useClass:d,deps:[]}]},multi:!0},{provide:i.PLATFORM_ID,useValue:o["ɵPLATFORM_BROWSER_ID"]}];class f extends r.ResourceLoader{constructor(){if(super(),this._cache=i["ɵglobal"].$templateCache,null==this._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.")}get(e){return this._cache.hasOwnProperty(e)?Promise.resolve(this._cache[e]):Promise.reject("CachedResourceLoader: Did not find cached template for "+e)}}const m=new i.Version("15.2.10"),g=[{provide:r.ResourceLoader,useClass:f,deps:[]}],v=(0,i.createPlatformFactory)(p,"browserDynamic",h)},39443:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserModule:function(){return Q},BrowserTransferStateModule:function(){return ge},By:function(){return ve},DomSanitizer:function(){return xe},EVENT_MANAGER_PLUGINS:function(){return h},EventManager:function(){return f},HAMMER_GESTURE_CONFIG:function(){return _e},HAMMER_LOADER:function(){return be},HammerGestureConfig:function(){return we},HammerModule:function(){return Se},Meta:function(){return te},REMOVE_STYLES_ON_COMPONENT_DESTROY:function(){return x},Title:function(){return ie},TransferState:function(){return me},VERSION:function(){return Te},bootstrapApplication:function(){return H},createApplication:function(){return z},disableDebugTools:function(){return de},enableDebugTools:function(){return pe},makeStateKey:function(){return fe},platformBrowser:function(){return Z},provideProtractorTestingSupport:function(){return G},"ɵBrowserDomAdapter":function(){return s},"ɵBrowserGetTestability":function(){return p},"ɵDomEventsPlugin":function(){return j},"ɵDomRendererFactory2":function(){return I},"ɵDomSanitizerImpl":function(){return Ce},"ɵDomSharedStylesHost":function(){return v},"ɵHammerGesturesPlugin":function(){return Ee},"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS":function(){return Y},"ɵKeyEventsPlugin":function(){return B},"ɵNAMESPACE_URIS":function(){return y},"ɵSharedStylesHost":function(){return g},"ɵTRANSITION_ID":function(){return c},"ɵescapeHtml":function(){return he},"ɵflattenStyles":function(){return T},"ɵgetDOM":function(){return r["ɵgetDOM"]},"ɵinitDomAdapter":function(){return W},"ɵshimContentAttribute":function(){return D},"ɵshimHostAttribute":function(){return C}});var r=n(53533),i=n(20831);class o extends r["ɵDomAdapter"]{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends o{static makeCurrent(){(0,r["ɵsetRootDomAdapter"])(new s)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).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,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(u=u||document.querySelector("base"),u?u.getAttribute("href"):null);return null==t?null:function(e){a=a||document.createElement("a"),a.setAttribute("href",e);const t=a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){u=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return(0,r["ɵparseCookieValue"])(document.cookie,e)}}let a,u=null;const c=new i.InjectionToken("TRANSITION_ID");const l=[{provide:i.APP_INITIALIZER,useFactory:function(e,t,n){return()=>{n.get(i.ApplicationInitStatus).donePromise.then((()=>{const n=(0,r["ɵgetDOM"])(),i=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let e=0;e<i.length;e++)n.remove(i[e])}))}},deps:[c,r.DOCUMENT,i.Injector],multi:!0}];class p{addToWindow(e){i["ɵglobal"].getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["ɵglobal"].getAllAngularTestabilities=()=>e.getAllTestabilities(),i["ɵglobal"].getAllAngularRootElements=()=>e.getAllRootElements();i["ɵglobal"].frameworkStabilizers||(i["ɵglobal"].frameworkStabilizers=[]),i["ɵglobal"].frameworkStabilizers.push((e=>{const t=i["ɵglobal"].getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?(0,r["ɵgetDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}class d{build(){return new XMLHttpRequest}}
2d.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d,deps:[],target:i["ɵɵFactoryTarget"].Injectable}),d.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:d,decorators:[{type:i.Injectable}]});const h=new i.InjectionToken("EventManagerPlugins");class f{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let t=0;t<n.length;t++){const r=n[t];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error(`No event manager plugin found for event ${e}`)}}f.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:f,deps:[{token:h},{token:i.NgZone}],target:i["ɵɵFactoryTarget"].Injectable}),f.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:f}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:f,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[h]}]},{type:i.NgZone}]}});class m{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=(0,r["ɵgetDOM"])().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}class g{constructor(){this.usageCount=new Map}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){0===this.changeUsageCount(t,-1)&&this.onStyleRemoved(t)}}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,t){const n=this.usageCount;let r=n.get(e)??0;return r+=t,r>0?n.set(e,r):n.delete(e),r}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}g.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:g,deps:[],target:i["ɵɵFactoryTarget"].Injectable}),g.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:g}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:g,decorators:[{type:i.Injectable}]});class v extends g{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef,n=t.get(e);n?.forEach((e=>e.remove())),t.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,t){const n=this.doc.createElement("style");n.textContent=t,e.appendChild(n);const r=this.styleRef.get(t);r?r.push(n):this.styleRef.set(t,[n])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}v.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:v,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),v.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:v}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:v,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const y={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},_=/%COMP%/g,b="undefined"==typeof ngDevMode||!!ngDevMode,w="%COMP%",E=`_nghost-${w}`,S=`_ngcontent-${w}`,x=new i.InjectionToken("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>false});function D(e){return S.replace(_,e)}function C(e){return E.replace(_,e)}function T(e,t){return t.flat(100).map((t=>t.replace(_,e)))}function k(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class I{constructor(e,t,n,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestory=r,this.rendererByCompId=new Map,this.defaultRenderer=new O(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;const n=this.getOrCreateRenderer(e,t);
2return n instanceof F?n.applyToHost(e):n instanceof R&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let r=n.get(t.id);if(!r){const o=this.eventManager,s=this.sharedStylesHost,a=this.removeStylesOnCompDestory;switch(t.encapsulation){case i.ViewEncapsulation.Emulated:r=new F(o,s,t,this.appId,a);break;case i.ViewEncapsulation.ShadowDom:return new P(o,s,e,t);default:r=new R(o,s,t,a)}r.onDestroy=()=>n.delete(t.id),n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}I.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:I,deps:[{token:f},{token:v},{token:i.APP_ID},{token:x}],target:i["ɵɵFactoryTarget"].Injectable}),I.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:I}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:I,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:f},{type:v},{type:void 0,decorators:[{type:i.Inject,args:[i.APP_ID]}]},{type:void 0,decorators:[{type:i.Inject,args:[x]}]}]}});class O{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(y[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(N(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(N(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=y[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=y[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(i.RendererStyleFlags2.DashCase|i.RendererStyleFlags2.Important)?e.style.setProperty(t,n,r&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){b&&A(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return b&&A(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,k(n)):this.eventManager.addEventListener(e,t,k(n))}}const M="@".charCodeAt(0);function A(e,t){if(e.charCodeAt(0)===M)throw new Error(`Unexpected synthetic ${t} ${e} found. Please make sure that:\n  - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.\n  - There is corresponding configuration for the animation named \`${e}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`)}function N(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class P extends O{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=T(r.id,r.styles);for(const e of i){const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class R extends O{constructor(e,t,n,r,i=n.id){super(e),this.sharedStylesHost=t,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=T(i,n.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class F extends R{constructor(e,t,n,r,i){const o=r+"-"+n.id;super(e,t,n,i,o),this.contentAttr=D(o),this.hostAttr=C(o)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class j extends m{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}
2j.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:j,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),j.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:j}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:j,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const L=["alt","control","meta","shift"],$={"\b":"Backspace","\t":"Tab","�":"Delete","�":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},V={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class B extends m{constructor(e){super(e)}supports(e){return null!=B.parseEventName(e)}addEventListener(e,t,n){const i=B.parseEventName(t),o=B.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r["ɵgetDOM"])().onAndCancel(e,i.domEventName,o)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=B._normalizeKey(t.pop());let i="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),i="code."),L.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")})),i+=r,0!=t.length||0===r.length)return null;const s={};return s.domEventName=n,s.fullKey=i,s}static matchEventFullKeyCode(e,t){let n=$[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(n=e.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),L.forEach((t=>{if(t!==n){(0,V[t])(e)&&(r+=t+".")}})),r+=n,r===t)}static eventCallback(e,t,n){return r=>{B.matchEventFullKeyCode(r,e)&&n.runGuarded((()=>t(r)))}}static _normalizeKey(e){return"esc"===e?"escape":e}}B.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:B,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),B.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:B}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:B,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const U="undefined"==typeof ngDevMode||!!ngDevMode;function H(e,t){return(0,i["ɵinternalCreateApplication"])({rootComponent:e,...q(t)})}function z(e){return(0,i["ɵinternalCreateApplication"])(q(e))}function q(e){return{appProviders:[...X,...e?.providers??[]],platformProviders:Y}}function G(){return[...J]}function W(){s.makeCurrent()}const Y=[{provide:i.PLATFORM_ID,useValue:r["ɵPLATFORM_BROWSER_ID"]},{provide:i.PLATFORM_INITIALIZER,useValue:W,multi:!0},{provide:r.DOCUMENT,useFactory:function(){return(0,i["ɵsetDocument"])(document),document},deps:[]}],Z=(0,i.createPlatformFactory)(i.platformCore,"browser",Y),K=new i.InjectionToken(U?"BrowserModule Providers Marker":""),J=[{provide:i["ɵTESTABILITY_GETTER"],useClass:p,deps:[]},{provide:i["ɵTESTABILITY"],useClass:i.Testability,deps:[i.NgZone,i.TestabilityRegistry,i["ɵTESTABILITY_GETTER"]]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone,i.TestabilityRegistry,i["ɵTESTABILITY_GETTER"]]}],X=[{provide:i["ɵINJECTOR_SCOPE"],useValue:"root"},{provide:i.ErrorHandler,useFactory:function(){return new i.ErrorHandler},deps:[]},{provide:h,useClass:j,multi:!0,deps:[r.DOCUMENT,i.NgZone,i.PLATFORM_ID]},{provide:h,useClass:B,multi:!0,deps:[r.DOCUMENT]},{provide:I,useClass:I,deps:[f,v,i.APP_ID,x]},{provide:i.RendererFactory2,useExisting:I},{provide:g,useExisting:v},{provide:v,useClass:v,deps:[r.DOCUMENT]},{provide:f,useClass:f,deps:[h,i.NgZone]},{provide:r.XhrFactory,useClass:d,deps:[]},U?{provide:K,useValue:!0}:[]];class Q{constructor(e){if(U&&e)throw new Error("Providers from the `BrowserModule` have already been loaded. If you need access to common directives such as NgIf and NgFor, import the `CommonModule` instead.")}static withServerTransition(e){return{ngModule:Q,providers:[{provide:i.APP_ID,useValue:e.appId},{provide:c,useExisting:i.APP_ID},l]}}}function ee(){return new te((0,i["ɵɵinject"])(r.DOCUMENT))}
2Q.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Q,deps:[{token:K,optional:!0,skipSelf:!0}],target:i["ɵɵFactoryTarget"].NgModule}),Q.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:Q,exports:[r.CommonModule,i.ApplicationModule]}),Q.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Q,providers:[...X,...J],imports:[r.CommonModule,i.ApplicationModule]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Q,decorators:[{type:i.NgModule,args:[{providers:[...X,...J],exports:[r.CommonModule,i.ApplicationModule]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.SkipSelf},{type:i.Inject,args:[K]}]}]}});class te{constructor(e){this._doc=e,this._dom=(0,r["ɵgetDOM"])()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return ne[e]||e}}te.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:te,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),te.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:te,providedIn:"root",useFactory:ee,deps:[]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:te,decorators:[{type:i.Injectable,args:[{providedIn:"root",useFactory:ee,deps:[]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const ne={httpEquiv:"http-equiv"};function re(){return new ie((0,i["ɵɵinject"])(r.DOCUMENT))}class ie{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}function oe(e,t){if("undefined"==typeof COMPILED||!COMPILED){(i["ɵglobal"].ng=i["ɵglobal"].ng||{})[e]=t}}ie.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),ie.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie,providedIn:"root",useFactory:re,deps:[]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ie,decorators:[{type:i.Injectable,args:[{providedIn:"root",useFactory:re,deps:[]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const se="undefined"!=typeof window&&window||{};class ae{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class ue{constructor(e){this.appRef=e.injector.get(i.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection",r=null!=se.console.profile;t&&r&&se.console.profile(n);const i=ce();let o=0;for(;o<5||ce()-i<500;)this.appRef.tick(),o++;const s=ce();t&&r&&se.console.profileEnd(n);const a=(s-i)/o;return se.console.log(`ran ${o} change detection cycles`),se.console.log(`${a.toFixed(2)} ms per check`),new ae(a,o)}}function ce(){return se.performance&&se.performance.now?se.performance.now():(new Date).getTime()}const le="profiler";function pe(e){return oe(le,new ue(e)),e}function de(){oe(le,null)}function he(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(e=>t[e]))}function fe(e){return e}class me{constructor(){this.store={},this.onSerializeCallbacks={},this.store=function(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,(e=>t[e]))}(n.textContent))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return r}((0,i.inject)(r.DOCUMENT),(0,i.inject)(i.APP_ID))}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}
2me.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,deps:[],target:i["ɵɵFactoryTarget"].Injectable}),me.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,providedIn:"root"}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:me,decorators:[{type:i.Injectable,args:[{providedIn:"root"}]}],ctorParameters:function(){return[]}});class ge{}ge.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge,deps:[],target:i["ɵɵFactoryTarget"].NgModule}),ge.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:ge}),ge.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:ge,decorators:[{type:i.NgModule,args:[{}]}]});class ve{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if((0,r["ɵgetDOM"])().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const ye={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},_e=new i.InjectionToken("HammerGestureConfig"),be=new i.InjectionToken("HammerLoader");class we{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}}we.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:we,deps:[],target:i["ɵɵFactoryTarget"].Injectable}),we.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:we}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:we,decorators:[{type:i.Injectable}]});class Ee extends m{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!ye.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),!1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular((()=>this.loader()));let i=!1,o=()=>{i=!0};return r.runOutsideAngular((()=>this._loaderPromise.then((()=>
2{if(!window.Hammer)return("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=()=>{});i||(o=this.addEventListener(e,t,n))})).catch((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),o=()=>{}})))),()=>{o()}}return r.runOutsideAngular((()=>{const i=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return i.on(t,o),()=>{i.off(t,o),"function"==typeof i.destroy&&i.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}Ee.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ee,deps:[{token:r.DOCUMENT},{token:_e},{token:i["ɵConsole"]},{token:be,optional:!0}],target:i["ɵɵFactoryTarget"].Injectable}),Ee.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ee}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ee,decorators:[{type:i.Injectable}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:we,decorators:[{type:i.Inject,args:[_e]}]},{type:i["ɵConsole"]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[be]}]}]}});class Se{}Se.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Se,deps:[],target:i["ɵɵFactoryTarget"].NgModule}),Se.ɵmod=i["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:i,type:Se}),Se.ɵinj=i["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Se,providers:[{provide:h,useClass:Ee,multi:!0,deps:[r.DOCUMENT,_e,i["ɵConsole"],[new i.Optional,be]]},{provide:_e,useClass:we,deps:[]}]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Se,decorators:[{type:i.NgModule,args:[{providers:[{provide:h,useClass:Ee,multi:!0,deps:[r.DOCUMENT,_e,i["ɵConsole"],[new i.Optional,be]]},{provide:_e,useClass:we,deps:[]}]}]}]});class xe{}function De(e){return new Ce(e.get(r.DOCUMENT))}xe.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:xe,deps:[],target:i["ɵɵFactoryTarget"].Injectable}),xe.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:xe,providedIn:"root",useExisting:i.forwardRef((function(){return Ce}))}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:xe,decorators:[{type:i.Injectable,args:[{providedIn:"root",useExisting:(0,i.forwardRef)((()=>Ce))}]}]});class Ce extends xe{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return(0,i["ɵallowSanitizationBypassAndThrow"])(t,"HTML")?(0,i["ɵunwrapSafeValue"])(t):(0,i["ɵ_sanitizeHtml"])(this._doc,String(t)).toString();case i.SecurityContext.STYLE:return(0,i["ɵallowSanitizationBypassAndThrow"])(t,"Style")?(0,i["ɵunwrapSafeValue"])(t):t;case i.SecurityContext.SCRIPT:if((0,i["ɵallowSanitizationBypassAndThrow"])(t,"Script"))return(0,i["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case i.SecurityContext.URL:return(0,i["ɵallowSanitizationBypassAndThrow"])(t,"URL")?(0,i["ɵunwrapSafeValue"])(t):(0,i["ɵ_sanitizeUrl"])(String(t));case i.SecurityContext.RESOURCE_URL:if((0,i["ɵallowSanitizationBypassAndThrow"])(t,"ResourceURL"))return(0,i["ɵunwrapSafeValue"])(t);throw new Error(`unsafe value used in a resource URL context (see ${i["ɵXSS_SECURITY_URL"]})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${i["ɵXSS_SECURITY_URL"]})`)}}bypassSecurityTrustHtml(e){return(0,i["ɵbypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return(0,i["ɵbypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return(0,i["ɵbypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return(0,i["ɵbypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return(0,i["ɵbypassSanitizationTrustResourceUrl"])(e)}}
2Ce.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ce,deps:[{token:r.DOCUMENT}],target:i["ɵɵFactoryTarget"].Injectable}),Ce.ɵprov=i["ɵɵngDeclareInjectable"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ce,providedIn:"root",useFactory:De,deps:[{token:i.Injector}]}),i["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:i,type:Ce,decorators:[{type:i.Injectable,args:[{providedIn:"root",useFactory:De,deps:[i.Injector]}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]}});const Te=new i.Version("15.2.10")},32508:function(e,t,n){"use strict";n.r(t),n.d(t,{UpgradeComponent:function(){return de},UpgradeModule:function(){return he},VERSION:function(){return K},downgradeComponent:function(){return W},downgradeInjectable:function(){return Z},downgradeModule:function(){return ne},getAngularJSGlobal:function(){return p},getAngularLib:function(){return c},setAngularJSGlobal:function(){return l},setAngularLib:function(){return u}});var r=n(20831),i=n(39443);function o(){throw new Error("AngularJS v1.x is not loaded!")}const s=()=>o();s.cleanData=o;let a={bootstrap:o,module:o,element:s,injector:o,version:void 0,resumeBootstrap:o,getTestability:o};try{window.hasOwnProperty("angular")&&(a=window.angular)}catch{}function u(e){l(e)}function c(){return p()}function l(e){a=e}function p(){return a}const d=(e,t)=>a.module(e,t),h=e=>a.element(e);h.cleanData=e=>a.element.cleanData(e);const f="$compile",m="$delegate",g="$injector",v="$interval",y="$parse",_="$provide",b="$rootElement",w="$rootScope",E="$scope",S="$$testability",x="$$angularDowngradedModuleCount",D="$$angularInjector",C="$$angularLazyModuleRef",T="$$angularUpgradeAppType",k="?^^"+D,I="?ngModel",O="$$UpgradeModule";class M{constructor(e,t){this.prop=e,this.attr=t,this.bracketAttr=`[${this.attr}]`,this.parenAttr=`(${this.attr})`,this.bracketParenAttr=`[(${this.attr})]`;const n=this.attr.charAt(0).toUpperCase()+this.attr.slice(1);this.onAttr=`on${n}`,this.bindAttr=`bind${n}`,this.bindonAttr=`bindon${n}`}}const A=/^(?:x|data)[:\-_]/i,N=/[:\-_]+(.)/g;function P(e){h.cleanData([e]),function(e){return V(e.querySelectorAll)}(e)&&h.cleanData(e.querySelectorAll("*"))}function R(e){return"$"+e+"Controller"}function F(e){const t=e.get(b);e.get(w).$destroy(),P(t[0])}function j(e){return e.overriddenName||e.name||e.toString().split("\n")[0]}function L(e){return e.has(x)?e.get(x):0}function $(e){return e.has(T)?e.get(T):0}function V(e){return"function"==typeof e}function B(e,t,n,r){const i=$(e),o=L(e);switch(i){case 1:case 2:if(t)throw new Error(`Error while ${r}: 'downgradedModule' unexpectedly specified.\nYou should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').`);break;case 3:if(!t&&o>=2)throw new Error(`Error while ${r}: 'downgradedModule' not specified.\nThis application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.`);if(!e.has(n))throw new Error(`Error while ${r}: Unable to find the specified downgraded module.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`);break;default:throw new Error(`Error while ${r}: Not a valid '@angular/upgrade' application.\nDid you forget to downgrade an Angular module or include it in the AngularJS application?`)}}const U={__UNINITIALIZED__:!0};class H{constructor(e,t,n,r,i,o,s,a,u){this.element=e,this.attrs=t,this.scope=n,this.ngModel=r,this.parentInjector=i,this.$compile=o,this.$parse=s,this.componentFactory=a,this.wrapCallback=u,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=n.$new()}compileContents(){const e=[],t=this.groupProjectableNodes().map((e=>this.$compile(e)));return this.element.empty(),t.forEach((t=>{t(this.scope,(t=>{e.push(t),this.element.append(t)}))})),e}createComponentAndSetup(e,t=!1,n=!0){const r=this.createComponent(e);return this.setupInputs(t,n,r),this.setupOutputs(r.componentRef),this.registerCleanup(r.componentRef),r.componentRef}createComponent(e){const t=[{provide:E,useValue:this.componentScope}],n=r.Injector.create({providers:t,parent:this.parentInjector,name:"DowngradeComponentAdapter"}),i=this.componentFactory.create(n,e,this.element[0]),o=i.injector.get(r.ChangeDetectorRef),s=i.changeDetectorRef,a=i.injector.get(r.Testability,null);var u,c;return a&&i.injector.get(r.TestabilityRegistry).registerApplication(i.location.nativeElement,a),u=this.ngModel,c=i.instance,u&&function(e){return"function"==typeof e.writeValue&&"function"==typeof e.registerOnChange}(c)&&(u.$render=()=>{c.writeValue(u.$viewValue)},c.registerOnChange(u.$setViewValue.bind(u)),"function"==typeof c.registerOnTouched&&c.registerOnTouched(u.$setTouched.bind(u))),{viewChangeDetector:o,componentRef:i,changeDetector:s}}setupInputs(e,t=!0,{componentRef:n,changeDetector:i,viewChangeDetector:o}){const s=this.attrs,a=this.componentFactory.inputs||[];for(const e of a){const t=new M(e.propName,e.templateName);let r=null;if(s.hasOwnProperty(t.attr)){const e=(e=>{let t=U;return r=>{var i,o;(i=t)===(o=r)||i!=i&&o!=o||(t===U&&(t=r),this.updateInput(n,e,t,r),t=r)}})(t.prop);s.$observe(t.attr,e);let r=this.componentScope.$watch((()=>{r(),r=null,e(s[t.attr])}))}else s.hasOwnProperty(t.bindAttr)?r=s[t.bindAttr]:s.hasOwnProperty(t.bracketAttr)?r=s[t.bracketAttr]:s.hasOwnProperty(t.bindonAttr)?r=s[t.bindonAttr]:s.hasOwnProperty(t.bracketParenAttr)&&(r=s[t.bracketParenAttr]);if(null!=r){const e=(e=>(t,r)=>this.updateInput(n,e,r,t))(t.prop);this.componentScope.$watch(r,e)}}const u=()=>i.detectChanges(),c=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!c||!c.ngOnChanges),this.componentScope.$watch((()=>this.inputChangeCount),this.wrapCallback((()=>
2{if(this.implementsOnChanges){const e=this.inputChanges;this.inputChanges={},n.instance.ngOnChanges(e)}o.markForCheck(),t||u()}))),t&&this.componentScope.$watch(this.wrapCallback(u)),e||!t){let e=this.componentScope.$watch((()=>{e(),e=null;this.parentInjector.get(r.ApplicationRef).attachView(n.hostView)}))}}setupOutputs(e){const t=this.attrs,n=this.componentFactory.outputs||[];for(const r of n){const n=new M(r.propName,r.templateName),i=n.bindonAttr.substring(0,n.bindonAttr.length-6),o=`[(${n.bracketParenAttr.substring(2,n.bracketParenAttr.length-8)})]`;t.hasOwnProperty(i)&&this.subscribeToOutput(e,n,t[i],!0),t.hasOwnProperty(o)&&this.subscribeToOutput(e,n,t[o],!0),t.hasOwnProperty(n.onAttr)&&this.subscribeToOutput(e,n,t[n.onAttr]),t.hasOwnProperty(n.parenAttr)&&this.subscribeToOutput(e,n,t[n.parenAttr])}}subscribeToOutput(e,t,n,r=!1){const i=this.$parse(n),o=i.assign;if(r&&!o)throw new Error(`Expression '${n}' is not assignable!`);const s=e.instance[t.prop];if(!s)throw new Error(`Missing emitter '${t.prop}' on component '${j(this.componentFactory.componentType)}'!`);s.subscribe({next:r?e=>o(this.scope,e):e=>i(this.scope,{$event:e})})}registerCleanup(e){const t=e.injector.get(r.TestabilityRegistry),n=this.wrapCallback((()=>e.destroy()));let i=!1;this.element.on("$destroy",(()=>{i||this.componentScope.$destroy()})),this.componentScope.$on("$destroy",(()=>{i||(i=!0,t.unregisterApplication(e.location.nativeElement),P(this.element[0]),n())}))}updateInput(e,t,n,i){this.implementsOnChanges&&(this.inputChanges[t]=new r.SimpleChange(n,i,n===i)),this.inputChangeCount++,e.instance[t]=i}groupProjectableNodes(){return function(e,t){const n=[];for(let t=0,r=e.length;t<r;++t)n[t]=[];for(let r=0,i=t.length;r<i;++r){const i=t[r],o=z(i,e);null!=o&&n[o].push(i)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}function z(e,t){const n=[];let r=-1;for(let i=0;i<t.length;i++){const o=t[i];"*"===o?r=i:q(e,o)&&n.push(i)}return n.sort(),-1!==r&&n.push(r),n.length?n[0]:null}function q(e,t){const n=Element.prototype;return e.nodeType===Node.ELEMENT_NODE&&(n.matches??n.msMatchesSelector).call(e,t)}class G{constructor(){this.resolved=!1,this.callbacks=[]}static all(e){const t=new G;let n=0;const r=[],i=(i,o)=>{r[i]=o,++n===e.length&&t.resolve(r)};return e.forEach(((e,t)=>{var n;(n=e)&&V(n.then)?e.then((e=>i(t,e))):i(t,e)})),t}resolve(e){this.resolved||(this.value=e,this.resolved=!0,this.callbacks.forEach((t=>t(e))),this.callbacks.length=0)}then(e){this.resolved?e(this.value):this.callbacks.push(e)}}function W(e){const t=function(t,n,i){const o=3===$(n),s=o?e=>()=>r.NgZone.isInAngularZone()?e():a.run(e):e=>e;let a;const u=o&&L(n)>1;return{restrict:"E",terminal:!0,require:[k,I],link:(c,l,p,d)=>{const h=d[1],f=d[0];let m,g=!1;if(!f||u){const t=e.downgradedModule||"",r=`${C}${t}`,i=`instantiating component '${j(e.component)}'`;B(n,t,r,i);const o=n.get(r);m=o.injector??o.promise}const v=f||m,y=m||f,_=(n,a)=>{const u=a.get(r.ComponentFactoryResolver).resolveComponentFactory(e.component);if(!u)throw new Error(`Expecting ComponentFactory for: ${j(e.component)}`);const d=new Y(l),f=new H(l,p,c,h,n,t,i,u,s),m=f.compileContents(),v=f.createComponentAndSetup(m,o,e.propagateDigest);d.resolve(v.injector),g&&c.$evalAsync((()=>{}))},b=o?(e,t)=>{a||(a=e.get(r.NgZone)),s((()=>_(e,t)))()}:_;G.all([v,y]).then((([e,t])=>b(e,t))),g=!0}}};return t.$inject=[f,g,y],t}class Y extends G{constructor(e){super(),this.element=e,this.injectorKey=R(D),e.data(this.injectorKey,this)}resolve(e){this.element.data(this.injectorKey,e),this.element=null,super.resolve(e)}}function Z(e,t=""){const n=function(n){const r=`${D}${t}`,i=`instantiating injectable '${V(e)?j(e):String(e)}'`;B(n,t,r,i);try{return n.get(r).get(e)}catch(e){throw new Error(`Error while ${i}: ${e.message||e}`)}};return n.$inject=[g],n}const K=new r.Version("15.2.10");let J=null;function X(e){J=e}const Q=[{provide:"$injector",useFactory:function(){if(!J)throw new Error("Trying to get the AngularJS injector before it being set.");const e=J;return J=null,e},deps:[]},{provide:"$rootScope",useFactory:function(e){return e.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(e){return e.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(e){return e.get("$parse")},deps:["$injector"]}];class ee{constructor(e){this.modInjector=e}get(e,t){return t===r["ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR"]?t:this.modInjector.get(e,t)}}let te=0;function ne(e){const t=`${O}.lazy${++te}`,n=`${C}${t}`,o=`${D}${t}`;let s;var a;let u;return s=V(a=e)&&a[r["ɵNG_MOD_DEF"]]?t=>(0,i.platformBrowser)(t).bootstrapModule(e):V(e)?e:t=>(0,i.platformBrowser)(t).bootstrapModuleFactory(e),d(t,[]).constant(T,3).factory(D,[o,re]).factory(o,(()=>{if(!u)throw new Error("Trying to get the Angular injector before bootstrapping the corresponding Angular module.");return u})).factory(C,[n,re]).factory(n,[g,e=>{X(e);const t={promise:s(Q).then((n=>(u=t.injector=new ee(n.injector),u.get(g),u.get(r.PlatformRef).onDestroy((()=>F(e))),u)))};return t}]).config([g,_,(e,t)=>{t.constant(x,L(e)+1)}]),t}function re(e){return e}const ie=/^(\^\^?)?(\?)?(\^\^?)?/;class oe{constructor(e,t,n,r){this.name=t,this.$injector=e.get(g),this.$compile=this.$injector.get(f),this.$controller=this.$injector.get("$controller"),this.element=n.nativeElement,this.$element=h(this.element),this.directive=r??oe.getDirective(this.$injector,t)}static getDirective(e,t){const n=e.get(t+"Directive");if(n.length>1)throw new Error(`Only support single directive definition for: ${t}`);const r=n[0];return r.compile&&!r.link&&ue(t,"compile"),r.replace&&ue(t,"replace"),r.terminal&&ue(t,"terminal"),r}static getTemplate(e,t,n=!1,r){if(void 0!==t.template)return se(t.template,r);if(t.templateUrl){const i=e.get("$templateCache"),o=se(t.templateUrl,r),s=i.get(o);if(void 0!==s)return s;if(!n)throw new Error("loading directive templates asynchronously is not supported");return new Promise(((t,n)=>{e.get("$httpBackend")("GET",o,null,((e,r)=>{200===e?t(i.put(o,r)):n(`GET component template from '${o}' returned '${e}: ${r}'`)}))}))}throw new Error(`Directive '${t.name}' is not a component, it is missing template.`)}buildController(e,t){const n={$scope:t,$element:this.$element},r=this.$controller(e,n,null,this.directive.controllerAs);return this.$element.data?.(R(this.directive.name),r),r}compileTemplate(e){return void 0===e&&(e=oe.getTemplate(this.$injector,this.directive,!1,this.$element)),this.compileHtml(e)}onDestroy(e,t){t&&V(t.$onDestroy)&&t.$onDestroy(),e.$destroy(),P(this.element)}prepareTransclusion(){const e=this.directive.transclude,t=this.extractChildNodes(),n=(e,t)=>t(r,e=e||{$destroy:()=>{}});let r=t;if(e){const i=Object.create(null);if("object"==typeof e){r=[];const n=Object.create(null),o=Object.create(null);Object.keys(e).forEach((t=>{let r=e[t];const s="?"===r.charAt(0);r=s?r.substring(1):r,n[r]=t,i[t]=null,o[t]=s})),t.forEach((e=>{const t=n[(s=e.nodeName.toLowerCase(),s.replace(A,"").replace(N,((e,t)=>t.toUpperCase())))];var s;t?(o[t]=!0,i[t]=i[t]||[],i[t].push(e)):r.push(e)}
2)),Object.keys(o).forEach((e=>{if(!o[e])throw new Error(`Required transclusion slot '${e}' on directive: ${this.name}`)})),Object.keys(i).filter((e=>i[e])).forEach((e=>{const t=i[e];i[e]=(e,n)=>n(t,e)}))}n.$$slots=i,r.forEach((e=>{e.nodeType!==Node.TEXT_NODE||e.nodeValue||(e.nodeValue="‌")}))}return n}resolveAndBindRequiredControllers(e){const t=this.getDirectiveRequire(),n=this.resolveRequire(t);if(e&&this.directive.bindToController&&ae(t)){const t=n;Object.keys(t).forEach((n=>{e[n]=t[n]}))}return n}compileHtml(e){return this.element.innerHTML=e,this.$compile(this.element.childNodes)}extractChildNodes(){const e=[];let t;for(;t=this.element.firstChild;)this.element.removeChild(t),e.push(t);return e}getDirectiveRequire(){const e=this.directive.require||this.directive.controller&&this.directive.name;return ae(e)&&Object.entries(e).forEach((([t,n])=>{const r=n.match(ie);n.substring(r[0].length)||(e[t]=r[0]+t)})),e}resolveRequire(e){if(e){if(Array.isArray(e))return e.map((e=>this.resolveRequire(e)));if("object"==typeof e){const t={};return Object.keys(e).forEach((n=>t[n]=this.resolveRequire(e[n]))),t}if("string"==typeof e){const t=e.match(ie),n=t[1]||t[3],r=e.substring(t[0].length),i=!!t[2],o=!!n,s="^^"===n,a=R(r),u=s?this.$element.parent():this.$element,c=o?u.inheritedData(a):u.data(a);if(!c&&!i)throw new Error(`Unable to find required '${e}' in upgraded directive '${this.name}'.`);return c}throw new Error(`Unrecognized 'require' syntax on upgraded directive '${this.name}': ${e}`)}return null}}function se(e,...t){return V(e)?e(...t):e}function ae(e){return e&&!Array.isArray(e)&&"object"==typeof e}function ue(e,t){throw new Error(`Upgraded directive '${e}' contains unsupported feature: '${t}'.`)}const ce="NOT_SUPPORTED",le={__UNINITIALIZED__:!0};class pe{constructor(){this.twoWayBoundProperties=[],this.twoWayBoundLastValues=[],this.expressionBoundProperties=[],this.propertyToOutputMap={}}}class de{constructor(e,t,n){this.pendingChanges=null,this.helper=new oe(n,e,t),this.$element=this.helper.$element,this.directive=this.helper.directive,this.bindings=this.initializeBindings(this.directive,e);const r=n.get(E);this.$componentScope=r.$new(!!this.directive.scope),this.initializeOutputs()}ngOnInit(){const e=this.helper.prepareTransclusion(),t=this.helper.compileTemplate(),n=this.directive.controller,r=this.directive.bindToController;let i,o=n?this.helper.buildController(n,this.$componentScope):void 0;if(r){if(!n||!o)throw new Error(`Upgraded directive '${this.directive.name}' specifies 'bindToController' but no controller.`);i=o}else i=this.$componentScope;this.controllerInstance=o,this.bindingDestination=i,this.bindOutputs(i);const s=this.helper.resolveAndBindRequiredControllers(o);if(this.pendingChanges&&(this.forwardChanges(this.pendingChanges,i),this.pendingChanges=null),this.controllerInstance&&V(this.controllerInstance.$onInit)&&this.controllerInstance.$onInit(),o&&V(o.$doCheck)){const e=()=>o?.$doCheck?.();this.unregisterDoCheckWatcher=this.$componentScope.$parent.$watch(e),e()}const a=this.directive.link,u="object"==typeof a&&a.pre,c="object"==typeof a?a.post:a,l=ce,p=ce;u&&u(this.$componentScope,this.$element,l,s,p),t(this.$componentScope,null,{parentBoundTranscludeFn:e}),c&&c(this.$componentScope,this.$element,l,s,p),this.controllerInstance&&V(this.controllerInstance.$postLink)&&this.controllerInstance.$postLink()}ngOnChanges(e){this.bindingDestination?this.forwardChanges(e,this.bindingDestination):this.pendingChanges=e}ngDoCheck(){const e=this.bindings.twoWayBoundProperties,t=this.bindings.twoWayBoundLastValues,n=this.bindings.propertyToOutputMap;e.forEach(((e,r)=>{const i=this.bindingDestination?.[e],o=t[r];if(!Object.is(i,o)){this[n[e]].emit(i),t[r]=i}}))}ngOnDestroy(){V(this.unregisterDoCheckWatcher)&&this.unregisterDoCheckWatcher(),this.helper.onDestroy(this.$componentScope,this.controllerInstance)}initializeBindings(e,t){const n="object"==typeof e.bindToController;if(n&&Object.keys(e.scope).length)throw new Error("Binding definitions on scope and controller at the same time is not supported.");const r=n?e.bindToController:e.scope,i=new pe;return"object"==typeof r&&Object.keys(r).forEach((e=>{const n=r[e].charAt(0);switch(n){case"@":case"<":break;case"=":i.twoWayBoundProperties.push(e),i.twoWayBoundLastValues.push(le),i.propertyToOutputMap[e]=e+"Change";break;case"&":i.expressionBoundProperties.push(e),i.propertyToOutputMap[e]=e;break;default:let o=JSON.stringify(r);throw new Error(`Unexpected mapping '${n}' in '${o}' in '${t}' directive.`)}})),i}
2initializeOutputs(){this.bindings.twoWayBoundProperties.concat(this.bindings.expressionBoundProperties).forEach((e=>{this[this.bindings.propertyToOutputMap[e]]=new r.EventEmitter}))}bindOutputs(e){this.bindings.expressionBoundProperties.forEach((t=>{const n=this[this.bindings.propertyToOutputMap[t]];e[t]=e=>n.emit(e)}))}forwardChanges(e,t){Object.keys(e).forEach((n=>t[n]=e[n].currentValue)),V(t.$onChanges)&&t.$onChanges(e)}}de.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:de,deps:"invalid",target:r["ɵɵFactoryTarget"].Directive}),de.ɵdir=r["ɵɵngDeclareDirective"]({minVersion:"14.0.0",version:"15.2.10",type:de,usesOnChanges:!0,ngImport:r}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:de,decorators:[{type:r.Directive}],ctorParameters:function(){return[{type:void 0},{type:r.ElementRef},{type:r.Injector}]}});class he{constructor(e,t,n){this.ngZone=t,this.platformRef=n,this.injector=new ee(e)}bootstrap(e,t=[],n){const i=O+".init";d(i,[]).constant(T,2).value(D,this.injector).factory(C,[D,e=>({injector:e})]).config([_,g,(e,t)=>{t.has(S)&&e.decorator(S,[m,e=>{const t=e.whenStable,n=this.injector,i=function(o){t.call(e,(function(){const t=n.get(r.Testability);t.isStable()?o():t.whenStable(i.bind(e,o))}))};return e.whenStable=i,e}]),t.has(v)&&e.decorator(v,[m,e=>{let t=(t,n,r,i,...o)=>this.ngZone.runOutsideAngular((()=>e(((...e)=>{setTimeout((()=>{this.ngZone.run((()=>t(...e)))}))}),n,r,i,...o)));return Object.keys(e).forEach((n=>t[n]=e[n])),e.hasOwnProperty("flush")&&(t.flush=()=>(e.flush(),t)),t}])}]).run([g,t=>{this.$injector=t;const n=t.get("$rootScope");X(t),this.injector.get(g),h(e).data(R(D),this.injector),this.platformRef.onDestroy((()=>F(t))),setTimeout((()=>{const e=this.ngZone.onMicrotaskEmpty.subscribe((()=>n.$$phase?(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn("A digest was triggered while one was already in progress. This may mean that something is triggering digests outside the Angular zone."),n.$evalAsync()):n.$digest()));n.$on("$destroy",(()=>{e.unsubscribe()}))}),0)}]);const o=d(O,[i].concat(t)),s=window.angular;s.resumeBootstrap=void 0;const u=this.ngZone.run((()=>((e,t,n)=>a.bootstrap(e,t,n))(e,[o.name],n)));if(s.resumeBootstrap){const e=s.resumeBootstrap,t=this.ngZone;s.resumeBootstrap=function(){let n=arguments;return s.resumeBootstrap=e,t.run((()=>s.resumeBootstrap.apply(this,n)))}}return u}}he.ɵfac=r["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:he,deps:[{token:r.Injector},{token:r.NgZone},{token:r.PlatformRef}],target:r["ɵɵFactoryTarget"].NgModule}),he.ɵmod=r["ɵɵngDeclareNgModule"]({minVersion:"14.0.0",version:"15.2.10",ngImport:r,type:he}),he.ɵinj=r["ɵɵngDeclareInjector"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:he,providers:[Q]}),r["ɵɵngDeclareClassMetadata"]({minVersion:"12.0.0",version:"15.2.10",ngImport:r,type:he,decorators:[{type:r.NgModule,args:[{providers:[Q]}]}],ctorParameters:function(){return[{type:r.Injector},{type:r.NgZone},{type:r.PlatformRef}]}})},97582:function(e,t,n){"use strict";n.d(t,{CR:function(){return u},FC:function(){return p},Jh:function(){return s},KL:function(){return d},XA:function(){return a},ZT:function(){return i},ev:function(){return c},mG:function(){return o},qq:function(){return l}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
vendor: 2,793 bytes, line 2
2function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function a(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function c(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function l(e){return this instanceof l?(this.v=e,this):new l(e)}function p(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof l?Promise.resolve(n.value.v).then(u,c):p(o[0][2],n)}catch(e){p(o[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function p(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function d(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=a(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}Object.create;"function"==typeof SuppressedError&&SuppressedError}}]);

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.