"use strict";(self.webpackChunkdotcom=self.webpackChunkdotcom||[]).push([[179],{9906:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Ib:()=>Builder});var tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9726),hash_sum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(634),hash_sum__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_0__);!function(){if(typeof window>"u"||"function"==typeof window.CustomEvent)return!1;window.CustomEvent=function k(E,f){f=f||{bubbles:!1,cancelable:!1,detail:null};var r=document.createEvent("CustomEvent");return r.initCustomEvent(E,f.bubbles,f.cancelable,f.detail),r}}();var isSafari=typeof window<"u"&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);function nextTick(k){if("function"==typeof setImmediate&&typeof window>"u")return setImmediate(k);if(isSafari||typeof MutationObserver>"u")setTimeout(k);else{var E=0,f=new MutationObserver(function(){return k()}),r=document.createTextNode("");f.observe(r,{characterData:!0}),r.data=String(E=++E)}}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function k(){}return k.parseDeep=function(E){var f=this.parse(E);return this.deepen(f)},k.stringifyDeep=function(E){var f=this.flatten(E);return this.stringify(f)},k.parse=function(E){for(var f={},r=("?"===E[0]?E.substr(1):E).split("&"),w=0;w<r.length;w++){var s=r[w].split("=");try{f[decodeURIComponent(s[0])]=decodeURIComponent(s[1]||"")}catch{}}return f},k.stringify=function(E){var f="";for(var r in E)if(E.hasOwnProperty(r)){var w=E[r];f&&(f+="&"),f+=encodeURIComponent(r)+"="+encodeURIComponent(w)}return f},k.deepen=function(E){var f={};for(var r in E){for(var w=f,s=r.split("."),H=s.pop(),B=0,F=s;B<F.length;B++){var z=F[B];assertAllowedPropertyName(z),w=w[z]=w[z]||{}}w[H]=E[r]}return f},k.flatten=function(E,f,r){for(var w in void 0===r&&(r={}),E){var s=E[w],H=f?f+"."+w:w;s&&"object"==typeof s?this.flatten(s,H,r):r[H]=s}return r},k}();function assertAllowedPropertyName(k){if(PROPERTY_NAME_DENY_LIST.indexOf(k)>=0)throw new Error('Property name "'.concat(k,'" is not allowed'))}var version="1.2.0",Subscription=function(){function k(E,f){this.listeners=E,this.listener=f,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(k.prototype,"closed",{get:function(){return this.unsubscribed},enumerable:!1,configurable:!0}),k.prototype.add=function(E){this.otherSubscriptions.push(E)},k.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var E=this.listeners.indexOf(this.listener);E>-1&&this.listeners.splice(E,1)}this.otherSubscriptions.forEach(function(f){return f.unsubscribe()}),this.unsubscribed=!0}},k}(),BehaviorSubject=function(){function k(E){this.value=E,this.listeners=[],this.errorListeners=[]}return k.prototype.next=function(E){this.value=E;for(var f=0,r=this.listeners;f<r.length;f++)(0,r[f])(E)},k.prototype.map=function(E){var f=new k(E(this.value));return this.subscribe(function(r){f.next(E(r))}),this.catch(function(r){f.error(r)}),f},k.prototype.catch=function(E){return this.errorListeners.push(E),new Subscription(this.errorListeners,E)},k.prototype.error=function(E){for(var f=0,r=this.errorListeners;f<r.length;f++)(0,r[f])(E)},k.prototype.subscribe=function(E,f){return this.listeners.push(E),f&&this.errorListeners.push(f),new Subscription(this.listeners,E)},k.prototype.toPromise=function(){var E=this;return new Promise(function(f,r){var w=E.subscribe(function(s){f(s),w.unsubscribe()},function(s){r(s),w.unsubscribe()})})},k.prototype.promise=function(){return this.toPromise()},k}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(k){return k&&"function"==typeof k}function isObject(k){return k&&"object"==typeof k}var TinyPromise=function(){function k(E){this._state=State.Pending,this._handlers=[],this._value=null,E(this._resolve.bind(this),this._reject.bind(this))}return k.prototype._resolve=function(E){var f=this;if(E instanceof k)E.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(E)||isFunction(E)){var r=!1;try{var w=E.then;isFunction(w)?w.call(E,function(s){r||f._resolve(s),r=!0},function(s){r||f._reject(s),r=!0}):this._fulfill(E)}catch(s){r||this._reject(s)}}else this._fulfill(E)},k.prototype._fulfill=function(E){var f=this;this._state=State.Fulfilled,this._value=E,this._handlers.forEach(function(r){return f._callHandler(r)})},k.prototype._reject=function(E){var f=this;this._state=State.Rejected,this._value=E,this._handlers.forEach(function(r){return f._callHandler(r)})},k.prototype._isPending=function(){return this._state===State.Pending},k.prototype._isFulfilled=function(){return this._state===State.Fulfilled},k.prototype._isRejected=function(){return this._state===State.Rejected},k.prototype._addHandler=function(E,f){this._handlers.push({onFulfilled:E,onRejected:f})},k.prototype._callHandler=function(E){this._isFulfilled()&&isFunction(E.onFulfilled)?E.onFulfilled(this._value):this._isRejected()&&isFunction(E.onRejected)&&E.onRejected(this._value)},k.prototype.then=function(E,f){var r=this;switch(this._state){case State.Pending:return new k(function(w,s){r._addHandler(function(H){nextTick(function(){try{isFunction(E)?w(E(H)):w(H)}catch(B){s(B)}})},function(H){nextTick(function(){try{isFunction(f)?w(f(H)):s(H)}catch(B){s(B)}})})});case State.Fulfilled:return new k(function(w,s){nextTick(function(){try{isFunction(E)?w(E(r._value)):w(r._value)}catch(H){s(H)}})});case State.Rejected:return new k(function(w,s){nextTick(function(){try{isFunction(f)?w(f(r._value)):s(r._value)}catch(H){s(H)}})})}},k}(),Promise$1=typeof Promise<"u"?Promise:TinyPromise,serverOnlyRequire;try{serverOnlyRequire=eval("require")}catch(k){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire;function promiseResolve(k){return new Promise$1(function(E){return E(k)})}function tinyFetch(k,E){return void 0===E&&(E={}),new Promise$1(function(f,r){var w=new XMLHttpRequest;if(w.open(E.method||"get",k,!0),E.headers)for(var s in E.headers)w.setRequestHeader(s,E.headers[s]);function H(){var B=[],F=[],z={},Y=void 0;return w.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(Z,q,Q){var X=q;return B.push(X=X.toLowerCase()),F.push([X,Q]),z[X]=(Y=z[X])?"".concat(Y,",").concat(Q):Q,""}),{ok:2==(w.status/100|0),status:w.status,statusText:w.statusText,url:w.responseURL,clone:H,text:function(){return promiseResolve(w.responseText)},json:function(){return promiseResolve(w.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([w.response]))},headers:{keys:function(){return B},entries:function(){return F},get:function(Z){return z[Z.toLowerCase()]},has:function(Z){return Z.toLowerCase()in z}}}}w.withCredentials="include"===E.credentials,w.onload=function(){f(H())},w.onerror=r,w.send(E.body)})}function getFetch(){var k=void 0;if(globalThis.fetch)k??(k=globalThis.fetch);else if(typeof window>"u")try{k??(k=serverOnlyRequire$1("node-fetch"))}catch(E){console.warn("node-fetch is not installed. consider polyfilling fetch or installing node-fetch."),console.warn(E)}return k??tinyFetch}function assign(k){for(var E=[],f=1;f<arguments.length;f++)E[f-1]=arguments[f];for(var r=Object(k),w=1;w<arguments.length;w++){var s=arguments[w];if(null!=s)for(var H in s)Object.prototype.hasOwnProperty.call(s,H)&&(r[H]=s[H])}return r}function throttle(k,E,f){void 0===f&&(f={});var r,w,s,H=null,B=0,F=function(){B=!1===f.leading?0:Date.now(),H=null,s=k.apply(r,w),H||(r=w=null)};return function(){var z=Date.now();!B&&!1===f.leading&&(B=z);var Y=E-(z-B);return r=this,w=arguments,Y<=0||Y>E?(H&&(clearTimeout(H),H=null),B=z,s=k.apply(r,w),H||(r=w=null)):!H&&!1!==f.trailing&&(H=setTimeout(F,Y)),s}}var camelCaseToKebabCase=function(k){return k?k.replace(/([A-Z])/g,function(E){return"-".concat(E[0].toLowerCase())}):""},Animator=function(){function k(){}return k.prototype.bindAnimations=function(E){for(var f=0,r=E;f<r.length;f++){var w=r[f];switch(w.trigger){case"pageLoad":this.triggerAnimation(w);break;case"hover":this.bindHoverAnimation(w);break;case"scrollInView":this.bindScrollInViewAnimation(w)}}},k.prototype.warnElementNotPresent=function(E){console.warn("Cannot animate element: element with ID ".concat(E," not found!"))},k.prototype.augmentAnimation=function(E,f){for(var r=this.getAllStylesUsed(E),w=getComputedStyle(f),F=0,z=[E.steps[0].styles,E.steps[E.steps.length-1].styles];F<z.length;F++)for(var Y=z[F],Z=0,q=r;Z<q.length;Z++){var Q=q[Z];Q in Y||(Y[Q]=w[Q])}},k.prototype.getAllStylesUsed=function(E){for(var f=[],r=0,w=E.steps;r<w.length;r++){var s=w[r];for(var H in s.styles)-1===f.indexOf(H)&&f.push(H)}return f},k.prototype.triggerAnimation=function(E){var f=this,r=Array.prototype.slice.call(document.getElementsByClassName(E.elementId||E.id||""));r.length?Array.from(r).forEach(function(w){f.augmentAnimation(E,w),w.style.transition="none",w.style.transitionDelay="0",assign(w.style,E.steps[0].styles),setTimeout(function(){w.style.transition="all ".concat(E.duration,"s ").concat(camelCaseToKebabCase(E.easing)),E.delay&&(w.style.transitionDelay=E.delay+"s"),assign(w.style,E.steps[1].styles),setTimeout(function(){w.style.transition="",w.style.transitionDelay=""},1e3*(E.delay||0)+1e3*E.duration+100)})}):this.warnElementNotPresent(E.elementId||E.id||"")},k.prototype.bindHoverAnimation=function(E){var f=this,r=Array.prototype.slice.call(document.getElementsByClassName(E.elementId||E.id||""));r.length?Array.from(r).forEach(function(w){f.augmentAnimation(E,w);var s=E.steps[0].styles,H=E.steps[1].styles;function B(){assign(w.style,s)}B(),w.addEventListener("mouseenter",function F(){assign(w.style,H)}),w.addEventListener("mouseleave",B),setTimeout(function(){w.style.transition="all ".concat(E.duration,"s ").concat(camelCaseToKebabCase(E.easing)),E.delay&&(w.style.transitionDelay=E.delay+"s")})}):this.warnElementNotPresent(E.elementId||E.id||"")},k.prototype.bindScrollInViewAnimation=function(E){var f=this,r=Array.prototype.slice.call(document.getElementsByClassName(E.elementId||E.id||""));r.length?Array.from(r).forEach(function(w){f.augmentAnimation(E,w);var s=!1,H=!1;function B(){!s&&z(w)?(s=!0,H=!0,setTimeout(function(){assign(w.style,E.steps[1].styles),E.repeat||document.removeEventListener("scroll",F),setTimeout(function(){H=!1,E.repeat||(w.style.transition="",w.style.transitionDelay="")},1e3*(E.duration+(E.delay||0))+100)})):E.repeat&&s&&!H&&!z(w)&&(s=!1,assign(w.style,E.steps[0].styles))}var F=throttle(B,200,{leading:!1});function z(q){var Q=q.getBoundingClientRect(),X=window.innerHeight,ge=(E.thresholdPercent||0)/100*X;return Q.bottom>ge&&Q.top<X-ge}var Y=E.steps[0].styles;(function Z(){assign(w.style,Y)})(),setTimeout(function(){w.style.transition="all ".concat(E.duration,"s ").concat(camelCaseToKebabCase(E.easing)),E.delay&&(w.style.transitionDelay=E.delay+"s")}),document.addEventListener("scroll",F,{capture:!0,passive:!0}),B()}):this.warnElementNotPresent(E.elementId||E.id||"")},k}();function getTopLevelDomain(k){var E=k.split(".");return E.length>2?E.slice(1).join("."):k}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function k(E,f){this.request=E,this.response=f}return k.prototype.get=function(E){var f=this.request.headers.cookie;if(f){var r=f.match(getPattern(E));if(r)return r[1]}},k.prototype.set=function(E,f,r){var w=this.response,s=this.request,H=w.getHeader("Set-Cookie")||[],B=void 0!==this.secure?!!this.secure:"https"===s.protocol||s.connection.encrypted,F=new Cookie(E,f,r);if("string"==typeof H&&(H=[H]),!B&&r&&r.secure)throw new Error("Cannot send secure cookie over unencrypted connection");return F.secure=B,r&&"secure"in r&&(F.secure=!!r.secure),F.domain=s.headers.host&&getTopLevelDomain(s.headers.host),pushCookie(H,F),w.setHeader.call(w,"Set-Cookie",H),this},k}(),Cookie=function(){function k(E,f,r){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(E))throw new TypeError("argument name is invalid");if(f&&!fieldContentRegExp.test(f))throw new TypeError("argument value is invalid");f||(this.expires=new Date(0)),this.name=E,this.value=f||"",r.expires&&(this.expires=r.expires),r.secure&&(this.secure=r.secure)}return k.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},k.prototype.toHeader=function(){var E=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(E+="; path=".concat(this.path)),this.expires&&(E+="; expires=".concat(this.expires.toUTCString())),this.domain&&(E+="; domain=".concat(this.domain)),E+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(E+="; secure"),this.httpOnly&&(E+="; httponly"),E},k}();function getPattern(k){return new RegExp("(?:^|;) *".concat(k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(k,E){if(E.overwrite)for(var f=k.length-1;f>=0;f--)0===k[f].indexOf("".concat(E.name,"="))&&k.splice(f,1);k.push(E.toHeader())}function omit(k){for(var E=[],f=1;f<arguments.length;f++)E[f-1]=arguments[f];for(var r=Object.assign({},k),w=0,s=E;w<s.length;w++)delete r[s[w]];return r}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(k){var E=16*Math.random()|0;return("x"==k?E:3&E|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse(k){var f,E=emptyUrl();return""===k||"/"===k[0]?(f=new URL(k,"http://0.0.0.0/"),E.href=f.href,E.href=E.href.slice(14)):(f=new URL(k),E.href=f.href,E.port=""===f.port?null:f.port,E.hash=""===f.hash?null:f.hash,E.host=f.host,E.hostname=f.hostname,E.href=f.href,E.pathname=f.pathname,E.protocol=f.protocol,E.slashes="/"===k[f.protocol.length]),E.search=f.search,E.query=f.search.slice(1),E.path="".concat(f.pathname).concat(f.search),E.pathname=f.pathname,E}function toError(k){return k instanceof Error?k:new Error(String(k))}var DEFAULT_API_VERSION="v1";function datePlusMinutes(k){return void 0===k&&(k=30),new Date(Date.now()+6e4*k)}var isPositiveNumber=function(k){return"number"==typeof k&&!isNaN(k)&&k>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(k,E){for(var r=(k.split("?")[1]||"").split("&"),w=0;w<r.length;w++){var s=r[w].split("=");if(decodeURIComponent(s[0])===E)return decodeURIComponent(s[1])}return null}var urlParser={parse:function(k){var E=document.createElement("a");E.href=k;for(var f={},w=0,s=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"];w<s.length;w++){var H=s[w];f[H]=E[H]}return(f.pathname||""===f.pathname)&&"string"==typeof f.pathname&&0!==f.pathname.indexOf("/")&&(f.pathname="/"+f.pathname),f}},parse$1=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse;function setCookie(k,E,f){try{var r="";f&&(r="; expires="+f.toUTCString());var w=!isBrowser||"https:"===location.protocol;document.cookie=k+"="+(E||"")+r+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(w?";secure ; SameSite=None":"")}catch(s){console.warn("Could not set cookie",s)}}function getCookie(k){try{return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(k).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(E){console.warn("Could not get cookie",E)}}function size(k){return Object.keys(k).length}function find(k,E){for(var f=k,r=f.length>>>0,w=arguments[1],s=0;s<r;s++){var H=f[s];if(E.call(w,H,s,f))return H}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser=typeof window<"u"&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(k){return void 0===k&&(k={}),Builder.Component(k)}var Builder=function(){function k(E,f,r,w,s,H){void 0===E&&(E=null),void 0===w&&(w=!1),void 0===s&&(s=null);var B=this;if(this.request=f,this.response=r,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){B.processEventsQueue(),B.setCookie(sessionStorageKey,B.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.apiVersion$=new BehaviorSubject(void 0),this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!k.isBrowser&&!(this.isDevelopmentEnv||k.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],k.isBrowser&&!w&&k.singletonInstance)return k.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),E&&(this.apiKey=E),H&&(this.apiVersion=H),s&&(this.authToken=s),isBrowser&&(this.bindMessageListeners(),k.isEditing&&parent.postMessage({type:"builder.animatorOptions",data:{options:{version:2}}},"*")),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(F){if(F){if(typeof sessionStorage<"u")try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,B.sessionId)}catch(z){console.debug("Session storage error",z)}B.eventsQueue.length&&B.throttledClearEventsQueue(),B.cookieQueue.length&&(B.cookieQueue.forEach(function(z){B.setCookie(z[0],z[1])}),B.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return k.register=function(E,f){var r=this.registry[E];if(r||(r=this.registry[E]=[]),r.push(f),k.isBrowser){var w={type:"builder.register",data:{type:E,info:f}};try{parent.postMessage(w,"*"),parent!==window&&window.postMessage(w,"*")}catch(s){console.debug("Could not postmessage",s)}}this.registryChange.next(this.registry)},k.registerEditor=function(E){if(k.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(E,"component")},"*");var f=location.hostname;k.isTrustedHost(f)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(E)},k.registerPlugin=function(E){this.plugins.push(E)},k.registerAction=function(E){this.actions.push(E)},k.registerTrustedHost=function(E){this.trustedHosts.push(E)},k.isTrustedHost=function(E){return this.trustedHosts.findIndex(function(f){return f===E||E.endsWith(".".concat(f))})>-1},k.runAction=function(E){if(!("string"==typeof E?find(this.actions,function(r){return r.name===E}):E))throw new Error("Action not found: ".concat(E))},k.fields=function(E,f){var r;null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.fields",data:{name:E,fields:f}},"*")},k.set=function(E){k.register("editor.settings",E)},k.import=function(E){if(k.isBrowser){var f=window.System;if(f)return f.import("https://cdn.builder.io/systemjs/".concat(E));console.warn("System.js not available. Please include System.js when using Builder.import")}else console.warn("Builder.import used on the server - this should only be used in the browser")},Object.defineProperty(k,"editingPage",{get:function(){return this._editingPage},set:function(E){this._editingPage=E,isBrowser&&isIframe&&(E?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),k.prepareComponentSpecToSend=function(E){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},E),E.inputs&&{inputs:E.inputs.map(function(f){for(var r,s=0,H=["onChange","showIf"];s<H.length;s++){var B=H[s];if(f[B]&&"function"==typeof f[B]){var F=f[B];f=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},f),((r={})[B]="return (".concat(F.toString(),").apply(this, arguments)"),r))}}return f})}),{hooks:Object.keys(E.hooks||{}).reduce(function(f,r){var w=E.hooks&&E.hooks[r];return w&&(f[r]="string"==typeof w?w:"return (".concat(w.toString(),").apply(this, arguments)")),f},{}),class:void 0})},k.registerBlock=function(E,f){this.registerComponent(E,f)},k.registerComponent=function(E,f){var r,w=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({class:E},E.builderOptions),f);if(this.addComponent(w),f.models&&this.singletonInstance.editingModel?isBrowser&&f.models.includes(this.singletonInstance.editingModel):isBrowser){var H=this.prepareComponentSpecToSend(w);null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.registerComponent",data:H},"*")}},k.addComponent=function(E){var f=find(this.components,function(r){return r.name===E.name});if(f){if(f.class&&!E.class)return;this.components.splice(this.components.indexOf(f),1,E)}else this.components.push(E)},k.component=function(E){var f=this;return void 0===E&&(E={}),function(r){var w,s=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},E),{class:r});s.name||(s.name=r.name),f.addComponent(s);var H=f.prepareComponentSpecToSend(s);return isBrowser&&(null===(w=window.parent)||void 0===w||w.postMessage({type:"builder.registerComponent",data:H},"*")),r}},Object.defineProperty(k,"Component",{get:function(){return this.component},enumerable:!1,configurable:!0}),k.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var E=this.eventsQueue;this.eventsQueue=[];for(var f=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},k.overrideUserAttributes),this.trackingUserAttributes),r=0,w=E;r<w.length;r++){var s=w[r];s.data.metadata||(s.data.metadata={}),s.data.metadata.user||(s.data.metadata.user={}),Object.assign(s.data.metadata.user,f,s.data.metadata.user)}var H=this.host;getFetch()("".concat(H,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:E}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(k.prototype,"browserTrackingDisabled",{get:function(){return k.isBrowser&&!(!window.builderNoTrack&&navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(E){this.canTrack!==E&&this.canTrack$.next(E)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"apiVersion",{get:function(){return this.apiVersion$.value},set:function(E){this.apiVersion!==E&&this.apiVersion$.next(E)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(E){E!==this.editingMode&&this.editingMode$.next(E)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(E){E!==this.editingModel&&this.editingModel$.next(E)},enumerable:!1,configurable:!0}),k.prototype.findParentElement=function(E,f,r){if(void 0===r&&(r=!0),!(E instanceof HTMLElement))return null;var w=r?E:E.parentElement;do{if(!w)return null;if(f(w))return w}while(w=w.parentElement);return null},k.prototype.findBuilderParent=function(E){return this.findParentElement(E,function(f){var r=f.getAttribute("builder-id")||f.id;return!(!r||0!==r.indexOf("builder-"))})},k.prototype.setUserAgent=function(E){this.userAgent=E||""},k.prototype.setTrackingHook=function(E){this.trackingHooks.push(E)},k.prototype.track=function(E,f,r){if(void 0===f&&(f={}),!isIframe&&isBrowser&&!k.isPreviewing){var w=this.apiKey;if(!w)return void console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("\xabYOUR-API-KEY\xbb");` as early as possible in your application\'s code.');for(var s=JSON.parse(JSON.stringify({type:E,data:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},omit(f,"meta")),{metadata:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({sdkVersion:k.VERSION,url:location.href},f.meta),f.metadata),ownerId:w,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),H=0,B=this.trackingHooks;H<B.length;H++){var z=(0,B[H])(s,r||{});z&&(s=z)}this.eventsQueue.push(s),this.canTrack&&this.throttledClearEventsQueue()}},k.prototype.getSessionId=function(){var E=this,f=null;try{k.isBrowser&&typeof sessionStorage<"u"&&(f=this.getCookie(sessionStorageKey))}catch(r){console.debug("Session storage error",r)}return f||(f=uuid()),k.isBrowser&&setTimeout(function(){try{E.canTrack&&E.setCookie(sessionStorageKey,f,datePlusMinutes(30))}catch(r){console.debug("Cookie setting error",r)}}),f},k.prototype.getVisitorId=function(){var E=this;if(this.visitorId)return this.visitorId;var f=null;try{k.isBrowser&&typeof localStorage<"u"&&(f=localStorage.getItem(localStorageKey))}catch(r){console.debug("Local storage error",r)}return f||(f=uuid()),this.visitorId=f,k.isBrowser&&setTimeout(function(){try{E.canTrack&&typeof localStorage<"u"&&f&&localStorage.setItem(localStorageKey,f)}catch(r){console.debug("Session storage error",r)}}),f},k.prototype.trackImpression=function(E,f,r,w){isIframe||!isBrowser||k.isPreviewing||this.track("impression",{contentId:E,variationId:f!==E?f:void 0,metadata:r},w)},k.prototype.trackConversion=function(E,f,r,w,s){isIframe||!isBrowser||k.isPreviewing||this.track("conversion",{amount:E,variationId:r,meta:"object"==typeof f?f:w,contentId:"string"==typeof f?f:void 0},s)},Object.defineProperty(k.prototype,"isDevelopmentEnv",{get:function(){return k.isIframe||k.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env},enumerable:!1,configurable:!0}),k.prototype.trackInteraction=function(E,f,r,w,s){if(void 0===r&&(r=!1),!isIframe&&isBrowser&&!k.isPreviewing){var H=w&&w.target,B=H&&this.findBuilderParent(H),z={};if(w){var q,Y=w.clientX,Z=w.clientY;if(H){var X=Z-(q=H.getBoundingClientRect()).top,se=F((Y-q.left)/q.width),ge=F(X/q.height);z.targetOffset={x:se,y:ge}}if(B)X=Z-(q=B.getBoundingClientRect()).top,se=F((Y-q.left)/q.width),ge=F(X/q.height),z.builderTargetOffset={x:se,y:ge}}var Me=B&&(B.getAttribute("builder-id")||B.id);Me&&B&&(z.builderElementIndex=[].slice.call(document.getElementsByClassName(Me)).indexOf(B)),this.track("click",{contentId:E,metadata:z,variationId:f!==E?f:void 0,unique:!r,targetBuilderElement:Me||void 0},s)}function F(Ye){return Math.round(1e3*Ye)/1e3}},k.prototype.component=function(E){return void 0===E&&(E={}),k.component(E)},Object.defineProperty(k.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(E){this.apiKey$.next(E)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(E){this.authToken$.next(E)},enumerable:!1,configurable:!0}),k.prototype.modifySearch=function(E){return E.replace(/(^|&|\?)(builder_.*?)=/gi,function(f,r,w){return r+w.replace(/_/g,".")+"="})},k.prototype.setTestsFromUrl=function(){var E=this.getLocation().search,f=QueryString.parseDeep(this.modifySearch(E||"").substr(1)),r=f.builder&&f.builder.tests;if(r&&"object"==typeof r)for(var w in r)r.hasOwnProperty(w)&&this.setTestCookie(w,r[w])},k.prototype.resetOverrides=function(){k.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},k.prototype.getOverridesFromQueryString=function(){var E=this.getLocation(),f=QueryString.parseDeep(this.modifySearch(E.search||"").substr(1)),r=f.builder;if(r){var w=r.userAttributes,s=r.overrides,H=r.env,F=r.api,z=r.cachebust,Y=r.noCache,Z=r.preview,q=r.editing,Q=r.frameEditing,X=r.options,se=r.params;if(w&&this.setUserAttributes(w),X&&(this.queryOptions=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},X.locale&&{locale:X.locale}),X.includeRefs&&{includeRefs:X.includeRefs})),s&&(this.overrides=s),validEnvList.indexOf(H||F)>-1&&(this.env=H||F),k.isEditing){var ge=Q||q||Z;ge&&"true"!==ge&&(this.editingModel=ge)}z&&(this.cachebust=!0),Y&&(this.noCache=!0),Z&&(this.preview=!0),f&&(this.overrideParams=se)}},k.prototype.messageFrameLoaded=function(){var E;null===(E=window.parent)||void 0===E||E.postMessage({type:"builder.loaded",data:{value:!0}},"*")},k.prototype.bindMessageListeners=function(){var E=this;isBrowser&&addEventListener("message",function(f){var r,w,s,H,B,F=parse$1(f.origin),z=-1===["builder.register","builder.registerComponent"].indexOf(null===(r=f.data)||void 0===r?void 0:r.type),Y=F.hostname&&k.isTrustedHost(F.hostname);if(!z||Y){var Z=f.data;if(Z)switch(Z.type){case"builder.ping":null===(w=window.parent)||void 0===w||w.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(f.source===window)break;var q=Z.data;if(!q)break;var Q=q.type,X=q.info,se=k.registry[Q];se||(se=k.registry[Q]=[]),se.push(X),k.registryChange.next(k.registry);break;case"builder.settingsChange":if(f.source===window)break;var ge=Z.data;if(!ge)break;Object.assign(k.settings,ge),k.settingsChange.next(k.settings);break;case"builder.registerEditor":if(f.source===window)break;var Me=Z.data;if(!Me)break;var Ye=!!Me.component;k.editors.every(function(Ot,vt){return Me.name!==Ot.name||(Ot.component&&!Ye||(k.editors[vt]=Ot),!1)});break;case"builder.triggerAnimation":k.animator.triggerAnimation(Z.data);break;case"builder.contentUpdate":var tt=Z.data.key||Z.data.alias||Z.data.entry||Z.data.modelName,rt=E.observersByKey[tt];rt&&!E.noEditorUpdates[tt]&&rt.next([Z.data.data]);break;case"builder.getComponents":null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.components",data:k.components.map(function(Ot){return k.prepareComponentSpecToSend(Ot)})},"*");break;case"builder.editingModel":E.editingModel=Z.data.model;break;case"builder.registerComponent":k.addComponent(Z.data);break;case"builder.blockContentLoading":"string"==typeof Z.data.model&&(E.blockContentLoading=Z.data.model);break;case"builder.editingMode":Z.data?(E.editingMode=!0,document.body.classList.add("builder-editing")):(E.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":k.editingPage=Z.data;break;case"builder.overrideUserAttributes":assign(k.overrideUserAttributes,Z.data),E.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var Ke=Z.data,de=Ke.variationId,pe=Ke.contentId;de&&pe&&(E.setTestCookie(pe,de),E.flushGetContentQueue(!0));break;case"builder.evaluate":var Le=Z.data.arguments||[],ze=Z.data.id,Ve=new Function(Z.data.text),He=void 0,pt=null;try{He=Ve.apply(E,Le)}catch(Ot){pt=toError(Ot)}pt?null===(H=window.parent)||void 0===H||H.postMessage({type:"builder.evaluateError",data:{id:ze,error:pt.message}},"*"):He&&"function"==typeof He.then?He.then(function(Ot){var vt;null===(vt=window.parent)||void 0===vt||vt.postMessage({type:"builder.evaluateResult",data:{id:ze,result:Ot}},"*")}).catch(console.error):null===(B=window.parent)||void 0===B||B.postMessage({type:"builder.evaluateResult",data:{result:He,id:ze}},"*")}}})},Object.defineProperty(k.prototype,"defaultCanTrack",{get:function(){return!(!k.isBrowser||!navigator.userAgent.trim()||navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)||this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),k.prototype.init=function(E,f,r,w,s,H){return void 0===f&&(f=this.defaultCanTrack),r&&(this.request=r),w&&(this.response=w),this.canTrack=f,this.apiKey=E,s&&(this.authToken=s),H&&(this.apiVersion=H),this},Object.defineProperty(k.prototype,"previewingModel",{get:function(){var E=this.getLocation().search;return QueryString.parse((E||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),k.prototype.getLocation=function(){var E,f={};return this.request?f=parse$1(null!==(E=this.request.url)&&void 0!==E?E:""):"object"==typeof location&&(f=parse$1(location.href)),""===f.pathname&&(f.pathname="/"),f},k.prototype.getUserAttributes=function(E){void 0===E&&(E=this.userAgent||"");var f={Android:function(){return E.match(/Android/i)},BlackBerry:function(){return E.match(/BlackBerry/i)},iOS:function(){return E.match(/iPhone|iPod/i)},Opera:function(){return E.match(/Opera Mini/i)},Windows:function(){return E.match(/IEMobile/i)||E.match(/WPDesktop/i)},any:function(){return f.Android()||f.BlackBerry()||f.iOS()||f.Opera()||f.Windows()}},r=E.match(/Tablet|iPad/i),w=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({urlPath:w.pathname,host:w.host||w.hostname,device:r?"tablet":f.any()?"mobile":"desktop"},k.overrideUserAttributes)},k.prototype.setUserAttributes=function(E){assign(k.overrideUserAttributes,E),this.userAttributesChanged.next(E)},k.prototype.setTrackingUserAttributes=function(E){assign(this.trackingUserAttributes,E)},k.prototype.get=function(E,f){void 0===f&&(f={});var r=this;return k.isBrowser?(f.apiKey&&!this.apiKey&&(this.apiKey=f.apiKey),f.authToken&&!this.authToken&&(this.authToken=f.authToken),f.apiVersion&&!this.apiVersion&&(this.apiVersion=f.apiVersion)):(r=new k(f.apiKey||this.apiKey,f.req,f.res,void 0,f.authToken||this.authToken,f.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.queueGetContent(E,f).map(function(w){var s=w&&w[0];if(k.isStatic)return s;var H=s&&s.data;return H?(typeof H.blocksString<"u"&&(H.blocks=JSON.parse(H.blocksString),delete H.blocksString),{data:H,id:s.id,variationId:s.testVariationId||s.variationId||null,testVariationId:s.testVariationId||s.variationId||null,testVariationName:s.testVariationName||null,lastUpdated:s.lastUpdated||null}):null})},k.prototype.queueGetContent=function(E,f){var r=this;void 0===f&&(f={});var w=f.key||f.alias||E,s=this.editingModel===E,H=this.observersByKey[w];"DEMO"===this.apiKey&&!this.overrides[w]&&!f.initialContent&&(f.initialContent=[]);var B=f.initialContent;if(H&&(!H.value||f.cache))return H.value&&nextTick(function(){H.next(H.value)}),H;if(s&&k.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:f}},"*"),!B)if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},f),{model:E,key:w})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var F=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){r.flushGetContentQueue(!1,F)})}else nextTick(function(){r.flushGetContentQueue()});var z=new BehaviorSubject(null);return this.observersByKey[w]=z,f.noEditorUpdates&&(this.noEditorUpdates[w]=!0),B&&nextTick(function(){z.next(B)}),z},k.prototype.requestUrl=function(E,f){return getFetch()(E,f).then(function(r){return r.json()})},Object.defineProperty(k.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return k.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),k.prototype.flushGetContentQueue=function(E,f){var r=this;if(void 0===E&&(E=!1),!this.apiKey)throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(this.apiVersion){if(!["v1","v3"].includes(this.apiVersion))throw new Error("Invalid apiVersion: expected 'v1' or 'v3', received '".concat(this.apiVersion,"'"))}else this.apiVersion=DEFAULT_API_VERSION;if(E||this.getContentQueue){var w=f||(E?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var s=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({omit:w[0].omit||"meta.componentsUsed",apiKey:this.apiKey},w[0].options),this.queryOptions);w[0].fields&&(s.fields=w[0].fields),w[0].format&&(s.format=w[0].format);var H=typeof location<"u"?QueryString.parseDeep(location.search.substr(1)):{},B=w&&w[0].userAttributes?w[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(w.find(function(ze){return!!ze.includeUrl})){var z=this.getLocation();z.origin&&(s.url="".concat(z.origin).concat(z.pathname).concat(z.search))}var Y=f?.find(function(ze){return ze.url});if(Y?.url&&(B.urlPath=Y.url.split("?")[0]),s.userAttributes=B,!E&&!f&&(this.priorContentQueue=w,this.getContentQueue=null),(this.cachebust||isIframe||H.cachebust||H["builder.cachebust"]||"production"!==this.env)&&(s.cachebust=!0),k.isEditing&&(s.isEditing=!0),(this.noCache||"production"!==this.env)&&(s.noCache=!0),size(this.overrides))for(var q in this.overrides)this.overrides.hasOwnProperty(q)&&(s["overrides.".concat(q)]=this.overrides[q]);k.isReact||(s.prerender=!0);for(var Q=0,X=w;Q<X.length;Q++){var se=X[Q];se.format&&(s.format=se.format),se.static&&(s.static=se.static),se.cachebust&&(s.cachebust=se.cachebust),isPositiveNumber(se.cacheSeconds)&&(s.cacheSeconds=se.cacheSeconds),isPositiveNumber(se.staleCacheSeconds)&&(s.staleCacheSeconds=se.staleCacheSeconds);for(var Me=0,Ye=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"];Me<Ye.length;Me++){var tt=se[q=Ye[Me]];void 0!==tt&&(s.options=s.options||{},s.options[se.key]=s.options[se.key]||{},s.options[se.key][q]=JSON.stringify(tt))}}this.preview&&(s.preview="true");var Ct=Object.keys(s).length>0,rt=this.host,_t=w.map(function(ze){return encodeURIComponent(ze.key)}).join(",");this.overrideParams&&assign(s,omit(QueryString.parse(this.overrideParams),"apiKey"));var Ee=QueryString.stringifyDeep(s),et=s.format,Ke={headers:{}};this.authToken&&(Ke.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},Ke.headers),{Authorization:"Bearer ".concat(this.authToken)}));var de="solid"===et||"react"===et?"codegen":"query",pe="query"===de?this.apiVersion:"v1",Te="".concat(rt,"/api/").concat(pe,"/").concat(de,"/").concat(this.apiKey,"/").concat(_t)+(s&&Ct?"?".concat(Ee):"");return getFetch()(Te,Ke).then(function(ze){return ze.json()}).then(function(ze){for(var Ve=0,He=w;Ve<He.length;Ve++){var pt=He[Ve],Ot=pt.key;if(pt.model!==r.blockContentLoading||pt.noEditorUpdates){r.editingModel===pt.model&&k.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:pt}},"*");var Ft=r.observersByKey[Ot];if(!Ft)return;var me=ze[Ot];if(me){var xe=k.isServer?me:r.processResultsForTests(me);Ft.next(xe)}else(r.getLocation().search||"").includes("builder.preview="+pt.model)&&Ft.next([{id:"preview",name:"Preview",data:{}}]),Ft.next([])}}},function(ze){for(var Ve=0,He=w;Ve<He.length;Ve++){var Ot=r.observersByKey[He[Ve].key];if(!Ot)return;Ot.error(ze)}})}},k.prototype.processResultsForTests=function(E){var r,f=this,w=E.map(function(s){if(!s.variations)return s;var H=f.getTestCookie(s.id),B=H===s.id?s:s.variations[H];if(B)return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},s),{data:B.data,variationId:H,testVariationId:H,testVariationName:B.name});if(f.canTrack&&s.variations&&size(s.variations)){var F=0,z=Math.random();for(var Y in s.variations){var Z=s.variations[Y];if(z<(F+=Z.testRatio)){f.setTestCookie(s.id,Z.id);var Q=Z.name||(Z.id===s.id?"Default variation":"");return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},s),{data:Z.data,variationId:Z.id,testVariationId:Z.id,variationName:Q,testVariationName:Q})}}f.setTestCookie(s.id,s.id)}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},s),{variationId:s.id}),s.variations&&size(s.variations)&&{testVariationId:s.id,testVariationName:"Default variation"})});return isIframe&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.contentResults",data:{results:w}},"*")),w},k.prototype.getTestCookie=function(E){return this.getCookie("".concat(this.testCookiePrefix,".").concat(E))},k.prototype.setTestCookie=function(E,f){if(this.canTrack){var r=new Date;return r.setDate(r.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(E),f,r)}this.cookieQueue.push([E,f])},k.prototype.getCookie=function(E){return this.cookies?this.cookies.get(E):k.isBrowser&&getCookie(E)},k.prototype.setCookie=function(E,f,r){return!this.cookies||k.isServer&&k.isStatic?k.isBrowser&&setCookie(E,f,r):this.cookies.set(E,f,{expires:r,secure:"https:"===this.getLocation().protocol})},k.prototype.getContent=function(E,f){if(void 0===f&&(f={}),!this.apiKey)throw new Error("Fetching content from model ".concat(E," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(E,f)},k.prototype.getAll=function(E,f){void 0===f&&(f={});var r=this;return k.isBrowser?(f.apiKey&&!this.apiKey&&(this.apiKey=f.apiKey),f.apiVersion&&!this.apiVersion&&(this.apiVersion=f.apiVersion)):(r=new k(f.apiKey||this.apiKey,f.req,f.res,!1,null,f.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.getContent(E,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({limit:30},f),{key:f.key||k.isBrowser?"".concat(E,":").concat(hash_sum__WEBPACK_IMPORTED_MODULE_0___default()(omit(f,"initialContent","req","res"))):void 0})).promise()},k.VERSION=version,k.components=[],k.isStatic=!0,k.animator=new Animator,k.nextTick=nextTick,k.throttle=throttle,k.editors=[],k.trustedHosts=["builder.io","localhost"],k.plugins=[],k.actions=[],k.registry={},k.registryChange=new BehaviorSubject({}),k._editingPage=!1,k.isIframe=isIframe,k.isBrowser=isBrowser,k.isReactNative=isReactNative,k.isServer=!isBrowser&&!isReactNative,k.previewingModel=k.isBrowser&&getQueryParam(location.href,"builder.preview"),k.settings={},k.settingsChange=new BehaviorSubject({}),k.isEditing=!(!isIframe||!(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),k.isPreviewing=!(!isBrowser||-1===location.search.indexOf("builder.preview=")&&-1===location.search.indexOf("builder.frameEditing=")),k.isReact=!1,k.overrideUserAttributes={},k}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder},8969:(k,E,f)=>{f.d(E,{D:()=>B});var r=f(6814),w=f(9452),s=f(553),H=f(9212);let B=(()=>{class F{static#e=this.\u0275fac=function(Z){return new(Z||F)};static#t=this.\u0275mod=H.oAB({type:F});static#n=this.\u0275inj=H.cJS({imports:[w.$f.forRoot(s.N.BUILDER_API_KEY),w.$f,r.ez]})}return F})()},7319:(k,E,f)=>{f.d(E,{N:()=>Ct});var r=f(9212),w=f(95),s=f(1467),H=f(5507),B=f(8859),F=f(3868),z=f(9479);function Y(rt,_t){if(1&rt&&(r.TgZ(0,"h2",7),r._uU(1),r.qZA()),2&rt){const Ie=r.oxw(2);r.xp6(),r.hij(" ",Ie.formHeader," ")}}function Z(rt,_t){1&rt&&(r.TgZ(0,"div",8)(1,"label",9),r._uU(2,"First Name"),r.qZA(),r._UZ(3,"input",10),r.TgZ(4,"div",11),r._uU(5," First name is required "),r.qZA()()),2&rt&&(r.xp6(3),r.Q6J("formControl",_t),r.xp6(),r.ekj("hidden",_t.valid||_t.untouched))}function q(rt,_t){1&rt&&(r.TgZ(0,"div",8)(1,"label",12),r._uU(2,"Last Name"),r.qZA(),r._UZ(3,"input",13),r.TgZ(4,"div",11),r._uU(5," Last name is required "),r.qZA()()),2&rt&&(r.xp6(3),r.Q6J("formControl",_t),r.xp6(),r.ekj("hidden",_t.valid||_t.untouched))}function Q(rt,_t){1&rt&&(r.TgZ(0,"div",8)(1,"label",14),r._uU(2,"Email"),r.qZA(),r._UZ(3,"input",15),r.TgZ(4,"div",11),r._uU(5),r.qZA()()),2&rt&&(r.xp6(3),r.Q6J("formControl",_t),r.xp6(),r.ekj("hidden",_t.untouched||_t.valid),r.xp6(),r.hij(" ",_t.value?"Email is invalid":"Email address is required"," "))}function X(rt,_t){1&rt&&(r.TgZ(0,"div",8)(1,"label",16),r._uU(2,"Company"),r.qZA(),r._UZ(3,"input",17),r.TgZ(4,"div",11),r._uU(5," Company is required "),r.qZA()()),2&rt&&(r.xp6(3),r.Q6J("formControl",_t),r.xp6(),r.ekj("hidden",_t.valid||_t.untouched))}function se(rt,_t){if(1&rt&&(r.TgZ(0,"option",20),r._uU(1),r.qZA()),2&rt){const Ie=_t.$implicit;r.Q6J("ngValue",Ie),r.xp6(),r.hij(" ",Ie," ")}}function ge(rt,_t){if(1&rt&&(r.TgZ(0,"div",8)(1,"div",8)(2,"label",16),r._uU(3,"Industry"),r.qZA(),r.TgZ(4,"select",18)(5,"option",19),r._uU(6,"Select Industry"),r.qZA(),r.SjG(7,se,2,2,"option",20,r.x6l),r.qZA()(),r.TgZ(9,"div",11),r._uU(10," Industry is required "),r.qZA()()),2&rt){const Ie=r.oxw(2);r.xp6(4),r.Q6J("formControl",_t),r.xp6(3),r.wJu(Ie.industries),r.xp6(2),r.ekj("hidden",_t.untouched||_t.valid)}}function Me(rt,_t){1&rt&&(r.TgZ(0,"div",8)(1,"label",16),r._uU(2,"Phone number (optional)"),r.qZA(),r._UZ(3,"input",21),r.TgZ(4,"div",22),r._uU(5,"Phone is invalid"),r.qZA()()),2&rt&&(r.xp6(3),r.Q6J("formControl",_t))}function Ye(rt,_t){if(1&rt){const Ie=r.EpF();r.TgZ(0,"form",2),r.NdJ("ngSubmit",function(){r.CHM(Ie);const et=r.oxw();return r.KtG(et.onSubmit())}),r.YNc(1,Y,2,1,"h2",3),r.TgZ(2,"div",4),r.YNc(3,Z,6,3,"div",5)(4,q,6,3,"div",5)(5,Q,6,4,"div",5)(6,X,6,3,"div",5)(7,ge,11,3,"div",5)(8,Me,6,1,"div",5),r.qZA(),r.TgZ(9,"button",6),r._uU(10),r.qZA()()}if(2&rt){const Ie=r.oxw();let Ee;r.Q6J("formGroup",Ie.form),r.xp6(),r.um2(1,Ie.formHeader?1:-1),r.xp6(2),r.um2(3,(Ee=Ie.form.controls.firstName)?3:-1,Ee),r.xp6(),r.um2(4,(Ee=Ie.form.controls.lastName)?4:-1,Ee),r.xp6(),r.um2(5,(Ee=Ie.form.controls.email)?5:-1,Ee),r.xp6(),r.um2(6,(Ee=Ie.form.controls.company)?6:-1,Ee),r.xp6(),r.um2(7,(Ee=Ie.form.controls.industry)?7:-1,Ee),r.xp6(),r.um2(8,(Ee=Ie.form.controls.phone)?8:-1,Ee),r.xp6(),r.Q6J("disabled",Ie.form.invalid),r.xp6(),r.hij(" ",Ie.ctaText," ")}}const tt=["*"];let Ct=(()=>{class rt{constructor(Ie,Ee,et,Ke,de){this.dataLayer=Ie,this.webStorageService=Ee,this.marketoLeadService=et,this.fb=Ke,this.dataDogRumService=de,this.ctaText="Submit",this.gated=!0,this.hideExtraFields=!1,this.formReady=new r.vpe,this.formSuccess=new r.vpe,this.formPrefilled=new r.vpe,this.formState=(0,r.tdS)("loading"),this.industries=s.R.map(pe=>pe.replace(" and "," & ")),this.form=this.fb.group({firstName:new w.NI("",{nonNullable:!0,validators:[w.kI.required]}),lastName:new w.NI("",{nonNullable:!0,validators:[w.kI.required]}),email:new w.NI("",{nonNullable:!0,validators:[w.kI.required,w.kI.email]}),company:new w.NI("",{nonNullable:!0,validators:[w.kI.required]})}),(0,r.cEC)(()=>{"ready"===this.formState()?this.formReady.emit():"success"===this.formState()&&this.formSuccess.emit()})}ngOnInit(){this.gated?this.marketoLeadService.getLead(["firstName","lastName","email","company","industry","phone"]).subscribe({next:Ie=>{Ie&&this.prefill(Ie)},complete:()=>{this.formState.set("ready")}}):(this.formReady.emit(),this.formState.set("success"))}onSubmit(){this.formState.set("success"),this.webStorageService.formFills+=1,this.customEvent&&this.dataLayer.pushEvent(this.customEvent),this.afterSubmitUrl&&window.open(this.afterSubmitUrl,"_target"),this.marketoLeadService.pushLead(this.marketoProgram,this.marketoFields()).subscribe({error:Ie=>{this.dataDogRumService.addError(Ie)}})}marketoFields(){const Ie={};for(const Ee in this.form.controls){const et=Ee,Ke=this.form.controls[et];Ke?.value&&(Ie[et]=Ke.value)}return this.prefilledEmail&&(Ie.email=this.prefilledEmail),Ie}prefill(Ie){this.formPrefilled.emit(this.webStorageService.formFills),this.prefilledEmail=Ie.email,this.webStorageService.formFills>=2?this.removeAllFields():(Ie.firstName&&this.form.controls.firstName?.setValue(Ie.firstName),Ie.lastName&&this.form.controls.lastName?.setValue(Ie.lastName),Ie.email&&this.form.controls.email?.setValue(Ie.email),Ie.company&&this.form.controls.company?.setValue(Ie.company),this.webStorageService.formFills>=1&&!this.hideExtraFields&&this.showExtraFields(Ie))}removeAllFields(){Object.keys(this.form.controls).forEach(Ee=>this.form.removeControl(Ee))}showExtraFields(Ie){this.form.addControl("industry",new w.NI(Ie.industry||"",{nonNullable:!0,validators:[w.kI.required]})),this.form.addControl("phone",new w.NI(Ie.phone||"",{nonNullable:!0}))}static#e=this.\u0275fac=function(Ee){return new(Ee||rt)(r.Y36(H.n),r.Y36(B.V),r.Y36(F.X),r.Y36(w.qu),r.Y36(z.i))};static#t=this.\u0275cmp=r.Xpm({type:rt,selectors:[["app-content-hub-form"]],inputs:{ctaText:"ctaText",marketoProgram:"marketoProgram",gated:"gated",customEvent:"customEvent",afterSubmitUrl:"afterSubmitUrl",formHeader:"formHeader",hideExtraFields:"hideExtraFields"},outputs:{formReady:"formReady",formSuccess:"formSuccess",formPrefilled:"formPrefilled"},standalone:!0,features:[r.jDz],ngContentSelectors:tt,decls:3,vars:2,consts:[[3,"hidden"],["class","w-100",3,"formGroup"],[1,"w-100",3,"formGroup","ngSubmit"],["class","form-header"],[1,"fields"],["class","form-group"],["type","submit","id","cta-btn",1,"btn","btn-primary","rounded-pill","px-4","py-2","float-left",3,"disabled"],[1,"form-header"],[1,"form-group"],["for","formFirstName"],["type","text","id","formFirstName","name","firstName",1,"form-control",3,"formControl"],[1,"text-danger"],["for","formLastName"],["type","text","id","formLastName","name","lastName",1,"form-control",3,"formControl"],["for","formEmail"],["type","email","id","formEmail","name","email",1,"form-control",3,"formControl"],["for","formCompany"],["type","text","id","formCompany","name","company",1,"form-control",3,"formControl"],["id","formIndustry","name","industry",1,"form-control","form-select",3,"formControl"],["value","","disabled","","selected",""],[3,"ngValue"],["type","text","id","formPhone","name","phone",1,"form-control",3,"formControl"],[1,"text-danger","hidden"]],template:function(Ee,et){1&Ee&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA(),r.YNc(2,Ye,11,10,"form",1)),2&Ee&&(r.Q6J("hidden","success"!==et.formState()),r.xp6(2),r.um2(2,"success"!==et.formState()?2:-1))},dependencies:[w.UX,w._Y,w.YN,w.Kr,w.Fj,w.EJ,w.JJ,w.JL,w.oH,w.sg],styles:["[_nghost-%COMP%]{width:24rem;max-width:calc(100vw - 20px);border-radius:16px;background:#f4f3f1;padding:24px 30px;border-color:#f4f3f1;display:block}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]:focus{border-color:#126cd3;border-radius:4px;box-shadow:none}.text-danger[_ngcontent-%COMP%]{line-height:1.1;margin-top:.25rem}select[_ngcontent-%COMP%]:invalid{color:#999}.form-header[_ngcontent-%COMP%]{color:#0a142c;font-family:Gotham;font-size:24px;font-style:normal;font-weight:500;line-height:normal;letter-spacing:-.84px;margin-bottom:20px}label[_ngcontent-%COMP%]{margin-bottom:4px}.btn[_ngcontent-%COMP%]{align-self:flex-start;margin-top:2px}@media (max-width: 639.98px){[_nghost-%COMP%]{padding:20px}.btn[_ngcontent-%COMP%]{width:100%!important}}"]})}return rt})()},8794:(k,E,f)=>{f.d(E,{B:()=>s});var r=f(9212),w=f(95);let s=(()=>{class H{constructor(){this.placeholder="Search callrail.com",this.valueChange=new r.vpe,this.searchRequested=new r.vpe}setValue(F){this.value=F,this.valueChange.emit(this.value)}performSearch(){""!==this.value.trim()&&this.searchRequested.emit()}static#e=this.\u0275fac=function(z){return new(z||H)};static#t=this.\u0275cmp=r.Xpm({type:H,selectors:[["app-search-box"]],inputs:{value:"value",placeholder:"placeholder"},outputs:{valueChange:"valueChange",searchRequested:"searchRequested"},standalone:!0,features:[r.jDz],decls:6,vars:3,consts:[[1,"search-box"],["type","text","id","search-input","inputmode","search",1,"search-input",3,"placeholder","ngModel","ngModelChange","keyup.enter"],[1,"search-icons"],["role","button","src","assets/svg/close_icon.svg","alt","close icon",1,"close-icon",3,"hidden","click"],[1,"vertical-line"],["alt","search icon","height","21px","width","21px",1,"icon","search-icon",3,"click"]],template:function(z,Y){1&z&&(r.TgZ(0,"div",0)(1,"input",1),r.NdJ("ngModelChange",function(q){return Y.setValue(q)})("keyup.enter",function(){return Y.performSearch()}),r.qZA(),r.TgZ(2,"div",2)(3,"img",3),r.NdJ("click",function(){return Y.setValue("")}),r.qZA(),r._UZ(4,"div",4),r.TgZ(5,"span",5),r.NdJ("click",function(){return Y.performSearch()}),r.qZA()()()),2&z&&(r.xp6(),r.Q6J("placeholder",Y.placeholder)("ngModel",Y.value),r.xp6(2),r.Q6J("hidden",!Y.value))},dependencies:[w.u5,w.Fj,w.JJ,w.On],styles:[".close-icon[_ngcontent-%COMP%]{cursor:pointer;left:10px;fill:#000;transition:fill .2s;padding:17px}.search-box[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:focus{border:1px solid #126cd3;background-color:#fff;padding-left:10px}.search-box[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:not(:focus){border:1px solid #ccc;background-color:#fff;padding-left:10px}.search-box[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;position:relative}.search-icons[_ngcontent-%COMP%]{display:flex;position:absolute;right:5px;align-items:center}.search-input[_ngcontent-%COMP%]{flex:1;height:51px;border:1px solid darkgrey;border-radius:10px;background-color:#fff;padding-right:60px;position:relative}.icon[_ngcontent-%COMP%]{display:inline-block;width:21px;height:21px;background-size:cover}.search-icon[_ngcontent-%COMP%]{cursor:pointer;padding-right:10px;padding-left:10px;margin-left:10px;margin-right:10px;background-image:url(/assets/svg/global-nav/search.svg)}.search-icon[_ngcontent-%COMP%]:hover, .search-icon[_ngcontent-%COMP%]:focus{background-image:url(/assets/svg/search_icon_blue.svg)}.vertical-line[_ngcontent-%COMP%]{width:1px;background-color:#eaedf1;height:30px;margin:1px}"]})}return H})()},1467:(k,E,f)=>{f.d(E,{R:()=>r});const r=["Advertising and Marketing","Automotive","Business Services","Education","Financial Services","Healthcare","Home Services","Legal","Manufacturing","Real Estate","Real Estate Investor","Retail","Software and Technology","Travel and Hospitality","Other"]},6211:(k,E,f)=>{function r(s){return Object.values(w).includes(s)}f.d(E,{g:()=>r,h:()=>w});const w={callTracking:"TR | 2020-10-28 | CT Trial Signup | PR | ALL | CT | 1970",formTracking:"TR | 2020-10-28 | CT + FT Trial Signup | PR | ALL | FT | 1973",conversationIntelligence:"TR | 2020-10-28 | CT + CI Trial Signup | PR | ALL | CI | 1971",leadCenter:"TR | 2021-06-28 | CT+LC Trial Sign Up | PR | ALL | CL | 2559",analyticsSuite:"TR | 2020-10-28 | CT + CI + FT Trial Signup | PR | ALL | FC | 1972",convertAssist:"TR | 2024-07-17 | CA Product Bundles | PR | ALL | AP | O | 4947",allIn:"TR | 2020-10-28 | All-in Trial Signup | PR | ALL | AP | 1941",requestADemo:"DR | 2015-07-01 | Demo Request | ALL | ALL | AP | 1969",lwlc:"TR | 2022-07-01 | LwLC Trial Signup | PR | ALL | LC | 3391",agencyPartner:"WF | 2021-07-30 | Agency Partner Form | PN | AG | AP | 2672",technologyPartner:"WF | 2021-02-01 | Tech Partner Inquiry Form | PN | ALL | BR | 2265",leadCenterRequestDemo:"DR | 2021-07-02 | LC Only Demo | CP | ALL | LC | 2616",repriseDemoProgram:"WC | 2021-09-22 | LC Reprise Demo | ALL | ALL | LC | 2766",researchPanelParticipant:"WF EM 2019-04 Research Participant",voiceAssist:"TR | 2025-07-17 | VA Product Bundles | PR | ALL | AP | O | 5541"}},5152:(k,E,f)=>{function r(tt){return Object.keys(Ye).includes(tt)}function w(tt){return Object.values(Ye).includes(tt)}function s(tt){return Object.values(Z).includes(tt)}function H(tt){return Object.values(q).includes(tt)}function B(tt){return Object.values(Q).includes(tt)}function F(tt){return Object.values(X).includes(tt)}function z(tt){return Object.values(se).includes(tt)}function Y(tt){return Object.values(ge).includes(tt)}f.d(E,{F5:()=>z,FG:()=>B,LV:()=>s,P9:()=>r,Plans:()=>Ye,Rl:()=>F,UO:()=>Y,it:()=>w,wM:()=>H});const Z={callTrackingStarterUsage:"PLA7dc3819045774ba6b4975285821c6131",callTracking250:"PLAd97a4bad30604db9b8904feac334bc19",callTracking500:"PLA7fc1aab37e8a47cbbcde633807cf7774",callTracking1000:"PLA4a571eab564e430489d5e1c52d854abf",callTracking2500:"PLA8512a91b0f244914acc19595e4a5c454",callTracking6000:"PLA772f8cd6e8fa43c0b269cb3b57efbfd8",callTrackingUK:"PLAe5f057caa1c843f68e8d96c0965c5d39",callTrackingAU:"PLA31e9c2ec1d054349acc059e518eed658",callTrackingForPartners:"PLA93baba74e7f641369596e9126ee03d85",callTracking250A:"PLA7911f24c72d74fa5833e70a4f1d7e16e",callTrackingAdvanced:"PLA0483be5180d64c0ea4f81766625b4e80",callTrackingHipaa:"PLAb17617b0d4084d3184dc9dd004abcfbb",callTrackingIntelligence:"PLA3f7936b752664416ab82dd37b333ac31",callTrackingIntelligenceA:"PLA8d0ddd7c201b4beaa5f4c986a4be84e5",callTrackingLite100:"PLA2989c8d3c81842a988ba09122b0708da",callTrackingBasic20off:"PLAd204acc05ed544bc9f84cc45dcb55f02",callTrackingPlusAi:"PLAbd2fa21d623845e189b54646955b43b2",callTrackingPlusAiAnnual:"PLA2df53eb2a21e4b1681c7d6699b0a2ec5",egCalls:"PLA345ca68e01fc4899834bdcfab94d58bb",egCallsAdvanced:"PLA345ca68e01fc4899834bdcfab94d58bb",slamdot40:"PLA9fa0c839df3644cd8c2841885a20b0e8",slamdot120:"PLA5abc9fad7a834249bacfa7b9a859e6e7",logicalPosition15:"PLA07cf9cecee7d46a7b55daad11ae697f0",logicalPosition40:"PLA1188c330af6048e58de371f3372faf33",wsi1:"PLA9e2afc09e464492d877c6fb657868baa",wsi5:"PLA0925b6d40f6849bea89479ac8a30aac5",wsi10:"PLA35dd5f678da14fb39671ea3f842bf7e8",wsi250:"PLA01159aefd7ea4f39bf45b5a6f3e7d2df",wsi750:"PLAda8b3541ab3840358249bc72d164496f",wsi2500:"PLA2c56b9a9c91d4fc888daf780a6c44c43",outdoorLiving23:"PLA2ed58624b7d740d68e2612a71592dcd1",g2StarterUsage:"PLAeebfd6031b884760827e81c28d32de39",influencer:"PLA465a5b9028344545858060d5e853c50d"},q={formTracking:"PLA1fec8fd85ba547a2bac0938e3aeaa0bd",formTrackingA:"PLA3457dbe384c9495b81a9a65c3882188a",formTrackingP:"PLA29f50c19fe79499c83c9057e9cf72a48",egForms:"PLAcaacb0ed1feb4ff1a739e3e3a95a2d76",slamdotForms:"PLAf3047cfb2f574945ac236d2ad47c9748",logicalPositionForms:"PLA8bf8637fb8964077a1687ff0d5a588ee"},Q={conversationIntelligence:"PLA3470a66f0a424dabbddfbb1d9fa51104",conversationIntelligenceA:"PLA0191a25459b64b2491246991932d5513",premiumConversationIntelligence:"PLA262356c6cd5044cda487042d88297b1f",premiumConversationIntelligenceA:"PLAed4694a2699d4827b5984adc6efe69da",premiumConversationIntelligenceStarterUsage:"PLA189813e1405f48b6b0c246403477c27c",premiumConversationIntelligenceStarterUsageA:"PLA019b21feaae77661ad823fa2f78bf41a",conversationIntelligenceLite:"PLAaf49e8168ddb41ab8876c45296bf715d",conversationIntelligenceLiteA:"PLA4215b517ba6c4fce836a8b4c8cbf4150",logicalPositionPci:"PLA7d853bc83037461f89c6d8264f90714c",premiumConversationIntelligenceP:"PLAaecd83dfa50c4216ab3ab6b4c813380a"},X={leadCenterConnect:"PLAfddf9bfacb3449eaafb232feca3e32e6"},se={convertAssistP:"PLA85cdb5d6b8b5434c8056bf17b9ba32a6",convertAssistP25:"PLAf1c45b05e2e74a828dcffb65c487b509",convertAssist:"PLAae8b167827a84473b9caefc78c5ae724",convertAssistA:"PLA597bd630bf194dd1bd7323d166ad9b00",convertAssistStarterUsage:"PLA019b129b5b017052b8faf16e2a75e216",convertAssistStarterUsageA:"PLA019b21fc2b6078eeaacf087d0a4b087a"},ge={voiceAssist:"PLA8e936f8a82544f0ea7160c476b666acc",voiceAssistA:"PLA9f8e6377d98e45ff8589b967cc4c890b"},Ye={CT:Z.callTrackingStarterUsage,LC:X.leadCenterConnect,FT:q.formTracking,CI:Q.conversationIntelligence,PCI:Q.premiumConversationIntelligence,CA:se.convertAssist,VA:ge.voiceAssist,...Z,...q,...Q,...X,...se,...ge}},23:(k,E,f)=>{f.d(E,{H:()=>B});var r=f(5152),w=f(1533),s=f(9212),H=f(8859);let B=(()=>{class F{constructor(Y){this.webStorageService=Y,this.appPlans="CT",this.plans=[r.Plans.CT],this.planBundle=new w.w(this.plans)}ngOnChanges(Y){if("appPlans"in Y){const Z=Y.appPlans.currentValue,q=Array.isArray(Z)?Z:[Z];this.plans=q.map(Q=>(0,r.P9)(Q)?r.Plans[Q]:Q),this.planBundle=new w.w(this.plans),this.bundle=this.planBundle.bundleAttr}}onClick(){this.webStorageService.plans=this.plans}static#e=this.\u0275fac=function(Z){return new(Z||F)(s.Y36(H.V))};static#t=this.\u0275dir=s.lG2({type:F,selectors:[["","appPlans",""]],hostVars:1,hostBindings:function(Z,q){1&Z&&s.NdJ("click",function(){return q.onClick()}),2&Z&&s.uIk("data-bundle",q.bundle)},inputs:{appPlans:"appPlans"},standalone:!0,features:[s.TTD]})}return F})()},1533:(k,E,f)=>{f.d(E,{w:()=>B});var r=f(6211),w=f(5152),s=function(F){return F[F.CallTracking=0]="CallTracking",F[F.FormTracking=1]="FormTracking",F[F.ConversationIntelligence=2]="ConversationIntelligence",F[F.AnalyticsSuite=3]="AnalyticsSuite",F[F.LeadCenter=4]="LeadCenter",F[F.ConvertAssist=5]="ConvertAssist",F[F.VoiceAssist=6]="VoiceAssist",F[F.AllIn=7]="AllIn",F}(s||{}),H=function(F){return F.CT="CT",F.CI="CI",F.FT="FT",F.LC="LC",F.CA="CA",F.VA="VA",F}(H||{});class B{constructor(z){this.plans=z,this.planProducts={CT:this.plans.some(w.LV),CI:this.plans.some(w.FG),FT:this.plans.some(w.wM),LC:this.plans.some(w.Rl),CA:this.plans.some(w.F5),VA:this.plans.some(w.UO)},this.bundle=this.setBundle()}matches(...z){return Object.entries(this.planProducts).every(([Y,Z])=>{const q=Y;return Z===z.some(Q=>Q===q)})}setBundle(){const{CT:z,CI:Y,FT:Z,LC:q}=H;if(this.matches(z))return s.CallTracking;if(this.planProducts.CT&&this.planProducts.CA)return s.ConvertAssist;if(this.planProducts.CT&&this.planProducts.VA)return s.VoiceAssist;if(this.matches(z,q))return s.LeadCenter;if(this.matches(z,Z))return s.FormTracking;if(this.matches(z,Y))return s.ConversationIntelligence;if(this.matches(z,Y,Z))return s.AnalyticsSuite;if(this.matches(z,Y,Z,q))return s.AllIn;throw new Error(`The bundle could not be determined for plans: ${this.plans.join(", ")}`)}get marketoProgram(){switch(this.bundle){case s.CallTracking:return r.h.callTracking;case s.FormTracking:return r.h.formTracking;case s.ConversationIntelligence:return r.h.conversationIntelligence;case s.AnalyticsSuite:return r.h.analyticsSuite;case s.LeadCenter:return r.h.leadCenter;case s.ConvertAssist:return r.h.convertAssist;case s.VoiceAssist:return r.h.voiceAssist;case s.AllIn:return r.h.allIn;default:throw new Error("Marketo program cloud not be determined")}}get bundleAttr(){switch(this.bundle){case s.CallTracking:return"Call Tracking";case s.FormTracking:return"Form Tracking";case s.ConversationIntelligence:return"Conversation Intelligence";case s.AnalyticsSuite:return"Analytics Suite";case s.LeadCenter:return"Lead Center";case s.ConvertAssist:return"Convert Assist";case s.VoiceAssist:return"Voice Assist";case s.AllIn:return"All-In";default:throw new Error("Data attribute bundle cloud not be determined")}}}},2946:(k,E,f)=>{f.d(E,{x:()=>X});var r=f(9212),w=f(8645),s=f(9397),H=f(4664),B=f(304),F=f(836),z=f(8180);class Y{constructor(ge,Me,Ye){this.name=ge,this.queryParamName=Me,this.displayName=Ye,this.filters=[]}updateFilter(ge,Me){const Ye=this.filters.find(tt=>tt.name===ge);Ye&&(Ye.selected=Me)}clearFilters(){this.filters.forEach(ge=>{ge.selected=!1})}selectedFilters(){return this.filters.filter(ge=>ge.selected)}toParam(){if(this.selectedFilters().length>0)return this.selectedFilters().map(Me=>this.kebabCase(Me.name)).join(",")}kebabCase(ge){return ge.replaceAll(" ","-").toLowerCase()}}var Z=f(9862),q=f(7010),Q=f(6814);let X=(()=>{class se{constructor(Me,Ye,tt){this.http=Me,this.router=Ye,this.location=tt,this.taxonomies=(0,r.tdS)([new Y("resource_types","resourceTypes","Resource Types"),new Y("topics","topics","Topics"),new Y("industries","industries","Industries"),new Y("products","products","Products")]),this.page=(0,r.tdS)(1),this.numAppliedFilters=(0,r.tdS)(0),this.numSelectedFilters=(0,r.Flj)(()=>this.taxonomies().map(Ct=>Ct.selectedFilters().length).reduce((Ct,rt)=>Ct+rt)),this.queryParams=(0,r.Flj)(()=>{const Ct={};this.page()>1&&(Ct.page=this.page().toString());for(const rt of this.taxonomies())Ct[rt.queryParamName]=rt.toParam();return Ct}),this.articleParams=(0,r.Flj)(()=>{const Ct={page:this.page()};for(const rt of this.taxonomies()){const _t=rt.filters.filter(Ie=>Ie.selected).map(Ie=>Ie.id);_t.length>0&&(Ct[`${rt.name}[]`]=_t)}return Ct}),this.fetchArticles$=new w.x,this.articles$=this.fetchArticles$.pipe((0,s.b)(()=>{this.numAppliedFilters.set(this.numSelectedFilters()),this.articlesLoading.set(!0),setTimeout(()=>{this.articlesLoading()&&this.articlesLoadingDelay.set(!0)},100)}),(0,H.w)(()=>this.articles()),(0,s.b)(()=>{this.articlesLoading.set(!1),this.articlesLoadingDelay.set(!1)}),(0,B.d)(1)),this.articlesLoading=(0,r.tdS)(!1),this.articlesLoadingDelay=(0,r.tdS)(!1)}applyFilters(){this.page.set(1),this.updateArticles()}changePage(Me){return this.page.set(Me),this.updateArticles()}updateFilter(Me,Ye,tt){this.taxonomies.update(Ct=>(Ct.find(_t=>_t.name===Me)?.updateFilter(Ye,tt),[...Ct]))}clearAll(){this.taxonomies.update(Me=>(Me.forEach(Ye=>Ye.clearFilters()),[...Me]))}filters(){return this.http.get("content_hub/landing_filters")}urlString(){return this.router.createUrlTree(["/learn"],{queryParams:this.queryParams()}).toString()}articles(){return this.http.get("content_hub/landing_articles",{params:this.articleParams()}).pipe((0,s.b)(Me=>{for(const Ye of Me.articles)Ye.link=`/${"BlogArticle"===Ye.model_type?"blog":"learn"}/${Ye.slug}`}))}updateArticles(){return this.location.go(this.urlString()),this.fetchArticles$.next(),this.articles$.pipe((0,F.T)(1),(0,z.q)(1))}static#e=this.\u0275fac=function(Ye){return new(Ye||se)(r.LFG(Z.eN),r.LFG(q.F0),r.LFG(Q.Ye))};static#t=this.\u0275prov=r.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})()},9479:(k,E,f)=>{f.d(E,{i:()=>B});var r=f(5861),w=f(553),s=f(9212),H=f(9452);let B=(()=>{class F{constructor(Y){this.builder=Y,this.errors=[]}init(){var Y=this;return(0,r.Z)(function*(){if(Y.approvedEnvironment){const Z=yield f.e(234).then(f.bind(f,7234));Y.datadogRum=Z.datadogRum,Y.datadogRum.init({applicationId:"9c41f57d-ce29-4064-8a8e-2bb5640e9e18",clientToken:"pub80447cfd9f4eb5ababa5a1dd323dd8c8",site:"datadoghq.com",service:"dotcom",env:w.N.DATA_DOG_ENV,version:w.N.DEPLOY_ID,sessionSampleRate:"preview"===w.N.DATA_DOG_ENV?100:1,sessionReplaySampleRate:0,traceSampleRate:0}),Y.errors.forEach(Q=>Y.datadogRum?.addError(...Q))}else console.log("DataDog disabled, logging to the console.")})()}addError(...Y){this.approvedEnvironment?this.datadogRum?this.datadogRum.addError(...Y):this.errors.push(Y):console.error(Y[0])}get approvedEnvironment(){return w.N.production&&w.N.DATA_DOG_ENV&&!(this.builder.editingMode||this.builder.previewingModel)}static#e=this.\u0275fac=function(Z){return new(Z||F)(s.LFG(H.U6))};static#t=this.\u0275prov=s.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},5507:(k,E,f)=>{f.d(E,{n:()=>H});var r=f(7010),w=f(2181),s=f(9212);let H=(()=>{class B{constructor(z){this.router=z,this.isPageLoad=!0,this.navigationEnd=this.router.events.pipe((0,w.h)(Y=>Y instanceof r.m2)).subscribe(Y=>{this.isPageLoad=1===Y.id||2===Y.id&&"/404"===Y.url})}ngOnDestroy(){this.navigationEnd.unsubscribe()}push(z){window.dataLayer?.push(z)}pushEvent(z){window.dataLayer?.push({event:z})}pushNavigationEvent(){this.pushEvent(this.isPageLoad?"Page Load":"Page Navigation")}static#e=this.\u0275fac=function(Y){return new(Y||B)(s.LFG(r.F0))};static#t=this.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},3868:(k,E,f)=>{f.d(E,{X:()=>Y});var r=f(2096),w=f(5177),s=f(2149),H=f(553),B=f(9212),F=f(8859),z=f(9862);let Y=(()=>{class Z{constructor(Q,X){this.webStorageService=Q,this.http=X}pushLead(Q,X){if(H.N.SKIP_MARKETO_PUSH)return(0,r.of)({}).pipe((0,w.g)(1e3));const ge={program_name:Q,fields:{...X,GCLID__c:this.webStorageService.getParam("gclid"),utmcampaign:this.webStorageService.getParam("utm_campaign"),utmmedium:this.webStorageService.getParam("utm_medium"),utmsource:this.webStorageService.getParam("utm_source"),utmcontent:this.webStorageService.getParam("utm_content"),utmasset:this.webStorageService.getParam("utm_asset")},cookie_id:(0,s.e)("_mkto_trk")};return this.http.post("marketo_lead",ge)}getLead(Q){const X=(0,s.e)("_mkto_trk=");return X?this.http.get("marketo_lead",{params:{cookie:X,"field_names[]":Q}}):(0,r.of)(void 0)}static#e=this.\u0275fac=function(X){return new(X||Z)(B.LFG(F.V),B.LFG(z.eN))};static#t=this.\u0275prov=B.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"})}return Z})()},6178:(k,E,f)=>{f.d(E,{M:()=>s});var r=f(5861),w=f(9212);let s=(()=>{class H{visitWebPage(F,z,Y){this.waitForLoad().then(()=>{window?.Munchkin?.munchkinFunction("visitWebPage",{url:F,params:z?.toString()||void 0}),Y&&Y()})}waitForLoad(F=0){var z=this;return(0,r.Z)(function*(){if(!(window?.Munchkin||F>=5))return F+=1,new Promise(Y=>{setTimeout(()=>Y(z.waitForLoad(F)),1e3)})})()}static#e=this.\u0275fac=function(z){return new(z||H)};static#t=this.\u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},9271:(k,E,f)=>{f.d(E,{v:()=>H});const r={signup:{title:"CallRail Free Trial Account | CallRail",metaTags:[{property:"og:title",content:"CallRail Free Trial Account | CallRail"},{name:"description",content:"Sign up for CallRail's 14 day free trial to begin tracking and reporting on calls and forms all in one place. No credit card required."},{property:"og:description",content:"Sign up for CallRail's 14 day free trial to begin tracking and reporting on calls and forms all in one place. No credit card required."}]},aboutcareers:{title:"Careers | CallRail",metaTags:[{property:"og:title",content:"Careers | CallRail"},{name:"description",content:"Join our team! Located in the heart of Atlanta, CallRail optimizes for happiness. View our list of full-time positions and employee benefits."},{property:"og:description",content:"Join our team! Located in the heart of Atlanta, CallRail optimizes for happiness. View our list of full-time positions and employee benefits."}]},pricingaustralia:{title:"Australia Pricing Plans & Free Trial | CallRail",metaTags:[{property:"og:title",content:"Australia Pricing Plans & Free Trial | CallRail"},{name:"description",content:"Start your free 14-day trial to discover which marketing campaigns bring leads to your business."},{property:"og:description",content:"Start your free 14-day trial to discover which marketing campaigns bring leads to your business."}]},pricingunitedkingdom:{title:"United Kingdom Pricing Plans & Free Trial | CallRail",metaTags:[{property:"og:title",content:"United Kingdom Pricing Plans & Free Trial | CallRail"},{name:"description",content:"Start your free 14-day trial to discover which marketing campaigns bring leads to your business."},{property:"og:description",content:"Start your free 14-day trial to discover which marketing campaigns bring leads to your business."}]},contact:{title:"Contact Us | CallRail",metaTags:[{property:"og:title",content:"Contact Us | CallRail"},{name:"description",content:"Have a question and want to talk to a human? We\u2019d love to hear from you. Fill out our form and we\u2019ll respond to you shortly."},{property:"og:description",content:"Have a question and want to talk to a human? We\u2019d love to hear from you. Fill out our form and we\u2019ll respond to you shortly."}]},requestademo:{title:"Request a Personalized Demo of CallRail's Call Analytics Software | CallRail",metaTags:[{property:"og:title",content:"Request a Personalized Demo of CallRail's Call Analytics Software | CallRail"},{name:"description",content:"Schedule a demo for 20 minutes with an Account Executive, an overview of CallRail based on your goals, & highlights of features most useful to your business"},{property:"og:description",content:"Schedule a demo for 20 minutes with an Account Executive, an overview of CallRail based on your goals, & highlights of features most useful to your business"}]},charge:{title:"Charge | CallRail",metaTags:[{property:"og:title",content:"Charge | CallRail"},{name:"description",content:"It\u2019s a recurring charge for CallRail, provided by CallRail, LLC.. What is CallRail? CallRail is a call tracking and analytics service that creates unique tracking phone number that you can place on your website and advertisements to help you understand which of your marketing campaigns are driving telephone calls. You can log in to your\u2026"},{property:"og:description",content:"It\u2019s a recurring charge for CallRail, provided by CallRail, LLC.. What is CallRail? CallRail is a call tracking and analytics service that creates unique tracking phone number that you can place on your website and advertisements to help you understand which of your marketing campaigns are driving telephone calls. You can log in to your\u2026"}]},faq:{title:"Frequently Asked Questions | CallRail",metaTags:[{property:"og:title",content:"Frequently Asked Questions | CallRail"},{name:"description",content:"We've tried to address any questions you may have about CallRail call tracking, but if you have a question that we haven't answered below, please feel free to contact us."},{property:"og:description",content:"We've tried to address any questions you may have about CallRail call tracking, but if you have a question that we haven't answered below, please feel free to contact us."}]},affiliatesterms:{title:"CallRail Affiliate Terms and Conditions | CallRail",metaTags:[{property:"og:title",content:"CallRail Affiliate Terms and Conditions | CallRail"},{name:"description",content:"CallRail is a service offered by CalRail, Inc. By submitting your application to be a CallRail affiliate you (the \u201cAgent\u201d) agree to the following terms and conditions: Scope & Relationship. Agent will act as a non-exclusive independent marketing Agent of CallRail. CallRail may modify any and all CallRail services and rates may be changed at\u2026"},{property:"og:description",content:"CallRail is a service offered by CalRail, Inc. By submitting your application to be a CallRail affiliate you (the \u201cAgent\u201d) agree to the following terms and conditions: Scope & Relationship. Agent will act as a non-exclusive independent marketing Agent of CallRail. CallRail may modify any and all CallRail services and rates may be changed at\u2026"}]},realestatelibrary:{title:"Real Estate | CallRail",metaTags:[{property:"og:title",content:"Real Estate | CallRail"},{name:"description",content:"Level up your listings and get more leads with our guides, case studies, and more."},{property:"og:description",content:"Level up your listings and get more leads with our guides, case studies, and more."}]},pricing:{title:"Compare Pricing Plans & Start Free Trial | CallRail",metaTags:[{property:"og:title",content:"Compare Pricing Plans & Start Free Trial | CallRail"},{name:"description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."},{property:"og:description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."}]},pricinga:{title:"Compare Pricing Plans & Start Free Trial | CallRail",metaTags:[{property:"og:title",content:"Compare Pricing Plans & Start Free Trial | CallRail"},{name:"description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."},{property:"og:description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."}]},leadcenterpricing:{title:"Compare Pricing Plans & Start Free Trial | CallRail",metaTags:[{property:"og:title",content:"Compare Pricing Plans & Start Free Trial | CallRail"},{name:"description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."},{property:"og:description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."}]},pricingleadcentercompare:{title:"Compare Pricing Plans & Start Free Trial | CallRail",metaTags:[{property:"og:title",content:"Compare Pricing Plans & Start Free Trial | CallRail"},{name:"description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."},{property:"og:description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."}]},pricingcalltrackingcompare:{title:"Compare Pricing Plans & Start Free Trial | CallRail",metaTags:[{property:"og:title",content:"Compare Pricing Plans & Start Free Trial | CallRail"},{name:"description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."},{property:"og:description",content:"Starting at $45/month, choose the pricing plan that fits your needs. Start your free 14-day trial and discover which marketing efforts bring leads to your business."}]},yadleaks:{title:"Special Savings for AdLeaks members | CallRail",metaTags:[{property:"og:title",content:"Special Savings for AdLeaks members | CallRail"},{name:"description",content:"See why over 180,000 businesses choose CallRail for their call tracking."},{property:"og:description",content:"See why over 180,000 businesses choose CallRail for their call tracking."}]},youtdoorliving:{title:"Special Savings for Outdoor Living Franchisees | CallRail",metaTags:[{property:"og:title",content:"Special Savings for Outdoor Living Franchisees | CallRail"},{name:"description",content:"See why over 180,000 businesses choose CallRail for their call tracking."},{property:"og:description",content:"See why over 180,000 businesses choose CallRail for their call tracking."}]},learn:{title:"Content Hub | CallRail",metaTags:[{property:"og:title",content:"Content Hub | CallRail"},{name:"description",content:"Call tracking, recording, and analytics. Optimize your marketing and increase ROI with call tracking. Metrics for PPC, SEO, and offline ad campaigns."},{property:"og:description",content:"Call tracking, recording, and analytics. Optimize your marketing and increase ROI with call tracking. Metrics for PPC, SEO, and offline ad campaigns."}]},news:{title:"News Hub | CallRail",metaTags:[{property:"og:title",content:"News Hub | CallRail"},{name:"description",content:"From product updates to industry news to the latest happenings in our community, never miss a beat on all things CallRail."},{property:"og:description",content:"From product updates to industry news to the latest happenings in our community, never miss a beat on all things CallRail."}]},tips:{title:"Tips Hub | CallRail",metaTags:[{property:"og:title",content:"Tips Hub | CallRail"},{name:"description",content:"Standout from the crowd with helpful tips aimed at helping businesses and agencies succeed and grow."},{property:"og:description",content:"Standout from the crowd with helpful tips aimed at helping businesses and agencies succeed and grow."}]},webinars:{title:"Webinars Hub | CallRail",metaTags:[{property:"og:title",content:"Webinars Hub | CallRail"},{name:"description",content:"Learn from industry pros with engaging webinar content on the latest trends and topics."},{property:"og:description",content:"Learn from industry pros with engaging webinar content on the latest trends and topics."}]},casestudies:{title:"Case Studies Hub | CallRail",metaTags:[{property:"og:title",content:"Case Studies Hub | CallRail"},{name:"description",content:"Learn how agencies and small businesses are killing it with call tracking, lead management, conversation intelligence, form tracking and more."},{property:"og:description",content:"Learn how agencies and small businesses are killing it with call tracking, lead management, conversation intelligence, form tracking and more."}]},guides:{title:"Guides Hub | CallRail",metaTags:[{property:"og:title",content:"Guides Hub | CallRail"},{name:"description",content:"Put your sales and marketing knowledge into practice with these step-by-step guides and how-to's."},{property:"og:description",content:"Put your sales and marketing knowledge into practice with these step-by-step guides and how-to's."}]},ebooks:{title:"Ebooks Hub | CallRail",metaTags:[{property:"og:title",content:"Ebooks Hub | CallRail"},{name:"description",content:"Spruce up your knowledge on marketing, sales, and customer experience best practices with our collection of educational content."},{property:"og:description",content:"Spruce up your knowledge on marketing, sales, and customer experience best practices with our collection of educational content."}]},definitions:{title:"Definitions Hub | CallRail",metaTags:[{property:"og:title",content:"Definitions Hub | CallRail"},{name:"description",content:"Check out our A to Z glossary on all things call tracking, marketing, analytics, sales, and customer experience."},{property:"og:description",content:"Check out our A to Z glossary on all things call tracking, marketing, analytics, sales, and customer experience."}]},search:{title:"Search | CallRail",metaTags:[{name:"robots",content:"noindex"}]}};var w=f(9212),s=f(6593);let H=(()=>{class B{constructor(z,Y){this.titleService=z,this.metaTagService=Y,this.metaData=r,this.metaTags=[],this.contentHubLearnRoutes=["communications","security","form-tracking","call-tracking","conversation-intelligence","lead-center","call-routing","integrations","reporting","sales","customer-service","marketing","seo","content-marketing","conversion-optimization","email-marketing","events-marketing","marketing-strategies","marketing-attribution","social-media","ppc"]}updateTagsByRoute(z){const Y=z.split("/");"learn"===Y[1]&&this.contentHubLearnRoutes.includes(Y[2])&&(z="learn");const Z=z.replace(/[/]/g,"").replace(/-/g,"").replace(/#.*$/,"").replace(/\?.*$/,""),q=this.metaData[Z];return q&&(this.title=q.title,this.metaTags=q.metaTags,this.setMetadata(),this.createCanonicalURL()),!!q}updateTagsFromApi(z){this.title=z.title,z.ogImage&&(this.ogImageUrl=z.ogImage);const Y=z.description||"Tracking and analytics for phone calls and web forms. Optimize your marketing and increase ROI on your PPC, SEO, and offline ad campaigns.";this.metaTags=[{name:"description",content:Y},{name:"og:description",content:Y},{name:"og:title",content:this.title}],z.noIndex&&this.metaTags.push({name:"robots",content:"noindex"}),this.setMetadata(),this.addSchemaMarkup(z),this.addSeoCanonical(z)}addSeoCanonical(z){if(z.seoCanonical){let Y=document.querySelector('link[rel="canonical"]');const Z=z.seoCanonical;if(!Y){const q=document.querySelector("base");Y=document.createElement("link"),Y.setAttribute("rel","canonical"),document.head.insertBefore(Y,q)}Y.setAttribute("href",Z),this.updateCanonicalTag(Z)}}createCanonicalURL(){if("https://dotcom-prod.netlify.app"===window.location.origin||"https://www.callrail.com"===window.location.origin){const z="https://www.callrail.com"+window.location.pathname;this.updateCanonicalTag(z)}}updateCanonicalTag(z){let Y=document.querySelector('link[rel="canonical"]');if(!Y){const Z=document.querySelector("base");Y=document.createElement("link"),Y.setAttribute("rel","canonical"),document.head.insertBefore(Y,Z)}Y.setAttribute("href",z),this.metaTagService.updateTag({name:"og:url",content:z})}setErrorTag(){this.metaTagService.updateTag({name:"prerender-status-code",content:"404"})}setRedirectHeader(z){this.metaTagService.updateTag({name:"prerender-status-code",content:"301"}),this.metaTagService.updateTag({name:"prerender-header",content:`Location: ${z}`})}setMetadata(){this.ogImageUrl||(this.ogImageUrl=window.location.origin+"/assets/images/og-default.jpg"),this.ogImageUrl.includes("cdn.builder.io")&&(this.ogImageUrl=this.ogImageUrl.concat("?height=630&width=1200&format=png")),this.metaTags.push({name:"og:image",content:this.ogImageUrl},{name:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:creator",content:"@callrail"},{name:"twitter:site",content:"@callrail"}),this.titleService.setTitle(this.title),this.metaTags.forEach(z=>{this.metaTagService.updateTag(z)})}addSchemaMarkup(z){if(z.schemaMarkup){const Y=document.createElement("script");Y.setAttribute("type","application/ld+json"),Y.text=z.schemaMarkup,document.head.appendChild(Y)}}static#e=this.\u0275fac=function(Y){return new(Y||B)(w.LFG(s.Dx),w.LFG(s.h_))};static#t=this.\u0275prov=w.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8859:(k,E,f)=>{f.d(E,{V:()=>F});var r=f(9212),w=f(6211),s=f(5152),H=f(1533),B=f(2149);let F=(()=>{class z{constructor(){this.billingPeriod=(0,r.tdS)("monthly"===sessionStorage.getItem("billingPeriod")?"monthly":"annual"),this.previousUrls=(0,r.tdS)(JSON.parse(sessionStorage.getItem("previousUrls")||"[]")),this.storageKey="mktoFormFills",(0,r.cEC)(()=>sessionStorage.setItem("billingPeriod",this.billingPeriod())),(0,r.cEC)(()=>sessionStorage.setItem("previousUrls",JSON.stringify(this.previousUrls())))}set plans(Z){const q=Z instanceof H.w?Z:new H.w(Z);sessionStorage.setItem("plans",q.plans.join(",")),this.marketoProgram=q.marketoProgram}get plans(){return sessionStorage.getItem("plans")?.split(",").filter(s.it)??[]}set marketoProgram(Z){Z&&sessionStorage.setItem("marketoProgram",Z)}get marketoProgram(){const Z=sessionStorage.getItem("marketoProgram");return Z&&(0,w.g)(Z)?Z:null}set formFills(Z){localStorage.setItem(this.storageKey,Z.toString())}get formFills(){return parseInt(localStorage.getItem(this.storageKey))||0}setParam(Z,q){q&&sessionStorage.setItem(Z,q)}getParam(Z){return sessionStorage.getItem(Z)}get visitorProfile(){if(document.cookie.indexOf("calltrk_session_id")>=0)return localStorage.setItem("customer","true"),"customer";{const Z=JSON.parse(localStorage.getItem("visitorData")||"{}");return Z.visitCount=(Z.visitCount||0)+1,localStorage.setItem("visitorData",JSON.stringify(Z)),Z.visitCount>=3?"returning":"new"}}set exitModalOpened(Z){Z&&localStorage.setItem("exitModalOpened",JSON.stringify(Z))}get exitModalOpened(){return JSON.parse(localStorage.getItem("exitModalOpened")||"false")}set vwoVariationId(Z){const q=(0,B.D)("_vis_opt_exp_"+Z+"_combi");Z&&sessionStorage.setItem("vwoVariationId",q)}get vwoVariationId(){return parseInt(sessionStorage.getItem("vwoVariationId"))||1}static#e=this.\u0275fac=function(q){return new(q||z)};static#t=this.\u0275prov=r.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},2149:(k,E,f)=>{function r(s){const H=document.cookie.split(";");for(let B=0;B<H.length;B++){let F=H[B];for(;" "==F.charAt(0);)F=F.substring(1,F.length);if(0==F.indexOf(s))return F.substring(s.length,F.length)}}function w(s){return r(s)?.replace(/=/g,"")}f.d(E,{D:()=>w,e:()=>r})},553:(k,E,f)=>{f.d(E,{N:()=>r});const r={production:!0,BUILDER_API_KEY:"18cf0bc1157f43cbaa8aed1276d9b9ad",CONTENTFUL_SPACE:"7742r3inrzuj",CONTENTFUL_ACCESS_TOKEN:"0YQlNLQN48XxAO0Nj990h9yZiAL2X7lafrybZUOc5MM",CALLRAIL_BASE_URL:"https://app.callrail.com",SIGNUP_IP_FALLBACK:"",SKIP_MARKETO_PUSH:"",DATA_DOG_ENV:"production",DEPLOY_ID:"699f69079e12f30008a153aa",CONDUCTOR_BASE_URL:"https://conductor.calltrk.com",VERISOUL_ENV:"prod",VERISOUL_PROJECT_ID:"b8bedc8c-b076-4f96-8e40-c834308ceddb",VERISOUL_SDK_HOST:"vjs.callrail.com",ALLOWED_ORIGIN:"https://www.callrail.com",VWO_API_KEY:"9306ba28bfc4dc8940aa5bc18a454a6bd9591ba0cfaac1dcc052605849877f8a",VWO_ACCOUNT_ID:"475343"}},637:(k,E,f)=>{f.d(E,{C0:()=>z,EE:()=>q,GO:()=>se,Ir:()=>Q,RH:()=>w,SX:()=>H,Wp:()=>Y,X0:()=>r,Xn:()=>F,Yu:()=>Z,jA:()=>s,tL:()=>X,x8:()=>B});const r='<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 15 10" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" role="img" aria-label="right arrow"><path d="M10.26.226a.882.882 0 0 0-1.18 0 .73.73 0 0 0 0 1.089l1.337 1.228c.148.135.34.21.54.21.729 0 1.077-.894.542-1.387l-1.24-1.14zM14.511 4.138H.833c-.46 0-.833.345-.833.77 0 .426.373.77.833.77h11.322L8.879 8.686a.73.73 0 0 0 0 1.09c.326.3.854.3 1.179 0l4.697-4.321a.789.789 0 0 0 .182-.252.717.717 0 0 0 0-.588.768.768 0 0 0-.181-.25l-.245-.226z"/></svg>',w='<svg viewBox="0 0 10 15" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="down arrow"><path d="M.226 10.26a.882.882 0 0 1 0-1.18.73.73 0 0 1 1.089 0l1.228 1.337c.135.148.21.34.21.54 0 .729-.894 1.077-1.387.542l-1.14-1.24ZM4.138 14.511V.833c0-.46.345-.833.77-.833.426 0 .77.373.77.833v11.322l3.007-3.276a.73.73 0 0 1 1.09 0c.3.326.3.854 0 1.179l-4.321 4.697a.788.788 0 0 1-.252.182.717.717 0 0 1-.588 0 .768.768 0 0 1-.25-.181l-.226-.245Z" /></svg>',s='<svg viewBox="0 0 10 15" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="up arrow"><path d="M.226 4.74c-.301.326-.301.854 0 1.18a.73.73 0 0 0 1.089 0l1.228-1.337a.799.799 0 0 0 .21-.54c0-.729-.894-1.077-1.387-.542l-1.14 1.24ZM4.138.489v13.678c0 .46.345.833.77.833.426 0 .77-.373.77-.833V2.845l3.007 3.276a.73.73 0 0 0 1.09 0c.3-.326.3-.854 0-1.179L5.453.245a.79.79 0 0 0-.252-.182.718.718 0 0 0-.588 0c-.091.04-.176.101-.25.181L4.137.49Z" /></svg>',H='<svg viewBox="0 0 15 10" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="left arrow"><path d="M4.74.226c.326-.301.854-.301 1.18 0a.73.73 0 0 1 0 1.089L4.582 2.543a.799.799 0 0 1-.54.21c-.729 0-1.077-.894-.542-1.387l1.24-1.14ZM.489 4.138h13.678c.46 0 .833.345.833.77 0 .426-.373.77-.833.77H2.845l3.276 3.007a.73.73 0 0 1 0 1.09c-.326.3-.854.3-1.179 0L.245 5.453a.79.79 0 0 1-.182-.252.718.718 0 0 1 0-.588c.04-.091.101-.176.181-.25l.245-.226Z"/></svg>',B='<svg viewBox="0 0 24 24" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><ellipse cx="12.204" cy="11.999" rx="11.425" ry="11.578" fill="currentColor"/><path d="M18.948 6.272a.738.738 0 0 0-.205-1.015.717.717 0 0 0-1.001.207L10.23 16.986l-.001-.002-.46.602a.812.812 0 0 0 .073 1.068.717.717 0 0 0 1.11-.119l7.996-12.263ZM7.724 16.542a.727.727 0 0 0 1.028-1.03l-2.184-2.178a.716.716 0 0 0-1.022.008.74.74 0 0 0 .009 1.036l2.17 2.164Z" fill="#fff"/></svg>',F='<svg viewBox="0 0 14 14" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 12.789A5.789 5.789 0 1 0 7 1.21 5.789 5.789 0 0 0 7 12.79ZM7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z" fill="#213E7C"/><circle cx="7.034" cy="3.968" r=".746" fill="#213E7C"/><rect x="6.288" y="11.15" width="5.771" height="1.491" rx=".746" transform="rotate(-90 6.288 11.15)" fill="#213E7C"/></svg>',z='<svg viewBox="0 0 17 3" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><path d="M1.0625 1.5H15.9375" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',Y='<svg viewBox="0 0 19 19" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><path d="M9.5 18V9.5M9.5 9.5V1M9.5 9.5H18M9.5 9.5H1" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',Z='<svg viewBox="0 0 9 12" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8.16 1.41L3.58 6L8.16 10.59L6.75 12L0.750004 6L6.75 0L8.16 1.41Z" /></svg>',q='<svg viewBox="0 0 9 12" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.840027 1.41L5.42003 6L0.840027 10.59L2.25003 12L8.25003 6L2.25003 0L0.840027 1.41Z" /></svg>',Q='<svg viewBox="0 0 17 11" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor"><path d="m14.1615.994169-6.50543 6.846721c-.52171.54908-.52171 1.43931 0 1.98839l.00465.00489c.52171.54903 1.36757.54903 1.88928 0l6.5055-6.84672c.5217-.54908.5217-1.43931 0-1.988386l-.0047-.004895c-.5217-.549078-1.3676-.549078-1.8893 0z"/><path d="m9.34415 8.01255-6.50547-6.84673c-.52171-.549074-1.36757-.549074-1.889278 0l-.004651.0049c-.521711.54908-.52171 1.43931.000001 1.98839l6.505468 6.84669c.52171.5491 1.36757.5491 1.88928 0l.00465-.0049c.52171-.54905.52171-1.43928 0-1.98835z"/></g></svg>',X='<svg viewBox="0 0 26 26" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="m25.4559 25.4559c-.7254.7255-1.9022.7255-2.6276 0l-9.8283-9.8282-9.82825 9.8282c-.72543.7255-1.90224.7255-2.627676 0-.725432-.7254-.725432-1.9022 0-2.6276l9.828226-9.8283 2.617-2.6223-.0377-.0537.0484.0483 9.8283-9.828226c.7254-.725432 1.9022-.725432 2.6276 0 .7255.725436.7255 1.902246 0 2.627676l-9.8282 9.82825 9.8282 9.8283c.7255.7254.7255 1.9022 0 2.6276z"/><path d="m7.54583 7.5727c.73618-.72543.74155-1.90762.01075-2.63842l-4.38483-4.390206c-.72543-.725432-1.90224-.725432-2.627676 0-.725432.725436-.725432 1.902246 0 2.627676l4.390206 4.3902c.72006.72006 1.88612.72543 2.61155.01075z"/></svg>',se='<svg viewBox="0 0 35 35" fill="currentColor" style="width:var(--ng-icon__size, 1em);height:var(--ng-icon__size, 1em)" xmlns="http://www.w3.org/2000/svg"><path d="m2.91663 8.75033c0-.38678.15364-.75771.42713-1.0312s.64443-.42714 1.0312-.42714h26.25004c.3867 0 .7577.15365 1.0312.42714.2734.27349.4271.64442.4271 1.0312 0 .38677-.1537.7577-.4271 1.03119-.2735.27348-.6445.42718-1.0312.42718h-26.25004c-.38677 0-.75771-.1537-1.0312-.42718-.27349-.27349-.42713-.64442-.42713-1.03119zm0 8.79667c0-.3868.15364-.7577.42713-1.0312s.64443-.4271 1.0312-.4271h26.25004c.3867 0 .7577.1536 1.0312.4271.2734.2735.4271.6444.4271 1.0312s-.1537.7577-.4271 1.0312c-.2735.2735-.6445.4271-1.0312.4271h-26.25004c-.38677 0-.75771-.1536-1.0312-.4271s-.42713-.6444-.42713-1.0312zm1.45833 7.3383c-.38677 0-.75771.1537-1.0312.4272s-.42713.6444-.42713 1.0312c0 .3867.15364.7577.42713 1.0312.27349.2734.64443.4271 1.0312.4271h26.25004c.3867 0 .7577-.1537 1.0312-.4271.2734-.2735.4271-.6445.4271-1.0312 0-.3868-.1537-.7577-.4271-1.0312-.2735-.2735-.6445-.4272-1.0312-.4272z"></svg>'},3471:(k,E,f)=>{var r=f(6814),w=f(9862),s=f(9212),H=f(6593),B=f(7010),F=f(9452),z=f(6843),Y=f(2181),Z=f(553),q=f(637);let Q=(()=>{class ${constructor(){this.year=(new Date).getFullYear()}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-global-footer"]],standalone:!0,features:[s.jDz],decls:81,vars:1,consts:[[1,"footer","container","grid"],[1,"g-col-12","g-col-md-3"],["routerLink","/"],["loading","lazy","src","assets/svg/logos/callrail-logotype-monochromatic.svg","alt","CallRail logo","width","100px","height","22.91px",1,"logo"],[1,"icons","pt-4","pb-3","d-flex"],["href","https://www.facebook.com/CallRail/"],["loading","lazy","src","assets/svg/facebook.svg","aria-label","FaceBook"],["href","https://www.linkedin.com/company/callrail/"],["loading","lazy","src","assets/svg/linkedin.svg","aria-label","LinkedIn"],["href","https://twitter.com/callrail/"],["loading","lazy","src","assets/svg/x_logo_black.svg","aria-label","X"],["href","https://www.instagram.com/callrail/"],["loading","lazy","src","assets/svg/instagram.svg","aria-label","Instagram"],[1,"g-col-12","g-col-md-9"],[1,"links","grid"],[1,"title"],["routerLink","/about",1,"pb-2"],["href","https://www.callrail.com/about/careers",1,"py-2"],["routerLink","/about/culture",1,"py-2"],["routerLink","/news",1,"py-2"],["routerLink","/contact",1,"py-2"],["href","https://support.callrail.com/hc/en-us",1,"pb-2"],["href","https://apidocs.callrail.com/",1,"py-2"],["href","https://status.callrail.com/",1,"py-2"],["href","https://support.callrail.com/hc/en-us/community/topics",1,"py-2"],["routerLink","/learn",1,"pb-2"],["routerLink","/refer-a-friend",1,"py-2"],["routerLink","/partners",1,"py-2"],["routerLink","/integrations",1,"py-2"],["routerLink","/agency-directory",1,"py-2"],["routerLink","/signup",1,"pb-2"],["routerLink","/pricing",1,"py-2"],["routerLink","/request-a-demo",1,"py-2"],["routerLink","/enterprise",1,"py-2"],[1,"row","justify-content-between","g-col-12"],[1,"col-12","m-0"],[1,"legal","d-flex","flex-lg-nowrap","flex-wrap","align-items-center","justify-content-lg-end","justify-content-md-center","col-lg-7","col-md-12","order-lg-last","pe-1","my-0","my-md-2"],["id","ot-sdk-btn",1,"ot-sdk-show-settings"],["routerLink","/legal"],["routerLink","/privacy"],["routerLink","/security"],["href","https://produs-ccs-assurancecard-service.sgsonline.net/assurancecard/be8e7fbc4499573fd8263fc74a5f843e3d6d806a292e0f359e297d8a59b65d01/assurancecard","target","_blank",1,"sysnet-badge"],["srcset","/assets/images/sysnet_badge.webp","type","image/webp"],["src","/assets/images/sysnet_badge.png","alt","Verified by Sysnet","loading","lazy","width","120","height","36"],[1,"legal","col-lg-4","col-md-12","my-0","my-md-auto","copyright"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"div",1)(2,"a",2),s._UZ(3,"img",3),s.qZA(),s.TgZ(4,"div",4)(5,"a",5),s._UZ(6,"img",6),s.qZA(),s.TgZ(7,"a",7),s._UZ(8,"img",8),s.qZA(),s.TgZ(9,"a",9),s._UZ(10,"img",10),s.qZA(),s.TgZ(11,"a",11),s._UZ(12,"img",12),s.qZA()()(),s.TgZ(13,"div",13)(14,"div",14)(15,"div")(16,"p",15),s._uU(17,"Company"),s.qZA(),s.TgZ(18,"a",16),s._uU(19,"About Us"),s.qZA(),s.TgZ(20,"a",17),s._uU(21,"Careers"),s.qZA(),s.TgZ(22,"a",18),s._uU(23,"Culture"),s.qZA(),s.TgZ(24,"a",19),s._uU(25,"Newsroom"),s.qZA(),s.TgZ(26,"a",20),s._uU(27,"Contact Us"),s.qZA()(),s.TgZ(28,"div")(29,"p",15),s._uU(30,"Support"),s.qZA(),s.TgZ(31,"a",21),s._uU(32,"Help Center"),s.qZA(),s.TgZ(33,"a",22),s._uU(34,"Developers"),s.qZA(),s.TgZ(35,"a",23),s._uU(36,"System Status"),s.qZA(),s.TgZ(37,"a",24),s._uU(38,"Community"),s.qZA()(),s.TgZ(39,"div")(40,"p",15),s._uU(41,"Resources"),s.qZA(),s.TgZ(42,"a",25),s._uU(43,"Content Hub"),s.qZA(),s.TgZ(44,"a",26),s._uU(45,"Refer a Friend"),s.qZA(),s.TgZ(46,"a",27),s._uU(47,"Partners"),s.qZA(),s.TgZ(48,"a",28),s._uU(49,"Integrations"),s.qZA(),s.TgZ(50,"a",29),s._uU(51,"Agency Directory"),s.qZA()(),s.TgZ(52,"div")(53,"p",15),s._uU(54,"Try CallRail"),s.qZA(),s.TgZ(55,"a",30),s._uU(56,"Free Trial"),s.qZA(),s.TgZ(57,"a",31),s._uU(58,"Pricing"),s.qZA(),s.TgZ(59,"a",32),s._uU(60,"Request a Demo"),s.qZA(),s.TgZ(61,"a",33),s._uU(62,"Enterprise"),s.qZA()()()(),s.TgZ(63,"div",34)(64,"div"),s._UZ(65,"hr",35),s.qZA(),s.TgZ(66,"div",36)(67,"button",37),s._uU(68," Cookie Preferences "),s.qZA(),s.TgZ(69,"a",38),s._uU(70,"Terms of Use"),s.qZA(),s.TgZ(71,"a",39),s._uU(72,"Privacy Notice"),s.qZA(),s.TgZ(73,"a",40),s._uU(74,"Security"),s.qZA(),s.TgZ(75,"a",41)(76,"picture"),s._UZ(77,"source",42)(78,"img",43),s.qZA()()(),s.TgZ(79,"div",44),s._uU(80),s.qZA()()()),2&ee&&(s.xp6(80),s.hij(" Copyright \xa9 2011-",le.year||"2026"," CallRail, LLC. All rights reserved. "))},dependencies:[B.rH],styles:['.links[_ngcontent-%COMP%]{--bs-columns: 4;--bs-gap: 24px}.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#4c5258;font-weight:400;display:block;font-size:14px;font-family:Source Sans Pro;line-height:100%}.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#126cd3}.footer[_ngcontent-%COMP%]{padding-top:75px}.icons[_ngcontent-%COMP%]{gap:12px}.icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:2rem;max-width:2rem;width:17px;height:22px;aspect-ratio:17/22}.title[_ngcontent-%COMP%]{font-size:14px;font-family:Source Sans Pro;font-weight:600;line-height:105%}.legal[_ngcontent-%COMP%]{color:#757575;font-family:Source Sans Pro;font-weight:400;font-size:14px;line-height:167%}.legal[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#757575;text-decoration:none;font-weight:400}.legal[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#126cd3}@media (max-width: 639.98px){.links[_ngcontent-%COMP%]{--bs-columns: 2}.legal[_ngcontent-%COMP%]{gap:7px 0!important;justify-content:flex-start!important}.legal[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .legal[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex-basis:40%}.legal[_ngcontent-%COMP%] .sysnet-badge[_ngcontent-%COMP%]{width:100%;order:-1;margin-top:20px!important;margin-bottom:3px!important;flex-basis:100%}.legal[_ngcontent-%COMP%] a[href*=legal][_ngcontent-%COMP%]{order:1}.legal[_ngcontent-%COMP%] a[href*=security][_ngcontent-%COMP%]{order:2}.legal[_ngcontent-%COMP%] a[href*=privacy][_ngcontent-%COMP%]{order:3}.legal[_ngcontent-%COMP%] #ot-sdk-btn[_ngcontent-%COMP%]{order:4}.copyright[_ngcontent-%COMP%]{margin-top:7px!important;margin-bottom:10px!important}}@media (min-width: 992px){.links[_ngcontent-%COMP%]{--bs-columns: 4}.legal[_ngcontent-%COMP%]{gap:1rem!important}}#ot-sdk-btn.ot-sdk-show-settings[_ngcontent-%COMP%]{all:unset;cursor:pointer!important;display:inline-block!important;line-height:167%!important;vertical-align:baseline!important;background:none!important;font-size:0!important}#ot-sdk-btn.ot-sdk-show-settings[_ngcontent-%COMP%]:before{content:"Cookie Preferences";font-size:14px;color:#757575;font-family:Source Sans Pro;font-weight:400;line-height:167%}#ot-sdk-btn.ot-sdk-show-settings[_ngcontent-%COMP%]:hover{color:#126cd3!important;background:none!important}#ot-sdk-btn.ot-sdk-show-settings[_ngcontent-%COMP%]:hover:before{color:#126cd3}']})}return $})();var X=f(4618),se=f(95),ge=f(8794);function Me($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"div",3),s.NdJ("click",function(){const Re=s.CHM(V).$implicit,At=s.oxw();return s.KtG(At.suggestionClick.emit(Re))}),s._uU(1),s.qZA()}if(2&$){const V=ft.$implicit;s.xp6(),s.hij(" ",V," ")}}function Ye($,ft){1&$&&(s.TgZ(0,"div"),s._uU(1," No suggestions available. "),s.qZA())}let tt=(()=>{class ${constructor(V){this.http=V,this.suggestions={},this.builderKey=Z.N.BUILDER_API_KEY,this.suggestionClick=new s.vpe}ngOnInit(){this.fetchSuggestions()}fetchSuggestions(){this.http.get(`https://cdn.builder.io/api/v3/content/search-suggestions?apiKey=${this.builderKey}`).subscribe(ee=>{ee.results.length>0&&(this.suggestions=ee.results[0].data.suggestions)})}getObjectValues(V){return Object.values(V)}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(w.eN))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-suggestion-list"]],outputs:{suggestionClick:"suggestionClick"},standalone:!0,features:[s.jDz],decls:3,vars:2,consts:[["id","gtm-suggestion-list",1,"suggestion-list"],["class","suggestion-pill","role","button",3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],["role","button",1,"suggestion-pill",3,"click"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0),s.YNc(1,Me,2,1,"div",1)(2,Ye,2,0,"div",2),s.qZA()),2&ee&&(s.xp6(),s.Q6J("ngForOf",le.getObjectValues(le.suggestions)),s.xp6(),s.Q6J("ngIf",0===le.getObjectValues(le.suggestions).length))},dependencies:[r.ax,r.O5],styles:['.suggestion-pill[_ngcontent-%COMP%]{border-radius:10px;background:#fff;display:inline-flex;padding:9px 16px;margin-bottom:10px;justify-content:center;align-items:center;color:var(--grey-7-mine-shaft, #272b2f);font-feature-settings:"calt" off;font-family:Source Sans Pro;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:-.32px;margin-right:15px;transition:background-color .3s;border:1px solid #ccc}.suggestion-pill[_ngcontent-%COMP%]:hover{border-color:#126cd3;color:#126cd3}.suggestion-list[_ngcontent-%COMP%]{width:95%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}']})}return $})(),Ct=(()=>{class ${constructor(V,ee){this.router=V,this.route=ee,this.closePanel=new s.vpe,this.searchQuery="",this.isSuggested=!1}performSearch(){this.closePanel.emit(),this.router.navigate(["/search"],{queryParams:{q:this.searchQuery},queryParamsHandling:"merge",state:{isSuggested:this.isSuggested}})}onSuggestionClick(V){this.searchQuery=V,this.isSuggested=!0,this.performSearch()}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(B.F0),s.Y36(B.gz))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-search-panel"]],outputs:{closePanel:"closePanel"},standalone:!0,features:[s.jDz],decls:10,vars:1,consts:[["id","search-panel",1,"search-panel"],[1,"search-container","container","position-relative"],["role","button","src","assets/svg/close_icon.svg","alt","close",1,"close",3,"click"],[2,"max-width","780px","margin","auto"],[3,"value","valueChange","searchRequested"],[1,"suggestion-header"],[1,"pills"],[3,"suggestionClick"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"div",1)(2,"img",2),s.NdJ("click",function(){return le.closePanel.emit()}),s.qZA(),s.TgZ(3,"div",3)(4,"app-search-box",4),s.NdJ("valueChange",function(At){return le.searchQuery=At})("searchRequested",function(){return le.performSearch()}),s.qZA(),s._UZ(5,"br"),s.TgZ(6,"p",5),s._uU(7,"Suggestions"),s.qZA(),s.TgZ(8,"div",6)(9,"app-suggestion-list",7),s.NdJ("suggestionClick",function(At){return le.onSuggestionClick(At)}),s.qZA()()()()()),2&ee&&(s.xp6(4),s.Q6J("value",le.searchQuery))},dependencies:[tt,se.u5,ge.B],styles:[".search-panel[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;width:100%;background:#f7f7f7;z-index:2;border-bottom:solid #bac1c8 1px}.search-container[_ngcontent-%COMP%]{padding:30px 12px}.close[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px}.suggestion-header[_ngcontent-%COMP%]{color:#000;font-family:Gotham;font-size:16px;font-style:normal;font-weight:400;line-height:normal;text-transform:uppercase;text-align:left;padding-top:5px}.pills[_ngcontent-%COMP%]{text-align:left;padding-top:7px}"]})}return $})();var rt=f(23);let _t=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-global-nav-industries"]],standalone:!0,features:[s.jDz],decls:26,vars:0,consts:[[1,"main"],[1,"me-auto"],["routerLink","/agencies",1,"link","ga-nav-link"],["routerLink","/home-services",1,"link","ga-nav-link"],["routerLink","/healthcare",1,"link","ga-nav-link"],["routerLink","/legal-services",1,"link","ga-nav-link"],["routerLink","/real-estate",1,"link","ga-nav-link"],["routerLink","/financial-services",1,"link","ga-nav-link"],["routerLink","/automotive",1,"link","ga-nav-link"],[1,"enterprise"],[1,"heading"],["srcset","/assets/images/gn-industries.webp","type","image/webp"],["loading","lazy","src","/assets/images/gn-industries.png","alt","arrows bouncing up",1,"w-100","image"],["routerLink","/enterprise",1,"btn","btn-primary","rounded-pill","border-0","px-4","ga-nav-link"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"div",1)(2,"a",2),s._uU(3,"Agencies"),s.qZA(),s.TgZ(4,"a",3),s._uU(5,"Home Services"),s.qZA(),s.TgZ(6,"a",4),s._uU(7,"Healthcare"),s.qZA(),s.TgZ(8,"a",5),s._uU(9,"Legal Services"),s.qZA(),s.TgZ(10,"a",6),s._uU(11,"Real Estate"),s.qZA(),s.TgZ(12,"a",7),s._uU(13,"Financial Services"),s.qZA(),s.TgZ(14,"a",8),s._uU(15,"Automotive"),s.qZA()()(),s.TgZ(16,"aside",9)(17,"div",10),s._uU(18,"CallRail for Enterprise"),s.qZA(),s.TgZ(19,"picture"),s._UZ(20,"source",11)(21,"img",12),s.qZA(),s.TgZ(22,"p"),s._uU(23," Discover how CallRail scales for enterprises and businesses with multiple locations. "),s.qZA(),s.TgZ(24,"a",13),s._uU(25,"Learn more"),s.qZA()())},dependencies:[B.rH],styles:["[_nghost-%COMP%]{display:flex;align-items:stretch;color:#213e7c}.main[_ngcontent-%COMP%]{padding:40px 45px;min-width:400px}.main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;font-size:1rem;letter-spacing:-3.5%}aside[_ngcontent-%COMP%]{padding:45px;min-width:300px;background:#e3e7ea54;display:block}aside[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;letter-spacing:-3.5%;line-height:1.05;font-size:1rem;margin-bottom:0}aside[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:20px 0}aside[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.225;letter-spacing:normal}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-family:Source Sans Pro,sans-serif;font-weight:600}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#204e85}",".main[_ngcontent-%COMP%]{display:flex;min-width:238px}.link[_ngcontent-%COMP%]{margin:0 -.5rem;padding:12px .5rem;display:block;text-decoration:none;font-family:Source Sans Pro;font-weight:600;font-size:16px;color:inherit;line-height:1}.link[_ngcontent-%COMP%]:hover{color:#388aed}.enterprise[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{margin:0 -.5rem;padding:.1rem .5rem 0;display:block;text-decoration:none;font-family:Source Sans Pro;font-size:16px;font-weight:600;color:inherit;line-height:1.2}.enterprise[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{aspect-ratio:1.67}.enterprise[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-size:14px;font-weight:400}.ga-nav-link[_ngcontent-%COMP%]:hover{color:#126cd3}.btn[_ngcontent-%COMP%]{font-size:14px}"]})}return $})(),Ie=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-global-nav-products"]],standalone:!0,features:[s.jDz],decls:47,vars:0,consts:[[1,"main"],[1,"link","call-tracking"],[1,"ct-heading"],["routerLink","/call-tracking",1,"stretched-link","unstyled-link","ga-nav-link"],[1,"ct-copy"],[1,"heading-3","opacity-75"],[1,"link","add-on","va"],[1,"heading-3","product-header"],["routerLink","/voice-assist",1,"stretched-link","unstyled-link","ga-nav-link"],["loading","lazy","src","https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2Fe9fd58adfc584320b6aee5259ec3c5e7","alt","new",1,"new-sparkle"],[1,"link","add-on"],["routerLink","/conversation-intelligence",1,"stretched-link","unstyled-link","ga-nav-link"],["routerLink","/convert-assist",1,"stretched-link","unstyled-link","ga-nav-link"],["routerLink","/form-tracking",1,"stretched-link","unstyled-link","ga-nav-link"],[1,"heading-2"],[1,"va-pic"],["srcset","\n https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2F6639ae62f3e3499085c7360b5d04e480?width=630&height=390&format=webp\n ","type","image/webp"],["loading","lazy","src","https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2F6639ae62f3e3499085c7360b5d04e480?width=630&height=390","alt","Add voice assist",1,"w-100","rounded"],["routerLink","/blog/capture-every-lead-with-voice-assist",1,"btn","btn-primary","rounded-pill","border-0","px-4","ga-nav-link"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),s._uU(4,"Call Tracking"),s.qZA()(),s.TgZ(5,"p",4),s._uU(6," Understand what makes your phone ring and personalize inbound call experiences. "),s.qZA()(),s._UZ(7,"hr"),s.TgZ(8,"div",5),s._uU(9,"Call Tracking add-ons"),s.qZA(),s.TgZ(10,"div",6)(11,"div",7)(12,"a",8),s._uU(13,"Voice Assist "),s._UZ(14,"img",9),s.qZA()(),s.TgZ(15,"p"),s._uU(16,"Answer, capture, and qualify inbound calls 24/7 with an AI assistant."),s.qZA()(),s.TgZ(17,"div",10)(18,"div",7)(19,"a",11),s._uU(20,"Conversation Intelligence"),s.TgZ(21,"sup"),s._uU(22,"\xae"),s.qZA()()(),s.TgZ(23,"p"),s._uU(24,"Transcribe all your calls and use AI to analyze them."),s.qZA()(),s.TgZ(25,"div",10)(26,"div",7)(27,"a",12),s._uU(28,"Convert Assist "),s.qZA()(),s.TgZ(29,"p"),s._uU(30," Convert leads with AI-powered next steps, coaching, and follow-up messages. "),s.qZA()(),s.TgZ(31,"div",10)(32,"div",7)(33,"a",13),s._uU(34,"Form Tracking"),s.qZA()(),s.TgZ(35,"p"),s._uU(36,"Measure and respond to web forms."),s.qZA()()(),s.TgZ(37,"aside")(38,"div",14),s._uU(39,"Never miss a lead again with NEW Voice Assist"),s.qZA(),s.TgZ(40,"picture",15),s._UZ(41,"source",16)(42,"img",17),s.qZA(),s.TgZ(43,"p"),s._uU(44," CallRail\u2019s Voice Assist is your always-on AI assistant. Trained on your unique call data and business insights, Voice Assist handles your inbound calls so you can engage and convert every lead. "),s.qZA(),s.TgZ(45,"a",18),s._uU(46,"Learn more"),s.qZA()())},dependencies:[B.rH],styles:["[_nghost-%COMP%]{display:flex;align-items:stretch;color:#213e7c}.main[_ngcontent-%COMP%]{padding:40px 45px;min-width:400px}.main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;font-size:1rem;letter-spacing:-3.5%}aside[_ngcontent-%COMP%]{padding:45px;min-width:300px;background:#e3e7ea54;display:block}aside[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;letter-spacing:-3.5%;line-height:1.05;font-size:1rem;margin-bottom:0}aside[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:20px 0}aside[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.225;letter-spacing:normal}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-family:Source Sans Pro,sans-serif;font-weight:600}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#204e85}",".main[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:1.25;margin-bottom:0}.main[_ngcontent-%COMP%] .heading-3[_ngcontent-%COMP%], .main[_ngcontent-%COMP%] .heading-3[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-weight:600;font-size:16px}.main[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{margin:10px 0 25px}.product-header[_ngcontent-%COMP%]{margin-bottom:10px}.product-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;font-family:Source Sans Pro}.ct-copy[_ngcontent-%COMP%]{font-size:14px!important;margin-bottom:25px!important;font-weight:400;font-family:Source Sans Pro}.ct-copy[_ngcontent-%COMP%]:hover{color:#126cd3;text-decoration:none!important}.ct-add-ons[_ngcontent-%COMP%]{font-size:14px!important}.ct-heading[_ngcontent-%COMP%]{font-size:16px;margin-bottom:10px;font-family:Source Sans Pro}.ct-heading[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:600}.link[_ngcontent-%COMP%]{position:relative;margin:0 -.6rem;padding:12px .6rem 0}.link[_ngcontent-%COMP%]:hover{color:#388aed}.ga-nav-link[_ngcontent-%COMP%]{font-weight:500}.ga-nav-link[_ngcontent-%COMP%]:hover{color:#126cd3;text-decoration:none!important}.call-tracking[_ngcontent-%COMP%]{margin-top:-12px}.add-on[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.add-on[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-size:14px;font-weight:400}.add-on.va[_ngcontent-%COMP%]{margin-top:.4rem}.heading-2[_ngcontent-%COMP%]{margin:0 -.5rem;padding:.1rem .5rem 0;display:block;text-decoration:none;font-family:Source Sans Pro;font-weight:600;font-size:16px;color:inherit;line-height:1.2}.image[_ngcontent-%COMP%]{aspect-ratio:1.67}.new-sparkle[_ngcontent-%COMP%]{margin-left:5px;padding-bottom:2px}aside[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-size:14px;font-weight:400;margin-bottom:20px}.btn[_ngcontent-%COMP%]{font-size:14px}"]})}return $})();const Ee=()=>({topics:"customer-stories"});let et=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-global-nav-resources"]],standalone:!0,features:[s._Bn([],[(0,z.kp)({dotcomArrowRight:q.X0})]),s.jDz],decls:58,vars:2,consts:[[1,"main"],[1,"heading-2","opacity-75"],["routerLink","/learn",1,"link","ga-nav-link"],["routerLink","/learn",1,"link","ga-nav-link",3,"queryParams"],["routerLink","whats-new",1,"link","ga-nav-link"],[1,"heading-2","opacity-75","mt-4"],["href","https://support.callrail.com/hc/en-us",1,"link","ga-nav-link"],["href","https://www.callrail.com/partners",1,"link","ga-nav-link"],["href","https://support.callrail.com/hc/en-us/community/topics",1,"link","ga-nav-link"],["routerLink","/integrations/google-ads",1,"link","ga-nav-link"],[1,"logo"],["loading","lazy","src","assets/svg/global-nav/g-ads.svg","alt","google ads logo"],["routerLink","/integrations/google-analytics",1,"link","ga-nav-link"],["loading","lazy","src","assets/svg/global-nav/g-analytics.svg","alt","google analytics logo"],["routerLink","/integrations/hubspot",1,"link","ga-nav-link"],["loading","lazy","src","assets/svg/global-nav/hubspot.svg","alt","hubspot logo"],["routerLink","/integrations/salesforce",1,"link","ga-nav-link"],["loading","lazy","src","assets/svg/global-nav/salesforce.svg","alt","salesforce logo"],["routerLink","/integrations/slack",1,"link","ga-nav-link"],["loading","lazy","src","assets/svg/global-nav/slack.svg","alt","slack logo"],["routerLink","/integrations/ms-ads",1,"link","ga-nav-link"],["loading","lazy","src","assets/svg/global-nav/microsoft_ads.svg","alt","microsoft ads logo"],["routerLink","/integrations",1,"see-more","mt-2","d-block","ga-nav-link","unstyled-link"],["name","dotcom-arrow-right"],[1,"heading-2"],["srcset","\n https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2Fc95ae43903e745eb966bf02077d164b1?width=630&height=390&format=webp\n ","type","image/webp"],["loading","lazy","src","https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2Fc95ae43903e745eb966bf02077d164b1?width=630&height=390","alt","Landscaping service inquiry phone call handled by Voice Assist",1,"w-100","rounded","image"],["routerLink","/learn/ai-voice-assistant-buyers-guide",1,"btn","btn-primary","rounded-pill","border-0","px-4","ga-nav-link"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"div")(2,"div",1),s._uU(3,"Learn"),s.qZA(),s.TgZ(4,"a",2),s._uU(5,"Content Hub"),s.qZA(),s.TgZ(6,"a",3),s._uU(7,"Customer Stories"),s.qZA(),s.TgZ(8,"a",4),s._uU(9,"What's new"),s.qZA(),s.TgZ(10,"div",5),s._uU(11,"Connect"),s.qZA(),s.TgZ(12,"a",6),s._uU(13,"Support"),s.qZA(),s.TgZ(14,"a",7),s._uU(15,"Partners"),s.qZA(),s.TgZ(16,"a",8),s._uU(17,"Community"),s.qZA()(),s.TgZ(18,"div")(19,"div",1),s._uU(20,"Integrations"),s.qZA(),s.TgZ(21,"a",9)(22,"div",10),s._UZ(23,"img",11),s.qZA(),s._uU(24," Google Ads "),s.qZA(),s.TgZ(25,"a",12)(26,"div",10),s._UZ(27,"img",13),s.qZA(),s._uU(28," Google Analytics "),s.qZA(),s.TgZ(29,"a",14)(30,"div",10),s._UZ(31,"img",15),s.qZA(),s._uU(32," HubSpot "),s.qZA(),s.TgZ(33,"a",16)(34,"div",10),s._UZ(35,"img",17),s.qZA(),s._uU(36," Salesforce "),s.qZA(),s.TgZ(37,"a",18)(38,"div",10),s._UZ(39,"img",19),s.qZA(),s._uU(40," Slack "),s.qZA(),s.TgZ(41,"a",20)(42,"div",10),s._UZ(43,"img",21),s.qZA(),s._uU(44," Microsoft Ads "),s.qZA(),s.TgZ(45,"a",22),s._uU(46,"See all 50+ integrations "),s._UZ(47,"ng-icon",23),s.qZA()()(),s.TgZ(48,"aside")(49,"div",24),s._uU(50," AI voice assistant 101: A buyer\u2019s guide to smarter call handling "),s.qZA(),s.TgZ(51,"picture"),s._UZ(52,"source",25)(53,"img",26),s.qZA(),s.TgZ(54,"p"),s._uU(55," Learn how AI voice assistants improve call handling, capture more leads, and keep your business responsive 24/7. Plus, how to choose the right one for you. "),s.qZA(),s.TgZ(56,"a",27),s._uU(57,"Read now"),s.qZA()()),2&ee&&(s.xp6(6),s.Q6J("queryParams",s.DdM(1,Ee)))},dependencies:[B.rH,z.Fv],styles:["[_nghost-%COMP%]{display:flex;align-items:stretch;color:#213e7c}.main[_ngcontent-%COMP%]{padding:40px 45px;min-width:400px}.main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;font-size:1rem;letter-spacing:-3.5%}aside[_ngcontent-%COMP%]{padding:45px;min-width:300px;background:#e3e7ea54;display:block}aside[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Gotham;font-weight:500;letter-spacing:-3.5%;line-height:1.05;font-size:1rem;margin-bottom:0}aside[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:20px 0}aside[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.225;letter-spacing:normal}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-family:Source Sans Pro,sans-serif;font-weight:600}aside[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#204e85}",".main[_ngcontent-%COMP%]{display:flex;justify-content:space-between;min-width:460px}.main[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:inherit}.main[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#126cd3}.main[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:24px;display:flex;justify-content:center}.main[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:1rem}.main[_ngcontent-%COMP%] .see-more[_ngcontent-%COMP%]{color:#126cd3;font-family:Source Sans Pro;font-size:16px;font-weight:600}.link[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-size:16px;font-style:normal;font-weight:600;line-height:1;margin:0 -8px;padding:12px 8px;display:flex;gap:5px}.heading-2[_ngcontent-%COMP%]{margin:0 -8px;padding:0 8px 8px;display:block;text-decoration:none;font-family:Source Sans Pro;font-size:16px;font-weight:400;color:inherit}.image[_ngcontent-%COMP%]{aspect-ratio:1.67}aside[_ngcontent-%COMP%] .heading-2[_ngcontent-%COMP%]{padding-bottom:0;line-height:1.2;font-weight:600}aside[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Source Sans Pro;font-size:14px;font-weight:400}.btn[_ngcontent-%COMP%]{font-size:14px}"]})}return $})();var Ke=f(8859);const de=["productsDrop"],pe=["industriesDrop"],Te=["resourcesDrop"];function Le($,ft){1&$&&(s.TgZ(0,"div",31),s._UZ(1,"app-global-nav-products"),s.qZA())}function ze($,ft){1&$&&(s.TgZ(0,"div",31),s._UZ(1,"app-global-nav-industries"),s.qZA())}function Ve($,ft){1&$&&(s.TgZ(0,"div",31),s._UZ(1,"app-global-nav-resources"),s.qZA())}const He=()=>["callTrackingPlusAi","premiumConversationIntelligenceStarterUsage","convertAssistStarterUsage"];function pt($,ft){1&$&&(s.TgZ(0,"a",32),s._uU(1,"Start free trial"),s.qZA()),2&$&&s.Q6J("appPlans",s.DdM(1,He))}const Ot=()=>["callTrackingPlusAi","premiumConversationIntelligenceStarterUsage","convertAssistStarterUsage","FT"];function vt($,ft){1&$&&(s.TgZ(0,"a",33),s._uU(1,"Start free trial"),s.qZA()),2&$&&s.Q6J("appPlans",s.DdM(1,Ot))}const Ft=()=>["CT","CI","FT"];function me($,ft){1&$&&(s.TgZ(0,"a",34),s._uU(1,"Start free trial"),s.qZA()),2&$&&s.Q6J("appPlans",s.DdM(1,Ft))}function _e($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"app-search-panel",35),s.NdJ("closePanel",function(){s.CHM(V);const le=s.oxw();return s.KtG(le.onToggleSearch(!1))}),s.qZA()}}const xe=()=>["/pricing"];let De=(()=>{class ${constructor(V,ee){this.router=V,this.webStorageService=ee,this.class="sticky-top d-block",this.toggleSearch=new s.vpe,this.isPanelVisible=!1,this.initialLoad=!0,this.enableHover=!0,this.mouseFocused=!1,this.keyDownHandler=()=>{this.focusType="keyboard"},this.mouseMoveHandler=()=>{this.focusType="mouse"}}ngOnInit(){this.closeOnNavigation(),document.addEventListener("keydown",this.keyDownHandler),document.addEventListener("mousemove",this.mouseMoveHandler)}ngOnDestroy(){document.removeEventListener("keydown",this.keyDownHandler),document.removeEventListener("mousemove",this.mouseMoveHandler)}closeOnNavigation(){this.router.events.pipe((0,Y.h)(V=>V instanceof B.OD)).subscribe(()=>{this.productsDrop.close(),this.industriesDrop.close(),this.resourcesDrop.close()})}open(V,ee){if(!this.enableHover)return;V.open();const le=document.getElementById(`${ee}-dropdown-icon`);le.style.transform="rotate(180deg)",le.style.transformOrigin="center center",le.style.transformStyle="preserve-3d",le.style.transition="transform 0.4s ease-in-out"}close(V,ee){if(!this.enableHover)return;V.close();const le=document.getElementById(`${ee}-dropdown-icon`);le.style.transform="rotate(0deg)",le.style.transformOrigin="center center",le.style.transformStyle="preserve-3d",le.style.transition="transform 0.4s ease-in-out"}onFocus(){this.initialLoad&&(this.initialLoad=!1),this.mouseFocused="mouse"===this.focusType}onToggleSearch(V){this.isPanelVisible=V,this.toggleSearch.emit(this.isPanelVisible)}createPopperOptions(V){return le=>({...le,modifiers:[...le.modifiers||[],{name:"offset",options:{offset:[V,0]}}]})}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(B.F0),s.Y36(Ke.V))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-global-nav"]],viewQuery:function(ee,le){if(1&ee&&(s.Gf(de,5),s.Gf(pe,5),s.Gf(Te,5)),2&ee){let Re;s.iGM(Re=s.CRH())&&(le.productsDrop=Re.first),s.iGM(Re=s.CRH())&&(le.industriesDrop=Re.first),s.iGM(Re=s.CRH())&&(le.resourcesDrop=Re.first)}},hostVars:2,hostBindings:function(ee,le){2&ee&&s.Tol(le.class)},outputs:{toggleSearch:"toggleSearch"},standalone:!0,features:[s._Bn([],[]),s.jDz],decls:54,vars:16,consts:[[1,"container","dt-nav","justify-content-between","align-items-center","d-none","d-lg-flex"],[1,"d-flex","align-items-center","left-nav"],["routerLink","/",1,"logo-link"],["src","assets/svg/logos/callrail-logotype.svg","alt","CallRail logo",1,"logo"],[1,"dropdown-links"],["ngbDropdown","",3,"popperOptions","mouseleave"],["productsDrop","ngbDropdown"],["ngbDropdownToggle","",1,"dropdown-button","d-flex","align-items-center",3,"mouseenter","focus"],[1,"nav-title"],["id","products-dropdown-icon",1,"icon-container"],["xmlns","http://www.w3.org/2000/svg","width","10","height","6","viewBox","0 0 11 6","fill","none"],["d","M10 1L5.94994 4.82378C5.89083 4.87964 5.82064 4.92396 5.74339 4.9542C5.66613 4.98444 5.58332 5 5.49968 5C5.41605 5 5.33324 4.98444 5.25598 4.9542C5.17872 4.92396 5.10853 4.87964 5.04943 4.82378L1 1","stroke","black","stroke-linecap","round"],["ngbDropdownMenu","",1,"vwo-global-nav-products-menu","rounded-0","shadow-none","bg-transparent","border-0"],["class","dropdown-content rounded-3 shadow-lg",4,"ngIf"],[1,"dropdown","pricing-blue-line"],[1,"dropdown-toggle","ga-nav-link",3,"routerLink"],["industriesDrop","ngbDropdown"],["id","industries-dropdown-icon",1,"icon-container"],["ngbDropdownMenu","",1,"rounded-0","shadow-none","bg-transparent","border-0"],["resourcesDrop","ngbDropdown"],["id","resources-dropdown-icon",1,"icon-container"],["ngbDropdownMenu","",1,"rounded-0","shadow-none","bg-transparent","border-0","resources-dropdown-container"],[1,"extra-links","d-flex","align-items-center"],[1,"dropdown","blue-line"],["href","tel:8889074718",1,"ga-nav-link","blue-line"],["href","https://support.callrail.com/hc/en-us",1,"ga-nav-link"],["href","https://app.callrail.com/",1,"ga-nav-link"],["role","button",1,"search"],["src","assets/svg/global-nav/search.svg","height","18px","width","21px","alt","search icon",3,"click"],["class","btn rounded-pill signup-cta vwo-nav-signup vwo-nav-signup-b ga-nav-link","routerLink","/signup/",3,"appPlans"],[3,"closePanel",4,"ngIf"],[1,"dropdown-content","rounded-3","shadow-lg"],["routerLink","/signup/",1,"btn","rounded-pill","signup-cta","vwo-nav-signup","vwo-nav-signup-b","ga-nav-link",3,"appPlans"],["routerLink","/signup/",1,"btn","rounded-pill","signup-cta","vwo-nav-signup","vwo-nav-signup-c","ga-nav-link",3,"appPlans"],["routerLink","/signup/",1,"btn","rounded-pill","signup-cta","vwo-nav-signup","vwo-nav-signup-a","ga-nav-link",3,"appPlans"],[3,"closePanel"]],template:function(ee,le){if(1&ee){const Re=s.EpF();s.TgZ(0,"div",0)(1,"div",1)(2,"a",2),s._UZ(3,"img",3),s.qZA(),s.TgZ(4,"div",4)(5,"div",5,6),s.NdJ("mouseleave",function(){s.CHM(Re);const Mt=s.MAs(6);return s.KtG(le.close(Mt,"products"))}),s.TgZ(7,"button",7),s.NdJ("mouseenter",function(){s.CHM(Re);const Mt=s.MAs(6);return s.KtG(le.open(Mt,"products"))})("focus",function(){return le.onFocus()}),s.TgZ(8,"div",8),s._uU(9,"Products"),s.qZA(),s.TgZ(10,"div",9),s.O4$(),s.TgZ(11,"svg",10),s._UZ(12,"path",11),s.qZA()()(),s.kcU(),s.TgZ(13,"div",12),s.YNc(14,Le,2,0,"div",13),s.qZA()(),s.TgZ(15,"div",14)(16,"a",15),s._uU(17," Pricing "),s.qZA()(),s.TgZ(18,"div",5,16),s.NdJ("mouseleave",function(){s.CHM(Re);const Mt=s.MAs(19);return s.KtG(le.close(Mt,"industries"))}),s.TgZ(20,"button",7),s.NdJ("mouseenter",function(){s.CHM(Re);const Mt=s.MAs(19);return s.KtG(le.open(Mt,"industries"))})("focus",function(){return le.onFocus()}),s.TgZ(21,"div",8),s._uU(22,"Industries"),s.qZA(),s.TgZ(23,"div",17),s.O4$(),s.TgZ(24,"svg",10),s._UZ(25,"path",11),s.qZA()()(),s.kcU(),s.TgZ(26,"div",18),s.YNc(27,ze,2,0,"div",13),s.qZA()(),s.TgZ(28,"div",5,19),s.NdJ("mouseleave",function(){s.CHM(Re);const Mt=s.MAs(29);return s.KtG(le.close(Mt,"resources"))}),s.TgZ(30,"button",7),s.NdJ("mouseenter",function(){s.CHM(Re);const Mt=s.MAs(29);return s.KtG(le.open(Mt,"resources"))})("focus",function(){return le.onFocus()}),s.TgZ(31,"div",8),s._uU(32,"Resources"),s.qZA(),s.TgZ(33,"div",20),s.O4$(),s.TgZ(34,"svg",10),s._UZ(35,"path",11),s.qZA()()(),s.kcU(),s.TgZ(36,"div",21),s.YNc(37,Ve,2,0,"div",13),s.qZA()()()(),s.TgZ(38,"div",22)(39,"div",23)(40,"a",24),s._uU(41,"(888) 907-4718"),s.qZA()(),s.TgZ(42,"div",23)(43,"a",25),s._uU(44,"Support"),s.qZA()(),s.TgZ(45,"div",23)(46,"a",26),s._uU(47,"Login"),s.qZA()(),s.TgZ(48,"div",27)(49,"img",28),s.NdJ("click",function(){return le.onToggleSearch(!le.isPanelVisible)}),s.qZA()(),s.YNc(50,pt,2,2,"a",29)(51,vt,2,2)(52,me,2,2),s.qZA()(),s.YNc(53,_e,1,0,"app-search-panel",30)}2&ee&&(s.xp6(5),s.Q6J("popperOptions",le.createPopperOptions(-45)),s.xp6(2),s.ekj("mouse-focused",le.mouseFocused),s.xp6(7),s.Q6J("ngIf",!le.initialLoad),s.xp6(2),s.Q6J("routerLink",s.DdM(15,xe)),s.xp6(2),s.Q6J("popperOptions",le.createPopperOptions(-44)),s.xp6(2),s.ekj("mouse-focused",le.mouseFocused),s.xp6(7),s.Q6J("ngIf",!le.initialLoad),s.xp6(),s.Q6J("popperOptions",le.createPopperOptions(-152)),s.xp6(2),s.ekj("mouse-focused",le.mouseFocused),s.xp6(7),s.Q6J("ngIf",!le.initialLoad),s.xp6(13),s.um2(50,2===le.webStorageService.vwoVariationId?50:3===le.webStorageService.vwoVariationId?51:52),s.xp6(3),s.Q6J("ngIf",le.isPanelVisible))},dependencies:[B.rH,r.O5,X.IJ,X.jt,X.iD,X.Vi,X.XC,Ie,_t,et,rt.H,Ct],styles:['[_nghost-%COMP%]{background:#fff;border-bottom:solid #bac1c8 1px;z-index:100}ng-icon[_ngcontent-%COMP%]{margin-left:.1rem}ng-icon[_ngcontent-%COMP%] svg{stroke-width:1px}.search[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{filter:invert(30%) sepia(100%) saturate(1579%) hue-rotate(198deg) brightness(86%) contrast(90%)}.logo-link[_ngcontent-%COMP%]{margin-right:50px}.logo[_ngcontent-%COMP%]{width:5.625rem;height:1.275rem;aspect-ratio:90/20.4}.dt-nav[_ngcontent-%COMP%], .left-nav[_ngcontent-%COMP%], .extra-links[_ngcontent-%COMP%]{height:68px}.mouse-focused[_ngcontent-%COMP%]:focus-visible{outline:0}.dropdown-links[_ngcontent-%COMP%]{height:100%;display:flex}.dropdown[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{text-decoration:none;color:#0a142c;padding:0;border:0;display:block;margin:0 1rem;background:none;font-family:Source Sans Pro;font-weight:400;font-size:16px}.dropdown[_ngcontent-%COMP%] [_ngcontent-%COMP%]:after{content:"";display:none}.dropdown.show[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100%;height:3px;background:#126cd3;bottom:0;left:0;padding:0;margin:0}.icon-container[_ngcontent-%COMP%]{flex-direction:column;justify-content:center;align-items:center;width:1rem;height:1rem;display:flex}.icon-container[_ngcontent-%COMP%]:before, .icon-container[_ngcontent-%COMP%]:after{content:" ";grid-area:1/1/2/2;display:table}.nav-title[_ngcontent-%COMP%]{padding-right:2px}.pricing-blue-line[_ngcontent-%COMP%]:hover:after{content:"";position:absolute;width:100%;height:3px;background:#126cd3;bottom:0;left:0;padding:0;margin:0}.dropdown-menu[_ngcontent-%COMP%]{position:relative}.dropdown-content[_ngcontent-%COMP%]{margin-top:20px;background:#fff;overflow:hidden}.extra-links[_ngcontent-%COMP%]{gap:16px;position:relative}.extra-links[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{height:100%}.extra-links[_ngcontent-%COMP%] .blue-line[_ngcontent-%COMP%]:hover:after{content:"";position:absolute;width:100%;height:3px;background:#126cd3;bottom:0;left:0;padding:0;margin:0}.extra-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0a142c;text-decoration:none;font-family:Source Sans Pro;font-weight:400;font-size:16px}.extra-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(.btn){font-size:16px}.extra-links[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;background:#126cd3;font-family:Source Sans Pro,sans-serif;font-weight:600;width:155px;padding:6px 0!important;--bs-btn-focus-shadow-rgb: 23, 85, 160}.extra-links[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{background:#1755a0;color:#fff}.overlay[_ngcontent-%COMP%]{position:fixed;top:142px;left:0;width:100%;height:100%;background-color:#0006;z-index:1}.vwo-ct-prominent-nav-sign-up-a[_ngcontent-%COMP%]{display:inline-block}.signup-cta[_ngcontent-%COMP%]{padding:6px 24px}@media (max-width: 1199.98px){.dropdown-toggle[_ngcontent-%COMP%]{font-size:14px!important}.extra-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(.btn){font-size:14px!important}}@media (min-width: 992px) and (max-width: 1199px){.resources-dropdown-container[_ngcontent-%COMP%]{transform:translate3d(-283px,50.5px,0)!important}}']})}return $})(),Ge=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-mobile-global-nav-industries"]],standalone:!0,features:[s.jDz],decls:22,vars:0,consts:[[1,"list-unstyled","m-0"],["routerLink","/agencies",1,"unstyled-link","fw-medium"],["routerLink","/home-services",1,"unstyled-link","fw-medium"],["routerLink","/healthcare",1,"unstyled-link","fw-medium"],["routerLink","/legal-services",1,"unstyled-link","fw-medium"],["routerLink","/financial-services",1,"unstyled-link","fw-medium"],["routerLink","/automotive",1,"unstyled-link","fw-medium"],["routerLink","/real-estate",1,"unstyled-link","fw-medium"]],template:function(ee,le){1&ee&&(s.TgZ(0,"ul",0)(1,"li")(2,"a",1),s._uU(3,"Agencies"),s.qZA()(),s.TgZ(4,"li")(5,"a",2),s._uU(6,"Home Service"),s.qZA()(),s.TgZ(7,"li")(8,"a",3),s._uU(9,"Healthcare"),s.qZA()(),s.TgZ(10,"li")(11,"a",4),s._uU(12,"Legal Services"),s.qZA()(),s.TgZ(13,"li")(14,"a",5),s._uU(15,"Financial Service"),s.qZA()(),s.TgZ(16,"li")(17,"a",6),s._uU(18,"Automotive"),s.qZA()(),s.TgZ(19,"li")(20,"a",7),s._uU(21,"Real Estate"),s.qZA()()())},dependencies:[B.rH],styles:["[_nghost-%COMP%]{display:block;margin:0 18px 0 26px}li[_ngcontent-%COMP%]{font-family:Gotham;font-size:18px;font-weight:500;border-bottom:#9ba3ad solid 1px;color:#0a142c}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;padding:18px 0 14px}"]})}return $})(),he=(()=>{class ${constructor(){this.changeTab=new s.vpe}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-mobile-global-nav-main"]],outputs:{changeTab:"changeTab"},standalone:!0,features:[s._Bn([],(0,z.kp)({dotcomArrowRight:q.X0})),s.jDz],decls:16,vars:0,consts:[[1,"list-unstyled","m-0"],["role","button",1,"d-flex","justify-content-between","w-100",3,"click"],["name","dotcomArrowRight"],["routerLink","/pricing",1,"unstyled-link","fw-medium"]],template:function(ee,le){1&ee&&(s.TgZ(0,"ul",0)(1,"li")(2,"div",1),s.NdJ("click",function(){return le.changeTab.emit("products")}),s._uU(3," Products "),s._UZ(4,"ng-icon",2),s.qZA()(),s.TgZ(5,"li")(6,"a",3),s._uU(7,"Pricing"),s.qZA()(),s.TgZ(8,"li")(9,"div",1),s.NdJ("click",function(){return le.changeTab.emit("industries")}),s._uU(10," Industries "),s._UZ(11,"ng-icon",2),s.qZA()(),s.TgZ(12,"li")(13,"div",1),s.NdJ("click",function(){return le.changeTab.emit("resources")}),s._uU(14," Resources "),s._UZ(15,"ng-icon",2),s.qZA()()())},dependencies:[B.rH,z.Fv],styles:["[_nghost-%COMP%]{display:block;margin:12px 18px 0 26px}li[_ngcontent-%COMP%]{font-family:Gotham;font-size:18px;font-weight:500;border-bottom:#9ba3ad solid 1px;color:#0a142c}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%], li[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:21px 0 17px;display:block}"]})}return $})(),Je=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-mobile-global-nav-products"]],standalone:!0,features:[s.jDz],decls:21,vars:0,consts:[["routerLink","/call-tracking",1,"unstyled-link"],[1,"sub-links"],[1,"text-uppercase"],[1,"list-unstyled"],["routerLink","/voice-assist",1,"unstyled-link"],["loading","lazy","src","https://cdn.builder.io/api/v1/image/assets%2F18cf0bc1157f43cbaa8aed1276d9b9ad%2Fe9fd58adfc584320b6aee5259ec3c5e7","alt","new",1,"ca-img"],["routerLink","/conversation-intelligence",1,"unstyled-link"],["routerLink","/convert-assist",1,"unstyled-link"],["routerLink","/form-tracking",1,"unstyled-link"]],template:function(ee,le){1&ee&&(s.TgZ(0,"a",0),s._uU(1,"Call Tracking"),s.qZA(),s.TgZ(2,"div",1)(3,"h2",2),s._uU(4,"add-ons"),s.qZA(),s.TgZ(5,"ul",3)(6,"li")(7,"a",4),s._uU(8,"Voice Assist "),s._UZ(9,"img",5),s.qZA()(),s.TgZ(10,"li")(11,"a",6),s._uU(12,"Conversation Intelligence"),s.TgZ(13,"sup"),s._uU(14,"\xae"),s.qZA()()(),s.TgZ(15,"li")(16,"a",7),s._uU(17,"Convert Assist"),s.qZA()(),s.TgZ(18,"li")(19,"a",8),s._uU(20,"Form Tracking"),s.qZA()()()())},dependencies:[B.rH],styles:["[_nghost-%COMP%]{display:block;margin:0 25px;padding:14px 0 2px;border-bottom:#9ba3ad solid 1px;font-family:Gotham}h2[_ngcontent-%COMP%]{color:#4c545d;font-size:12px;font-weight:400;margin-bottom:13px}a[_ngcontent-%COMP%]{font-size:18px;font-weight:500;padding:12px 0;display:block;color:#0a142c!important}.sub-links[_ngcontent-%COMP%]{margin:16px 0 0 22px}.ca-img[_ngcontent-%COMP%]{margin-left:5px;padding-bottom:2px}"]})}return $})();const ue=()=>({topics:"customer-stories"});let ke=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-mobile-global-nav-resources"]],standalone:!0,features:[s.jDz],decls:60,vars:2,consts:[[1,"text-uppercase"],[1,"list-unstyled"],["routerLink","/learn",1,"unstyled-link","fw-medium"],["routerLink","/learn",1,"unstyled-link","fw-medium",3,"queryParams"],["routerLink","/whats-new",1,"unstyled-link","fw-medium"],["href","https://support.callrail.com/hc/en-us",1,"unstyled-link","fw-medium"],["routerLink","/partners",1,"unstyled-link","fw-medium"],["href","https://support.callrail.com/hc/en-us/community/topics",1,"unstyled-link","fw-medium"],["routerLink","/integrations/google-ads",1,"unstyled-link","fw-medium"],["routerLink","/integrations/google-analytics",1,"unstyled-link","fw-medium"],["routerLink","/integrations/hubspot",1,"unstyled-link","fw-medium"],["routerLink","/integrations/salesforce",1,"unstyled-link","fw-medium"],["routerLink","/integrations/slack",1,"unstyled-link","fw-medium"],["routerLink","/integrations/ms-ads",1,"unstyled-link","fw-medium"],["routerLink","/integrations/unbounce",1,"unstyled-link","fw-medium"],["routerLink","/integrations/facebook",1,"unstyled-link","fw-medium"],["routerLink","/integrations/wordpress",1,"unstyled-link","fw-medium"],["routerLink","/integrations",1,"unstyled-link","fw-medium"]],template:function(ee,le){1&ee&&(s.TgZ(0,"section")(1,"h2",0),s._uU(2,"Learn"),s.qZA(),s.TgZ(3,"ul",1)(4,"li")(5,"a",2),s._uU(6,"Content Hub"),s.qZA()(),s.TgZ(7,"li")(8,"a",3),s._uU(9," Customer Stories "),s.qZA()(),s.TgZ(10,"li")(11,"a",4),s._uU(12," What's new "),s.qZA()()()(),s.TgZ(13,"section")(14,"h2",0),s._uU(15,"Connect"),s.qZA(),s.TgZ(16,"ul",1)(17,"li")(18,"a",5),s._uU(19,"Support"),s.qZA()(),s.TgZ(20,"li")(21,"a",6),s._uU(22," Partners "),s.qZA()(),s.TgZ(23,"li")(24,"a",7),s._uU(25," Community "),s.qZA()()()(),s.TgZ(26,"section")(27,"h2",0),s._uU(28,"Integrations"),s.qZA(),s.TgZ(29,"ul",1)(30,"li")(31,"a",8),s._uU(32,"Google Ads "),s.qZA()(),s.TgZ(33,"li")(34,"a",9),s._uU(35," Google Analytics "),s.qZA()(),s.TgZ(36,"li")(37,"a",10),s._uU(38," HubSpot "),s.qZA()(),s.TgZ(39,"li")(40,"a",11),s._uU(41," Salesforce "),s.qZA()(),s.TgZ(42,"li")(43,"a",12),s._uU(44," Slack "),s.qZA()(),s.TgZ(45,"li")(46,"a",13),s._uU(47," Microsoft Ads "),s.qZA()(),s.TgZ(48,"li")(49,"a",14),s._uU(50," Unbounce "),s.qZA()(),s.TgZ(51,"li")(52,"a",15),s._uU(53," Facebook "),s.qZA()(),s.TgZ(54,"li")(55,"a",16),s._uU(56," Wordpress "),s.qZA()(),s.TgZ(57,"li")(58,"a",17),s._uU(59," See all 50+ integrations "),s.qZA()()()()),2&ee&&(s.xp6(8),s.Q6J("queryParams",s.DdM(1,ue)))},dependencies:[B.rH],styles:["[_nghost-%COMP%]{display:block;margin:0 18px 0 26px;font-family:Gotham}section[_ngcontent-%COMP%]{border-bottom:#9ba3ad solid 1px}h2[_ngcontent-%COMP%]{color:#4c545d;font-size:12px;font-weight:400;margin:23px 0 14px}li[_ngcontent-%COMP%]{font-size:18px;color:#0a142c}li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:9px 0;display:block}"]})}return $})();const ye=()=>["callTrackingPlusAi","premiumConversationIntelligenceStarterUsage","convertAssistStarterUsage"];function nt($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"a",4),s._uU(1,"Start free trial"),s.qZA(),s.TgZ(2,"button",5),s.NdJ("click",function(){s.CHM(V);const le=s.oxw(),Re=s.MAs(7);return s.KtG(le.open(Re))}),s._UZ(3,"ng-icon",6),s.qZA()}2&$&&s.Q6J("appPlans",s.DdM(1,ye))}const Nt=()=>["callTrackingPlusAi","premiumConversationIntelligenceStarterUsage","convertAssistStarterUsage","FT"];function Rt($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"a",7),s._uU(1,"Start free trial"),s.qZA(),s.TgZ(2,"button",5),s.NdJ("click",function(){s.CHM(V);const le=s.oxw(),Re=s.MAs(7);return s.KtG(le.open(Re))}),s._UZ(3,"ng-icon",6),s.qZA()}2&$&&s.Q6J("appPlans",s.DdM(1,Nt))}const Yt=()=>["CT","CI","FT"];function dn($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"a",8),s._uU(1," Start free trial "),s.qZA(),s.TgZ(2,"button",5),s.NdJ("click",function(){s.CHM(V);const le=s.oxw(),Re=s.MAs(7);return s.KtG(le.open(Re))}),s._UZ(3,"ng-icon",6),s.qZA()}2&$&&s.Q6J("appPlans",s.DdM(1,Yt))}function Gt($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"div",23),s.NdJ("click",function(){s.CHM(V);const le=s.oxw(2),Re=s.MAs(7);return s.KtG(le.detectTabChange("main",Re))}),s._UZ(1,"ng-icon",24),s._uU(2," Main menu "),s.qZA()}}function qe($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"app-mobile-global-nav-main",25),s.NdJ("changeTab",function(le){s.CHM(V);const Re=s.oxw(2),At=s.MAs(7);return s.KtG(Re.detectTabChange(le,At))}),s.qZA()}}function Ze($,ft){1&$&&s._UZ(0,"app-mobile-global-nav-products")}function vn($,ft){1&$&&s._UZ(0,"app-mobile-global-nav-industries")}function zt($,ft){1&$&&s._UZ(0,"app-mobile-global-nav-resources")}function $n($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"div",9)(1,"button",10),s.NdJ("click",function(){s.CHM(V);const le=s.oxw();return s.KtG(le.close())}),s._UZ(2,"ng-icon",11),s.qZA()(),s.TgZ(3,"div",12),s.YNc(4,Gt,3,0,"div",13)(5,qe,1,0,"app-mobile-global-nav-main",14)(6,Ze,1,0,"app-mobile-global-nav-products",15)(7,vn,1,0,"app-mobile-global-nav-industries",15)(8,zt,1,0,"app-mobile-global-nav-resources",15),s.TgZ(9,"div",16)(10,"a",17),s._uU(11," Start free trial "),s.qZA(),s.TgZ(12,"ul",18)(13,"li")(14,"a",19),s._uU(15,"Search"),s.qZA()(),s.TgZ(16,"li")(17,"a",20),s._uU(18,"(888) 907-4718"),s.qZA()(),s.TgZ(19,"li")(20,"a",21),s._uU(21,"Support"),s.qZA()(),s.TgZ(22,"li"),s._uU(23," Already have an account? "),s.TgZ(24,"a",22),s._uU(25,"Sign in"),s.qZA()()()()()}if(2&$){const V=s.oxw();s.xp6(4),s.Q6J("ngIf","main"!==V.activeTab),s.xp6(),s.Q6J("ngIf","main"===V.activeTab),s.xp6(),s.Q6J("ngIf","products"===V.activeTab),s.xp6(),s.Q6J("ngIf","industries"===V.activeTab),s.xp6(),s.Q6J("ngIf","resources"===V.activeTab)}}let Un=(()=>{class ${constructor(V,ee,le){this.modalService=V,this.router=ee,this.webStorageService=le,this.activeTab="main"}ngOnInit(){this.router.events.pipe((0,Y.h)(V=>V instanceof B.OD)).subscribe(()=>{this.close(),this.activeTab="main"})}detectTabChange(V,ee){this.activeTab=V,this.open(ee)}open(V){const ee=this.modalService.open(V,{modalDialogClass:"global-nav-mobile-modal",fullscreen:!0,scrollable:!0});ee.shown.subscribe(()=>{this.previousModal&&this.previousModal.dismiss(),this.previousModal=ee})}close(){this.modalService.dismissAll()}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(X.FF),s.Y36(B.F0),s.Y36(Ke.V))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-mobile-global-nav"]],standalone:!0,features:[s._Bn([],[(0,z.kp)({dotcomMenu:q.GO,dotcomX:q.tL,dotcomArrowLeft:q.SX})]),s.jDz],decls:8,vars:1,consts:[[1,"navbar","px-md-3","d-flex","flex-nowrap","sticky-top","gap-3"],["routerLink","/",1,"me-auto","flex-shrink-1"],["loading","eager","src","assets/svg/logos/callrail-logotype.svg","alt","CallRail logo",1,"logo"],["content",""],["routerLink","/signup/",1,"btn","btn-primary","rounded-pill","flex-shrink-0","fw-semibold","vwo-nav-signup","vwo-nav-signup-b","signup-cta",3,"appPlans"],["aria-label","mobile menu toggle",1,"btn","border-0","p-0",3,"click"],["name","dotcomMenu","size","35"],["routerLink","/signup/",1,"btn","btn-primary","rounded-pill","flex-shrink-0","fw-semibold","vwo-nav-signup","vwo-nav-signup-c","signup-cta",3,"appPlans"],["routerLink","/signup",1,"btn","btn-primary","rounded-pill","flex-shrink-0","fw-semibold","vwo-nav-signup","vwo-nav-signup-a","signup-cta",3,"appPlans"],[1,"modal-header"],[1,"btn","border-0",3,"click"],["name","dotcomX","size","26","aria-label","close","ngbAutofocus","",1,"close"],[1,"modal-body","p-0"],["role","button","class","back btn-unstyled",3,"click",4,"ngIf"],[3,"changeTab",4,"ngIf"],[4,"ngIf"],[1,"footer"],["routerLink","/signup",1,"btn","btn-primary","rounded-pill","flex-shrink-0","fw-semibold","vwo-nav-signup","vwo-nav-signup-a","signup-cta"],[1,"list-unstyled"],["routerLink","/search",1,"unstyled-link","fw-medium"],["href","tel:8889074718",1,"unstyled-link","fw-medium"],["href","https://support.callrail.com/hc/en-us",1,"unstyled-link","fw-medium"],["href","https://app.callrail.com/",1,"fw-medium"],["role","button",1,"back","btn-unstyled",3,"click"],["name","dotcomArrowLeft","size","18"],[3,"changeTab"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0)(1,"a",1),s._UZ(2,"img",2),s.qZA(),s.YNc(3,nt,4,2)(4,Rt,4,2)(5,dn,4,2),s.qZA(),s.YNc(6,$n,26,5,"ng-template",null,3,s.W1O)),2&ee&&(s.xp6(3),s.um2(3,2===le.webStorageService.vwoVariationId?3:3===le.webStorageService.vwoVariationId?4:5))},dependencies:[r.O5,B.rH,rt.H,z.Fv,he,Je,Ge,ke],styles:[".global-nav-mobile-modal{width:calc(100vw - 34px);max-width:425px;color:#272b2f}@media (max-width: 350px){ .global-nav-mobile-modal{width:100vw}} .modal.fade .global-nav-mobile-modal{transform:translate(100%);transition:transform .25s linear;position:absolute;right:0} .modal.show .global-nav-mobile-modal{transform:none}.modal-header[_ngcontent-%COMP%]{padding:19px 16px 23px;justify-content:flex-end}.navbar[_ngcontent-%COMP%]{height:65px;background-color:#fff;width:100%;padding:8px 20px}.logo[_ngcontent-%COMP%]{width:78px;height:18px}.signup-cta[_ngcontent-%COMP%]{padding:4px 0;width:105px;height:30px;font-size:14px;line-height:20px;letter-spacing:.1px}.close[_ngcontent-%COMP%]{color:#126cd3}.back[_ngcontent-%COMP%]{color:#126cd3;font-size:18px;font-weight:500;padding:12px 0;margin:0 26px;font-family:Gotham}.back[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{margin-right:16px}.footer[_ngcontent-%COMP%]{font-weight:500;line-height:165.7%;margin:0 22px}.footer[_ngcontent-%COMP%] .signup-cta[_ngcontent-%COMP%]{margin:26px 0;width:100%;font-size:16px}.footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:Gotham;margin-bottom:5px}@media (min-width: 992px){[_nghost-%COMP%]{display:none!important}}@media (max-width: 319.98px){.signup-cta[_ngcontent-%COMP%]{font-size:14px}}"]})}return $})();var Vn=f(5152);let Gn=(()=>{class ${constructor(V){this.router=V}ngOnInit(){this.router.events.pipe((0,Y.h)(V=>V instanceof B.m2)).subscribe(()=>{this.checkUrlsForBanner()})}onBannerLoad(V){V&&(this.exactHiddenUrls=V.data.exactHiddenUrls,this.partialHiddenUrls=V.data.partialHiddenUrls,this.checkUrlsForBanner())}checkUrlsForBanner(){this.shouldHideExact=this.exactHiddenUrls?.some(V=>location.pathname===V),this.shouldHidePartial=this.partialHiddenUrls?.some(V=>location.pathname.startsWith(V))}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(B.F0))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-banner"]],standalone:!0,features:[s.jDz],decls:1,vars:2,consts:[["name","banner",3,"hidden","reloadOnRoute","load"]],template:function(ee,le){1&ee&&(s.TgZ(0,"builder-component",0),s.NdJ("load",function(At){return le.onBannerLoad(At)}),s.qZA()),2&ee&&s.Q6J("hidden",le.shouldHidePartial||le.shouldHideExact)("reloadOnRoute",!1)},dependencies:[F.$f,F.uR,r.ez],styles:["[_nghost-%COMP%]{z-index:100;position:relative}"]})}return $})();var qt=f(9271),Bt=f(6178),wi=f(5507);function Zt($,ft){if(1&$){const V=s.EpF();s.ynx(0),s._UZ(1,"app-banner"),s.TgZ(2,"app-global-nav",4),s.NdJ("toggleSearch",function(le){s.CHM(V);const Re=s.oxw();return s.KtG(Re.onToggleSearch(le))}),s.qZA(),s._UZ(3,"app-mobile-global-nav"),s.BQk()}}function ri($,ft){1&$&&s._UZ(0,"app-global-footer",5)}function ln($,ft){1&$&&s._UZ(0,"div",6)}F.U6.register("editor.settings",{styleStrictMode:!1,designTokensOptional:!0,allowOverridingTokens:!0,designTokens:{colors:[{name:"White",value:"#FFFFFF"},{name:"Jet Black",value:"#000000"},{name:"CallRail Blue - Attribluetion",value:"#126CD3"},{name:"CallRail Midnight",value:"#0A142C"},{name:"Brand Sand",value:"#F4F3F1"},{name:"Brand Sky",value:"#ECF3FB"},{name:"CallRail Pale Blue",value:"#EBF2FE"},{name:"Hover Blue",value:"#1755A0"},{name:"Secondary Midnight",value:"#0B162D"},{name:"Secondary CallRail Taupe",value:"#EFE8E3"},{name:"Secondary CallRail Silver",value:"#F7F9FA"},{name:"Secondary CallRail Dark Silver",value:"#BAC1C8"},{name:"Secondary Sand",value:"#EEE7E2"},{name:"Secondary Deep Blue",value:"#032276"},{name:"Secondary Strong Blue",value:"#2E70BE"},{name:"CallRail Navy",value:"#213E7C"},{name:"Mine Shaft",value:"#272B2F"},{name:"Gunpowder",value:"#4C545D"},{name:"Secondary New Yellow",value:"#FFD166"},{name:"Secondary New Purple",value:"#7B61FF"},{name:"Secondary New Dark Mint",value:"#0AB7B5"},{name:"Secondary New Dark Magenta",value:"#A43B8E"},{name:"Secondary New Burnt Orange",value:"#E76C58"}]}});let Wn=(()=>{class ${constructor(V,ee,le,Re,At,Mt,wt,Fn,si){this.router=V,this.route=ee,this.seoService=le,this.webStorageService=Re,this.marketoService=At,this.dataLayerService=Mt,this.builder=wt,this.renderer=Fn,this._ngZone=si,this.title="dotcom",this.renderNav=!0,this.renderFooter=!0,this.showBanner=!0,this.showOverlay=!1,this.noNavRoutes=["/signup","/y/ad-leaks","/y/outdoor-living","/quiz","/builder-preview","/cr","/redirect-manager"],this.qualifiedHiddenRoutes=["/signup"],this.handleRouterEvents()}ngOnInit(){this.processUrlParams(),this.setBuilderUserAttributes(),this.webStorageService.plans=[Vn.Plans.CT,Vn.Plans.CI,Vn.Plans.FT]}handleRouterEvents(){this.router.events.pipe((0,Y.h)(V=>V instanceof B.m2)).subscribe(V=>{this.setNavAndFooter(),this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.seoService.createCanonicalURL(),this.sendMarketoEvent(),this.seoService.updateTagsByRoute(V.url)&&this.dataLayerService.pushNavigationEvent(),this.handleQualified(V),this.updatePreviousUrls(),window.reloadOTBanner&&window.OneTrust&&document.getElementById("onetrust-consent-sdk")&&window.reloadOTBanner()})})})}onToggleSearch(V){this.showOverlay=V,this.showOverlay?this.renderer.addClass(document.body,"overflow-y-hidden"):this.renderer.removeClass(document.body,"overflow-y-hidden")}setNavAndFooter(){this.noNavRoutes.some(V=>location.pathname.startsWith(V))?(this.renderNav=!1,this.renderFooter=!1):(this.renderNav=!0,this.renderFooter=!0)}sendMarketoEvent(){window.location.pathname.includes("/blog")||this.marketoService.visitWebPage(window.location.pathname,new URLSearchParams(window.location.search))}processUrlParams(){this.route.queryParams.subscribe({next:V=>{this.webStorageService.setParam("gclid",V.gclid),this.webStorageService.setParam("utm_source",V.utm_source),this.webStorageService.setParam("utm_medium",V.utm_medium),this.webStorageService.setParam("utm_campaign",V.utm_campaign),this.webStorageService.setParam("utm_content",V.utm_content),this.webStorageService.setParam("utm_asset",V.utm_asset)}})}updatePreviousUrls(){this.webStorageService.previousUrls.update(V=>[...V,window.location.href])}handleQualified(V){if(window.qualified){window.qualified("page");const ee=document.getElementById("q-messenger-frame");if(ee){const le=new URL(V.url,window.location.origin);this.qualifiedHiddenRoutes.includes(le.pathname)?ee.classList.add("d-none"):ee.classList.remove("d-none")}}}setBuilderUserAttributes(){this.builder.setUserAttributes({origin:Z.N.ALLOWED_ORIGIN})}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(B.F0),s.Y36(B.gz),s.Y36(qt.v),s.Y36(Ke.V),s.Y36(Bt.M),s.Y36(wi.n),s.Y36(F.U6),s.Y36(s.Qsj),s.Y36(s.R0b))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-root"]],standalone:!0,features:[s._Bn([],[(0,z.kp)({dotcomArrowRight:q.X0})]),s.jDz],decls:5,vars:3,consts:[[1,"cr-wrapper"],[4,"ngIf"],["id","footer",4,"ngIf"],["class","overlay",4,"ngIf"],[3,"toggleSearch"],["id","footer"],[1,"overlay"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0),s.YNc(1,Zt,4,0,"ng-container",1),s._UZ(2,"router-outlet"),s.qZA(),s.YNc(3,ri,1,0,"app-global-footer",2)(4,ln,1,0,"div",3)),2&ee&&(s.xp6(),s.Q6J("ngIf",le.renderNav),s.xp6(2),s.Q6J("ngIf",le.renderFooter),s.xp6(),s.Q6J("ngIf",le.showOverlay))},dependencies:[r.O5,B.lC,De,Un,Q,Gn],styles:[".cr-wrapper[_ngcontent-%COMP%]{background-color:#f7f9fa;min-height:100%;width:100%}.overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0006;z-index:99}"]})}return $})();var wr=f(8969),Cn=f(2096);let rr=(()=>{class $ extends B.NM{preload(V,ee){return!0===V.data?.preload?ee():(0,Cn.of)(null)}static#e=this.\u0275fac=(()=>{let V;return function(le){return(V||(V=s.n5z($)))(le||$)}})();static#t=this.\u0275prov=s.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();var ot=f(2946),ei=f(6306);let Ei=(()=>{class ${constructor(V,ee){this.http=V,this.router=ee}resolve(){const V="content_hub/author/"+location.pathname.split("/")[2];return this.http.get(V).pipe((0,ei.K)(ee=>this.handleError(ee)))}handleError(V){return 404===V.status&&this.router.navigateByUrl("/404",{skipLocationChange:!0}),(0,Cn.of)(V)}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.LFG(w.eN),s.LFG(B.F0))};static#t=this.\u0275prov=s.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();var Rn=f(7715),An=f(7398),Dn=f(3019),Tn=f(1374),_i=f(6973);const vi=[{path:"",loadComponent:()=>f.e(424).then(f.bind(f,424)).then($=>$.HomeComponent),data:{preload:!0}},{path:"signup",loadComponent:()=>Promise.all([f.e(592),f.e(160)]).then(f.bind(f,4160)).then($=>$.SignupComponent),data:{preload:!0}},{path:"author/:slug",loadComponent:()=>f.e(353).then(f.bind(f,3353)).then($=>$.ContentHubAuthorComponent),resolve:{data:Ei}},{path:"pricing/australia",loadComponent:()=>Promise.all([f.e(768),f.e(942)]).then(f.bind(f,5942)).then($=>$.AustraliaComponent)},{path:"pricing/united-kingdom",loadComponent:()=>Promise.all([f.e(768),f.e(151)]).then(f.bind(f,2151)).then($=>$.UnitedKingdomComponent)},{path:"about/careers",loadComponent:()=>f.e(680).then(f.bind(f,8680)).then($=>$.CareersComponent)},{path:"redirect-manager",loadComponent:()=>Promise.all([f.e(592),f.e(158)]).then(f.bind(f,6158)).then($=>$.RedirectManagerComponent),resolve:{redirects:()=>{const $=(0,s.f3M)(w.eN),ft=(0,s.f3M)(B.F0);return $.get(`${Z.N.CONDUCTOR_BASE_URL}/redirects`).pipe((0,ei.K)(ee=>(404===ee.status?ft.navigateByUrl("/404",{skipLocationChange:!0}):ft.navigate(["/"]),(0,Cn.of)([]))))}}},{path:"charge",loadComponent:()=>f.e(50).then(f.bind(f,8050)).then($=>$.ChargeComponent)},{path:"faq",loadComponent:()=>f.e(584).then(f.bind(f,9584)).then($=>$.FaqComponent)},{path:"pricing",loadComponent:()=>Promise.all([f.e(768),f.e(535)]).then(f.bind(f,4535)).then($=>$.PricingComponent),data:{preload:!0}},{path:"learn",loadComponent:()=>Promise.all([f.e(592),f.e(103)]).then(f.bind(f,4103)).then($=>$.ContentHubLandingComponent),canActivate:[$=>{const ft=(0,s.f3M)(B.F0),V=(0,s.f3M)(ot.x),ee=(0,s.f3M)(qt.v);let le=!1;const Re=V.taxonomies().map(Mt=>Mt.queryParamName),At={...$.queryParams};for(const Mt in At)if(Re.includes(Mt)){const wt=At[Mt].replaceAll(" ","-").replaceAll("%20","-").toLowerCase();At[Mt]!==wt&&(le=!0,At[Mt]=wt)}if(At.resourceTypes?.split(",").includes("customer-stories")){const Mt=[...At.topics?.split(",")||[],"customer-stories"].join(","),wt=At.resourceTypes?.split(",").filter(Fn=>"customer-stories"!==Fn).join(",")||null;At.topics=Mt,At.resourceTypes=wt,le=!0}if(le){const Mt=ft.createUrlTree(["/learn"],{queryParams:At});return ee.setRedirectHeader(`https://www.callrail.com${Mt.toString()}`),Mt}return!0}],data:{preload:!0}},{path:"learn/:slug",loadComponent:()=>Promise.all([f.e(150),f.e(592),f.e(32)]).then(f.bind(f,1032)).then($=>$.ContentHubLearnComponent),resolve:{builderContent:$=>{const ft=(0,s.f3M)(B.F0),V=(0,s.f3M)(F.U6),le={query:{data:{slug:$.params.slug}},includeRefs:!0,limit:1},Re=(0,Rn.D)(V.get("resources",le).toPromise()).pipe((0,An.U)(Mt=>Mt?{data:Mt,model:"resources"}:null)),At=(0,Rn.D)(V.get("webinars",le).toPromise()).pipe((0,An.U)(Mt=>Mt?{data:Mt,model:"webinars"}:null));return(0,Dn.T)(Re,At).pipe((0,Tn.P)(Mt=>!!Mt),(0,ei.K)(Mt=>{throw Mt instanceof _i.K&&ft.navigateByUrl("/404",{skipLocationChange:!0}),Mt}))}}},{path:"blog/:slug",loadComponent:()=>Promise.all([f.e(592),f.e(882)]).then(f.bind(f,882)).then($=>$.ContentHubArticleComponent),resolve:{article:$=>{const ft=(0,s.f3M)(F.U6),V=$.params.slug;return V?ft.getContent("contentful-blogs",{query:{data:{slug:V}},includeRefs:!0,limit:1,cachebust:!0}).toPromise().then(ee=>ee||[]).catch(ee=>(console.error("ContentHubArticleResolver error:",ee),[])):Promise.resolve([])}},runGuardsAndResolvers:"always"},{path:"y/ad-leaks",loadComponent:()=>Promise.all([f.e(150),f.e(415)]).then(f.bind(f,2415)).then($=>$.EligibleGroupComponent),data:{name:"AdLeaks members"}},{path:"y/outdoor-living",loadComponent:()=>Promise.all([f.e(150),f.e(415)]).then(f.bind(f,2415)).then($=>$.EligibleGroupComponent),data:{name:"Outdoor Living Franchisees"}},{path:"search",loadComponent:()=>Promise.all([f.e(592),f.e(556)]).then(f.bind(f,9556)).then($=>$.SearchResultsComponent),data:{preload:!0}},{path:"builder-preview",loadComponent:()=>f.e(638).then(f.bind(f,638)).then($=>$.BuilderPreviewComponent)},{path:"404",loadComponent:()=>f.e(629).then(f.bind(f,2629)).then($=>$.ErrorComponent)},{path:"**",loadComponent:()=>Promise.all([f.e(592),f.e(501)]).then(f.bind(f,501)).then($=>$.PageNotFoundComponent),data:{preload:!0}}];let oi=(()=>{class ${static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275mod=s.oAB({type:$});static#n=this.\u0275inj=s.cJS({imports:[B.Bz.forRoot(vi,{scrollPositionRestoration:"top",anchorScrolling:"enabled",onSameUrlNavigation:"reload",preloadingStrategy:rr,scrollOffset:()=>{const V=document.querySelector("app-global-nav")?.clientHeight,ee=document.querySelector("app-mobile-global-nav .navbar")?.clientHeight;return[0,V||ee||0]}}),B.Bz]})}return $})();var Oe=f(1467),be=f(3868),W=f(9479);function oe($,ft){if(1&$&&(s.TgZ(0,"h2",11),s._uU(1),s.qZA()),2&$){const V=s.oxw(2);s.xp6(),s.Oqu(V.formHeader)}}function we($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",13),s._uU(2,"First Name"),s.qZA(),s._UZ(3,"input",14),s.TgZ(4,"div",15),s._uU(5," First name is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.firstName),s.xp6(),s.ekj("hidden",(null==V.form.controls.firstName?null:V.form.controls.firstName.valid)||(null==V.form.controls.firstName?null:V.form.controls.firstName.untouched))}}function ht($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",16),s._uU(2,"Last Name"),s.qZA(),s._UZ(3,"input",17),s.TgZ(4,"div",15),s._uU(5," Last name is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.lastName),s.xp6(),s.ekj("hidden",(null==V.form.controls.lastName?null:V.form.controls.lastName.valid)||(null==V.form.controls.lastName?null:V.form.controls.lastName.untouched))}}function bt($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",18),s._uU(2,"Email"),s.qZA(),s._UZ(3,"input",19),s.TgZ(4,"div",15),s._uU(5),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.email),s.xp6(),s.ekj("hidden",(null==V.form.controls.email?null:V.form.controls.email.untouched)||(null==V.form.controls.email?null:V.form.controls.email.valid)),s.xp6(),s.hij(" ",null!=V.form.controls.email&&V.form.controls.email.value?"Email is invalid":"Email address is required."," ")}}function rn($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",20),s._uU(2,"Phone number"),s.qZA(),s._UZ(3,"input",21),s.TgZ(4,"div",22),s._uU(5,"Phone is invalid."),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.phone)}}function Lt($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",23),s._uU(2,"Company"),s.qZA(),s._UZ(3,"input",24),s.TgZ(4,"div",15),s._uU(5," Company is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.company),s.xp6(),s.ekj("hidden",(null==V.form.controls.company?null:V.form.controls.company.valid)||(null==V.form.controls.company?null:V.form.controls.company.untouched))}}function kn($,ft){if(1&$&&(s.TgZ(0,"option",29),s._uU(1),s.qZA()),2&$){const V=ft.$implicit;s.Q6J("ngValue",V),s.xp6(),s.hij(" ",V," ")}}function di($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",25),s._uU(2,"Industry"),s.qZA(),s.TgZ(3,"select",26)(4,"option",27),s._uU(5,"Select Industry"),s.qZA(),s.SjG(6,kn,2,2,"option",30,s.x6l),s.qZA()(),s.TgZ(8,"div",28),s._uU(9," Industry is required "),s.qZA()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.industry),s.xp6(3),s.wJu(V.industries),s.xp6(2),s.ekj("hidden",(null==V.form.controls.industry?null:V.form.controls.industry.valid)||(null==V.form.controls.industry?null:V.form.controls.industry.untouched))}}function fi($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",31),s._uU(2,"Website"),s.qZA(),s._UZ(3,"input",32),s.TgZ(4,"div",15),s._uU(5," Please enter a valid URL. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.website),s.xp6(),s.ekj("hidden",(null==V.form.controls.website?null:V.form.controls.website.valid)||(null==V.form.controls.website?null:V.form.controls.website.untouched))}}function Ki($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",33),s._uU(2,"Agency Name"),s.qZA(),s._UZ(3,"input",34),s.TgZ(4,"div",15),s._uU(5," Agency Name is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.company),s.xp6(),s.ekj("hidden",(null==V.form.controls.company?null:V.form.controls.company.valid)||(null==V.form.controls.company?null:V.form.controls.company.untouched))}}function Oi($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",35),s._uU(2),s.qZA(),s._UZ(3,"input",36),s.TgZ(4,"div",15),s._uU(5," Text is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(2),s.Oqu(V.customText),s.xp6(),s.Q6J("formControl",V.form.controls.contentContributorNotes),s.xp6(),s.ekj("hidden",(null==V.form.controls.contentContributorNotes?null:V.form.controls.contentContributorNotes.valid)||(null==V.form.controls.contentContributorNotes?null:V.form.controls.contentContributorNotes.untouched))}}function Ji($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",37),s._uU(2,"Notes"),s.qZA(),s._UZ(3,"input",38),s.TgZ(4,"div",22),s._uU(5,"Text is required."),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.customerComments)}}function or($,ft){if(1&$&&(s.TgZ(0,"div",12)(1,"label",39),s._uU(2,"Please provide a brief description of your company and services."),s.qZA(),s._UZ(3,"input",40),s.TgZ(4,"div",15),s._uU(5," Description is required. "),s.qZA()()),2&$){const V=s.oxw(2);s.xp6(3),s.Q6J("formControl",V.form.controls.Product_Application_Overview__c),s.xp6(),s.ekj("hidden",(null==V.form.controls.Product_Application_Overview__c?null:V.form.controls.Product_Application_Overview__c.valid)||(null==V.form.controls.Product_Application_Overview__c?null:V.form.controls.Product_Application_Overview__c.untouched))}}function Kn($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"div",3)(1,"form",4),s.NdJ("ngSubmit",function(){s.CHM(V);const le=s.oxw();return s.KtG(le.onSubmit())}),s.YNc(2,oe,2,1,"h2",5),s.TgZ(3,"div",6),s.YNc(4,we,6,3,"div",7)(5,ht,6,3,"div",7)(6,bt,6,4,"div",7)(7,rn,6,1,"div",7)(8,Lt,6,3,"div",7)(9,di,10,3)(10,fi,6,3,"div",7)(11,Ki,6,3,"div",7)(12,Oi,6,4,"div",7)(13,Ji,6,1,"div",7)(14,or,6,3,"div",7),s.qZA(),s.TgZ(15,"div",8),s._uU(16," Your submission has encountered an error."),s._UZ(17,"br"),s._uU(18,"Please contact support. "),s.qZA(),s.TgZ(19,"button",9),s._UZ(20,"span",10),s._uU(21),s.qZA()()()}if(2&$){const V=s.oxw();s.xp6(),s.Q6J("formGroup",V.form),s.xp6(),s.um2(2,V.formHeader?2:-1),s.xp6(2),s.um2(4,V.showFirstName?4:-1),s.xp6(),s.um2(5,V.showLastName?5:-1),s.xp6(),s.um2(6,V.showEmail?6:-1),s.xp6(),s.um2(7,V.showPhone?7:-1),s.xp6(),s.um2(8,V.showCompany?8:-1),s.xp6(),s.um2(9,V.showIndustry?9:-1),s.xp6(),s.um2(10,V.showWebsite?10:-1),s.xp6(),s.um2(11,V.showAgencyName?11:-1),s.xp6(),s.um2(12,V.showContentContributorNotes?12:-1),s.xp6(),s.um2(13,V.showCustomerComments?13:-1),s.xp6(),s.um2(14,V.showDescription?14:-1),s.xp6(),s.Q6J("hidden",!V.error),s.xp6(4),s.Q6J("disabled",V.form.invalid||V.loading),s.xp6(),s.Q6J("hidden",!V.loading),s.xp6(),s.hij(" ",V.ctaText," ")}}let On=(()=>{class ${constructor(V,ee,le,Re){this.fb=V,this.marketoLeadService=ee,this.dataDogRumService=le,this.dataLayer=Re,this.loading=!1,this.error=!1,this.ctaText="Submit",this.customText="Tell us what you want to produce",this.previewState="ready",this.showFirstName=!0,this.showLastName=!0,this.showEmail=!0,this.showWebsite=!0,this.showCompany=!0,this.showIndustry=!0,this.showPhone=!1,this.showAgencyName=!1,this.showContentContributorNotes=!1,this.showCustomerComments=!1,this.showDescription=!1,this.builderBlock=null,this.builderState=null,this.successContent=null,this.formSuccess=new s.vpe,this.formReady=new s.vpe,this.formState="loading",this.submitDisabled=!0,this.industries=Oe.R,this.form=this.fb.group({firstName:new se.NI(""),lastName:new se.NI(""),email:new se.NI(""),company:new se.NI(""),phone:new se.NI(""),contentContributorNotes:new se.NI(""),customerComments:new se.NI(""),Product_Application_Overview__c:new se.NI(""),website:new se.NI(""),industry:new se.NI("")})}ngOnChanges(){this.setFieldVisibility()}ngOnInit(){this.form.statusChanges.subscribe(()=>{this.checkSubmitStatus()})}setFieldVisibility(){this.toggleControl(this.form.controls.firstName,this.showFirstName),this.toggleControl(this.form.controls.lastName,this.showLastName),this.toggleControl(this.form.controls.email,this.showEmail),this.toggleControl(this.form.controls.company,this.showCompany||this.showAgencyName),this.toggleControl(this.form.controls.phone,this.showPhone),this.toggleControl(this.form.controls.contentContributorNotes,this.showContentContributorNotes),this.toggleControl(this.form.controls.customerComments,this.showCustomerComments),this.toggleControl(this.form.controls.Product_Application_Overview__c,this.showDescription),this.toggleControl(this.form.controls.website,this.showWebsite),this.toggleControl(this.form.controls.industry,this.showIndustry)}toggleControl(V,ee){ee?(V.setValidators(se.kI.required),V.enable()):(V.clearValidators(),V.disable()),V.updateValueAndValidity()}checkSubmitStatus(){this.submitDisabled=!this.form.valid}onSubmit(){this.customEvent&&this.dataLayer.pushEvent(this.customEvent),this.afterSubmitUrl&&window.open(this.afterSubmitUrl,"_target"),this.loading=!0,this.marketoLeadService.pushLead(this.marketoProgram,this.marketoFields()).subscribe({next:()=>{this.loading=!1,this.formState="success",this.formSuccess.emit()},error:V=>{this.loading=!1,this.error=!0,this.dataDogRumService.addError(V)}})}marketoFields(){const V={};for(const ee in this.form.controls){const le=ee,Re=this.form.controls[le];Re?.value&&(V[le]=Re.value)}return V}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(se.qu),s.Y36(be.X),s.Y36(W.i),s.Y36(wi.n))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-custom-form"]],inputs:{ctaText:"ctaText",marketoProgram:"marketoProgram",formHeader:"formHeader",customText:"customText",customEvent:"customEvent",afterSubmitUrl:"afterSubmitUrl",previewState:"previewState",showFirstName:"showFirstName",showLastName:"showLastName",showEmail:"showEmail",showWebsite:"showWebsite",showCompany:"showCompany",showIndustry:"showIndustry",showPhone:"showPhone",showAgencyName:"showAgencyName",showContentContributorNotes:"showContentContributorNotes",showCustomerComments:"showCustomerComments",showDescription:"showDescription",builderBlock:"builderBlock",builderState:"builderState",successContent:"successContent"},outputs:{formSuccess:"formSuccess",formReady:"formReady"},standalone:!0,features:[s.TTD,s.jDz],decls:3,vars:5,consts:[[3,"hidden"],["dataPath","component.options.successContent",3,"blocks","builderState","builderBlock"],["class","col 12 mb-2"],[1,"col","12","mb-2"],[1,"w-100",3,"formGroup","ngSubmit"],["class","form-header"],[1,"fields"],["class","form-group"],[1,"text-danger","mb-2",3,"hidden"],["type","submit","id","cta-btn",1,"btn","btn-primary","rounded-pill","px-4","py-2","float-left",3,"disabled"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm","me-1",3,"hidden"],[1,"form-header"],[1,"form-group"],["for","formFirstName"],["type","text","id","formFirstName","name","firstName",1,"form-control",3,"formControl"],[1,"text-danger"],["for","formLastName"],["type","text","id","formLastName","name","lastName",1,"form-control",3,"formControl"],["for","formEmail"],["type","email","id","formEmail","name","email",1,"form-control",3,"formControl"],["for","formPhone"],["type","text","id","formPhone","name","phone",1,"form-control",3,"formControl"],[1,"text-danger","hidden"],["for","formCompany"],["type","text","id","formCompany","name","company",1,"form-control",3,"formControl"],["for","formIndustry"],["name","industry","id","formIndustry",1,"form-select",3,"formControl"],["value","","disabled","","selected",""],[1,"text-danger","error"],[1,"valid-options",3,"ngValue"],["class","valid-options",3,"ngValue"],["for","formWebsite"],["type","website","id","formWebsite","name","website",1,"form-control",3,"formControl"],["for","formAgencyName"],["type","text","id","formAgencyName","name","agencyName",1,"form-control",3,"formControl"],["for","formCustomTextBox"],["type","text","id","formCustomTextBox","name","contentContributorNotes",1,"form-control",3,"formControl"],["for","formcustomerComments"],["type","text","id","formCustomerComments","name","customerComments",1,"form-control",3,"formControl"],["for","formDescription"],["type","text","id","formDescription","name","Product_Application_Overview__c",1,"form-control",3,"formControl"]],template:function(ee,le){1&ee&&(s.TgZ(0,"div",0),s._UZ(1,"builder-blocks-outlet",1),s.qZA(),s.YNc(2,Kn,22,17,"div",2)),2&ee&&(s.Q6J("hidden","success"!==le.formState),s.xp6(),s.Q6J("blocks",le.successContent)("builderState",le.builderState)("builderBlock",le.builderBlock),s.xp6(),s.um2(2,"success"!==le.formState?2:-1))},dependencies:[se.UX,se._Y,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.oH,se.sg,wr.D,F.wR],styles:["[_nghost-%COMP%]{width:26rem;max-width:calc(100vw - 20px);border-radius:16px;background:#f4f3f1;padding:24px 30px;border-color:#f4f3f1;display:block;margin:0 auto}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]:focus{border-color:#126cd3;border-radius:4px;box-shadow:none}.text-danger[_ngcontent-%COMP%]{line-height:1.1;margin-top:.25rem}select[_ngcontent-%COMP%]:invalid{color:#999}.form-header[_ngcontent-%COMP%]{color:#0a142c;font-family:Gotham;font-size:22px;font-style:normal;font-weight:500;line-height:normal;letter-spacing:-.84px;margin-bottom:20px;text-align:center}label[_ngcontent-%COMP%]{margin-bottom:4px}.btn[_ngcontent-%COMP%]{align-self:flex-start;margin-top:2px}@media (max-width: 639.98px){[_nghost-%COMP%]{width:352px}.btn[_ngcontent-%COMP%]{width:100%!important}}"]})}return $})();(0,F.Bx)({tag:"app-custom-form",name:"Custom Form",inputs:[{name:"ctaText",type:"string"},{name:"formHeader",type:"string"},{name:"marketoProgram",type:"string"},{name:"customEvent",type:"string"},{name:"afterSubmitUrl",type:"string"},{name:"previewState",type:"string",enum:["ready","success"]},{name:"showFirstName",type:"boolean",defaultValue:!0},{name:"showLastName",type:"boolean",defaultValue:!0},{name:"showEmail",type:"boolean",defaultValue:!0},{name:"showWebsite",type:"boolean",defaultValue:!1},{name:"showCompany",type:"boolean",defaultValue:!1},{name:"showIndustry",type:"boolean",defaultValue:!1},{name:"showPhone",type:"boolean",defaultValue:!0},{name:"showAgencyName",type:"boolean",defaultValue:!1},{name:"showContentContributorNotes",type:"boolean",defaultValue:!1},{name:"showCustomerComments",type:"boolean",defaultValue:!1},{name:"showDescription",type:"boolean",defaultValue:!1},{name:"successContent",type:"blocks",hideFromUI:!0,helperText:"This is an editable region where you can drag and drop blocks.",defaultValue:[{"@type":"@builder.io/sdk:Element",component:{name:"Text",options:{text:"<h3>Thank you!</h3><p><br></p><p>A member of our team will be in touch soon with the next steps!</p>"}},responsiveStyles:{large:{display:"flex",flexDirection:"column",position:"relative",flexShrink:"0",boxSizing:"border-box",lineHeight:"normal",height:"auto",textAlign:"left"}}}]}]})(On);var Et=f(7319);let Vi=(()=>{class ${constructor(V){this.builder=V,this.ctaText="Submit",this.gated=!0,this.hideExtraFields=!1,this.builderBlock=null,this.builderState=null,this.successContent=null}ngOnChanges(V){V.previewState&&this.builder.editingMode&&this.contentHubForm.formState.set(this.previewState||"ready")}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(F.U6))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-progressive-profile-form"]],viewQuery:function(ee,le){if(1&ee&&s.Gf(Et.N,5),2&ee){let Re;s.iGM(Re=s.CRH())&&(le.contentHubForm=Re.first)}},inputs:{ctaText:"ctaText",formHeader:"formHeader",marketoProgram:"marketoProgram",gated:"gated",customEvent:"customEvent",afterSubmitUrl:"afterSubmitUrl",hideExtraFields:"hideExtraFields",previewState:"previewState",builderBlock:"builderBlock",builderState:"builderState",successContent:"successContent"},standalone:!0,features:[s.TTD,s.jDz],decls:2,vars:10,consts:[[3,"ctaText","formHeader","marketoProgram","gated","customEvent","afterSubmitUrl","hideExtraFields"],["dataPath","component.options.successContent",3,"blocks","builderState","builderBlock"]],template:function(ee,le){1&ee&&(s.TgZ(0,"app-content-hub-form",0),s._UZ(1,"builder-blocks-outlet",1),s.qZA()),2&ee&&(s.Q6J("ctaText",le.ctaText)("formHeader",le.formHeader)("marketoProgram",le.marketoProgram)("gated",le.gated)("customEvent",le.customEvent)("afterSubmitUrl",le.afterSubmitUrl)("hideExtraFields",le.hideExtraFields),s.xp6(),s.Q6J("blocks",le.successContent)("builderState",le.builderState)("builderBlock",le.builderBlock))},dependencies:[Et.N,wr.D,F.wR]})}return $})();(0,F.Bx)({tag:"app-progressive-profile-form",name:"Progressive Profile Form",inputs:[{name:"ctaText",type:"string"},{name:"formHeader",type:"string"},{name:"marketoProgram",type:"string"},{name:"gated",type:"boolean",defaultValue:!0},{name:"customEvent",type:"string"},{name:"afterSubmitUrl",type:"string"},{name:"hideExtraFields",type:"boolean",defaultValue:!1},{name:"previewState",type:"string",enum:["ready","success"]},{name:"successContent",type:"blocks",hideFromUI:!0,helperText:"This is an editable region where you can drag and drop blocks.",defaultValue:[{"@type":"@builder.io/sdk:Element",component:{name:"Text",options:{text:"<h3>Thank you for registering</h3><p><br></p><p>An email will be sent to you shortly</p>"}},responsiveStyles:{large:{display:"flex",flexDirection:"column",position:"relative",flexShrink:"0",boxSizing:"border-box",lineHeight:"normal",height:"auto",textAlign:"left"}}}]}]})(Vi);let Qi=(()=>{class ${constructor(){this.plans=["CT","FT","CI"],this.text="Start Free Trial"}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-signup-cta"]],inputs:{plans:"plans",text:"text"},standalone:!0,features:[s.jDz],decls:2,vars:2,consts:[["routerLink","/signup",3,"appPlans"]],template:function(ee,le){1&ee&&(s.TgZ(0,"a",0),s._uU(1),s.qZA()),2&ee&&(s.Q6J("appPlans",le.plans),s.xp6(),s.Oqu(le.text))},dependencies:[B.rH,rt.H],styles:["a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit;font-weight:inherit}"]})}return $})();function Xi($,ft){if(1&$&&(s.TgZ(0,"div",13),s._UZ(1,"input",14),s.qZA()),2&$){const V=s.oxw(2);s.xp6(),s.Q6J("formControl",V.form.controls.company)}}function Gr($,ft){if(1&$&&(s.TgZ(0,"div",13),s._UZ(1,"input",15),s.TgZ(2,"p",16)(3,"em"),s._uU(4,"Current customers: Use the email associated with your CallRail account"),s.qZA()()()),2&$){const V=s.oxw(2);s.xp6(),s.Q6J("formControl",V.form.controls.email)}}function en($,ft){if(1&$){const V=s.EpF();s.TgZ(0,"div",3)(1,"form",4),s.NdJ("ngSubmit",function(){s.CHM(V);const le=s.oxw();return s.KtG(le.onSubmit())}),s.TgZ(2,"div",5),s.YNc(3,Xi,2,1,"div",6)(4,Gr,5,1,"div",6),s.qZA(),s.TgZ(5,"div",7)(6,"button",8),s._UZ(7,"span",9),s._uU(8),s.qZA()(),s.TgZ(9,"div",10)(10,"button",11),s._UZ(11,"span",9),s._uU(12),s.qZA()(),s.TgZ(13,"div",12),s._uU(14," Please fill out both fields before submitting "),s.qZA()()()}if(2&$){const V=s.oxw();s.xp6(),s.Q6J("formGroup",V.form),s.xp6(2),s.um2(3,V.showCompany?3:-1),s.xp6(),s.um2(4,V.showEmail?4:-1),s.xp6(2),s.Q6J("disabled",V.form.invalid||V.loading),s.xp6(),s.Q6J("hidden",!V.loading),s.xp6(),s.hij(" ",V.ctaText," "),s.xp6(2),s.Q6J("disabled",V.form.invalid||V.loading),s.xp6(),s.Q6J("hidden",!V.loading),s.xp6(),s.hij(" ",V.ctaText," "),s.xp6(),s.Q6J("hidden",!V.error)}}(0,F.Bx)({tag:"app-signup-cta",name:"Signup CTA",inputs:[{name:"plans",type:"Tags",enum:Object.keys(Vn.Plans),defaultValue:["CT","FT","CI"]},{name:"text",type:"string",defaultValue:"Start Free Trial"}]})(Qi);let G=(()=>{class ${constructor(V,ee,le,Re){this.fb=V,this.marketoLeadService=ee,this.dataDogRumService=le,this.dataLayer=Re,this.loading=!1,this.error=!1,this.ctaText="Submit",this.previewState="ready",this.showEmail=!0,this.showCompany=!0,this.builderBlock=null,this.builderState=null,this.successContent=null,this.formSuccess=new s.vpe,this.formReady=new s.vpe,this.formState="loading",this.submitDisabled=!0,this.form=this.fb.group({email:new se.NI(""),company:new se.NI("")})}ngOnInit(){this.form=this.fb.group({email:new se.NI("",{nonNullable:!0,validators:[se.kI.required,se.kI.email]}),company:new se.NI("",{nonNullable:!0,validators:[se.kI.required]})}),this.form.statusChanges.subscribe(()=>{this.checkSubmitStatus()})}checkSubmitStatus(){this.submitDisabled=!this.form.valid}onSubmit(){this.customEvent&&this.dataLayer.pushEvent(this.customEvent),this.afterSubmitUrl&&window.open(this.afterSubmitUrl,"_target"),this.loading=!0,this.marketoLeadService.pushLead(this.marketoProgram,this.marketoFields()).subscribe({next:()=>{this.loading=!1,this.formState="success",this.formSuccess.emit()},error:V=>{this.loading=!1,this.error=!0,this.dataDogRumService.addError(V)}})}marketoFields(){const V={};for(const ee in this.form.controls){const le=ee,Re=this.form.controls[le];Re?.value&&(V[le]=Re.value)}return V}startGradientAnimation(V){const ee=document.querySelector(V);if(ee){let le=0;this.rotateGradient=()=>{le=(le+2)%360,ee.style.setProperty("--gradient-angle",`${le}deg`),requestAnimationFrame(this.rotateGradient)},this.rotateGradient()}}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(se.qu),s.Y36(be.X),s.Y36(W.i),s.Y36(wi.n))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-voice-assist-form"]],inputs:{ctaText:"ctaText",marketoProgram:"marketoProgram",customEvent:"customEvent",afterSubmitUrl:"afterSubmitUrl",previewState:"previewState",showEmail:"showEmail",showCompany:"showCompany",builderBlock:"builderBlock",builderState:"builderState",successContent:"successContent"},outputs:{formSuccess:"formSuccess",formReady:"formReady"},standalone:!0,features:[s.jDz],decls:3,vars:5,consts:[["class","col 12 mb-2"],[3,"hidden"],["dataPath","component.options.successContent",3,"blocks","builderState","builderBlock"],[1,"col","12","mb-2"],[3,"formGroup","ngSubmit"],[1,"fields"],["class","form-group"],[1,"d-none","d-lg-block","text-center"],["type","submit","id","cta-btn",1,"button-border","border-gradient",3,"disabled"],["role","status","aria-hidden","true",1,"spinner-grow","spinner-grow-sm","me-1",3,"hidden"],[1,"d-block","d-lg-none","text-center","d-grid","gap-2"],["type","submit","id","cta-btn",1,"mobile-button",3,"disabled"],[1,"text-danger","mb-2",3,"hidden"],[1,"form-group"],["type","text","id","formCompany","name","company","placeholder","Company name",1,"form-control",3,"formControl"],["type","email","id","formEmail","name","email","placeholder","Work email",1,"form-control",3,"formControl"],[1,"email-msg","mt-1"]],template:function(ee,le){1&ee&&(s.YNc(0,en,15,10,"div",0),s.TgZ(1,"div",1),s._UZ(2,"builder-blocks-outlet",2),s.qZA()),2&ee&&(s.um2(0,"success"!==le.formState?0:-1),s.xp6(),s.Q6J("hidden","success"!==le.formState),s.xp6(),s.Q6J("blocks",le.successContent)("builderState",le.builderState)("builderBlock",le.builderBlock))},dependencies:[se.UX,se._Y,se.Fj,se.JJ,se.JL,se.oH,se.sg,wr.D,F.wR],styles:["[_nghost-%COMP%]{width:37rem;max-width:calc(100vw - 20px);border-radius:16px;background:#fff;border-color:#f4f3f1;display:block;margin-right:auto}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}.form-control[_ngcontent-%COMP%]:focus{border-color:#126cd3;border-radius:4px;box-shadow:none}.text-danger[_ngcontent-%COMP%]{line-height:1.1;margin-top:.25rem}select[_ngcontent-%COMP%]:invalid{color:#999}.voice-assist[_ngcontent-%COMP%]{color:#7b61ff}.email-msg[_ngcontent-%COMP%]{color:#4c545d;font-family:Source Sans Pro;font-size:10px;font-style:normal;font-weight:400;line-height:150%;letter-spacing:.1px;margin-bottom:-5px;margin-right:auto}.border-gradient[_ngcontent-%COMP%]{--c: #fff;--p: 15%;background:linear-gradient(var(--c),var(--c)) padding-box,conic-gradient(from var(--gradient-angle, 0deg),transparent,#a7e5e4 var(--p),#a9caf4 calc(var(--p) * 2),#c5c0f4 calc(var(--p) * 3),#eabdda calc(var(--p) * 4),#fbdcbd calc(var(--p) * 5),transparent calc(var(--p) * 6)) border-box;border:2px solid transparent;background-clip:padding-box,border-box}.border-gradient[_ngcontent-%COMP%]:hover{--c: #7b61ff;--p: 15%;background:linear-gradient(var(--c),var(--c)) padding-box,conic-gradient(from var(--gradient-angle, 0deg),transparent,#a7e5e4 var(--p),#a9caf4 calc(var(--p) * 2),#c5c0f4 calc(var(--p) * 3),#eabdda calc(var(--p) * 4),#fbdcbd calc(var(--p) * 5),transparent calc(var(--p) * 6)) border-box;border:2px solid transparent;background-clip:padding-box,border-box}label[_ngcontent-%COMP%]{margin-bottom:4px}.form-control[_ngcontent-%COMP%]{font-family:Source Sans Pro;max-width:345px;border-radius:4px;background:var(--greyscale-old-1-white, #fff);margin-bottom:-1px}.form-control[_ngcontent-%COMP%]::placeholder{color:#9ba3ad;font-family:Source Sans Pro;font-size:16px;font-style:normal;font-weight:400;line-height:26.661px}.btn[_ngcontent-%COMP%]{align-self:flex-start;margin-top:2px}button[_ngcontent-%COMP%], button[role=button][_ngcontent-%COMP%]{display:flex;width:350px;padding:10px 24px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:18px;font-weight:600;border-radius:4px}button[_ngcontent-%COMP%]:hover, button[role=button][_ngcontent-%COMP%]:hover{color:#fff;cursor:url(/assets/svg/purple_cursor.svg) 16 16,pointer!important}button[_ngcontent-%COMP%]:disabled, button[disabled][_ngcontent-%COMP%]{pointer-events:none}@media (max-width: 991.98px){.mobile-button[_ngcontent-%COMP%]{background-color:#7b61ff;color:#fff;border:none}}"]})}return $})();(0,F.Bx)({tag:"app-voice-assist-form",name:"Voice Assist Form",inputs:[{name:"ctaText",type:"string"},{name:"formHeader",type:"string"},{name:"marketoProgram",type:"string"},{name:"customEvent",type:"string"},{name:"afterSubmitUrl",type:"string"},{name:"previewState",type:"string",enum:["ready","success"]},{name:"showEmail",type:"boolean",defaultValue:!0},{name:"showCompany",type:"boolean",defaultValue:!1},{name:"successContent",type:"blocks",hideFromUI:!0,helperText:"This is an editable region where you can drag and drop blocks.",defaultValue:[{"@type":"@builder.io/sdk:Element",component:{name:"Text",options:{text:"<p>Thank you! We\u2019ve received your information and will be in touch.</p>"}},responsiveStyles:{large:{display:"flex",flexDirection:"column",position:"relative",flexShrink:"0",boxSizing:"border-box",lineHeight:"normal",height:"auto",textAlign:"left"}}}]}]})(G);const ie=$=>({"wistia-video-overlay":$}),te=($,ft)=>["wistia-embed","wistia_embed",$,ft,"videoFoam=true"];function Pe($,ft){if(1&$&&(s.TgZ(0,"div",1),s._UZ(1,"div",2),s.TgZ(2,"div",3),s._uU(3," \xa0 "),s.qZA()()),2&$){const V=s.oxw();s.Q6J("ngClass",s.VKq(4,ie,V.showOverlay)),s.xp6(),s.ekj("overlay-hidden",!V.showOverlay),s.xp6(),s.Q6J("ngClass",s.WLB(6,te,"wistia_async_"+V.videoId,"autoPlay="+V.autoPlay))}}let je=(()=>{class ${constructor(V){this.renderer=V,this.autoPlay=!1,this.showOverlay=!1}ngOnInit(){const V=this.renderer.createElement("script");if(V.src=`//fast.wistia.com/embed/medias/${this.videoId}.jsonp`,!document.getElementById("wistia-script")){const ee=this.renderer.createElement("script");ee.id="wistia-script",ee.src="//fast.wistia.com/assets/external/E-v1.js",this.renderer.appendChild(document.head,ee)}this.renderer.appendChild(document.head,V)}static#e=this.\u0275fac=function(ee){return new(ee||$)(s.Y36(s.Qsj))};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-wistia-video"]],inputs:{videoId:"videoId",autoPlay:"autoPlay",showOverlay:"showOverlay"},standalone:!0,features:[s.jDz],decls:1,vars:1,consts:[["class","wistia-video",3,"ngClass"],[1,"wistia-video",3,"ngClass"],[1,"overlay"],[2,"height","100%","width","100%",3,"ngClass"]],template:function(ee,le){1&ee&&s.YNc(0,Pe,4,9,"div",0),2&ee&&s.um2(0,le.videoId?0:-1)},dependencies:[r.mk,wr.D],styles:[".wistia-video[_ngcontent-%COMP%]{position:relative;z-index:0;aspect-ratio:16/9;width:100%;overflow-x:clip}.wistia-video.wistia-video-overlay[_ngcontent-%COMP%]{object-position:center}.wistia-embed[_ngcontent-%COMP%]{display:flex;align-items:center}.overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#eaedf1e6;z-index:1;transition:opacity .15s ease-out}.overlay-hidden[_ngcontent-%COMP%]{opacity:0;pointer-events:none}.form-control[_ngcontent-%COMP%]{border-bottom:.1rem solid #388aed!important}.btn[_ngcontent-%COMP%]{background-color:#eaedf1;color:#272b2f;font-size:.9rem}.btn[_ngcontent-%COMP%]:hover{color:#fff;background-color:#272b2f}"]})}return $})(),Qe=(()=>{class ${constructor(){this.formFills=0,this.showForm=!1,this.pushLeadOnPlay=!1,this.ready=!1}ngOnInit(){window._wq=window._wq||[],window._wq.push({id:this.videoId,onReady:V=>{this.pushLeadOnPlay&&V.bind("play",()=>(this.contentHubForm.onSubmit(),V.unbind))}})}onReady(){this.ready=!0,this.formFills>=2?(this.showForm=!1,this.pushLeadOnPlay=!0):this.showForm=!0}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275cmp=s.Xpm({type:$,selectors:[["app-wistia-video-form"]],viewQuery:function(ee,le){if(1&ee&&s.Gf(Et.N,5),2&ee){let Re;s.iGM(Re=s.CRH())&&(le.contentHubForm=Re.first)}},inputs:{videoId:"videoId",marketoProgramName:"marketoProgramName"},standalone:!0,features:[s.jDz],decls:4,vars:4,consts:[[3,"videoId","showOverlay"],[1,"ch-form","form-card","card","rounded-3","shadow-lg","border-0",3,"hidden"],[1,"card-body","p-0"],["formHeader","Watch the webinar","ctaText","View now","customEvent","Watched Learn Video",1,"video-form",3,"marketoProgram","formSuccess","formPrefilled","formReady"]],template:function(ee,le){1&ee&&(s._UZ(0,"app-wistia-video",0),s.TgZ(1,"div",1)(2,"div",2)(3,"app-content-hub-form",3),s.NdJ("formSuccess",function(){return le.showForm=!1})("formPrefilled",function(At){return le.formFills=At})("formReady",function(){return le.onReady()}),s.qZA()()()),2&ee&&(s.Q6J("videoId",le.videoId)("showOverlay",le.showForm||!le.ready),s.xp6(),s.Q6J("hidden",!le.showForm),s.xp6(2),s.Q6J("marketoProgram",le.marketoProgramName))},dependencies:[je,Et.N],styles:['[_nghost-%COMP%]{width:100%;display:grid;grid-template-areas:"main";place-items:center center}app-wistia-video[_ngcontent-%COMP%]{width:100%;grid-area:main;max-width:calc(100vw - 60px)}app-content-hub-form[_ngcontent-%COMP%]{max-width:calc(100vw - 40px)}.ch-form[_ngcontent-%COMP%]{grid-area:main}']})}return $})();(0,F.Bx)({tag:"app-wistia-video-form",name:"Wistia Video Form",inputs:[{name:"videoId",type:"string"},{name:"marketoProgramName",type:"string"}]})(Qe);let it=(()=>{class ${intercept(V,ee){return!Z.N.CONDUCTOR_BASE_URL||V.url.startsWith("http")||V.url.startsWith(".netlify")?ee.handle(V):ee.handle(V.clone({url:`${Z.N.CONDUCTOR_BASE_URL}/${V.url}`}))}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275prov=s.Yz7({token:$,factory:$.\u0275fac})}return $})(),Tt=(()=>{class ${constructor(){this.styleId="vwo-anti-flicker-style"}init(){if(!document.getElementById(this.styleId)){const V=document.createElement("style");V.id=this.styleId,V.textContent="\n /* Anti-flicker styles for VWO A/B tests */\n /* Hide all variations by default to prevent flicker */\n /* VWO will show the appropriate variation when it loads */\n [data-test-id='version-1'],\n [data-test-id='version-2'],\n [data-test-id='version-3'] {\n display: none !important;\n }\n ";const ee=document.head||document.getElementsByTagName("head")[0];ee.insertBefore(V,ee.firstChild)}}static#e=this.\u0275fac=function(ee){return new(ee||$)};static#t=this.\u0275prov=s.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();Z.N.production&&(0,s.G48)(),(0,H.Cg)(Wn,{providers:[{provide:B.wN,useClass:class yt extends B.OC{get shouldReuseRoute(){return(ft,V)=>{if(ft.routeConfig?.path===V.routeConfig?.path){const ee=ft.params,le=V.params;if(Object.keys(ee).length>0||Object.keys(le).length>0){const Re=new Set([...Object.keys(ee),...Object.keys(le)]);for(const At of Re)if(ee[At]!==le[At])return!1}}return ft.routeConfig===V.routeConfig&&"**"!==ft.routeConfig?.path}}set shouldReuseRoute(ft){}}},{provide:r.mr,useValue:window.location.origin+"/"},{provide:w.TP,useClass:it,multi:!0},{provide:B.Hx,useClass:class Ut extends B.sz{parse(ft){const V=ft.split("?")[0],ee=ft.split("?")[1]||"";return super.parse(V.toLowerCase()+(""!==ee?`?${ee}`:""))}}},(0,s.RIp)(oi,wr.D,w.JF),{provide:s.ip1,useFactory:$=>()=>$.init(),deps:[W.i],multi:!0},{provide:s.ip1,useFactory:$=>()=>$.init(),deps:[Tt],multi:!0},Qi,Vi,Qe,On,G]})},634:k=>{function f(B,F){var z,Z;if(0===F.length)return B;for(z=0,Z=F.length;z<Z;z++)B=(B<<5)-B+F.charCodeAt(z),B|=0;return B<0?-2*B:B}function w(B,F,z,Y){var Z=f(f(f(B,z),function s(B){return Object.prototype.toString.call(B)}(F)),typeof F);if(null===F)return f(Z,"null");if(void 0===F)return f(Z,"undefined");if("object"==typeof F||"function"==typeof F){if(-1!==Y.indexOf(F))return f(Z,"[Circular]"+z);Y.push(F);var q=function r(B,F,z){return Object.keys(F).sort().reduce(function Y(Z,q){return w(Z,F[q],q,z)},B)}(Z,F,Y);if(!("valueOf"in F)||"function"!=typeof F.valueOf)return q;try{return f(q,String(F.valueOf()))}catch(Q){return f(q,"[valueOf exception]"+(Q.stack||Q.message))}}return f(Z,F.toString())}k.exports=function H(B){return function E(B,F){for(;B.length<F;)B="0"+B;return B}(w(0,B,"",[]).toString(16),8)}},5619:(k,E,f)=>{f.d(E,{X:()=>w});var r=f(8645);class w extends r.x{constructor(H){super(),this._value=H}get value(){return this.getValue()}_subscribe(H){const B=super._subscribe(H);return!B.closed&&H.next(this._value),B}getValue(){const{hasError:H,thrownError:B,_value:F}=this;if(H)throw B;return this._throwIfClosed(),F}next(H){super.next(this._value=H)}}},5592:(k,E,f)=>{f.d(E,{y:()=>Y});var r=f(305),w=f(7394),s=f(4850),H=f(8407),B=f(2653),F=f(4674),z=f(1441);let Y=(()=>{class X{constructor(ge){ge&&(this._subscribe=ge)}lift(ge){const Me=new X;return Me.source=this,Me.operator=ge,Me}subscribe(ge,Me,Ye){const tt=function Q(X){return X&&X instanceof r.Lv||function q(X){return X&&(0,F.m)(X.next)&&(0,F.m)(X.error)&&(0,F.m)(X.complete)}(X)&&(0,w.Nn)(X)}(ge)?ge:new r.Hp(ge,Me,Ye);return(0,z.x)(()=>{const{operator:Ct,source:rt}=this;tt.add(Ct?Ct.call(tt,rt):rt?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(ge){try{return this._subscribe(ge)}catch(Me){ge.error(Me)}}forEach(ge,Me){return new(Me=Z(Me))((Ye,tt)=>{const Ct=new r.Hp({next:rt=>{try{ge(rt)}catch(_t){tt(_t),Ct.unsubscribe()}},error:tt,complete:Ye});this.subscribe(Ct)})}_subscribe(ge){var Me;return null===(Me=this.source)||void 0===Me?void 0:Me.subscribe(ge)}[s.L](){return this}pipe(...ge){return(0,H.U)(ge)(this)}toPromise(ge){return new(ge=Z(ge))((Me,Ye)=>{let tt;this.subscribe(Ct=>tt=Ct,Ct=>Ye(Ct),()=>Me(tt))})}}return X.create=se=>new X(se),X})();function Z(X){var se;return null!==(se=X??B.config.Promise)&&void 0!==se?se:Promise}},7328:(k,E,f)=>{f.d(E,{t:()=>s});var r=f(8645),w=f(4552);class s extends r.x{constructor(B=1/0,F=1/0,z=w.l){super(),this._bufferSize=B,this._windowTime=F,this._timestampProvider=z,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=F===1/0,this._bufferSize=Math.max(1,B),this._windowTime=Math.max(1,F)}next(B){const{isStopped:F,_buffer:z,_infiniteTimeWindow:Y,_timestampProvider:Z,_windowTime:q}=this;F||(z.push(B),!Y&&z.push(Z.now()+q)),this._trimBuffer(),super.next(B)}_subscribe(B){this._throwIfClosed(),this._trimBuffer();const F=this._innerSubscribe(B),{_infiniteTimeWindow:z,_buffer:Y}=this,Z=Y.slice();for(let q=0;q<Z.length&&!B.closed;q+=z?1:2)B.next(Z[q]);return this._checkFinalizedStatuses(B),F}_trimBuffer(){const{_bufferSize:B,_timestampProvider:F,_buffer:z,_infiniteTimeWindow:Y}=this,Z=(Y?1:2)*B;if(B<1/0&&Z<z.length&&z.splice(0,z.length-Z),!Y){const q=F.now();let Q=0;for(let X=1;X<z.length&&z[X]<=q;X+=2)Q=X;Q&&z.splice(0,Q+1)}}}},8645:(k,E,f)=>{f.d(E,{x:()=>z});var r=f(5592),w=f(7394);const H=(0,f(2306).d)(Z=>function(){Z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=f(9039),F=f(1441);let z=(()=>{class Z extends r.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Q){const X=new Y(this,this);return X.operator=Q,X}_throwIfClosed(){if(this.closed)throw new H}next(Q){(0,F.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const X of this.currentObservers)X.next(Q)}})}error(Q){(0,F.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Q;const{observers:X}=this;for(;X.length;)X.shift().error(Q)}})}complete(){(0,F.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Q}=this;for(;Q.length;)Q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Q;return(null===(Q=this.observers)||void 0===Q?void 0:Q.length)>0}_trySubscribe(Q){return this._throwIfClosed(),super._trySubscribe(Q)}_subscribe(Q){return this._throwIfClosed(),this._checkFinalizedStatuses(Q),this._innerSubscribe(Q)}_innerSubscribe(Q){const{hasError:X,isStopped:se,observers:ge}=this;return X||se?w.Lc:(this.currentObservers=null,ge.push(Q),new w.w0(()=>{this.currentObservers=null,(0,B.P)(ge,Q)}))}_checkFinalizedStatuses(Q){const{hasError:X,thrownError:se,isStopped:ge}=this;X?Q.error(se):ge&&Q.complete()}asObservable(){const Q=new r.y;return Q.source=this,Q}}return Z.create=(q,Q)=>new Y(q,Q),Z})();class Y extends z{constructor(q,Q){super(),this.destination=q,this.source=Q}next(q){var Q,X;null===(X=null===(Q=this.destination)||void 0===Q?void 0:Q.next)||void 0===X||X.call(Q,q)}error(q){var Q,X;null===(X=null===(Q=this.destination)||void 0===Q?void 0:Q.error)||void 0===X||X.call(Q,q)}complete(){var q,Q;null===(Q=null===(q=this.destination)||void 0===q?void 0:q.complete)||void 0===Q||Q.call(q)}_subscribe(q){var Q,X;return null!==(X=null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(q))&&void 0!==X?X:w.Lc}}},305:(k,E,f)=>{f.d(E,{Hp:()=>Ye,Lv:()=>X});var r=f(4674),w=f(7394),s=f(2653),H=f(3894),B=f(2420);const F=Z("C",void 0,void 0);function Z(Ie,Ee,et){return{kind:Ie,value:Ee,error:et}}var q=f(7599),Q=f(1441);class X extends w.w0{constructor(Ee){super(),this.isStopped=!1,Ee?(this.destination=Ee,(0,w.Nn)(Ee)&&Ee.add(this)):this.destination=_t}static create(Ee,et,Ke){return new Ye(Ee,et,Ke)}next(Ee){this.isStopped?rt(function Y(Ie){return Z("N",Ie,void 0)}(Ee),this):this._next(Ee)}error(Ee){this.isStopped?rt(function z(Ie){return Z("E",void 0,Ie)}(Ee),this):(this.isStopped=!0,this._error(Ee))}complete(){this.isStopped?rt(F,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ee){this.destination.next(Ee)}_error(Ee){try{this.destination.error(Ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const se=Function.prototype.bind;function ge(Ie,Ee){return se.call(Ie,Ee)}class Me{constructor(Ee){this.partialObserver=Ee}next(Ee){const{partialObserver:et}=this;if(et.next)try{et.next(Ee)}catch(Ke){tt(Ke)}}error(Ee){const{partialObserver:et}=this;if(et.error)try{et.error(Ee)}catch(Ke){tt(Ke)}else tt(Ee)}complete(){const{partialObserver:Ee}=this;if(Ee.complete)try{Ee.complete()}catch(et){tt(et)}}}class Ye extends X{constructor(Ee,et,Ke){let de;if(super(),(0,r.m)(Ee)||!Ee)de={next:Ee??void 0,error:et??void 0,complete:Ke??void 0};else{let pe;this&&s.config.useDeprecatedNextContext?(pe=Object.create(Ee),pe.unsubscribe=()=>this.unsubscribe(),de={next:Ee.next&&ge(Ee.next,pe),error:Ee.error&&ge(Ee.error,pe),complete:Ee.complete&&ge(Ee.complete,pe)}):de=Ee}this.destination=new Me(de)}}function tt(Ie){s.config.useDeprecatedSynchronousErrorHandling?(0,Q.O)(Ie):(0,H.h)(Ie)}function rt(Ie,Ee){const{onStoppedNotification:et}=s.config;et&&q.z.setTimeout(()=>et(Ie,Ee))}const _t={closed:!0,next:B.Z,error:function Ct(Ie){throw Ie},complete:B.Z}},7394:(k,E,f)=>{f.d(E,{Lc:()=>F,w0:()=>B,Nn:()=>z});var r=f(4674);const s=(0,f(2306).d)(Z=>function(Q){Z(this),this.message=Q?`${Q.length} errors occurred during unsubscription:\n${Q.map((X,se)=>`${se+1}) ${X.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Q});var H=f(9039);class B{constructor(q){this.initialTeardown=q,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let q;if(!this.closed){this.closed=!0;const{_parentage:Q}=this;if(Q)if(this._parentage=null,Array.isArray(Q))for(const ge of Q)ge.remove(this);else Q.remove(this);const{initialTeardown:X}=this;if((0,r.m)(X))try{X()}catch(ge){q=ge instanceof s?ge.errors:[ge]}const{_finalizers:se}=this;if(se){this._finalizers=null;for(const ge of se)try{Y(ge)}catch(Me){q=q??[],Me instanceof s?q=[...q,...Me.errors]:q.push(Me)}}if(q)throw new s(q)}}add(q){var Q;if(q&&q!==this)if(this.closed)Y(q);else{if(q instanceof B){if(q.closed||q._hasParent(this))return;q._addParent(this)}(this._finalizers=null!==(Q=this._finalizers)&&void 0!==Q?Q:[]).push(q)}}_hasParent(q){const{_parentage:Q}=this;return Q===q||Array.isArray(Q)&&Q.includes(q)}_addParent(q){const{_parentage:Q}=this;this._parentage=Array.isArray(Q)?(Q.push(q),Q):Q?[Q,q]:q}_removeParent(q){const{_parentage:Q}=this;Q===q?this._parentage=null:Array.isArray(Q)&&(0,H.P)(Q,q)}remove(q){const{_finalizers:Q}=this;Q&&(0,H.P)(Q,q),q instanceof B&&q._removeParent(this)}}B.EMPTY=(()=>{const Z=new B;return Z.closed=!0,Z})();const F=B.EMPTY;function z(Z){return Z instanceof B||Z&&"closed"in Z&&(0,r.m)(Z.remove)&&(0,r.m)(Z.add)&&(0,r.m)(Z.unsubscribe)}function Y(Z){(0,r.m)(Z)?Z():Z.unsubscribe()}},2653:(k,E,f)=>{f.d(E,{config:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5211:(k,E,f)=>{f.d(E,{z:()=>B});var r=f(7537),s=f(9940),H=f(7715);function B(...F){return function w(){return(0,r.J)(1)}()((0,H.D)(F,(0,s.yG)(F)))}},6232:(k,E,f)=>{f.d(E,{E:()=>w});const w=new(f(5592).y)(B=>B.complete())},7715:(k,E,f)=>{f.d(E,{D:()=>Ke});var r=f(4829),w=f(7103),s=f(9360),H=f(8251);function B(de,pe=0){return(0,s.e)((Te,Le)=>{Te.subscribe((0,H.x)(Le,ze=>(0,w.f)(Le,de,()=>Le.next(ze),pe),()=>(0,w.f)(Le,de,()=>Le.complete(),pe),ze=>(0,w.f)(Le,de,()=>Le.error(ze),pe)))})}function F(de,pe=0){return(0,s.e)((Te,Le)=>{Le.add(de.schedule(()=>Te.subscribe(Le),pe))})}var Z=f(5592),Q=f(4971),X=f(4674);function ge(de,pe){if(!de)throw new Error("Iterable cannot be null");return new Z.y(Te=>{(0,w.f)(Te,pe,()=>{const Le=de[Symbol.asyncIterator]();(0,w.f)(Te,pe,()=>{Le.next().then(ze=>{ze.done?Te.complete():Te.next(ze.value)})},0,!0)})})}var Me=f(8382),Ye=f(4026),tt=f(4266),Ct=f(3664),rt=f(5726),_t=f(9853),Ie=f(541);function Ke(de,pe){return pe?function et(de,pe){if(null!=de){if((0,Me.c)(de))return function z(de,pe){return(0,r.Xf)(de).pipe(F(pe),B(pe))}(de,pe);if((0,tt.z)(de))return function q(de,pe){return new Z.y(Te=>{let Le=0;return pe.schedule(function(){Le===de.length?Te.complete():(Te.next(de[Le++]),Te.closed||this.schedule())})})}(de,pe);if((0,Ye.t)(de))return function Y(de,pe){return(0,r.Xf)(de).pipe(F(pe),B(pe))}(de,pe);if((0,rt.D)(de))return ge(de,pe);if((0,Ct.T)(de))return function se(de,pe){return new Z.y(Te=>{let Le;return(0,w.f)(Te,pe,()=>{Le=de[Q.h](),(0,w.f)(Te,pe,()=>{let ze,Ve;try{({value:ze,done:Ve}=Le.next())}catch(He){return void Te.error(He)}Ve?Te.complete():Te.next(ze)},0,!0)}),()=>(0,X.m)(Le?.return)&&Le.return()})}(de,pe);if((0,Ie.L)(de))return function Ee(de,pe){return ge((0,Ie.Q)(de),pe)}(de,pe)}throw(0,_t.z)(de)}(de,pe):(0,r.Xf)(de)}},4829:(k,E,f)=>{f.d(E,{Xf:()=>se});var r=f(7582),w=f(4266),s=f(4026),H=f(5592),B=f(8382),F=f(5726),z=f(9853),Y=f(3664),Z=f(541),q=f(4674),Q=f(3894),X=f(4850);function se(Ie){if(Ie instanceof H.y)return Ie;if(null!=Ie){if((0,B.c)(Ie))return function ge(Ie){return new H.y(Ee=>{const et=Ie[X.L]();if((0,q.m)(et.subscribe))return et.subscribe(Ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ie);if((0,w.z)(Ie))return function Me(Ie){return new H.y(Ee=>{for(let et=0;et<Ie.length&&!Ee.closed;et++)Ee.next(Ie[et]);Ee.complete()})}(Ie);if((0,s.t)(Ie))return function Ye(Ie){return new H.y(Ee=>{Ie.then(et=>{Ee.closed||(Ee.next(et),Ee.complete())},et=>Ee.error(et)).then(null,Q.h)})}(Ie);if((0,F.D)(Ie))return Ct(Ie);if((0,Y.T)(Ie))return function tt(Ie){return new H.y(Ee=>{for(const et of Ie)if(Ee.next(et),Ee.closed)return;Ee.complete()})}(Ie);if((0,Z.L)(Ie))return function rt(Ie){return Ct((0,Z.Q)(Ie))}(Ie)}throw(0,z.z)(Ie)}function Ct(Ie){return new H.y(Ee=>{(function _t(Ie,Ee){var et,Ke,de,pe;return(0,r.mG)(this,void 0,void 0,function*(){try{for(et=(0,r.KL)(Ie);!(Ke=yield et.next()).done;)if(Ee.next(Ke.value),Ee.closed)return}catch(Te){de={error:Te}}finally{try{Ke&&!Ke.done&&(pe=et.return)&&(yield pe.call(et))}finally{if(de)throw de.error}}Ee.complete()})})(Ie,Ee).catch(et=>Ee.error(et))})}},3019:(k,E,f)=>{f.d(E,{T:()=>F});var r=f(7537),w=f(4829),s=f(6232),H=f(9940),B=f(7715);function F(...z){const Y=(0,H.yG)(z),Z=(0,H._6)(z,1/0),q=z;return q.length?1===q.length?(0,w.Xf)(q[0]):(0,r.J)(Z)((0,B.D)(q,Y)):s.E}},2096:(k,E,f)=>{f.d(E,{of:()=>s});var r=f(9940),w=f(7715);function s(...H){const B=(0,r.yG)(H);return(0,w.D)(H,B)}},4825:(k,E,f)=>{f.d(E,{H:()=>B});var r=f(5592),w=f(2832),s=f(671);function B(F=0,z,Y=w.P){let Z=-1;return null!=z&&((0,s.K)(z)?Y=z:Z=z),new r.y(q=>{let Q=function H(F){return F instanceof Date&&!isNaN(F)}(F)?+F-Y.now():F;Q<0&&(Q=0);let X=0;return Y.schedule(function(){q.closed||(q.next(X++),0<=Z?this.schedule(void 0,Z):q.complete())},Q)})}},8251:(k,E,f)=>{f.d(E,{x:()=>w});var r=f(305);function w(H,B,F,z,Y){return new s(H,B,F,z,Y)}class s extends r.Lv{constructor(B,F,z,Y,Z,q){super(B),this.onFinalize=Z,this.shouldUnsubscribe=q,this._next=F?function(Q){try{F(Q)}catch(X){B.error(X)}}:super._next,this._error=Y?function(Q){try{Y(Q)}catch(X){B.error(X)}finally{this.unsubscribe()}}:super._error,this._complete=z?function(){try{z()}catch(Q){B.error(Q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:F}=this;super.unsubscribe(),!F&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},6306:(k,E,f)=>{f.d(E,{K:()=>H});var r=f(4829),w=f(8251),s=f(9360);function H(B){return(0,s.e)((F,z)=>{let q,Y=null,Z=!1;Y=F.subscribe((0,w.x)(z,void 0,void 0,Q=>{q=(0,r.Xf)(B(Q,H(B)(F))),Y?(Y.unsubscribe(),Y=null,q.subscribe(z)):Z=!0})),Z&&(Y.unsubscribe(),Y=null,q.subscribe(z))})}},6328:(k,E,f)=>{f.d(E,{b:()=>s});var r=f(1631),w=f(4674);function s(H,B){return(0,w.m)(B)?(0,r.z)(H,B,1):(0,r.z)(H,1)}},3572:(k,E,f)=>{f.d(E,{d:()=>s});var r=f(9360),w=f(8251);function s(H){return(0,r.e)((B,F)=>{let z=!1;B.subscribe((0,w.x)(F,Y=>{z=!0,F.next(Y)},()=>{z||F.next(H),F.complete()}))})}},5177:(k,E,f)=>{f.d(E,{g:()=>se});var r=f(2832),w=f(5211),s=f(8180),H=f(9360),B=f(8251),F=f(2420),Y=f(975),Z=f(1631),q=f(4829);function Q(ge,Me){return Me?Ye=>(0,w.z)(Me.pipe((0,s.q)(1),function z(){return(0,H.e)((ge,Me)=>{ge.subscribe((0,B.x)(Me,F.Z))})}()),Ye.pipe(Q(ge))):(0,Z.z)((Ye,tt)=>(0,q.Xf)(ge(Ye,tt)).pipe((0,s.q)(1),(0,Y.h)(Ye)))}var X=f(4825);function se(ge,Me=r.z){const Ye=(0,X.H)(ge,Me);return Q(()=>Ye)}},3997:(k,E,f)=>{f.d(E,{x:()=>H});var r=f(2737),w=f(9360),s=f(8251);function H(F,z=r.y){return F=F??B,(0,w.e)((Y,Z)=>{let q,Q=!0;Y.subscribe((0,s.x)(Z,X=>{const se=z(X);(Q||!F(q,se))&&(Q=!1,q=se,Z.next(X))}))})}function B(F,z){return F===z}},2181:(k,E,f)=>{f.d(E,{h:()=>s});var r=f(9360),w=f(8251);function s(H,B){return(0,r.e)((F,z)=>{let Y=0;F.subscribe((0,w.x)(z,Z=>H.call(B,Z,Y++)&&z.next(Z)))})}},4716:(k,E,f)=>{f.d(E,{x:()=>w});var r=f(9360);function w(s){return(0,r.e)((H,B)=>{try{H.subscribe(B)}finally{B.add(s)}})}},1374:(k,E,f)=>{f.d(E,{P:()=>z});var r=f(6973),w=f(2181),s=f(8180),H=f(3572),B=f(3026),F=f(2737);function z(Y,Z){const q=arguments.length>=2;return Q=>Q.pipe(Y?(0,w.h)((X,se)=>Y(X,se,Q)):F.y,(0,s.q)(1),q?(0,H.d)(Z):(0,B.T)(()=>new r.K))}},7398:(k,E,f)=>{f.d(E,{U:()=>s});var r=f(9360),w=f(8251);function s(H,B){return(0,r.e)((F,z)=>{let Y=0;F.subscribe((0,w.x)(z,Z=>{z.next(H.call(B,Z,Y++))}))})}},975:(k,E,f)=>{f.d(E,{h:()=>w});var r=f(7398);function w(s){return(0,r.U)(()=>s)}},7537:(k,E,f)=>{f.d(E,{J:()=>s});var r=f(1631),w=f(2737);function s(H=1/0){return(0,r.z)(w.y,H)}},1631:(k,E,f)=>{f.d(E,{z:()=>Y});var r=f(7398),w=f(4829),s=f(9360),H=f(7103),B=f(8251),z=f(4674);function Y(Z,q,Q=1/0){return(0,z.m)(q)?Y((X,se)=>(0,r.U)((ge,Me)=>q(X,ge,se,Me))((0,w.Xf)(Z(X,se))),Q):("number"==typeof q&&(Q=q),(0,s.e)((X,se)=>function F(Z,q,Q,X,se,ge,Me,Ye){const tt=[];let Ct=0,rt=0,_t=!1;const Ie=()=>{_t&&!tt.length&&!Ct&&q.complete()},Ee=Ke=>Ct<X?et(Ke):tt.push(Ke),et=Ke=>{ge&&q.next(Ke),Ct++;let de=!1;(0,w.Xf)(Q(Ke,rt++)).subscribe((0,B.x)(q,pe=>{se?.(pe),ge?Ee(pe):q.next(pe)},()=>{de=!0},void 0,()=>{if(de)try{for(Ct--;tt.length&&Ct<X;){const pe=tt.shift();Me?(0,H.f)(q,Me,()=>et(pe)):et(pe)}Ie()}catch(pe){q.error(pe)}}))};return Z.subscribe((0,B.x)(q,Ee,()=>{_t=!0,Ie()})),()=>{Ye?.()}}(X,se,Z,Q)))}},304:(k,E,f)=>{f.d(E,{d:()=>Y});var r=f(7328),w=f(4829),s=f(8645),H=f(305),B=f(9360);function z(Z,q,...Q){if(!0===q)return void Z();if(!1===q)return;const X=new H.Hp({next:()=>{X.unsubscribe(),Z()}});return(0,w.Xf)(q(...Q)).subscribe(X)}function Y(Z,q,Q){let X,se=!1;return Z&&"object"==typeof Z?({bufferSize:X=1/0,windowTime:q=1/0,refCount:se=!1,scheduler:Q}=Z):X=Z??1/0,function F(Z={}){const{connector:q=(()=>new s.x),resetOnError:Q=!0,resetOnComplete:X=!0,resetOnRefCountZero:se=!0}=Z;return ge=>{let Me,Ye,tt,Ct=0,rt=!1,_t=!1;const Ie=()=>{Ye?.unsubscribe(),Ye=void 0},Ee=()=>{Ie(),Me=tt=void 0,rt=_t=!1},et=()=>{const Ke=Me;Ee(),Ke?.unsubscribe()};return(0,B.e)((Ke,de)=>{Ct++,!_t&&!rt&&Ie();const pe=tt=tt??q();de.add(()=>{Ct--,0===Ct&&!_t&&!rt&&(Ye=z(et,se))}),pe.subscribe(de),!Me&&Ct>0&&(Me=new H.Hp({next:Te=>pe.next(Te),error:Te=>{_t=!0,Ie(),Ye=z(Ee,Q,Te),pe.error(Te)},complete:()=>{rt=!0,Ie(),Ye=z(Ee,X),pe.complete()}}),(0,w.Xf)(Ke).subscribe(Me))})(ge)}}({connector:()=>new r.t(X,q,Q),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:se})}},836:(k,E,f)=>{f.d(E,{T:()=>w});var r=f(2181);function w(s){return(0,r.h)((H,B)=>s<=B)}},7921:(k,E,f)=>{f.d(E,{O:()=>H});var r=f(5211),w=f(9940),s=f(9360);function H(...B){const F=(0,w.yG)(B);return(0,s.e)((z,Y)=>{(F?(0,r.z)(B,z,F):(0,r.z)(B,z)).subscribe(Y)})}},4664:(k,E,f)=>{f.d(E,{w:()=>H});var r=f(4829),w=f(9360),s=f(8251);function H(B,F){return(0,w.e)((z,Y)=>{let Z=null,q=0,Q=!1;const X=()=>Q&&!Z&&Y.complete();z.subscribe((0,s.x)(Y,se=>{Z?.unsubscribe();let ge=0;const Me=q++;(0,r.Xf)(B(se,Me)).subscribe(Z=(0,s.x)(Y,Ye=>Y.next(F?F(se,Ye,Me,ge++):Ye),()=>{Z=null,X()}))},()=>{Q=!0,X()}))})}},8180:(k,E,f)=>{f.d(E,{q:()=>H});var r=f(6232),w=f(9360),s=f(8251);function H(B){return B<=0?()=>r.E:(0,w.e)((F,z)=>{let Y=0;F.subscribe((0,s.x)(z,Z=>{++Y<=B&&(z.next(Z),B<=Y&&z.complete())}))})}},9773:(k,E,f)=>{f.d(E,{R:()=>B});var r=f(9360),w=f(8251),s=f(4829),H=f(2420);function B(F){return(0,r.e)((z,Y)=>{(0,s.Xf)(F).subscribe((0,w.x)(Y,()=>Y.complete(),H.Z)),!Y.closed&&z.subscribe(Y)})}},9397:(k,E,f)=>{f.d(E,{b:()=>B});var r=f(4674),w=f(9360),s=f(8251),H=f(2737);function B(F,z,Y){const Z=(0,r.m)(F)||z||Y?{next:F,error:z,complete:Y}:F;return Z?(0,w.e)((q,Q)=>{var X;null===(X=Z.subscribe)||void 0===X||X.call(Z);let se=!0;q.subscribe((0,s.x)(Q,ge=>{var Me;null===(Me=Z.next)||void 0===Me||Me.call(Z,ge),Q.next(ge)},()=>{var ge;se=!1,null===(ge=Z.complete)||void 0===ge||ge.call(Z),Q.complete()},ge=>{var Me;se=!1,null===(Me=Z.error)||void 0===Me||Me.call(Z,ge),Q.error(ge)},()=>{var ge,Me;se&&(null===(ge=Z.unsubscribe)||void 0===ge||ge.call(Z)),null===(Me=Z.finalize)||void 0===Me||Me.call(Z)}))}):H.y}},3026:(k,E,f)=>{f.d(E,{T:()=>H});var r=f(6973),w=f(9360),s=f(8251);function H(F=B){return(0,w.e)((z,Y)=>{let Z=!1;z.subscribe((0,s.x)(Y,q=>{Z=!0,Y.next(q)},()=>Z?Y.complete():Y.error(F())))})}function B(){return new r.K}},2832:(k,E,f)=>{f.d(E,{P:()=>q,z:()=>Z});var r=f(7394);class w extends r.w0{constructor(X,se){super()}schedule(X,se=0){return this}}const s={setInterval(Q,X,...se){const{delegate:ge}=s;return ge?.setInterval?ge.setInterval(Q,X,...se):setInterval(Q,X,...se)},clearInterval(Q){const{delegate:X}=s;return(X?.clearInterval||clearInterval)(Q)},delegate:void 0};var H=f(9039),F=f(4552);class z{constructor(X,se=z.now){this.schedulerActionCtor=X,this.now=se}schedule(X,se=0,ge){return new this.schedulerActionCtor(this,X).schedule(ge,se)}}z.now=F.l.now;const Z=new class Y extends z{constructor(X,se=z.now){super(X,se),this.actions=[],this._active=!1}flush(X){const{actions:se}=this;if(this._active)return void se.push(X);let ge;this._active=!0;do{if(ge=X.execute(X.state,X.delay))break}while(X=se.shift());if(this._active=!1,ge){for(;X=se.shift();)X.unsubscribe();throw ge}}}(class B extends w{constructor(X,se){super(X,se),this.scheduler=X,this.work=se,this.pending=!1}schedule(X,se=0){var ge;if(this.closed)return this;this.state=X;const Me=this.id,Ye=this.scheduler;return null!=Me&&(this.id=this.recycleAsyncId(Ye,Me,se)),this.pending=!0,this.delay=se,this.id=null!==(ge=this.id)&&void 0!==ge?ge:this.requestAsyncId(Ye,this.id,se),this}requestAsyncId(X,se,ge=0){return s.setInterval(X.flush.bind(X,this),ge)}recycleAsyncId(X,se,ge=0){if(null!=ge&&this.delay===ge&&!1===this.pending)return se;null!=se&&s.clearInterval(se)}execute(X,se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ge=this._execute(X,se);if(ge)return ge;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(X,se){let Me,ge=!1;try{this.work(X)}catch(Ye){ge=!0,Me=Ye||new Error("Scheduled action threw falsy error")}if(ge)return this.unsubscribe(),Me}unsubscribe(){if(!this.closed){const{id:X,scheduler:se}=this,{actions:ge}=se;this.work=this.state=this.scheduler=null,this.pending=!1,(0,H.P)(ge,this),null!=X&&(this.id=this.recycleAsyncId(se,X,null)),this.delay=null,super.unsubscribe()}}}),q=Z},4552:(k,E,f)=>{f.d(E,{l:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},7599:(k,E,f)=>{f.d(E,{z:()=>r});const r={setTimeout(w,s,...H){const{delegate:B}=r;return B?.setTimeout?B.setTimeout(w,s,...H):setTimeout(w,s,...H)},clearTimeout(w){const{delegate:s}=r;return(s?.clearTimeout||clearTimeout)(w)},delegate:void 0}},4971:(k,E,f)=>{f.d(E,{h:()=>w});const w=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(k,E,f)=>{f.d(E,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(k,E,f)=>{f.d(E,{K:()=>w});const w=(0,f(2306).d)(s=>function(){s(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(k,E,f)=>{f.d(E,{_6:()=>F,jO:()=>H,yG:()=>B});var r=f(4674),w=f(671);function s(z){return z[z.length-1]}function H(z){return(0,r.m)(s(z))?z.pop():void 0}function B(z){return(0,w.K)(s(z))?z.pop():void 0}function F(z,Y){return"number"==typeof s(z)?z.pop():Y}},7453:(k,E,f)=>{f.d(E,{D:()=>B});const{isArray:r}=Array,{getPrototypeOf:w,prototype:s,keys:H}=Object;function B(z){if(1===z.length){const Y=z[0];if(r(Y))return{args:Y,keys:null};if(function F(z){return z&&"object"==typeof z&&w(z)===s}(Y)){const Z=H(Y);return{args:Z.map(q=>Y[q]),keys:Z}}}return{args:z,keys:null}}},9039:(k,E,f)=>{function r(w,s){if(w){const H=w.indexOf(s);0<=H&&w.splice(H,1)}}f.d(E,{P:()=>r})},2306:(k,E,f)=>{function r(w){const H=w(B=>{Error.call(B),B.stack=(new Error).stack});return H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H}f.d(E,{d:()=>r})},2714:(k,E,f)=>{function r(w,s){return w.reduce((H,B,F)=>(H[B]=s[F],H),{})}f.d(E,{n:()=>r})},1441:(k,E,f)=>{f.d(E,{O:()=>H,x:()=>s});var r=f(2653);let w=null;function s(B){if(r.config.useDeprecatedSynchronousErrorHandling){const F=!w;if(F&&(w={errorThrown:!1,error:null}),B(),F){const{errorThrown:z,error:Y}=w;if(w=null,z)throw Y}}else B()}function H(B){r.config.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=B)}},7103:(k,E,f)=>{function r(w,s,H,B=0,F=!1){const z=s.schedule(function(){H(),F?w.add(this.schedule(null,B)):this.unsubscribe()},B);if(w.add(z),!F)return z}f.d(E,{f:()=>r})},2737:(k,E,f)=>{function r(w){return w}f.d(E,{y:()=>r})},4266:(k,E,f)=>{f.d(E,{z:()=>r});const r=w=>w&&"number"==typeof w.length&&"function"!=typeof w},5726:(k,E,f)=>{f.d(E,{D:()=>w});var r=f(4674);function w(s){return Symbol.asyncIterator&&(0,r.m)(s?.[Symbol.asyncIterator])}},4674:(k,E,f)=>{function r(w){return"function"==typeof w}f.d(E,{m:()=>r})},8382:(k,E,f)=>{f.d(E,{c:()=>s});var r=f(4850),w=f(4674);function s(H){return(0,w.m)(H[r.L])}},3664:(k,E,f)=>{f.d(E,{T:()=>s});var r=f(4971),w=f(4674);function s(H){return(0,w.m)(H?.[r.h])}},4026:(k,E,f)=>{f.d(E,{t:()=>w});var r=f(4674);function w(s){return(0,r.m)(s?.then)}},541:(k,E,f)=>{f.d(E,{L:()=>H,Q:()=>s});var r=f(7582),w=f(4674);function s(B){return(0,r.FC)(this,arguments,function*(){const z=B.getReader();try{for(;;){const{value:Y,done:Z}=yield(0,r.qq)(z.read());if(Z)return yield(0,r.qq)(void 0);yield yield(0,r.qq)(Y)}}finally{z.releaseLock()}})}function H(B){return(0,w.m)(B?.getReader)}},671:(k,E,f)=>{f.d(E,{K:()=>w});var r=f(4674);function w(s){return s&&(0,r.m)(s.schedule)}},9360:(k,E,f)=>{f.d(E,{A:()=>w,e:()=>s});var r=f(4674);function w(H){return(0,r.m)(H?.lift)}function s(H){return B=>{if(w(B))return B.lift(function(F){try{return H(F,this)}catch(z){this.error(z)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(k,E,f)=>{f.d(E,{Z:()=>H});var r=f(7398);const{isArray:w}=Array;function H(B){return(0,r.U)(F=>function s(B,F){return w(F)?B(...F):B(F)}(B,F))}},2420:(k,E,f)=>{function r(){}f.d(E,{Z:()=>r})},8407:(k,E,f)=>{f.d(E,{U:()=>s,z:()=>w});var r=f(2737);function w(...H){return s(H)}function s(H){return 0===H.length?r.y:1===H.length?H[0]:function(F){return H.reduce((z,Y)=>Y(z),F)}}},3894:(k,E,f)=>{f.d(E,{h:()=>s});var r=f(2653),w=f(7599);function s(H){w.z.setTimeout(()=>{const{onUnhandledError:B}=r.config;if(!B)throw H;B(H)})}},9853:(k,E,f)=>{function r(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(E,{z:()=>r})},9726:(k,E,f)=>{f.d(E,{pi:()=>s});var s=function(){return s=Object.assign||function(pe){for(var Te,Le=1,ze=arguments.length;Le<ze;Le++)for(var Ve in Te=arguments[Le])Object.prototype.hasOwnProperty.call(Te,Ve)&&(pe[Ve]=Te[Ve]);return pe},s.apply(this,arguments)}},6814:(k,E,f)=>{f.d(E,{Do:()=>Ye,ED:()=>At,EM:()=>co,HT:()=>H,JF:()=>lr,K0:()=>F,Mn:()=>pt,Mx:()=>ie,NF:()=>kr,O5:()=>yt,Ov:()=>ms,PM:()=>lo,RF:()=>le,S$:()=>se,Tn:()=>pe,UT:()=>Ot,V_:()=>Y,Ye:()=>tt,ax:()=>Tt,b0:()=>Me,bD:()=>xi,ez:()=>ar,mk:()=>je,mr:()=>ge,n9:()=>Re,p6:()=>wi,q:()=>s,sg:()=>Tt,tP:()=>ji,w_:()=>B,x:()=>de});var r=f(9212);let w=null;function s(){return w}function H(y){w||(w=y)}class B{}const F=new r.OlP("DocumentToken");let z=(()=>{class y{historyGo(M){throw new Error("Not implemented")}static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275prov=r.Yz7({token:y,factory:()=>(0,r.f3M)(Z),providedIn:"platform"})}return y})();const Y=new r.OlP("Location Initialized");let Z=(()=>{class y extends z{constructor(){super(),this._doc=(0,r.f3M)(F),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(M){const N=s().getGlobalEventTarget(this._doc,"window");return N.addEventListener("popstate",M,!1),()=>N.removeEventListener("popstate",M)}onHashChange(M){const N=s().getGlobalEventTarget(this._doc,"window");return N.addEventListener("hashchange",M,!1),()=>N.removeEventListener("hashchange",M)}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(M){this._location.pathname=M}pushState(M,N,J){this._history.pushState(M,N,J)}replaceState(M,N,J){this._history.replaceState(M,N,J)}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275prov=r.Yz7({token:y,factory:()=>new y,providedIn:"platform"})}return y})();function q(y,R){if(0==y.length)return R;if(0==R.length)return y;let M=0;return y.endsWith("/")&&M++,R.startsWith("/")&&M++,2==M?y+R.substring(1):1==M?y+R:y+"/"+R}function Q(y){const R=y.match(/#|\?|$/),M=R&&R.index||y.length;return y.slice(0,M-("/"===y[M-1]?1:0))+y.slice(M)}function X(y){return y&&"?"!==y[0]?"?"+y:y}let se=(()=>{class y{historyGo(M){throw new Error("Not implemented")}static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275prov=r.Yz7({token:y,factory:()=>(0,r.f3M)(Me),providedIn:"root"})}return y})();const ge=new r.OlP("appBaseHref");let Me=(()=>{class y extends se{constructor(M,N){super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=N??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(F).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return q(this._baseHref,M)}path(M=!1){const N=this._platformLocation.pathname+X(this._platformLocation.search),J=this._platformLocation.hash;return J&&M?`${N}${J}`:N}pushState(M,N,J,Se){const Ue=this.prepareExternalUrl(J+X(Se));this._platformLocation.pushState(M,N,Ue)}replaceState(M,N,J,Se){const Ue=this.prepareExternalUrl(J+X(Se));this._platformLocation.replaceState(M,N,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}static#e=this.\u0275fac=function(N){return new(N||y)(r.LFG(z),r.LFG(ge,8))};static#t=this.\u0275prov=r.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),Ye=(()=>{class y extends se{constructor(M,N){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=N&&(this._baseHref=N)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let N=this._platformLocation.hash;return null==N&&(N="#"),N.length>0?N.substring(1):N}prepareExternalUrl(M){const N=q(this._baseHref,M);return N.length>0?"#"+N:N}pushState(M,N,J,Se){let Ue=this.prepareExternalUrl(J+X(Se));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.pushState(M,N,Ue)}replaceState(M,N,J,Se){let Ue=this.prepareExternalUrl(J+X(Se));0==Ue.length&&(Ue=this._platformLocation.pathname),this._platformLocation.replaceState(M,N,Ue)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}static#e=this.\u0275fac=function(N){return new(N||y)(r.LFG(z),r.LFG(ge,8))};static#t=this.\u0275prov=r.Yz7({token:y,factory:y.\u0275fac})}return y})(),tt=(()=>{class y{constructor(M){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const N=this._locationStrategy.getBaseHref();this._basePath=function Ie(y){if(new RegExp("^(https?:)?//").test(y)){const[,M]=y.split(/\/\/[^\/]+/);return M}return y}(Q(_t(N))),this._locationStrategy.onPopState(J=>{this._subject.emit({url:this.path(!0),pop:!0,state:J.state,type:J.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,N=""){return this.path()==this.normalize(M+X(N))}normalize(M){return y.stripTrailingSlash(function rt(y,R){if(!y||!R.startsWith(y))return R;const M=R.substring(y.length);return""===M||["/",";","?","#"].includes(M[0])?M:R}(this._basePath,_t(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,N="",J=null){this._locationStrategy.pushState(J,"",M,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+X(N)),J)}replaceState(M,N="",J=null){this._locationStrategy.replaceState(J,"",M,N),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+X(N)),J)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){this._locationStrategy.historyGo?.(M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(N=>{this._notifyUrlChangeListeners(N.url,N.state)})),()=>{const N=this._urlChangeListeners.indexOf(M);this._urlChangeListeners.splice(N,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",N){this._urlChangeListeners.forEach(J=>J(M,N))}subscribe(M,N,J){return this._subject.subscribe({next:M,error:N,complete:J})}static#e=this.normalizeQueryParams=X;static#t=this.joinWithSlash=q;static#n=this.stripTrailingSlash=Q;static#i=this.\u0275fac=function(N){return new(N||y)(r.LFG(se))};static#r=this.\u0275prov=r.Yz7({token:y,factory:()=>function Ct(){return new tt((0,r.LFG)(se))}(),providedIn:"root"})}return y})();function _t(y){return y.replace(/\/index.html$/,"")}var de=function(y){return y[y.Format=0]="Format",y[y.Standalone=1]="Standalone",y}(de||{}),pe=function(y){return y[y.Narrow=0]="Narrow",y[y.Abbreviated=1]="Abbreviated",y[y.Wide=2]="Wide",y[y.Short=3]="Short",y}(pe||{}),Te=function(y){return y[y.Short=0]="Short",y[y.Medium=1]="Medium",y[y.Long=2]="Long",y[y.Full=3]="Full",y}(Te||{}),Le=function(y){return y[y.Decimal=0]="Decimal",y[y.Group=1]="Group",y[y.List=2]="List",y[y.PercentSign=3]="PercentSign",y[y.PlusSign=4]="PlusSign",y[y.MinusSign=5]="MinusSign",y[y.Exponential=6]="Exponential",y[y.SuperscriptingExponent=7]="SuperscriptingExponent",y[y.PerMille=8]="PerMille",y[y.Infinity=9]="Infinity",y[y.NaN=10]="NaN",y[y.TimeSeparator=11]="TimeSeparator",y[y.CurrencyDecimal=12]="CurrencyDecimal",y[y.CurrencyGroup=13]="CurrencyGroup",y}(Le||{});function pt(y,R,M){const N=(0,r.cg1)(y),Se=Gt([N[r.wAp.DaysFormat],N[r.wAp.DaysStandalone]],R);return Gt(Se,M)}function Ot(y,R,M){const N=(0,r.cg1)(y),Se=Gt([N[r.wAp.MonthsFormat],N[r.wAp.MonthsStandalone]],R);return Gt(Se,M)}function _e(y,R){return Gt((0,r.cg1)(y)[r.wAp.DateFormat],R)}function xe(y,R){return Gt((0,r.cg1)(y)[r.wAp.TimeFormat],R)}function De(y,R){return Gt((0,r.cg1)(y)[r.wAp.DateTimeFormat],R)}function Ge(y,R){const M=(0,r.cg1)(y),N=M[r.wAp.NumberSymbols][R];if(typeof N>"u"){if(R===Le.CurrencyDecimal)return M[r.wAp.NumberSymbols][Le.Decimal];if(R===Le.CurrencyGroup)return M[r.wAp.NumberSymbols][Le.Group]}return N}function Nt(y){if(!y[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${y[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Gt(y,R){for(let M=R;M>-1;M--)if(typeof y[M]<"u")return y[M];throw new Error("Locale data API: locale data undefined")}function qe(y){const[R,M]=y.split(":");return{hours:+R,minutes:+M}}const $n=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},Vn=/((?:[^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 Gn=function(y){return y[y.Short=0]="Short",y[y.ShortGMT=1]="ShortGMT",y[y.Long=2]="Long",y[y.Extended=3]="Extended",y}(Gn||{}),qt=function(y){return y[y.FullYear=0]="FullYear",y[y.Month=1]="Month",y[y.Date=2]="Date",y[y.Hours=3]="Hours",y[y.Minutes=4]="Minutes",y[y.Seconds=5]="Seconds",y[y.FractionalSeconds=6]="FractionalSeconds",y[y.Day=7]="Day",y}(qt||{}),Bt=function(y){return y[y.DayPeriods=0]="DayPeriods",y[y.Days=1]="Days",y[y.Months=2]="Months",y[y.Eras=3]="Eras",y}(Bt||{});function wi(y,R,M,N){let J=function Oe(y){if(W(y))return y;if("number"==typeof y&&!isNaN(y))return new Date(y);if("string"==typeof y){if(y=y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(y)){const[J,Se=1,Ue=1]=y.split("-").map(Dt=>+Dt);return Zt(J,Se-1,Ue)}const M=parseFloat(y);if(!isNaN(y-M))return new Date(M);let N;if(N=y.match($n))return function be(y){const R=new Date(0);let M=0,N=0;const J=y[8]?R.setUTCFullYear:R.setFullYear,Se=y[8]?R.setUTCHours:R.setHours;y[9]&&(M=Number(y[9]+y[10]),N=Number(y[9]+y[11])),J.call(R,Number(y[1]),Number(y[2])-1,Number(y[3]));const Ue=Number(y[4]||0)-M,Dt=Number(y[5]||0)-N,Ln=Number(y[6]||0),hn=Math.floor(1e3*parseFloat("0."+(y[7]||0)));return Se.call(R,Ue,Dt,Ln,hn),R}(N)}const R=new Date(y);if(!W(R))throw new Error(`Unable to convert "${y}" into a date`);return R}(y);R=ri(M,R)||R;let Dt,Ue=[];for(;R;){if(Dt=Vn.exec(R),!Dt){Ue.push(R);break}{Ue=Ue.concat(Dt.slice(1));const $t=Ue.pop();if(!$t)break;R=$t}}let Ln=J.getTimezoneOffset();N&&(Ln=It(N,Ln),J=function oi(y,R,M){const N=M?-1:1,J=y.getTimezoneOffset();return function vi(y,R){return(y=new Date(y.getTime())).setMinutes(y.getMinutes()+R),y}(y,N*(It(R,J)-J))}(J,N,!0));let hn="";return Ue.forEach($t=>{const xt=function mt(y){if(_i[y])return _i[y];let R;switch(y){case"G":case"GG":case"GGG":R=ot(Bt.Eras,pe.Abbreviated);break;case"GGGG":R=ot(Bt.Eras,pe.Wide);break;case"GGGGG":R=ot(Bt.Eras,pe.Narrow);break;case"y":R=Cn(qt.FullYear,1,0,!1,!0);break;case"yy":R=Cn(qt.FullYear,2,0,!0,!0);break;case"yyy":R=Cn(qt.FullYear,3,0,!1,!0);break;case"yyyy":R=Cn(qt.FullYear,4,0,!1,!0);break;case"Y":R=Tn(1);break;case"YY":R=Tn(2,!0);break;case"YYY":R=Tn(3);break;case"YYYY":R=Tn(4);break;case"M":case"L":R=Cn(qt.Month,1,1);break;case"MM":case"LL":R=Cn(qt.Month,2,1);break;case"MMM":R=ot(Bt.Months,pe.Abbreviated);break;case"MMMM":R=ot(Bt.Months,pe.Wide);break;case"MMMMM":R=ot(Bt.Months,pe.Narrow);break;case"LLL":R=ot(Bt.Months,pe.Abbreviated,de.Standalone);break;case"LLLL":R=ot(Bt.Months,pe.Wide,de.Standalone);break;case"LLLLL":R=ot(Bt.Months,pe.Narrow,de.Standalone);break;case"w":R=Dn(1);break;case"ww":R=Dn(2);break;case"W":R=Dn(1,!0);break;case"d":R=Cn(qt.Date,1);break;case"dd":R=Cn(qt.Date,2);break;case"c":case"cc":R=Cn(qt.Day,1);break;case"ccc":R=ot(Bt.Days,pe.Abbreviated,de.Standalone);break;case"cccc":R=ot(Bt.Days,pe.Wide,de.Standalone);break;case"ccccc":R=ot(Bt.Days,pe.Narrow,de.Standalone);break;case"cccccc":R=ot(Bt.Days,pe.Short,de.Standalone);break;case"E":case"EE":case"EEE":R=ot(Bt.Days,pe.Abbreviated);break;case"EEEE":R=ot(Bt.Days,pe.Wide);break;case"EEEEE":R=ot(Bt.Days,pe.Narrow);break;case"EEEEEE":R=ot(Bt.Days,pe.Short);break;case"a":case"aa":case"aaa":R=ot(Bt.DayPeriods,pe.Abbreviated);break;case"aaaa":R=ot(Bt.DayPeriods,pe.Wide);break;case"aaaaa":R=ot(Bt.DayPeriods,pe.Narrow);break;case"b":case"bb":case"bbb":R=ot(Bt.DayPeriods,pe.Abbreviated,de.Standalone,!0);break;case"bbbb":R=ot(Bt.DayPeriods,pe.Wide,de.Standalone,!0);break;case"bbbbb":R=ot(Bt.DayPeriods,pe.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":R=ot(Bt.DayPeriods,pe.Abbreviated,de.Format,!0);break;case"BBBB":R=ot(Bt.DayPeriods,pe.Wide,de.Format,!0);break;case"BBBBB":R=ot(Bt.DayPeriods,pe.Narrow,de.Format,!0);break;case"h":R=Cn(qt.Hours,1,-12);break;case"hh":R=Cn(qt.Hours,2,-12);break;case"H":R=Cn(qt.Hours,1);break;case"HH":R=Cn(qt.Hours,2);break;case"m":R=Cn(qt.Minutes,1);break;case"mm":R=Cn(qt.Minutes,2);break;case"s":R=Cn(qt.Seconds,1);break;case"ss":R=Cn(qt.Seconds,2);break;case"S":R=Cn(qt.FractionalSeconds,1);break;case"SS":R=Cn(qt.FractionalSeconds,2);break;case"SSS":R=Cn(qt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":R=Kt(Gn.Short);break;case"ZZZZZ":R=Kt(Gn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":R=Kt(Gn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":R=Kt(Gn.Long);break;default:return null}return _i[y]=R,R}($t);hn+=xt?xt(J,M,Ln):"''"===$t?"'":$t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hn}function Zt(y,R,M){const N=new Date(0);return N.setFullYear(y,R,M),N.setHours(0,0,0),N}function ri(y,R){const M=function Ve(y){return(0,r.cg1)(y)[r.wAp.LocaleId]}(y);if(Un[M]=Un[M]||{},Un[M][R])return Un[M][R];let N="";switch(R){case"shortDate":N=_e(y,Te.Short);break;case"mediumDate":N=_e(y,Te.Medium);break;case"longDate":N=_e(y,Te.Long);break;case"fullDate":N=_e(y,Te.Full);break;case"shortTime":N=xe(y,Te.Short);break;case"mediumTime":N=xe(y,Te.Medium);break;case"longTime":N=xe(y,Te.Long);break;case"fullTime":N=xe(y,Te.Full);break;case"short":const J=ri(y,"shortTime"),Se=ri(y,"shortDate");N=ln(De(y,Te.Short),[J,Se]);break;case"medium":const Ue=ri(y,"mediumTime"),Dt=ri(y,"mediumDate");N=ln(De(y,Te.Medium),[Ue,Dt]);break;case"long":const Ln=ri(y,"longTime"),hn=ri(y,"longDate");N=ln(De(y,Te.Long),[Ln,hn]);break;case"full":const $t=ri(y,"fullTime"),xt=ri(y,"fullDate");N=ln(De(y,Te.Full),[$t,xt])}return N&&(Un[M][R]=N),N}function ln(y,R){return R&&(y=y.replace(/\{([^}]+)}/g,function(M,N){return null!=R&&N in R?R[N]:M})),y}function Wn(y,R,M="-",N,J){let Se="";(y<0||J&&y<=0)&&(J?y=1-y:(y=-y,Se=M));let Ue=String(y);for(;Ue.length<R;)Ue="0"+Ue;return N&&(Ue=Ue.slice(Ue.length-R)),Se+Ue}function Cn(y,R,M=0,N=!1,J=!1){return function(Se,Ue){let Dt=function rr(y,R){switch(y){case qt.FullYear:return R.getFullYear();case qt.Month:return R.getMonth();case qt.Date:return R.getDate();case qt.Hours:return R.getHours();case qt.Minutes:return R.getMinutes();case qt.Seconds:return R.getSeconds();case qt.FractionalSeconds:return R.getMilliseconds();case qt.Day:return R.getDay();default:throw new Error(`Unknown DateType value "${y}".`)}}(y,Se);if((M>0||Dt>-M)&&(Dt+=M),y===qt.Hours)0===Dt&&-12===M&&(Dt=12);else if(y===qt.FractionalSeconds)return function wr(y,R){return Wn(y,3).substring(0,R)}(Dt,R);const Ln=Ge(Ue,Le.MinusSign);return Wn(Dt,R,Ln,N,J)}}function ot(y,R,M=de.Format,N=!1){return function(J,Se){return function ui(y,R,M,N,J,Se){switch(M){case Bt.Months:return Ot(R,J,N)[y.getMonth()];case Bt.Days:return pt(R,J,N)[y.getDay()];case Bt.DayPeriods:const Ue=y.getHours(),Dt=y.getMinutes();if(Se){const hn=function Rt(y){const R=(0,r.cg1)(y);return Nt(R),(R[r.wAp.ExtraData][2]||[]).map(N=>"string"==typeof N?qe(N):[qe(N[0]),qe(N[1])])}(R),$t=function Yt(y,R,M){const N=(0,r.cg1)(y);Nt(N);const Se=Gt([N[r.wAp.ExtraData][0],N[r.wAp.ExtraData][1]],R)||[];return Gt(Se,M)||[]}(R,J,N),xt=hn.findIndex(In=>{if(Array.isArray(In)){const[yn,ii]=In,ho=Ue>=yn.hours&&Dt>=yn.minutes,Zn=Ue<ii.hours||Ue===ii.hours&&Dt<ii.minutes;if(yn.hours<ii.hours){if(ho&&Zn)return!0}else if(ho||Zn)return!0}else if(In.hours===Ue&&In.minutes===Dt)return!0;return!1});if(-1!==xt)return $t[xt]}return function He(y,R,M){const N=(0,r.cg1)(y),Se=Gt([N[r.wAp.DayPeriodsFormat],N[r.wAp.DayPeriodsStandalone]],R);return Gt(Se,M)}(R,J,N)[Ue<12?0:1];case Bt.Eras:return function vt(y,R){return Gt((0,r.cg1)(y)[r.wAp.Eras],R)}(R,N)[y.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${M}`)}}(J,Se,y,R,M,N)}}function Kt(y){return function(R,M,N){const J=-1*N,Se=Ge(M,Le.MinusSign),Ue=J>0?Math.floor(J/60):Math.ceil(J/60);switch(y){case Gn.Short:return(J>=0?"+":"")+Wn(Ue,2,Se)+Wn(Math.abs(J%60),2,Se);case Gn.ShortGMT:return"GMT"+(J>=0?"+":"")+Wn(Ue,1,Se);case Gn.Long:return"GMT"+(J>=0?"+":"")+Wn(Ue,2,Se)+":"+Wn(Math.abs(J%60),2,Se);case Gn.Extended:return 0===N?"Z":(J>=0?"+":"")+Wn(Ue,2,Se)+":"+Wn(Math.abs(J%60),2,Se);default:throw new Error(`Unknown zone width "${y}"`)}}}const ei=0,Ei=4;function An(y){return Zt(y.getFullYear(),y.getMonth(),y.getDate()+(Ei-y.getDay()))}function Dn(y,R=!1){return function(M,N){let J;if(R){const Se=new Date(M.getFullYear(),M.getMonth(),1).getDay()-1,Ue=M.getDate();J=1+Math.floor((Ue+Se)/7)}else{const Se=An(M),Ue=function Rn(y){const R=Zt(y,ei,1).getDay();return Zt(y,0,1+(R<=Ei?Ei:Ei+7)-R)}(Se.getFullYear()),Dt=Se.getTime()-Ue.getTime();J=1+Math.round(Dt/6048e5)}return Wn(J,y,Ge(N,Le.MinusSign))}}function Tn(y,R=!1){return function(M,N){return Wn(An(M).getFullYear(),y,Ge(N,Le.MinusSign),R)}}const _i={};function It(y,R){y=y.replace(/:/g,"");const M=Date.parse("Jan 01, 1970 00:00:00 "+y)/6e4;return isNaN(M)?R:M}function W(y){return y instanceof Date&&!isNaN(y.valueOf())}function ie(y,R){R=encodeURIComponent(R);for(const M of y.split(";")){const N=M.indexOf("="),[J,Se]=-1==N?[M,""]:[M.slice(0,N),M.slice(N+1)];if(J.trim()===R)return decodeURIComponent(Se)}return null}const te=/\s+/,Pe=[];let je=(()=>{class y{constructor(M,N){this._ngEl=M,this._renderer=N,this.initialClasses=Pe,this.stateMap=new Map}set klass(M){this.initialClasses=null!=M?M.trim().split(te):Pe}set ngClass(M){this.rawClass="string"==typeof M?M.trim().split(te):M}ngDoCheck(){for(const N of this.initialClasses)this._updateState(N,!0);const M=this.rawClass;if(Array.isArray(M)||M instanceof Set)for(const N of M)this._updateState(N,!0);else if(null!=M)for(const N of Object.keys(M))this._updateState(N,!!M[N]);this._applyStateDiff()}_updateState(M,N){const J=this.stateMap.get(M);void 0!==J?(J.enabled!==N&&(J.changed=!0,J.enabled=N),J.touched=!0):this.stateMap.set(M,{enabled:N,changed:!0,touched:!0})}_applyStateDiff(){for(const M of this.stateMap){const N=M[0],J=M[1];J.changed?(this._toggleClass(N,J.enabled),J.changed=!1):J.touched||(J.enabled&&this._toggleClass(N,!1),this.stateMap.delete(N)),J.touched=!1}}_toggleClass(M,N){(M=M.trim()).length>0&&M.split(te).forEach(J=>{N?this._renderer.addClass(this._ngEl.nativeElement,J):this._renderer.removeClass(this._ngEl.nativeElement,J)})}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.SBq),r.Y36(r.Qsj))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngClass",""]],inputs:{klass:[r.lbL.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return y})();class Ut{constructor(R,M,N,J){this.$implicit=R,this.ngForOf=M,this.index=N,this.count=J}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}}let Tt=(()=>{class y{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,N,J){this._viewContainer=M,this._template=N,this._differs=J,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const N=this._viewContainer;M.forEachOperation((J,Se,Ue)=>{if(null==J.previousIndex)N.createEmbeddedView(this._template,new Ut(J.item,this._ngForOf,-1,-1),null===Ue?void 0:Ue);else if(null==Ue)N.remove(null===Se?void 0:Se);else if(null!==Se){const Dt=N.get(Se);N.move(Dt,Ue),fn(Dt,J)}});for(let J=0,Se=N.length;J<Se;J++){const Dt=N.get(J).context;Dt.index=J,Dt.count=Se,Dt.ngForOf=this._ngForOf}M.forEachIdentityChange(J=>{fn(N.get(J.currentIndex),J)})}static ngTemplateContextGuard(M,N){return!0}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return y})();function fn(y,R){y.context.$implicit=R.item}let yt=(()=>{class y{constructor(M,N){this._viewContainer=M,this._context=new $,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=N}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){ft("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){ft("ngIfElse",M),this._elseTemplateRef=M,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(M,N){return!0}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.s_b),r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return y})();class ${constructor(){this.$implicit=null,this.ngIf=null}}function ft(y,R){if(R&&!R.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,r.AaK)(R)}'.`)}class ee{constructor(R,M){this._viewContainerRef=R,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(R){R&&!this._created?this.create():!R&&this._created&&this.destroy()}}let le=(()=>{class y{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews.push(M)}_matchCase(M){const N=M===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||N,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),N}_updateDefaultCases(M){if(this._defaultViews.length>0&&M!==this._defaultUsed){this._defaultUsed=M;for(const N of this._defaultViews)N.enforceState(M)}}static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return y})(),Re=(()=>{class y{constructor(M,N,J){this.ngSwitch=J,J._addCase(),this._view=new ee(M,N)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(le,9))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return y})(),At=(()=>{class y{constructor(M,N,J){J._addDefault(new ee(M,N))}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(le,9))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return y})(),ji=(()=>{class y{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(this._shouldRecreateView(M)){const N=this._viewContainerRef;if(this._viewRef&&N.remove(N.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const J=this._createContextForwardProxy();this._viewRef=N.createEmbeddedView(this.ngTemplateOutlet,J,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(M){return!!M.ngTemplateOutlet||!!M.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(M,N,J)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,N,J),get:(M,N,J)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,N,J)}})}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.s_b))};static#t=this.\u0275dir=r.lG2({type:y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]})}return y})();class fa{createSubscription(R,M){return(0,r.rg0)(()=>R.subscribe({next:M,error:N=>{throw N}}))}dispose(R){(0,r.rg0)(()=>R.unsubscribe())}}class gs{createSubscription(R,M){return R.then(M,N=>{throw N})}dispose(R){}}const jo=new gs,Zs=new fa;let ms=(()=>{class y{constructor(M){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=M}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(M){return this._obj?M!==this._obj?(this._dispose(),this.transform(M)):this._latestValue:(M&&this._subscribe(M),this._latestValue)}_subscribe(M){this._obj=M,this._strategy=this._selectStrategy(M),this._subscription=this._strategy.createSubscription(M,N=>this._updateLatestValue(M,N))}_selectStrategy(M){if((0,r.QGY)(M))return jo;if((0,r.F4k)(M))return Zs;throw function Mi(y,R){return new r.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(M,N){M===this._obj&&(this._latestValue=N,this._ref.markForCheck())}static#e=this.\u0275fac=function(N){return new(N||y)(r.Y36(r.sBO,16))};static#t=this.\u0275pipe=r.Yjl({name:"async",type:y,pure:!1,standalone:!0})}return y})(),ar=(()=>{class y{static#e=this.\u0275fac=function(N){return new(N||y)};static#t=this.\u0275mod=r.oAB({type:y});static#n=this.\u0275inj=r.cJS({})}return y})();const xi="browser",an="server";function kr(y){return y===xi}function lo(y){return y===an}let co=(()=>{class y{static#e=this.\u0275prov=(0,r.Yz7)({token:y,providedIn:"root",factory:()=>kr((0,r.f3M)(r.Lbi))?new Fr((0,r.f3M)(F),window):new zo})}return y})();class Fr{constructor(R,M){this.document=R,this.window=M,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(R){this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){const M=function wo(y,R){const M=y.getElementById(R)||y.getElementsByName(R)[0];if(M)return M;if("function"==typeof y.createTreeWalker&&y.body&&"function"==typeof y.body.attachShadow){const N=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let J=N.currentNode;for(;J;){const Se=J.shadowRoot;if(Se){const Ue=Se.getElementById(R)||Se.querySelector(`[name="${R}"]`);if(Ue)return Ue}J=N.nextNode()}}return null}(this.document,R);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(R){this.window.history.scrollRestoration=R}scrollToElement(R){const M=R.getBoundingClientRect(),N=M.left+this.window.pageXOffset,J=M.top+this.window.pageYOffset,Se=this.offset();this.window.scrollTo(N-Se[0],J-Se[1])}}class zo{setOffset(R){}getScrollPosition(){return[0,0]}scrollToPosition(R){}scrollToAnchor(R){}setHistoryScrollRestoration(R){}}class lr{}},9862:(k,E,f)=>{f.d(E,{JF:()=>Lt,TP:()=>Yt,eN:()=>xe}),f(5861);var w=f(9212),s=f(2096),H=f(5592),B=f(7715),F=f(6328),z=f(2181),Y=f(7398),Z=f(4716),q=f(4664),Q=f(6814);class X{}class se{}class ge{constructor(ie){this.normalizedNames=new Map,this.lazyUpdate=null,ie?"string"==typeof ie?this.lazyInit=()=>{this.headers=new Map,ie.split("\n").forEach(te=>{const Pe=te.indexOf(":");if(Pe>0){const je=te.slice(0,Pe),Qe=je.toLowerCase(),it=te.slice(Pe+1).trim();this.maybeSetNormalizedName(je,Qe),this.headers.has(Qe)?this.headers.get(Qe).push(it):this.headers.set(Qe,[it])}})}:typeof Headers<"u"&&ie instanceof Headers?(this.headers=new Map,ie.forEach((te,Pe)=>{this.setHeaderEntries(Pe,te)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ie).forEach(([te,Pe])=>{this.setHeaderEntries(te,Pe)})}:this.headers=new Map}has(ie){return this.init(),this.headers.has(ie.toLowerCase())}get(ie){this.init();const te=this.headers.get(ie.toLowerCase());return te&&te.length>0?te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ie){return this.init(),this.headers.get(ie.toLowerCase())||null}append(ie,te){return this.clone({name:ie,value:te,op:"a"})}set(ie,te){return this.clone({name:ie,value:te,op:"s"})}delete(ie,te){return this.clone({name:ie,value:te,op:"d"})}maybeSetNormalizedName(ie,te){this.normalizedNames.has(te)||this.normalizedNames.set(te,ie)}init(){this.lazyInit&&(this.lazyInit instanceof ge?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ie=>this.applyUpdate(ie)),this.lazyUpdate=null))}copyFrom(ie){ie.init(),Array.from(ie.headers.keys()).forEach(te=>{this.headers.set(te,ie.headers.get(te)),this.normalizedNames.set(te,ie.normalizedNames.get(te))})}clone(ie){const te=new ge;return te.lazyInit=this.lazyInit&&this.lazyInit instanceof ge?this.lazyInit:this,te.lazyUpdate=(this.lazyUpdate||[]).concat([ie]),te}applyUpdate(ie){const te=ie.name.toLowerCase();switch(ie.op){case"a":case"s":let Pe=ie.value;if("string"==typeof Pe&&(Pe=[Pe]),0===Pe.length)return;this.maybeSetNormalizedName(ie.name,te);const je=("a"===ie.op?this.headers.get(te):void 0)||[];je.push(...Pe),this.headers.set(te,je);break;case"d":const Qe=ie.value;if(Qe){let it=this.headers.get(te);if(!it)return;it=it.filter(Ut=>-1===Qe.indexOf(Ut)),0===it.length?(this.headers.delete(te),this.normalizedNames.delete(te)):this.headers.set(te,it)}else this.headers.delete(te),this.normalizedNames.delete(te)}}setHeaderEntries(ie,te){const Pe=(Array.isArray(te)?te:[te]).map(Qe=>Qe.toString()),je=ie.toLowerCase();this.headers.set(je,Pe),this.maybeSetNormalizedName(ie,je)}forEach(ie){this.init(),Array.from(this.normalizedNames.keys()).forEach(te=>ie(this.normalizedNames.get(te),this.headers.get(te)))}}class Ye{encodeKey(ie){return _t(ie)}encodeValue(ie){return _t(ie)}decodeKey(ie){return decodeURIComponent(ie)}decodeValue(ie){return decodeURIComponent(ie)}}const Ct=/%(\d[a-f0-9])/gi,rt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _t(G){return encodeURIComponent(G).replace(Ct,(ie,te)=>rt[te]??ie)}function Ie(G){return`${G}`}class Ee{constructor(ie={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ie.encoder||new Ye,ie.fromString){if(ie.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tt(G,ie){const te=new Map;return G.length>0&&G.replace(/^\?/,"").split("&").forEach(je=>{const Qe=je.indexOf("="),[it,Ut]=-1==Qe?[ie.decodeKey(je),""]:[ie.decodeKey(je.slice(0,Qe)),ie.decodeValue(je.slice(Qe+1))],Tt=te.get(it)||[];Tt.push(Ut),te.set(it,Tt)}),te}(ie.fromString,this.encoder)}else ie.fromObject?(this.map=new Map,Object.keys(ie.fromObject).forEach(te=>{const Pe=ie.fromObject[te],je=Array.isArray(Pe)?Pe.map(Ie):[Ie(Pe)];this.map.set(te,je)})):this.map=null}has(ie){return this.init(),this.map.has(ie)}get(ie){this.init();const te=this.map.get(ie);return te?te[0]:null}getAll(ie){return this.init(),this.map.get(ie)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ie,te){return this.clone({param:ie,value:te,op:"a"})}appendAll(ie){const te=[];return Object.keys(ie).forEach(Pe=>{const je=ie[Pe];Array.isArray(je)?je.forEach(Qe=>{te.push({param:Pe,value:Qe,op:"a"})}):te.push({param:Pe,value:je,op:"a"})}),this.clone(te)}set(ie,te){return this.clone({param:ie,value:te,op:"s"})}delete(ie,te){return this.clone({param:ie,value:te,op:"d"})}toString(){return this.init(),this.keys().map(ie=>{const te=this.encoder.encodeKey(ie);return this.map.get(ie).map(Pe=>te+"="+this.encoder.encodeValue(Pe)).join("&")}).filter(ie=>""!==ie).join("&")}clone(ie){const te=new Ee({encoder:this.encoder});return te.cloneFrom=this.cloneFrom||this,te.updates=(this.updates||[]).concat(ie),te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ie=>this.map.set(ie,this.cloneFrom.map.get(ie))),this.updates.forEach(ie=>{switch(ie.op){case"a":case"s":const te=("a"===ie.op?this.map.get(ie.param):void 0)||[];te.push(Ie(ie.value)),this.map.set(ie.param,te);break;case"d":if(void 0===ie.value){this.map.delete(ie.param);break}{let Pe=this.map.get(ie.param)||[];const je=Pe.indexOf(Ie(ie.value));-1!==je&&Pe.splice(je,1),Pe.length>0?this.map.set(ie.param,Pe):this.map.delete(ie.param)}}}),this.cloneFrom=this.updates=null)}}class Ke{constructor(){this.map=new Map}set(ie,te){return this.map.set(ie,te),this}get(ie){return this.map.has(ie)||this.map.set(ie,ie.defaultValue()),this.map.get(ie)}delete(ie){return this.map.delete(ie),this}has(ie){return this.map.has(ie)}keys(){return this.map.keys()}}function pe(G){return typeof ArrayBuffer<"u"&&G instanceof ArrayBuffer}function Te(G){return typeof Blob<"u"&&G instanceof Blob}function Le(G){return typeof FormData<"u"&&G instanceof FormData}class Ve{constructor(ie,te,Pe,je){let Qe;if(this.url=te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ie.toUpperCase(),function de(G){switch(G){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||je?(this.body=void 0!==Pe?Pe:null,Qe=je):Qe=Pe,Qe&&(this.reportProgress=!!Qe.reportProgress,this.withCredentials=!!Qe.withCredentials,Qe.responseType&&(this.responseType=Qe.responseType),Qe.headers&&(this.headers=Qe.headers),Qe.context&&(this.context=Qe.context),Qe.params&&(this.params=Qe.params),this.transferCache=Qe.transferCache),this.headers||(this.headers=new ge),this.context||(this.context=new Ke),this.params){const it=this.params.toString();if(0===it.length)this.urlWithParams=te;else{const Ut=te.indexOf("?");this.urlWithParams=te+(-1===Ut?"?":Ut<te.length-1?"&":"")+it}}else this.params=new Ee,this.urlWithParams=te}serializeBody(){return null===this.body?null:pe(this.body)||Te(this.body)||Le(this.body)||function ze(G){return typeof URLSearchParams<"u"&&G instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ee?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Le(this.body)?null:Te(this.body)?this.body.type||null:pe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ee?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ie={}){const te=ie.method||this.method,Pe=ie.url||this.url,je=ie.responseType||this.responseType,Qe=void 0!==ie.body?ie.body:this.body,it=void 0!==ie.withCredentials?ie.withCredentials:this.withCredentials,Ut=void 0!==ie.reportProgress?ie.reportProgress:this.reportProgress;let Tt=ie.headers||this.headers,fn=ie.params||this.params;const mn=ie.context??this.context;return void 0!==ie.setHeaders&&(Tt=Object.keys(ie.setHeaders).reduce((yt,$)=>yt.set($,ie.setHeaders[$]),Tt)),ie.setParams&&(fn=Object.keys(ie.setParams).reduce((yt,$)=>yt.set($,ie.setParams[$]),fn)),new Ve(te,Pe,Qe,{params:fn,headers:Tt,context:mn,reportProgress:Ut,responseType:je,withCredentials:it})}}var He=function(G){return G[G.Sent=0]="Sent",G[G.UploadProgress=1]="UploadProgress",G[G.ResponseHeader=2]="ResponseHeader",G[G.DownloadProgress=3]="DownloadProgress",G[G.Response=4]="Response",G[G.User=5]="User",G}(He||{});class pt{constructor(ie,te=me.Ok,Pe="OK"){this.headers=ie.headers||new ge,this.status=void 0!==ie.status?ie.status:te,this.statusText=ie.statusText||Pe,this.url=ie.url||null,this.ok=this.status>=200&&this.status<300}}class Ot extends pt{constructor(ie={}){super(ie),this.type=He.ResponseHeader}clone(ie={}){return new Ot({headers:ie.headers||this.headers,status:void 0!==ie.status?ie.status:this.status,statusText:ie.statusText||this.statusText,url:ie.url||this.url||void 0})}}class vt extends pt{constructor(ie={}){super(ie),this.type=He.Response,this.body=void 0!==ie.body?ie.body:null}clone(ie={}){return new vt({body:void 0!==ie.body?ie.body:this.body,headers:ie.headers||this.headers,status:void 0!==ie.status?ie.status:this.status,statusText:ie.statusText||this.statusText,url:ie.url||this.url||void 0})}}class Ft extends pt{constructor(ie){super(ie,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ie.url||"(unknown url)"}`:`Http failure response for ${ie.url||"(unknown url)"}: ${ie.status} ${ie.statusText}`,this.error=ie.error||null}}var me=function(G){return G[G.Continue=100]="Continue",G[G.SwitchingProtocols=101]="SwitchingProtocols",G[G.Processing=102]="Processing",G[G.EarlyHints=103]="EarlyHints",G[G.Ok=200]="Ok",G[G.Created=201]="Created",G[G.Accepted=202]="Accepted",G[G.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",G[G.NoContent=204]="NoContent",G[G.ResetContent=205]="ResetContent",G[G.PartialContent=206]="PartialContent",G[G.MultiStatus=207]="MultiStatus",G[G.AlreadyReported=208]="AlreadyReported",G[G.ImUsed=226]="ImUsed",G[G.MultipleChoices=300]="MultipleChoices",G[G.MovedPermanently=301]="MovedPermanently",G[G.Found=302]="Found",G[G.SeeOther=303]="SeeOther",G[G.NotModified=304]="NotModified",G[G.UseProxy=305]="UseProxy",G[G.Unused=306]="Unused",G[G.TemporaryRedirect=307]="TemporaryRedirect",G[G.PermanentRedirect=308]="PermanentRedirect",G[G.BadRequest=400]="BadRequest",G[G.Unauthorized=401]="Unauthorized",G[G.PaymentRequired=402]="PaymentRequired",G[G.Forbidden=403]="Forbidden",G[G.NotFound=404]="NotFound",G[G.MethodNotAllowed=405]="MethodNotAllowed",G[G.NotAcceptable=406]="NotAcceptable",G[G.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",G[G.RequestTimeout=408]="RequestTimeout",G[G.Conflict=409]="Conflict",G[G.Gone=410]="Gone",G[G.LengthRequired=411]="LengthRequired",G[G.PreconditionFailed=412]="PreconditionFailed",G[G.PayloadTooLarge=413]="PayloadTooLarge",G[G.UriTooLong=414]="UriTooLong",G[G.UnsupportedMediaType=415]="UnsupportedMediaType",G[G.RangeNotSatisfiable=416]="RangeNotSatisfiable",G[G.ExpectationFailed=417]="ExpectationFailed",G[G.ImATeapot=418]="ImATeapot",G[G.MisdirectedRequest=421]="MisdirectedRequest",G[G.UnprocessableEntity=422]="UnprocessableEntity",G[G.Locked=423]="Locked",G[G.FailedDependency=424]="FailedDependency",G[G.TooEarly=425]="TooEarly",G[G.UpgradeRequired=426]="UpgradeRequired",G[G.PreconditionRequired=428]="PreconditionRequired",G[G.TooManyRequests=429]="TooManyRequests",G[G.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",G[G.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",G[G.InternalServerError=500]="InternalServerError",G[G.NotImplemented=501]="NotImplemented",G[G.BadGateway=502]="BadGateway",G[G.ServiceUnavailable=503]="ServiceUnavailable",G[G.GatewayTimeout=504]="GatewayTimeout",G[G.HttpVersionNotSupported=505]="HttpVersionNotSupported",G[G.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",G[G.InsufficientStorage=507]="InsufficientStorage",G[G.LoopDetected=508]="LoopDetected",G[G.NotExtended=510]="NotExtended",G[G.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",G}(me||{});function _e(G,ie){return{body:ie,headers:G.headers,context:G.context,observe:G.observe,params:G.params,reportProgress:G.reportProgress,responseType:G.responseType,withCredentials:G.withCredentials,transferCache:G.transferCache}}let xe=(()=>{class G{constructor(te){this.handler=te}request(te,Pe,je={}){let Qe;if(te instanceof Ve)Qe=te;else{let Tt,fn;Tt=je.headers instanceof ge?je.headers:new ge(je.headers),je.params&&(fn=je.params instanceof Ee?je.params:new Ee({fromObject:je.params})),Qe=new Ve(te,Pe,void 0!==je.body?je.body:null,{headers:Tt,context:je.context,params:fn,reportProgress:je.reportProgress,responseType:je.responseType||"json",withCredentials:je.withCredentials,transferCache:je.transferCache})}const it=(0,s.of)(Qe).pipe((0,F.b)(Tt=>this.handler.handle(Tt)));if(te instanceof Ve||"events"===je.observe)return it;const Ut=it.pipe((0,z.h)(Tt=>Tt instanceof vt));switch(je.observe||"body"){case"body":switch(Qe.responseType){case"arraybuffer":return Ut.pipe((0,Y.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Tt.body}));case"blob":return Ut.pipe((0,Y.U)(Tt=>{if(null!==Tt.body&&!(Tt.body instanceof Blob))throw new Error("Response is not a Blob.");return Tt.body}));case"text":return Ut.pipe((0,Y.U)(Tt=>{if(null!==Tt.body&&"string"!=typeof Tt.body)throw new Error("Response is not a string.");return Tt.body}));default:return Ut.pipe((0,Y.U)(Tt=>Tt.body))}case"response":return Ut;default:throw new Error(`Unreachable: unhandled observe type ${je.observe}}`)}}delete(te,Pe={}){return this.request("DELETE",te,Pe)}get(te,Pe={}){return this.request("GET",te,Pe)}head(te,Pe={}){return this.request("HEAD",te,Pe)}jsonp(te,Pe){return this.request("JSONP",te,{params:(new Ee).append(Pe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(te,Pe={}){return this.request("OPTIONS",te,Pe)}patch(te,Pe,je={}){return this.request("PATCH",te,_e(je,Pe))}post(te,Pe,je={}){return this.request("POST",te,_e(je,Pe))}put(te,Pe,je={}){return this.request("PUT",te,_e(je,Pe))}static#e=this.\u0275fac=function(Pe){return new(Pe||G)(w.LFG(X))};static#t=this.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac})}return G})();function nt(G,ie){return ie(G)}function Nt(G,ie){return(te,Pe)=>ie.intercept(te,{handle:je=>G(je,Pe)})}const Yt=new w.OlP(""),dn=new w.OlP(""),Gt=new w.OlP(""),qe=new w.OlP("");function Ze(){let G=null;return(ie,te)=>{null===G&&(G=((0,w.f3M)(Yt,{optional:!0})??[]).reduceRight(Nt,nt));const Pe=(0,w.f3M)(w.I6F),je=Pe.add();return G(ie,te).pipe((0,Z.x)(()=>Pe.remove(je)))}}let $n=(()=>{class G extends X{constructor(te,Pe){super(),this.backend=te,this.injector=Pe,this.chain=null,this.pendingTasks=(0,w.f3M)(w.I6F);const je=(0,w.f3M)(qe,{optional:!0});this.backend=je??te}handle(te){if(null===this.chain){const je=Array.from(new Set([...this.injector.get(dn),...this.injector.get(Gt,[])]));this.chain=je.reduceRight((Qe,it)=>function Rt(G,ie,te){return(Pe,je)=>(0,w.r_H)(te,()=>ie(Pe,Qe=>G(Qe,je)))}(Qe,it,this.injector),nt)}const Pe=this.pendingTasks.add();return this.chain(te,je=>this.backend.handle(je)).pipe((0,Z.x)(()=>this.pendingTasks.remove(Pe)))}static#e=this.\u0275fac=function(Pe){return new(Pe||G)(w.LFG(se),w.LFG(w.lqb))};static#t=this.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac})}return G})();const Cn=/^\)\]\}',?\n/;let ot=(()=>{class G{constructor(te){this.xhrFactory=te}handle(te){if("JSONP"===te.method)throw new w.vHH(-2800,!1);const Pe=this.xhrFactory;return(Pe.\u0275loadImpl?(0,B.D)(Pe.\u0275loadImpl()):(0,s.of)(null)).pipe((0,q.w)(()=>new H.y(Qe=>{const it=Pe.build();if(it.open(te.method,te.urlWithParams),te.withCredentials&&(it.withCredentials=!0),te.headers.forEach((ee,le)=>it.setRequestHeader(ee,le.join(","))),te.headers.has("Accept")||it.setRequestHeader("Accept","application/json, text/plain, */*"),!te.headers.has("Content-Type")){const ee=te.detectContentTypeHeader();null!==ee&&it.setRequestHeader("Content-Type",ee)}if(te.responseType){const ee=te.responseType.toLowerCase();it.responseType="json"!==ee?ee:"text"}const Ut=te.serializeBody();let Tt=null;const fn=()=>{if(null!==Tt)return Tt;const ee=it.statusText||"OK",le=new ge(it.getAllResponseHeaders()),Re=function rr(G){return"responseURL"in G&&G.responseURL?G.responseURL:/^X-Request-URL:/m.test(G.getAllResponseHeaders())?G.getResponseHeader("X-Request-URL"):null}(it)||te.url;return Tt=new Ot({headers:le,status:it.status,statusText:ee,url:Re}),Tt},mn=()=>{let{headers:ee,status:le,statusText:Re,url:At}=fn(),Mt=null;le!==me.NoContent&&(Mt=typeof it.response>"u"?it.responseText:it.response),0===le&&(le=Mt?me.Ok:0);let wt=le>=200&&le<300;if("json"===te.responseType&&"string"==typeof Mt){const Fn=Mt;Mt=Mt.replace(Cn,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(si){Mt=Fn,wt&&(wt=!1,Mt={error:si,text:Mt})}}wt?(Qe.next(new vt({body:Mt,headers:ee,status:le,statusText:Re,url:At||void 0})),Qe.complete()):Qe.error(new Ft({error:Mt,headers:ee,status:le,statusText:Re,url:At||void 0}))},yt=ee=>{const{url:le}=fn(),Re=new Ft({error:ee,status:it.status||0,statusText:it.statusText||"Unknown Error",url:le||void 0});Qe.error(Re)};let $=!1;const ft=ee=>{$||(Qe.next(fn()),$=!0);let le={type:He.DownloadProgress,loaded:ee.loaded};ee.lengthComputable&&(le.total=ee.total),"text"===te.responseType&&it.responseText&&(le.partialText=it.responseText),Qe.next(le)},V=ee=>{let le={type:He.UploadProgress,loaded:ee.loaded};ee.lengthComputable&&(le.total=ee.total),Qe.next(le)};return it.addEventListener("load",mn),it.addEventListener("error",yt),it.addEventListener("timeout",yt),it.addEventListener("abort",yt),te.reportProgress&&(it.addEventListener("progress",ft),null!==Ut&&it.upload&&it.upload.addEventListener("progress",V)),it.send(Ut),Qe.next({type:He.Sent}),()=>{it.removeEventListener("error",yt),it.removeEventListener("abort",yt),it.removeEventListener("load",mn),it.removeEventListener("timeout",yt),te.reportProgress&&(it.removeEventListener("progress",ft),null!==Ut&&it.upload&&it.upload.removeEventListener("progress",V)),it.readyState!==it.DONE&&it.abort()}})))}static#e=this.\u0275fac=function(Pe){return new(Pe||G)(w.LFG(Q.JF))};static#t=this.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac})}return G})();const ui=new w.OlP("XSRF_ENABLED"),ei=new w.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Rn=new w.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class An{}let Dn=(()=>{class G{constructor(te,Pe,je){this.doc=te,this.platform=Pe,this.cookieName=je,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const te=this.doc.cookie||"";return te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Q.Mx)(te,this.cookieName),this.lastCookieString=te),this.lastToken}static#e=this.\u0275fac=function(Pe){return new(Pe||G)(w.LFG(Q.K0),w.LFG(w.Lbi),w.LFG(ei))};static#t=this.\u0275prov=w.Yz7({token:G,factory:G.\u0275fac})}return G})();function Tn(G,ie){const te=G.url.toLowerCase();if(!(0,w.f3M)(ui)||"GET"===G.method||"HEAD"===G.method||te.startsWith("http://")||te.startsWith("https://"))return ie(G);const Pe=(0,w.f3M)(An).getToken(),je=(0,w.f3M)(Rn);return null!=Pe&&!G.headers.has(je)&&(G=G.clone({headers:G.headers.set(je,Pe)})),ie(G)}var mt=function(G){return G[G.Interceptors=0]="Interceptors",G[G.LegacyInterceptors=1]="LegacyInterceptors",G[G.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",G[G.NoXsrfProtection=3]="NoXsrfProtection",G[G.JsonpSupport=4]="JsonpSupport",G[G.RequestsMadeViaParent=5]="RequestsMadeViaParent",G[G.Fetch=6]="Fetch",G}(mt||{});function vi(...G){const ie=[xe,ot,$n,{provide:X,useExisting:$n},{provide:se,useExisting:ot},{provide:dn,useValue:Tn,multi:!0},{provide:ui,useValue:!0},{provide:An,useClass:Dn}];for(const te of G)ie.push(...te.\u0275providers);return(0,w.MR2)(ie)}const Oe=new w.OlP("LEGACY_INTERCEPTOR_FN");function be(){return function It(G,ie){return{\u0275kind:G,\u0275providers:ie}}(mt.LegacyInterceptors,[{provide:Oe,useFactory:Ze},{provide:dn,useExisting:Oe,multi:!0}])}let Lt=(()=>{class G{static#e=this.\u0275fac=function(Pe){return new(Pe||G)};static#t=this.\u0275mod=w.oAB({type:G});static#n=this.\u0275inj=w.cJS({providers:[vi(be())]})}return G})()},9212:(k,E,f)=>{function r(e,t){return Object.is(e,t)}f.d(E,{tb:()=>wg,AFp:()=>yh,ip1:()=>Cb,z2F:()=>ol,Ojb:()=>Xg,sBO:()=>y_,Sil:()=>_S,_Vd:()=>Xc,EJc:()=>eI,ktI:()=>ou,Xts:()=>rs,SBq:()=>eu,lqb:()=>ko,qLn:()=>la,vpe:()=>ds,XFs:()=>yt,OlP:()=>wt,zs3:()=>br,ZZ4:()=>Jh,aQg:()=>Qh,soG:()=>Pf,YKP:()=>My,h0i:()=>rl,R0b:()=>Si,FiY:()=>Ls,Lbi:()=>Sd,g9A:()=>Td,Qsj:()=>yC,FYo:()=>km,JOm:()=>Lo,q3G:()=>Ja,WD2:()=>mi,tp0:()=>Tl,Rgc:()=>Eu,dDg:()=>GS,eoX:()=>bb,kie:()=>Kc,GfV:()=>fb,s_b:()=>af,ifc:()=>ar,T8G:()=>I_,gHi:()=>kc,VuI:()=>LI,Flj:()=>DC,LMc:()=>UI,MMx:()=>Sy,Lck:()=>ST,cEC:()=>b_,G48:()=>oI,Gpc:()=>rr,RIp:()=>lh,f3M:()=>Jt,$WT:()=>Tr,MR2:()=>Nc,Cb6:()=>rC,qFp:()=>VI,r_H:()=>zg,tdS:()=>wC,rg0:()=>MC,c2e:()=>hb,zSh:()=>gd,wAp:()=>ac,I6F:()=>Of,vHH:()=>Ze,lri:()=>vb,rWj:()=>yb,JZr:()=>qe,EiD:()=>Mm,mCW:()=>Hd,qzn:()=>kl,JVY:()=>U1,pB0:()=>$1,eBb:()=>j1,L6k:()=>V1,LAX:()=>H1,cg1:()=>Yp,kuF:()=>vn,kL8:()=>r0,dqk:()=>Re,iPO:()=>EI,Z0I:()=>Pe,eJc:()=>Us,QGY:()=>Qp,F4k:()=>x0,RDi:()=>Md,AaK:()=>ln,z3N:()=>$s,zW0:()=>R_,qOj:()=>mp,lbL:()=>nr,Xq5:()=>B_,TTD:()=>Ur,_Bn:()=>Ey,jDz:()=>Iy,xp6:()=>e_,uIk:()=>Pp,Tol:()=>Bv,ekj:()=>Vp,um2:()=>qv,Suo:()=>ey,Xpm:()=>Es,lG2:()=>Ms,Yz7:()=>en,cJS:()=>ie,oAB:()=>qr,Yjl:()=>uo,Y36:()=>Ul,_UZ:()=>Zp,GkF:()=>Wp,BQk:()=>yf,ynx:()=>vf,qZA:()=>_f,TgZ:()=>mf,EpF:()=>t0,n5z:()=>La,Ikx:()=>qp,SDv:()=>A0,LFG:()=>qn,$8M:()=>Yu,$Z:()=>n_,NdJ:()=>Xp,CRH:()=>iy,kcU:()=>Bu,O4$:()=>go,oxw:()=>L0,ALo:()=>Wy,lcZ:()=>qy,xi3:()=>Yy,Hsn:()=>U0,F$t:()=>B0,Q6J:()=>Lp,DdM:()=>Ly,VKq:()=>By,WLB:()=>Uy,kEZ:()=>Vy,l5B:()=>jy,iGM:()=>ny,MAs:()=>ry,wJu:()=>Qv,SjG:()=>Jv,x6l:()=>Kv,ikw:()=>Yv,KtG:()=>fl,Jf7:()=>Od,CHM:()=>dl,oJD:()=>Tm,LSH:()=>Bh,P3R:()=>Im,Udp:()=>Up,YNc:()=>$l,W1O:()=>Ky,_uU:()=>py,Oqu:()=>ag,hij:()=>Mf,AsE:()=>lg,Gf:()=>ty});let w=null,s=!1,H=1;const B=Symbol("SIGNAL");function F(e){const t=w;return w=e,t}const q={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Q(e){if(s)throw new Error("");if(null===w)return;w.consumerOnSignalRead(e);const t=w.nextProducerIndex++;Ke(w),t<w.producerNode.length&&w.producerNode[t]!==e&&et(w)&&Ee(w.producerNode[t],w.producerIndexOfThis[t]),w.producerNode[t]!==e&&(w.producerNode[t]=e,w.producerIndexOfThis[t]=et(w)?Ie(e,w,t):0),w.producerLastReadVersion[t]=e.version}function se(e){if((!et(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==H)){if(!e.producerMustRecompute(e)&&!rt(e))return e.dirty=!1,void(e.lastCleanEpoch=H);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=H}}function ge(e){if(void 0===e.liveConsumerNode)return;const t=s;s=!0;try{for(const n of e.liveConsumerNode)n.dirty||Ye(n)}finally{s=t}}function Me(){return!1!==w?.consumerAllowSignalWrites}function Ye(e){e.dirty=!0,ge(e),e.consumerMarkedDirty?.(e)}function tt(e){return e&&(e.nextProducerIndex=0),F(e)}function Ct(e,t){if(F(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(et(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ee(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function rt(e){Ke(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(se(n),i!==n.version))return!0}return!1}function _t(e){if(Ke(e),et(e))for(let t=0;t<e.producerNode.length;t++)Ee(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ie(e,t,n){if(de(e),Ke(e),0===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Ie(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ee(e,t){if(de(e),Ke(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Ee(e.producerNode[i],e.producerIndexOfThis[i]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ke(o),o.producerIndexOfThis[i]=t}}function et(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ke(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function de(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Te=Symbol("UNSET"),Le=Symbol("COMPUTING"),ze=Symbol("ERRORED"),Ve={...q,value:Te,dirty:!0,error:null,equal:r,producerMustRecompute:e=>e.value===Te||e.value===Le,producerRecomputeValue(e){if(e.value===Le)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Le;const n=tt(e);let i;try{i=e.computation()}catch(o){i=ze,e.error=o}finally{Ct(e,n)}t!==Te&&t!==ze&&i!==ze&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let pt=function He(){throw new Error};function Ot(){pt()}let Ft=null;function De(e,t){Me()||Ot(),e.equal(e.value,t)||(e.value=t,function Je(e){e.version++,function X(){H++}(),ge(e),Ft?.()}(e))}const he={...q,equal:r,value:void 0};const ke=()=>{},ye={...q,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ke};var Nt=f(8645),Rt=f(7394),Yt=f(5619),dn=f(7398);const qe="https://g.co/ng/security#xss";class Ze extends Error{constructor(t,n){super(vn(t,n)),this.code=t}}function vn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Zt(e){for(let t in e)if(e[t]===Zt)return t;throw Error("Could not find renamed property on target object.")}function ri(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ln(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ln).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 Wn(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Cn=Zt({__forward_ref__:Zt});function rr(e){return e.__forward_ref__=rr,e.toString=function(){return ln(this())},e}function ot(e){return ui(e)?e():e}function ui(e){return"function"==typeof e&&e.hasOwnProperty(Cn)&&e.__forward_ref__===rr}function Kt(e){return e&&!!e.\u0275providers}const ei=Zt({\u0275cmp:Zt}),Ei=Zt({\u0275dir:Zt}),Rn=Zt({\u0275pipe:Zt}),An=Zt({\u0275mod:Zt}),Dn=Zt({\u0275fac:Zt}),Tn=Zt({__NG_ELEMENT_ID__:Zt}),_i=Zt({__NG_ENV_ID__:Zt});function mt(e){return"string"==typeof e?e:null==e?"":String(e)}function oe(e,t){throw new Ze(-201,!1)}function Et(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function en(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ie(e){return{providers:e.providers||[],imports:e.imports||[]}}function te(e){return je(e,Ut)||je(e,fn)}function Pe(e){return null!==te(e)}function je(e,t){return e.hasOwnProperty(t)?e[t]:null}function it(e){return e&&(e.hasOwnProperty(Tt)||e.hasOwnProperty(mn))?e[Tt]:null}const Ut=Zt({\u0275prov:Zt}),Tt=Zt({\u0275inj:Zt}),fn=Zt({ngInjectableDef:Zt}),mn=Zt({ngInjectorDef:Zt});var yt=function(e){return 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",e}(yt||{});let $;function ft(){return $}function V(e){const t=$;return $=e,t}function ee(e,t,n){const i=te(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&yt.Optional?null:void 0!==t?t:void oe()}const Re=globalThis;class wt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=en({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const er={},oo="__NG_DI_FLAG__",so="ngTempTokenPath",_s=/\n/gm,zr="__source";let sr;function gr(e){const t=sr;return sr=e,t}function Pr(e,t=yt.Default){if(void 0===sr)throw new Ze(-203,!1);return null===sr?ee(e,void 0,t):sr.get(e,t&yt.Optional?null:void 0,t)}function qn(e,t=yt.Default){return(ft()||Pr)(ot(e),t)}function Jt(e,t=yt.Default){return qn(e,hi(t))}function hi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){const t=[];for(let n=0;n<e.length;n++){const i=ot(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Ze(900,!1);let o,l=yt.Default;for(let d=0;d<i.length;d++){const h=i[d],v=ao(h);"number"==typeof v?-1===v?o=h.token:l|=v:o=h}t.push(qn(o,l))}else t.push(qn(i))}return t}function Rr(e,t){return e[oo]=t,e.prototype[oo]=t,e}function ao(e){return e[oo]}function tr(e){return{toString:e}.toString()}var Zr=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Zr||{}),ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ar||{});const xi={},an=[];var nr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(nr||{});function Er(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const l=t.length;if(o+l===i||e.charCodeAt(o+l)<=32)return o}n=o+1}}function kr(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const l=n[i++],d=n[i++],h=n[i++];e.setAttribute(t,d,h,l)}else{const l=o,d=n[++i];Go(l)?e.setProperty(t,l,d):e.setAttribute(t,l,d),i++}}return i}function lo(e){return 3===e||4===e||6===e}function Go(e){return 64===e.charCodeAt(0)}function Mr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||bs(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function bs(e,t,n,i,o){let l=0,d=e.length;if(-1===t)d=-1;else for(;l<e.length;){const h=e[l++];if("number"==typeof h){if(h===t){d=-1;break}if(h>t){d=l-1;break}}}for(;l<e.length;){const h=e[l];if("number"==typeof h)break;if(h===n){if(null===i)return void(null!==o&&(e[l+1]=o));if(i===e[l+1])return void(e[l+2]=o)}l++,null!==i&&l++,null!==o&&l++}-1!==d&&(e.splice(d,0,t),l=d+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==o&&e.splice(l++,0,o)}const co="ng-template";function Fr(e,t,n){let i=0,o=!0;for(;i<e.length;){let l=e[i++];if("string"==typeof l&&o){const d=e[i++];if(n&&"class"===l&&-1!==Er(d.toLowerCase(),t,0))return!0}else{if(1===l){for(;i<e.length&&"string"==typeof(l=e[i++]);)if(l.toLowerCase()===t)return!0;return!1}"number"==typeof l&&(o=!1)}}return!1}function wo(e){return 4===e.type&&e.value!==co}function zo(e,t,n){return t===(4!==e.type||n?e.value:co)}function lr(e,t,n){let i=4;const o=e.attrs||[],l=function Zo(e){for(let t=0;t<e.length;t++)if(lo(e[t]))return t;return e.length}(o);let d=!1;for(let h=0;h<t.length;h++){const v=t[h];if("number"!=typeof v){if(!d)if(4&i){if(i=2|1&i,""!==v&&!zo(e,v,n)||""===v&&1===t.length){if($i(i))return!1;d=!0}}else{const T=8&i?v:t[++h];if(8&i&&null!==e.attrs){if(!Fr(e.attrs,T,n)){if($i(i))return!1;d=!0}continue}const j=Wr(8&i?"class":v,o,wo(e),n);if(-1===j){if($i(i))return!1;d=!0;continue}if(""!==T){let re;re=j>l?"":o[j+1].toLowerCase();const ce=8&i?re:null;if(ce&&-1!==Er(ce,T,0)||2&i&&T!==re){if($i(i))return!1;d=!0}}}}else{if(!d&&!$i(i)&&!$i(v))return!1;if(d&&$i(v))continue;d=!1,i=v|1&i}}return $i(i)||d}function $i(e){return 0==(1&e)}function Wr(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let l=!1;for(;o<t.length;){const d=t[o];if(d===e)return o;if(3===d||6===d)l=!0;else{if(1===d||2===d){let h=t[++o];for(;"string"==typeof h;)h=t[++o];continue}if(4===d)break;if(0===d){o+=4;continue}}o+=l?1:2}return-1}return function Ds(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Cs(e,t,n=!1){for(let i=0;i<t.length;i++)if(lr(e,t[i],n))return!0;return!1}function Lr(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Wo(e,t){return e?":not("+t.trim()+")":t}function ha(e){let t=e[0],n=1,i=2,o="",l=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const h=e[++n];o+="["+d+(h.length>0?'="'+h+'"':"")+"]"}else 8&i?o+="."+d:4&i&&(o+=" "+d);else""!==o&&!$i(d)&&(t+=Wo(l,o),o=""),i=d,l=l||!$i(i);n++}return""!==o&&(t+=Wo(l,o)),t}function Es(e){return tr(()=>{const t=Mo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ar.Emulated,styles:e.styles||an,_:null,schemas:e.schemas||null,tView:null,id:""};Ko(n);const i=e.dependencies;return n.directiveDefs=mr(i,!1),n.pipeDefs=mr(i,!0),n.id=function pa(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Ws(e){return tn(e)||zn(e)}function Yo(e){return null!==e}function qr(e){return tr(()=>({type:e.type,bootstrap:e.bootstrap||an,declarations:e.declarations||an,imports:e.imports||an,exports:e.exports||an,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pi(e,t){if(null==e)return xi;const n={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let l,d,h=nr.None;Array.isArray(o)?(h=o[0],l=o[1],d=o[2]??l):(l=o,d=o),t?(n[l]=h!==nr.None?[i,h]:i,t[l]=d):n[l]=i}return n}function Ms(e){return tr(()=>{const t=Mo(e);return Ko(t),t})}function uo(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 tn(e){return e[ei]||null}function zn(e){return e[Ei]||null}function Jn(e){return e[Rn]||null}function Tr(e){const t=tn(e)||zn(e)||Jn(e);return null!==t&&t.standalone}function ti(e,t){const n=e[An]||null;if(!n&&!0===t)throw new Error(`Type ${ln(e)} does not have '\u0275mod' property.`);return n}function Mo(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,inputTransforms:null,inputConfig:e.inputs||xi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||an,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pi(e.inputs,t),outputs:Pi(e.outputs),debugInfo:null}}function Ko(e){e.features?.forEach(t=>t(e))}function mr(e,t){if(!e)return null;const n=t?Jn:Ws;return()=>("function"==typeof e?e():e).map(i=>n(i)).filter(Yo)}const Ht=0,Xe=1,S=2,A=3,D=4,L=5,ne=6,ut=7,gt=8,wn=9,pi=10,Pt=11,Ri=12,cr=13,Br=14,Nn=15,Sr=16,So=17,Ir=18,fo=19,Ts=20,Yr=21,qs=22,Kr=23,Wt=25,Jo=1,Gi=7,Qo=9,ni=10;var Ys=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ys||{});function gi(e){return Array.isArray(e)&&"object"==typeof e[Jo]}function yi(e){return Array.isArray(e)&&!0===e[Jo]}function Xo(e){return 0!=(4&e.flags)}function Oo(e){return e.componentOffset>-1}function es(e){return 1==(1&e.flags)}function _r(e){return!!e.template}function ma(e){return 0!=(512&e[S])}function Zn(e,t){return e.hasOwnProperty(Dn)?e[Dn]:null}class mi{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function ur(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function Ur(){return vr}function vr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ao),Jr}function Jr(){const e=ir(this),t=e?.current;if(t){const n=e.previous;if(n===xi)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ao(e,t,n,i,o){const l=this.declaredInputs[i],d=ir(e)||function pc(e,t){return e[ns]=t}(e,{previous:xi,current:null}),h=d.current||(d.current={}),v=d.previous,T=v[l];h[l]=new mi(T&&T.currentValue,n,v===xi),ur(e,t,o,n)}Ur.ngInherit=!0;const ns="__ngSimpleChanges__";function ir(e){return e[ns]||null}const dr=function(e,t,n){},ba="svg";let Js=!1;function Bn(e){for(;Array.isArray(e);)e=e[Ht];return e}function fr(e,t){return Bn(t[e])}function bi(e,t){return Bn(t[e.index])}function No(e,t){return e.data[t]}function ki(e,t){return e[t]}function yr(e,t){const n=t[e];return gi(n)?n:n[Ht]}function xo(e){return 128==(128&e[S])}function Or(e,t){return null==t?null:e[t]}function Ss(e){e[So]=0}function Qs(e){1024&e[S]||(e[S]|=1024,xo(e)&&Is(e))}function mc(e){return 9216&e[S]||e[Kr]?.dirty}function ea(e){mc(e)?Is(e):64&e[S]&&(function Da(){return Js}()?(e[S]|=1024,Is(e)):e[pi].changeDetectionScheduler?.notify())}function Is(e){e[pi].changeDetectionScheduler?.notify();let t=zi(e);for(;null!==t&&!(8192&t[S])&&(t[S]|=8192,xo(t));)t=zi(t)}function cl(e,t){if(256==(256&e[S]))throw new Ze(911,!1);null===e[Yr]&&(e[Yr]=[]),e[Yr].push(t)}function zi(e){const t=e[A];return yi(t)?t[A]:t}const Vt={lFrame:ct(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ta(){return Vt.bindingsEnabled}function Qr(){return null!==Vt.skipHydrationRootTNode}function Be(){return Vt.lFrame.lView}function cn(){return Vt.lFrame.tView}function dl(e){return Vt.lFrame.contextLView=e,e[gt]}function fl(e){return Vt.lFrame.contextLView=null,e}function xn(){let e=Sa();for(;null!==e&&64===e.type;)e=e.parent;return e}function Sa(){return Vt.lFrame.currentTNode}function Ns(){const e=Vt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vr(e,t){const n=Vt.lFrame;n.currentTNode=e,n.isParent=t}function Ia(){return Vt.lFrame.isParent}function Xr(){Vt.lFrame.isParent=!1}function Di(){const e=Vt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function to(){return Vt.lFrame.bindingIndex++}function gn(e){const t=Vt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bc(e){Vt.lFrame.inI18n=e}function Lu(e,t){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=e,b(t)}function b(e){Vt.lFrame.currentDirectiveIndex=e}function C(){return Vt.lFrame.currentQueryIndex}function I(e){Vt.lFrame.currentQueryIndex=e}function U(e){const t=e[Xe];return 2===t.type?t.declTNode:1===t.type?e[L]:null}function K(e,t,n){if(n&yt.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&yt.Host||(o=U(l),null===o||(l=l[Br],10&o.type))););if(null===o)return!1;t=o,e=l}const i=Vt.lFrame=ve();return i.currentTNode=t,i.lView=e,!0}function Ce(e){const t=ve(),n=e[Xe];Vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ve(){const e=Vt.lFrame,t=null===e?null:e.child;return null===t?ct(e):t}function ct(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 jt(){const e=Vt.lFrame;return Vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Qt=jt;function Qn(){const e=jt();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 ai(){return Vt.lFrame.selectedIndex}function Ar(e){Vt.lFrame.selectedIndex=e}function Pn(){const e=Vt.lFrame;return No(e.tView,e.selectedIndex)}function go(){Vt.lFrame.currentNamespace=ba}function Bu(){!function $f(){Vt.lFrame.currentNamespace=null}()}let Cc=!0;function Aa(){return Cc}function mo(e){Cc=e}function Na(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:h,ngAfterViewInit:v,ngAfterViewChecked:T,ngOnDestroy:x}=l;d&&(e.contentHooks??=[]).push(-n,d),h&&((e.contentHooks??=[]).push(n,h),(e.contentCheckHooks??=[]).push(n,h)),v&&(e.viewHooks??=[]).push(-n,v),T&&((e.viewHooks??=[]).push(n,T),(e.viewCheckHooks??=[]).push(n,T)),null!=x&&(e.destroyHooks??=[]).push(n,x)}}function pl(e,t,n){Vu(e,t,3,n)}function xa(e,t,n,i){(3&e[S])===n&&Vu(e,t,n,i)}function Pa(e,t){let n=e[S];(3&n)===t&&(n&=16383,n+=1,e[S]=n)}function Vu(e,t,n,i){const l=i??-1,d=t.length-1;let h=0;for(let v=void 0!==i?65535&e[So]:0;v<d;v++)if("number"==typeof t[v+1]){if(h=t[v],null!=i&&h>=i)break}else t[v]<0&&(e[So]+=65536),(h<l||-1==l)&&(xg(e,n,t,v),e[So]=(4294901760&e[So])+v+2),v++}function zf(e,t){dr(4,e,t);const n=F(null);try{t.call(e)}finally{F(n),dr(5,e,t)}}function xg(e,t,n,i){const o=n[i]<0,l=n[i+1],h=e[o?-n[i]:n[i]];o?e[S]>>14<e[So]>>16&&(3&e[S])===t&&(e[S]+=16384,zf(h,l)):zf(h,l)}const Ra=-1;class gl{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Hu(e){return e!==Ra}function ml(e){return 32767&e}function _l(e,t){let n=function Zf(e){return e>>16}(e),i=t;for(;n>0;)i=i[Br],n--;return i}let $u=!0;function Dc(e){const t=$u;return $u=e,t}const Wf=255,qf=5;let Gu=0;const Po={};function jn(e,t){const n=wc(e,t);if(-1!==n)return n;const i=t[Xe];i.firstCreatePass&&(e.injectorIndex=t.length,ka(i.data,e),ka(t,null),ka(i.blueprint,null));const o=na(e,t),l=e.injectorIndex;if(Hu(o)){const d=ml(o),h=_l(o,t),v=h[Xe].data;for(let T=0;T<8;T++)t[l+T]=h[d+T]|v[d+T]}return t[l+8]=o,l}function ka(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function na(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Qf(o),null===i)return Ra;if(n++,o=o[Br],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Ra}function Ec(e,t,n){!function no(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Tn)&&(i=n[Tn]),null==i&&(i=n[Tn]=Gu++);const o=i&Wf;t.data[e+(o>>qf)]|=1<<o}(e,t,n)}function vl(e,t,n){if(n&yt.Optional||void 0!==e)return e;oe()}function Kf(e,t,n,i){if(n&yt.Optional&&void 0===i&&(i=null),!(n&(yt.Self|yt.Host))){const o=e[wn],l=V(void 0);try{return o?o.get(t,i,n&yt.Optional):ee(t,i,n&yt.Optional)}finally{V(l)}}return vl(i,0,n)}function ia(e,t,n,i=yt.Default,o){if(null!==e){if(2048&t[S]&&!(i&yt.Self)){const d=function qu(e,t,n,i,o){let l=e,d=t;for(;null!==l&&null!==d&&2048&d[S]&&!(512&d[S]);){const h=Fa(l,d,n,i|yt.Self,Po);if(h!==Po)return h;let v=l.parent;if(!v){const T=d[Ts];if(T){const x=T.get(n,Po,i);if(x!==Po)return x}v=Qf(d),d=d[Br]}l=v}return o}(e,t,n,i,Po);if(d!==Po)return d}const l=Fa(e,t,n,i,Po);if(l!==Po)return l}return Kf(t,n,i,o)}function Fa(e,t,n,i,o){const l=function Jf(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Tn)?e[Tn]:void 0;return"number"==typeof t?t>=0?t&Wf:Wu:t}(n);if("function"==typeof l){if(!K(t,e,i))return i&yt.Host?vl(o,0,i):Kf(t,n,i,o);try{let d;if(d=l(i),null!=d||i&yt.Optional)return d;oe()}finally{Qt()}}else if("number"==typeof l){let d=null,h=wc(e,t),v=Ra,T=i&yt.Host?t[Nn][L]:null;for((-1===h||i&yt.SkipSelf)&&(v=-1===h?na(e,t):t[h+8],v!==Ra&&ks(i,!1)?(d=t[Xe],h=ml(v),t=_l(v,t)):h=-1);-1!==h;){const x=t[Xe];if(Zu(l,h,x.data)){const j=zu(h,t,n,d,i,T);if(j!==Po)return j}v=t[h+8],v!==Ra&&ks(i,t[Xe].data[h+8]===T)&&Zu(l,h,t)?(d=x,h=ml(v),t=_l(v,t)):h=-1}}return o}function zu(e,t,n,i,o,l){const d=t[Xe],h=d.data[e+8],x=yl(h,d,n,null==i?Oo(h)&&$u:i!=d&&0!=(3&h.type),o&yt.Host&&l===h);return null!==x?Rs(t,d,x,h):Po}function yl(e,t,n,i,o){const l=e.providerIndexes,d=t.data,h=1048575&l,v=e.directiveStart,x=l>>20,re=o?h+x:e.directiveEnd;for(let ce=i?h:h+x;ce<re;ce++){const Ne=d[ce];if(ce<v&&n===Ne||ce>=v&&Ne.type===n)return ce}if(o){const ce=d[v];if(ce&&_r(ce)&&ce.type===n)return v}return null}function Rs(e,t,n,i){let o=e[n];const l=t.data;if(function Pg(e){return e instanceof gl}(o)){const d=o;d.resolving&&function Oe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ze(-200,`Circular dependency in DI detected for ${e}${n}`)}(function It(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():mt(e)}(l[n]));const h=Dc(d.canSeeViewProviders);d.resolving=!0;const T=d.injectImpl?V(d.injectImpl):null;K(e,i,yt.Default);try{o=e[n]=d.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Gf(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(i){const d=vr(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}o&&(n.preOrderHooks??=[]).push(0-e,o),l&&((n.preOrderHooks??=[]).push(e,l),(n.preOrderCheckHooks??=[]).push(e,l))}(n,l[n],t)}finally{null!==T&&V(T),Dc(h),d.resolving=!1,Qt()}}return o}function Zu(e,t,n){return!!(n[t+(e>>qf)]&1<<e)}function ks(e,t){return!(e&yt.Self||e&yt.Host&&t)}class li{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return ia(this._tNode,this._lView,t,hi(i),n)}}function Wu(){return new li(xn(),Be())}function La(e){return tr(()=>{const t=e.prototype.constructor,n=t[Dn]||Ro(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const l=o[Dn]||Ro(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l})}function Ro(e){return ui(e)?()=>{const t=Ro(ot(e));return t&&t()}:Zn(e)}function Qf(e){const t=e[Xe],n=t.type;return 2===n?t.declTNode:1===n?e[L]:null}function Yu(e){return function Yf(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const l=n[o];if(lo(l))break;if(0===l)o+=2;else if("number"==typeof l)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(l===t)return n[o+1];o+=2}}}return null}(xn(),e)}const Ua="__parameters__";function ja(e,t,n){return tr(()=>{const i=function Ku(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const d=new o(...l);return h.annotation=d,h;function h(v,T,x){const j=v.hasOwnProperty(Ua)?v[Ua]:Object.defineProperty(v,Ua,{value:[]})[Ua];for(;j.length<=x;)j.push(null);return(j[x]=j[x]||[]).push(d),v}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ha(e,t){e.forEach(n=>Array.isArray(n)?Ha(n,t):t(n))}function Cl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Dl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t,n){let i=ra(e,t);return i>=0?e[1|i]=n:(i=~i,function Qu(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Sc(e,t){const n=ra(e,t);if(n>=0)return e[1|n]}function ra(e,t){return function ed(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const l=i+(o-i>>1),d=e[l<<n];if(t===d)return l<<n;d>t?o=l:i=l+1}return~(o<<n)}(e,t,1)}const Ls=Rr(ja("Optional"),8),Tl=Rr(ja("SkipSelf"),4),rs=new wt("ENVIRONMENT_INITIALIZER"),dd=new wt("INJECTOR",-1),Ac=new wt("INJECTOR_DEF_TYPES");class Il{get(t,n=er){if(n===er){const i=new Error(`NullInjectorError: No provider for ${ln(t)}!`);throw i.name="NullInjectorError",i}return n}}function Nc(e){return{\u0275providers:e}}function lh(...e){return{\u0275providers:ch(0,e),\u0275fromNgModule:!0}}function ch(e,...t){const n=[],i=new Set;let o;const l=d=>{n.push(d)};return Ha(t,d=>{const h=d;$a(h,l,[],i)&&(o||=[],o.push(h))}),void 0!==o&&uh(o,l),n}function uh(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:o}=e[n];fd(o,l=>{t(l,i)})}}function $a(e,t,n,i){if(!(e=ot(e)))return!1;let o=null,l=it(e);const d=!l&&tn(e);if(l||d){if(d&&!d.standalone)return!1;o=e}else{const v=e.ngModule;if(l=it(v),!l)return!1;o=v}const h=i.has(o);if(d){if(h)return!1;if(i.add(o),d.dependencies){const v="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const T of v)$a(T,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!h){let T;i.add(o);try{Ha(l.imports,x=>{$a(x,t,n,i)&&(T||=[],T.push(x))})}finally{}void 0!==T&&uh(T,t)}if(!h){const T=Zn(o)||(()=>new o);t({provide:o,useFactory:T,deps:an},o),t({provide:Ac,useValue:o,multi:!0},o),t({provide:rs,useValue:()=>qn(o),multi:!0},o)}const v=l.providers;if(null!=v&&!h){const T=e;fd(v,x=>{t(x,T)})}}}return o!==e&&void 0!==e.providers}function fd(e,t){for(let n of e)Kt(n)&&(n=n.\u0275providers),Array.isArray(n)?fd(n,t):t(n)}const hd=Zt({provide:String,useValue:Zt});function pd(e){return null!==e&&"object"==typeof e&&hd in e}function Bs(e){return"function"==typeof e}const gd=new wt("Set Injector scope."),Pc={},jg={};let md;function Rc(){return void 0===md&&(md=new Il),md}class ko{}class Ga extends ko{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yd(t,d=>this.processProvider(d)),this.records.set(dd,za(void 0,this)),o.has("environment")&&this.records.set(ko,za(void 0,this));const l=this.records.get(gd);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(Ac,an,yt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=gr(this),i=V(void 0);try{return t()}finally{gr(n),V(i)}}get(t,n=er,i=yt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(_i))return t[_i](this);i=hi(i);const l=gr(this),d=V(void 0);try{if(!(i&yt.SkipSelf)){let v=this.records.get(t);if(void 0===v){const T=function Gg(e){return"function"==typeof e||"object"==typeof e&&e instanceof wt}(t)&&te(t);v=T&&this.injectableDefInScope(T)?za(_d(t),Pc):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(i&yt.Self?Rc():this.parent).get(t,n=i&yt.Optional&&n===er?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[so]=h[so]||[]).unshift(ln(t)),l)throw h;return function $o(e,t,n,i){const o=e[so];throw t[zr]&&o.unshift(t[zr]),e.message=function Ni(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ln(t);if(Array.isArray(t))o=t.map(ln).join(" -> ");else if("object"==typeof t){let l=[];for(let d in t)if(t.hasOwnProperty(d)){let h=t[d];l.push(d+":"+("string"==typeof h?JSON.stringify(h):ln(h)))}o=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(_s,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[so]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{V(d),gr(l)}}resolveInjectorInitializers(){const t=gr(this),n=V(void 0);try{const o=this.get(rs,an,yt.Self);for(const l of o)l()}finally{gr(t),V(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ln(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ze(205,!1)}processProvider(t){let n=Bs(t=ot(t))?t:ot(t&&t.provide);const i=function Hg(e){return pd(e)?za(void 0,e.useValue):za(hh(e),Pc)}(t);if(!Bs(t)&&!0===t.multi){let o=this.records.get(n);o||(o=za(void 0,Pc,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Pc&&(n.value=jg,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ph(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ot(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function _d(e){const t=te(e),n=null!==t?t.factory:Zn(e);if(null!==n)return n;if(e instanceof wt)throw new Ze(204,!1);if(e instanceof Function)return function vd(e){if(e.length>0)throw new Ze(204,!1);const n=function Qe(e){return e&&(e[Ut]||e[fn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Ze(204,!1)}function hh(e,t,n){let i;if(Bs(e)){const o=ot(e);return Zn(o)||_d(o)}if(pd(e))i=()=>ot(e.useValue);else if(function xc(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Hi(e.deps||[]));else if(function dh(e){return!(!e||!e.useExisting)}(e))i=()=>qn(ot(e.useExisting));else{const o=ot(e&&(e.useClass||e.provide));if(!function $g(e){return!!e.deps}(e))return Zn(o)||_d(o);i=()=>new o(...Hi(e.deps))}return i}function za(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yd(e,t){for(const n of e)Array.isArray(n)?yd(n,t):n&&Kt(n)?yd(n.\u0275providers,t):t(n)}function zg(e,t){e instanceof Ga&&e.assertNotDestroyed();const i=gr(e),o=V(void 0);try{return t()}finally{gr(i),V(o)}}function kc(e){if(!ft()&&!function ys(){return sr}())throw new Ze(-203,!1)}function Cd(e,t=null,n=null,i){const o=Dd(e,t,n,i);return o.resolveInjectorInitializers(),o}function Dd(e,t=null,n=null,i,o=new Set){const l=[n||an,lh(e)];return i=i||("object"==typeof e?void 0:ln(e)),new Ga(l,t||Rc(),i||null,o)}let Ed,br=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=er;static#t=this.NULL=new Il;static create(n,i){if(Array.isArray(n))return Cd({name:""},i,n,"");{const o=n.name??"";return Cd({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=en({token:e,providedIn:"any",factory:()=>qn(dd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Us(e){return!!ti(e)}function Md(e){Ed=e}function Vs(){if(void 0!==Ed)return Ed;if(typeof document<"u")return document;throw new Ze(210,!1)}const yh=new wt("AppId",{providedIn:"root",factory:()=>Qg}),Qg="ng",Td=new wt("Platform Initializer"),Sd=new wt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Xg=new wt("CSP nonce",{providedIn:"root",factory:()=>Vs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Od(e){return e.ownerDocument.defaultView}function u(e){return e instanceof Function?e():e}function ss(e){return 128==(128&e.flags)}var Lo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Lo||{});const as=/^>|^->|<!--|-->|--!>|<!-$/g,Wa=/(<|>)/g,Nl="\u200b$1\u200b";const qa=new Map;let Ch=0;const Vc="__ngContext__";function ci(e,t){gi(t)?(e[Vc]=t[fo],function Dh(e){qa.set(e[fo],e)}(t)):e[Vc]=t}let Mh;function Th(e,t){return Mh(e,t)}function Pl(e,t,n,i,o){if(null!=i){let l,d=!1;yi(i)?l=i:gi(i)&&(d=!0,i=i[Ht]);const h=Bn(i);0===e&&null!==n?null==o?om(t,n,h):Ya(t,n,h,o||null,!0):1===e&&null!==n?Ya(t,n,h,o||null,!0):2===e?function Bd(e,t,n){const i=Fd(e,t);i&&function E1(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,h,d):3===e&&t.destroyNode(h),null!=l&&function S1(e,t,n,i,o){const l=n[Gi];l!==Bn(n)&&Pl(t,e,i,l,o);for(let h=ni;h<n.length;h++){const v=n[h];Ud(v[Xe],v,e,t,i,l)}}(t,e,l,n,o)}}function Pd(e,t){return e.createText(t)}function Sh(e,t){return e.createComment(function ls(e){return e.replace(as,t=>t.replace(Wa,Nl))}(t))}function Rd(e,t,n){return e.createElement(t,n)}function nm(e,t){t[pi].changeDetectionScheduler?.notify(),Ud(e,t,t[Pt],2,null,null)}function im(e,t){const n=e[Qo],i=n.indexOf(t);n.splice(i,1)}function Zc(e,t){if(e.length<=ni)return;const n=ni+t,i=e[n];if(i){const o=i[Sr];null!==o&&o!==e&&im(o,i),t>0&&(e[n-1][D]=i[D]);const l=Dl(e,ni+t);!function _1(e,t){nm(e,t),t[Ht]=null,t[L]=null}(i[Xe],i);const d=l[Ir];null!==d&&d.detachView(l[Xe]),i[A]=null,i[D]=null,i[S]&=-129}return i}function kd(e,t){if(!(256&t[S])){const n=t[Pt];n.destroyNode&&Ud(e,t,n,3,null,null),function y1(e){let t=e[Ri];if(!t)return Ih(e[Xe],e);for(;t;){let n=null;if(gi(t))n=t[Ri];else{const i=t[ni];i&&(n=i)}if(!n){for(;t&&!t[D]&&t!==e;)gi(t)&&Ih(t[Xe],t),t=t[A];null===t&&(t=e),gi(t)&&Ih(t[Xe],t),n=t&&t[D]}t=n}}(t)}}function Ih(e,t){if(!(256&t[S])){t[S]&=-129,t[S]|=256,t[Kr]&&_t(t[Kr]),function w1(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof gl)){const l=n[i+1];if(Array.isArray(l))for(let d=0;d<l.length;d+=2){const h=o[l[d]],v=l[d+1];dr(4,h,v);try{v.call(h)}finally{dr(5,h,v)}}else{dr(4,o,l);try{l.call(o)}finally{dr(5,o,l)}}}}}(e,t),function D1(e,t){const n=e.cleanup,i=t[ut];if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const d=n[l+3];d>=0?i[d]():i[-d].unsubscribe(),l+=2}else n[l].call(i[n[l+1]]);null!==i&&(t[ut]=null);const o=t[Yr];if(null!==o){t[Yr]=null;for(let l=0;l<o.length;l++)(0,o[l])()}}(e,t),1===t[Xe].type&&t[Pt].destroy();const n=t[Sr];if(null!==n&&yi(t[A])){n!==t[A]&&im(n,t);const i=t[Ir];null!==i&&i.detachView(e)}!function wh(e){qa.delete(e[fo])}(t)}}function Oh(e,t,n){return rm(e,t.parent,n)}function rm(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Ht];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:l}=e.data[i.directiveStart+o];if(l===ar.None||l===ar.Emulated)return null}return bi(i,n)}}function Ya(e,t,n,i,o){e.insertBefore(t,n,i,o)}function om(e,t,n){e.appendChild(t,n)}function sm(e,t,n,i,o){null!==i?Ya(e,t,n,i,o):om(e,t,n)}function Fd(e,t){return e.parentNode(t)}function am(e,t,n){return cm(e,t,n)}function lm(e,t,n){return 40&e.type?bi(e,n):null}let Ah,Vd,jd,cm=lm;function um(e,t){cm=e,Ah=t}function Ld(e,t,n,i){const o=Oh(e,i,t),l=t[Pt],h=am(i.parent||t[L],i,t);if(null!=o)if(Array.isArray(n))for(let v=0;v<n.length;v++)sm(l,o,n[v],h,!1);else sm(l,o,n,h,!1);void 0!==Ah&&Ah(l,i,t,n,o)}function Wc(e,t){if(null!==t){const n=t.type;if(3&n)return bi(t,e);if(4&n)return Nh(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Wc(e,i);{const o=e[t.index];return yi(o)?Nh(-1,o):Bn(o)}}if(32&n)return Th(t,e)()||Bn(e[t.index]);{const i=dm(e,t);return null!==i?Array.isArray(i)?i[0]:Wc(zi(e[Nn]),i):Wc(e,t.next)}}return null}function dm(e,t){return null!==t?e[Nn][L].projection[t.projection]:null}function Nh(e,t){const n=ni+e+1;if(n<t.length){const i=t[n],o=i[Xe].firstChild;if(null!==o)return Wc(i,o)}return t[Gi]}function xh(e,t,n,i,o,l,d){for(;null!=n;){const h=i[n.index],v=n.type;if(d&&0===t&&(h&&ci(Bn(h),i),n.flags|=2),32!=(32&n.flags))if(8&v)xh(e,t,n.child,i,o,l,!1),Pl(t,e,o,h,l);else if(32&v){const T=Th(n,i);let x;for(;x=T();)Pl(t,e,o,x,l);Pl(t,e,o,h,l)}else 16&v?hm(e,t,i,n,o,l):Pl(t,e,o,h,l);n=d?n.projectionNext:n.next}}function Ud(e,t,n,i,o,l){xh(n,i,e.firstChild,t,o,l,!1)}function hm(e,t,n,i,o,l){const d=n[Nn],v=d[L].projection[i.projection];if(Array.isArray(v))for(let T=0;T<v.length;T++)Pl(t,e,o,v[T],l);else{let T=v;const x=d[A];ss(i)&&(T.flags|=128),xh(e,t,T,x,o,l,!0)}}function pm(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gm(e,t,n){const{mergedAttrs:i,classes:o,styles:l}=n;null!==i&&kr(e,t,i),null!==o&&pm(e,t,o),null!==l&&function O1(e,t,n){e.setAttribute(t,"style",n)}(e,t,l)}function Rl(e){return function Ph(){if(void 0===Vd&&(Vd=null,Re.trustedTypes))try{Vd=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vd}()?.createHTML(e)||e}function Rh(){if(void 0===jd&&(jd=null,Re.trustedTypes))try{jd=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jd}function mm(e){return Rh()?.createHTML(e)||e}function vm(e){return Rh()?.createScriptURL(e)||e}class Ka{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qe})`}}class P1 extends Ka{getTypeName(){return"HTML"}}class R1 extends Ka{getTypeName(){return"Style"}}class k1 extends Ka{getTypeName(){return"Script"}}class F1 extends Ka{getTypeName(){return"URL"}}class L1 extends Ka{getTypeName(){return"ResourceURL"}}function $s(e){return e instanceof Ka?e.changingThisBreaksApplicationSecurity:e}function kl(e,t){const n=function B1(e){return e instanceof Ka&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qe})`)}return n===t}function U1(e){return new P1(e)}function V1(e){return new R1(e)}function j1(e){return new k1(e)}function H1(e){return new F1(e)}function $1(e){return new L1(e)}function ym(e){const t=new z1(e);return function Z1(){try{return!!(new window.DOMParser).parseFromString(Rl(""),"text/html")}catch{return!1}}()?new G1(t):t}class G1{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Rl(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class z1{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Rl(t),n}}const W1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hd(e){return(e=String(e)).match(W1)?e:"unsafe:"+e}function Gs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function qc(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const bm=Gs("area,br,col,hr,img,wbr"),Cm=Gs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dm=Gs("rp,rt"),kh=qc(bm,qc(Cm,Gs("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")),qc(Dm,Gs("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")),qc(Dm,Cm)),Fh=Gs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wm=qc(Fh,Gs("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"),Gs("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")),q1=Gs("script,style,template");class Y1{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!q1.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const l=i.item(o),d=l.name,h=d.toLowerCase();if(!wm.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let v=l.value;Fh[h]&&(v=Hd(v)),this.buf.push(" ",d,'="',Em(v),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();kh.hasOwnProperty(n)&&!bm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Em(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const K1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,J1=/([^\#-~ |!])/g;function Em(e){return e.replace(/&/g,"&").replace(K1,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(J1,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let $d;function Mm(e,t){let n=null;try{$d=$d||ym(e);let i=t?String(t):"";n=$d.getInertBodyElement(i);let o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=n.innerHTML,n=$d.getInertBodyElement(i)}while(i!==l);return Rl((new Y1).sanitizeChildren(Lh(n)||n))}finally{if(n){const i=Lh(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Lh(e){return"content"in e&&function Q1(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ja=function(e){return 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",e}(Ja||{});function Tm(e){const t=Yc();return t?mm(t.sanitize(Ja.HTML,e)||""):kl(e,"HTML")?mm($s(e)):Mm(Vs(),mt(e))}function Bh(e){const t=Yc();return t?t.sanitize(Ja.URL,e)||"":kl(e,"URL")?$s(e):Hd(mt(e))}function Sm(e){const t=Yc();if(t)return vm(t.sanitize(Ja.RESOURCE_URL,e)||"");if(kl(e,"ResourceURL"))return vm($s(e));throw new Ze(904,!1)}function Im(e,t,n){return function iC(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Sm:Bh}(t,n)(e)}function Yc(){const e=Be();return e&&e[pi].sanitizer}class Om{}function rC(e){return e}function oC(){const e=new Kc;return"browser"===Jt(Sd)&&(e.store=function sC(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return{}}(Vs(),Jt(yh))),e}let Kc=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:oC});get(n,i){return void 0!==this.store[n]?this.store[n]:i}set(n,i){this.store[n]=i}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,i){this.onSerializeCallbacks[n]=i}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})(),Am=()=>null;function Zh(e,t,n=!1){return Am(e,t,n)}class pC{}class Pm{}class mC{resolveComponentFactory(t){throw function gC(e){const t=Error(`No component factory found for ${ln(e)}.`);return t.ngComponent=e,t}(t)}}let Xc=(()=>{class e{static#e=this.NULL=new mC}return e})();function _C(){return Bl(xn(),Be())}function Bl(e,t){return new eu(bi(e,t))}let eu=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=_C}return e})();function vC(e){return e instanceof eu?e.nativeElement:e}class km{}let yC=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function bC(){const e=Be(),n=yr(xn().index,e);return(gi(n)?n:e)[Pt]}()}return e})(),CC=(()=>{class e{static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:()=>null})}return e})();const Yh={};function DC(e,t){const n=function pe(e){const t=Object.create(Ve);t.computation=e;const n=()=>{if(se(t),Q(t),t.value===ze)throw t.error;return t.value};return n[B]=t,n}(e);return t?.equal&&(n[B].equal=t.equal),n}function wC(e,t){const n=function me(e){const t=Object.create(he);t.value=e;const n=()=>(Q(t),t.value);return n[B]=t,n}(e),i=n[B];return t?.equal&&(i.equal=t.equal),n.set=o=>De(i,o),n.update=o=>function Ge(e,t){Me()||Ot(),De(e,t(e.value))}(i,o),n.asReadonly=EC.bind(n),n}function EC(){const e=this[B];if(void 0===e.readonlyFn){const t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function MC(e){const t=F(null);try{return e()}finally{F(t)}}function qd(e){return!!Kh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Kh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Fm{constructor(){}supports(t){return qd(t)}create(t){return new OC(t)}}const IC=(e,t)=>t;class OC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||IC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,l=null;for(;n||i;){const d=!i||n&&n.currentIndex<Bm(i,o,l)?n:i,h=Bm(d,o,l),v=d.currentIndex;if(d===i)o--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)o++;else{l||(l=[]);const T=h-o,x=v-o;if(T!=x){for(let re=0;re<T;re++){const ce=re<l.length?l[re]:l[re]=0,Ne=ce+re;x<=Ne&&Ne<T&&(l[re]=ce+1)}l[d.previousIndex]=x-T}}h!==v&&t(d,h,v)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!qd(t))throw new Ze(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,l,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)l=t[h],d=this._trackByFn(h,l),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,l,d,h)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,d,h),i=!0),n=n._next}else o=0,function SC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,h=>{d=this._trackByFn(o,h),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,h,d,o)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,d,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new AC(n,i),l,o),t}_verifyReinsertion(t,n,i,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lm),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AC{constructor(t,n){this.item=t,this.trackById=n,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 NC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Lm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new NC,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bm(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class Um{constructor(){}supports(t){return t instanceof Map||Kh(t)}create(){return new xC}}class xC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Kh(t)))throw new Ze(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,l)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const l=o._prev,d=o._next;return l&&(l._next=d),d&&(d._prev=l),o._next=null,o._prev=null,o}const i=new PC(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class PC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Vm(){return new Jh([new Fm])}let Jh=(()=>{class e{static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:Vm});constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Vm()),deps:[[e,new Tl,new Ls]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Ze(901,!1)}}return e})();function jm(){return new Qh([new Um])}let Qh=(()=>{class e{static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:jm});constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||jm()),deps:[[e,new Tl,new Ls]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new Ze(901,!1)}}return e})();function tu(e,t,n,i,o=!1){for(;null!==n;){const l=t[n.index];null!==l&&i.push(Bn(l)),yi(l)&&Hm(l,i);const d=n.type;if(8&d)tu(e,t,n.child,i);else if(32&d){const h=Th(n,t);let v;for(;v=h();)i.push(v)}else if(16&d){const h=dm(t,n);if(Array.isArray(h))i.push(...h);else{const v=zi(t[Nn]);tu(v[Xe],v,h,i,!0)}}n=o?n.projectionNext:n.next}return i}function Hm(e,t){for(let n=ni;n<e.length;n++){const i=e[n],o=i[Xe].firstChild;null!==o&&tu(i[Xe],i,o,t)}e[Gi]!==e[Ht]&&t.push(e[Gi])}let $m=[];const BC={...q,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Is(e.lView)},consumerOnSignalRead(){this.lView[Kr]=this}};function Gm(e){return Zm(e[Ri])}function zm(e){return Zm(e[D])}function Zm(e){for(;null!==e&&!yi(e);)e=e[D];return e}function Xh(e){return e.ngOriginalError}class la{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xh(t);for(;n&&Xh(n);)n=Xh(n);return n||null}}const qm=new wt("",{providedIn:"root",factory:()=>Jt(la).handleError.bind(void 0)}),Km=new wt("",{providedIn:"root",factory:()=>!1}),nn={};function e_(e=1){t_(cn(),Be(),ai()+e,!1)}function t_(e,t,n,i){if(!i)if(3==(3&t[S])){const l=e.preOrderCheckHooks;null!==l&&pl(t,l,n)}else{const l=e.preOrderHooks;null!==l&&xa(t,l,0,n)}Ar(n)}function Ul(e,t=yt.Default){const n=Be();return null===n?qn(e,t):ia(xn(),n,ot(e),t)}function n_(){throw new Error("invalid")}function i_(e,t,n,i,o,l){const d=F(null);try{let h=null;o&nr.SignalBased&&(h=t[i][B]),null!==h&&void 0!==h.transformFn&&(l=h.transformFn(l)),o&nr.HasDecoratorInputTransform&&(l=e.inputTransforms[i].call(t,l)),null!==e.setInput?e.setInput(t,h,l,n,i):ur(t,h,i,l)}finally{F(d)}}function Kd(e,t,n,i,o,l,d,h,v,T,x){const j=t.blueprint.slice();return j[Ht]=o,j[S]=204|i,(null!==T||e&&2048&e[S])&&(j[S]|=2048),Ss(j),j[A]=j[Br]=e,j[gt]=n,j[pi]=d||e&&e[pi],j[Pt]=h||e&&e[Pt],j[wn]=v||e&&e[wn]||null,j[L]=l,j[fo]=function Bc(){return Ch++}(),j[ne]=x,j[Ts]=T,j[Nn]=2==t.type?e[Nn]:j,j}function Vl(e,t,n,i,o){let l=e.data[t];if(null===l)l=ep(e,t,n,i,o),function Fu(){return Vt.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=n,l.value=i,l.attrs=o;const d=Ns();l.injectorIndex=null===d?-1:d.injectorIndex}return Vr(l,!0),l}function ep(e,t,n,i,o){const l=Sa(),d=Ia(),v=e.data[t]=function XC(e,t,n,i,o,l){let d=t?t.injectorIndex:-1,h=0;return Qr()&&(h|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:o,attrs:l,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}}(0,d?l:l&&l.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=v),null!==l&&(d?null==l.child&&null!==v.parent&&(l.child=v):null===l.next&&(l.next=v,v.prev=l)),v}function nu(e,t,n,i){if(0===n)return-1;const o=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function r_(e,t,n,i,o){const l=ai(),d=2&i;try{Ar(-1),d&&t.length>Wt&&t_(e,t,Wt,!1),dr(d?2:0,o),n(i,o)}finally{Ar(l),dr(d?3:1,o)}}function tp(e,t,n){if(Xo(t)){const i=F(null);try{const l=t.directiveEnd;for(let d=t.directiveStart;d<l;d++){const h=e.data[d];h.contentQueries&&h.contentQueries(1,n[d],d)}}finally{F(i)}}}function np(e,t,n){ta()&&(function sD(e,t,n,i){const o=n.directiveStart,l=n.directiveEnd;Oo(n)&&function hD(e,t,n){const i=bi(t,e),o=o_(n);let d=16;n.signals?d=4096:n.onPush&&(d=64);const h=Jd(e,Kd(e,o,null,d,i,t,null,e[pi].rendererFactory.createRenderer(i,n),null,null,null));e[t.index]=h}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||jn(n,t),ci(i,t);const d=n.initialInputs;for(let h=o;h<l;h++){const v=e.data[h],T=Rs(t,e,h,n);ci(T,t),null!==d&&pD(0,h-o,T,v,0,d),_r(v)&&(yr(n.index,t)[gt]=Rs(t,e,h,n))}}(e,t,n,bi(n,t)),64==(64&n.flags)&&u_(e,t,n))}function ip(e,t,n=bi){const i=t.localNames;if(null!==i){let o=t.index+1;for(let l=0;l<i.length;l+=2){const d=i[l+1],h=-1===d?n(t,e):e[d];e[o++]=h}}}function o_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=rp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function rp(e,t,n,i,o,l,d,h,v,T,x){const j=Wt+i,re=j+o,ce=function WC(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:nn);return n}(j,re),Ne="function"==typeof T?T():T;return ce[Xe]={type:e,blueprint:ce,template:n,queries:null,viewQuery:h,declTNode:t,data:ce.slice().fill(null,j),bindingStartIndex:j,expandoStartIndex:re,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 l?l():l,pipeRegistry:"function"==typeof d?d():d,firstChild:null,schemas:v,consts:Ne,incompleteFirstPass:!1,ssrId:x}}let s_=()=>null;function a_(e,t,n,i,o){for(let l in t){if(!t.hasOwnProperty(l))continue;const d=t[l];if(void 0===d)continue;i??={};let h,v=nr.None;Array.isArray(d)?(h=d[0],v=d[1]):h=d;let T=l;if(null!==o){if(!o.hasOwnProperty(l))continue;T=o[l]}0===e?l_(i,n,T,h,v):l_(i,n,T,h)}return i}function l_(e,t,n,i,o){let l;e.hasOwnProperty(n)?(l=e[n]).push(t,i):l=e[n]=[t,i],void 0!==o&&l.push(o)}function ro(e,t,n,i,o,l,d,h){const v=bi(t,n);let x,T=t.inputs;!h&&null!=T&&(x=T[i])?(cp(e,n,x,i,o),Oo(t)&&function nD(e,t){const n=yr(t,e);16&n[S]||(n[S]|=64)}(n,t.index)):3&t.type&&(i=function tD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=d?d(o,t.value||"",i):o,l.setProperty(v,i,o))}function op(e,t,n,i){if(ta()){const o=null===i?null:{"":-1},l=function lD(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let l=0;l<n.length;l++){const d=n[l];if(Cs(t,d.selectors,!1))if(i||(i=[]),_r(d))if(null!==d.findHostDirectiveDefs){const h=[];o=o||new Map,d.findHostDirectiveDefs(d,h,o),i.unshift(...h,d),sp(e,t,h.length)}else i.unshift(d),sp(e,t,0);else o=o||new Map,d.findHostDirectiveDefs?.(d,i,o),i.push(d)}return null===i?null:[i,o]}(e,n);let d,h;null===l?d=h=null:[d,h]=l,null!==d&&c_(e,t,n,d,o,h),o&&function cD(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const l=n[t[o+1]];if(null==l)throw new Ze(-301,!1);i.push(t[o],l)}}}(n,i,o)}n.mergedAttrs=Mr(n.mergedAttrs,n.attrs)}function c_(e,t,n,i,o,l){for(let T=0;T<i.length;T++)Ec(jn(n,t),e,i[T].type);!function dD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let T=0;T<i.length;T++){const x=i[T];x.providersResolver&&x.providersResolver(x)}let d=!1,h=!1,v=nu(e,t,i.length,null);for(let T=0;T<i.length;T++){const x=i[T];n.mergedAttrs=Mr(n.mergedAttrs,x.hostAttrs),fD(e,n,t,v,x),uD(v,x,o),null!==x.contentQueries&&(n.flags|=4),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(n.flags|=64);const j=x.type.prototype;!d&&(j.ngOnChanges||j.ngOnInit||j.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),d=!0),!h&&(j.ngOnChanges||j.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),h=!0),v++}!function eD(e,t,n){const o=t.directiveEnd,l=e.data,d=t.attrs,h=[];let v=null,T=null;for(let x=t.directiveStart;x<o;x++){const j=l[x],re=n?n.get(j):null,Ne=re?re.outputs:null;v=a_(0,j.inputs,x,v,re?re.inputs:null),T=a_(1,j.outputs,x,T,Ne);const We=null===v||null===d||wo(t)?null:gD(v,x,d);h.push(We)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=8),v.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=h,t.inputs=v,t.outputs=T}(e,n,l)}function u_(e,t,n){const i=n.directiveStart,o=n.directiveEnd,l=n.index,d=function p(){return Vt.lFrame.currentDirectiveIndex}();try{Ar(l);for(let h=i;h<o;h++){const v=e.data[h],T=t[h];b(h),(null!==v.hostBindings||0!==v.hostVars||null!==v.hostAttrs)&&aD(v,T)}}finally{Ar(-1),b(d)}}function aD(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function sp(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function uD(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;_r(t)&&(n[""]=e)}}function fD(e,t,n,i,o){e.data[i]=o;const l=o.factory||(o.factory=Zn(o.type)),d=new gl(l,_r(o),Ul);e.blueprint[i]=d,n[i]=d,function rD(e,t,n,i,o){const l=o.hostBindings;if(l){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const h=~t.index;(function oD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(d)!=h&&d.push(h),d.push(n,i,l)}}(e,t,i,nu(e,n,o.hostVars,nn),o)}function us(e,t,n,i,o,l){const d=bi(e,t);!function ap(e,t,n,i,o,l,d){if(null==l)e.removeAttribute(t,o,n);else{const h=null==d?mt(l):d(l,i||"",o);e.setAttribute(t,o,h,n)}}(t[Pt],d,l,e.value,n,i,o)}function pD(e,t,n,i,o,l){const d=l[t];if(null!==d)for(let h=0;h<d.length;)i_(i,n,d[h++],d[h++],d[h++],d[h++])}function gD(e,t,n){let i=null,o=0;for(;o<n.length;){const l=n[o];if(0!==l)if(5!==l){if("number"==typeof l)break;if(e.hasOwnProperty(l)){null===i&&(i=[]);const d=e[l];for(let h=0;h<d.length;h+=3)if(d[h]===t){i.push(l,d[h+1],d[h+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function d_(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function f_(e,t){const n=e.contentQueries;if(null!==n){const i=F(null);try{for(let o=0;o<n.length;o+=2){const d=n[o+1];if(-1!==d){const h=e.data[d];I(n[o]),h.contentQueries(2,t[d],d)}}}finally{F(i)}}}function Jd(e,t){return e[Ri]?e[cr][D]=t:e[Ri]=t,e[cr]=t,t}function lp(e,t,n){I(0);const i=F(null);try{t(e,n)}finally{F(i)}}function h_(e){return e[ut]||(e[ut]=[])}function p_(e){return e.cleanup||(e.cleanup=[])}function Qd(e,t){const n=e[wn],i=n?n.get(la,null):null;i&&i.handleError(t)}function cp(e,t,n,i,o){for(let l=0;l<n.length;){const d=n[l++],h=n[l++],v=n[l++];i_(e.data[d],t[d],i,h,v,o)}}function zs(e,t,n){const i=fr(t,e);!function tm(e,t,n){e.setValue(t,n)}(e[Pt],i,n)}function vD(e,t,n,i){const o=t[S];if(256==(256&o))return;t[pi].inlineEffectRunner?.flush(),Ce(t);let d=null,h=null;(function yD(e){return 2!==e.type})(e)&&(h=function kC(e){return e[Kr]??function FC(e){const t=$m.pop()??Object.create(BC);return t.lView=e,t}(e)}(t),d=tt(h));try{Ss(t),function Oa(e){return Vt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&r_(e,t,n,2,i);const v=3==(3&o);if(v){const j=e.preOrderCheckHooks;null!==j&&pl(t,j,null)}else{const j=e.preOrderHooks;null!==j&&xa(t,j,0,null),Pa(t,0)}if(function bD(e){for(let t=Gm(e);null!==t;t=zm(t)){if(!(t[S]&Ys.HasTransplantedViews))continue;const n=t[Qo];for(let i=0;i<n.length;i++){Qs(n[i])}}}(t),m_(t,0),null!==e.contentQueries&&f_(e,t),v){const j=e.contentCheckHooks;null!==j&&pl(t,j)}else{const j=e.contentHooks;null!==j&&xa(t,j,1),Pa(t,1)}!function ZC(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)Ar(~o);else{const l=o,d=n[++i],h=n[++i];Lu(d,l),h(2,t[l])}}}finally{Ar(-1)}}(e,t);const T=e.components;null!==T&&v_(t,T,0);const x=e.viewQuery;if(null!==x&&lp(2,x,i),v){const j=e.viewCheckHooks;null!==j&&pl(t,j)}else{const j=e.viewHooks;null!==j&&xa(t,j,2),Pa(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[qs]){for(const j of t[qs])j();t[qs]=null}t[S]&=-73}catch(v){throw Is(t),v}finally{null!==h&&(Ct(h,d),function LC(e){e.lView[Kr]!==e&&(e.lView=null,$m.push(e))}(h)),Qn()}}function m_(e,t){for(let n=Gm(e);null!==n;n=zm(n))for(let i=ni;i<n.length;i++)__(n[i],t)}function CD(e,t,n){__(yr(t,e),n)}function __(e,t){xo(e)&&dp(e,t)}function dp(e,t){const i=e[Xe],o=e[S],l=e[Kr];let d=!!(0===t&&16&o);if(d||=!!(64&o&&0===t),d||=!!(1024&o),d||=!(!l?.dirty||!rt(l)),l&&(l.dirty=!1),e[S]&=-9217,d)vD(i,e,i.template,e[gt]);else if(8192&o){m_(e,1);const h=i.components;null!==h&&v_(e,h,1)}}function v_(e,t,n){for(let i=0;i<t.length;i++)CD(e,t[i],n)}function iu(e){for(e[pi].changeDetectionScheduler?.notify();e;){e[S]|=64;const t=zi(e);if(ma(e)&&!t)return e;e=t}return null}class ru{get rootNodes(){const t=this._lView,n=t[Xe];return tu(n,t,n.firstChild,[])}constructor(t,n,i=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[gt]}set context(t){this._lView[gt]=t}get destroyed(){return 256==(256&this._lView[S])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[A];if(yi(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(Zc(t,i),Dl(n,i))}this._attachedToViewContainer=!1}kd(this._lView[Xe],this._lView)}onDestroy(t){cl(this._lView,t)}markForCheck(){iu(this._cdRefInjectingView||this._lView)}detach(){this._lView[S]&=-129}reattach(){ea(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,function up(e,t=!0){const n=e[pi],i=n.rendererFactory;i.begin?.();try{!function _D(e){dp(e,0);let t=0;for(;mc(e);){if(100===t)throw new Ze(103,!1);t++,dp(e,1)}}(e)}catch(l){throw t&&Qd(e,l),l}finally{i.end?.(),n.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ze(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,nm(this._lView[Xe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ze(902,!1);this._appRef=t,ea(this._lView)}}let y_=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=DD}return e})();function DD(e){return function wD(e,t,n){if(Oo(e)&&!n){const i=yr(e.index,t);return new ru(i,i)}return 47&e.type?new ru(t[Nn],t):null}(xn(),Be(),16==(16&e))}let ou=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=SD;static#t=this.__NG_ENV_ID__=n=>n}return e})();class TD extends ou{constructor(t){super(),this._lView=t}onDestroy(t){return cl(this._lView,t),()=>function Ea(e,t){if(null===e[Yr])return;const n=e[Yr].indexOf(t);-1!==n&&e[Yr].splice(n,1)}(this._lView,t)}}function SD(){return new TD(Be())}const ID=new wt("",{providedIn:"root",factory:()=>Jt(OD)});let OD=(()=>{class e{static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:()=>new AD})}return e})();class AD{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(t){this.enqueue(t),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const i=this.queues.get(n);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class ND{constructor(t,n,i,o,l,d){this.scheduler=t,this.effectFn=n,this.creationZone=i,this.injector=l,this.watcher=function ue(e,t,n){const i=Object.create(ye);n&&(i.consumerAllowSignalWrites=!0),i.fn=e,i.schedule=t;const o=v=>{i.cleanupFn=v};return i.ref={notify:()=>Ye(i),run:()=>{if(null===i.fn)return;if(function Y(){return s}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!rt(i))return;i.hasRun=!0;const v=tt(i);try{i.cleanupFn(),i.cleanupFn=ke,i.fn(o)}finally{Ct(i,v)}},cleanup:()=>i.cleanupFn(),destroy:()=>function d(v){(function l(v){return null===v.fn&&null===v.schedule})(v)||(_t(v),v.cleanupFn(),v.fn=null,v.schedule=null,v.cleanupFn=ke)}(i),[B]:i},i.ref}(h=>this.runEffect(h),()=>this.schedule(),d),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(la,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function b_(e,t){!t?.injector&&kc();const n=t?.injector??Jt(br),i=!0!==t?.manualCleanup?n.get(ou):null,o=new ND(n.get(ID),e,typeof Zone>"u"?null:Zone.current,i,n,t?.allowSignalWrites??!1),l=n.get(y_,null,{optional:!0});return l&&8&l._lView[S]?(l._lView[qs]??=[]).push(o.watcher.notify):o.watcher.notify(),o}const C_=new Set;function Qa(e){C_.has(e)||(C_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function fp(e){return t=>{setTimeout(e,void 0,t)}}const ds=class xD extends Nt.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,l=n||(()=>null),d=i;if(t&&"object"==typeof t){const v=t;o=v.next?.bind(v),l=v.error?.bind(v),d=v.complete?.bind(v)}this.__isAsync&&(l=fp(l),o&&(o=fp(o)),d&&(d=fp(d)));const h=super.subscribe({next:o,error:l,complete:d});return t instanceof Rt.w0&&t.add(h),h}};function D_(...e){}class Si{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ds(!1),this.onMicrotaskEmpty=new ds(!1),this.onStable=new ds(!1),this.onError=new ds(!1),typeof Zone>"u")throw new Ze(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function PD(){const e="function"==typeof Re.requestAnimationFrame;let t=Re[e?"requestAnimationFrame":"setTimeout"],n=Re[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function FD(e){const t=()=>{!function kD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pp(e),e.isCheckStableRunning=!0,hp(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,l,d,h)=>{if(function LD(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(h))return n.invokeTask(o,l,d,h);try{return w_(e),n.invokeTask(o,l,d,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),E_(e)}},onInvoke:(n,i,o,l,d,h,v)=>{try{return w_(e),n.invoke(o,l,d,h,v)}finally{e.shouldCoalesceRunChangeDetection&&t(),E_(e)}},onHasTask:(n,i,o,l)=>{n.hasTask(o,l),i===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,pp(e),hp(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,o,l)=>(n.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Si.isInAngularZone())throw new Ze(909,!1)}static assertNotInAngularZone(){if(Si.isInAngularZone())throw new Ze(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const l=this._inner,d=l.scheduleEventTask("NgZoneEvent: "+o,t,RD,D_,D_);try{return l.runTask(d,n,i)}finally{l.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const RD={};function hp(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 pp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function w_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function E_(e){e._nesting--,hp(e)}var Xa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xa||{});const T_={destroy(){}};function I_(e,t){!t&&kc();const n=t?.injector??Jt(br);if(!function g(e){return"browser"===(e??Jt(br)).get(Sd)}(n))return T_;Qa("NgAfterNextRender");const i=n.get(su),o=i.handler??=new A_,l=t?.phase??Xa.MixedReadWrite,d=()=>{o.unregister(v),h()},h=n.get(ou).onDestroy(d),v=new O_(n,l,()=>{d(),e()});return o.register(v),{destroy:d}}class O_{constructor(t,n,i){this.phase=n,this.callbackFn=i,this.zone=t.get(Si),this.errorHandler=t.get(la,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class A_{constructor(){this.executingCallbacks=!1,this.buckets={[Xa.EarlyRead]:new Set,[Xa.Write]:new Set,[Xa.MixedReadWrite]:new Set,[Xa.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){let t=!1;this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const i of n)t=!0,i.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);return this.deferredCallbacks.clear(),t}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let su=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of n)o();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=en({token:e,providedIn:"root",factory:()=>new e})}return e})();function VD(e,t){const n=yr(t,e),i=n[Xe];!function jD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const o=n[Ht];null!==o&&null===n[ne]&&(n[ne]=Zh(o,n[wn])),gp(i,n,n[gt])}function gp(e,t,n){Ce(t);try{const i=e.viewQuery;null!==i&&lp(1,i,n);const o=e.template;null!==o&&r_(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&f_(e,t),e.staticViewQueries&&lp(2,e.viewQuery,n);const l=e.components;null!==l&&function HD(e,t){for(let n=0;n<t.length;n++)VD(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[S]&=-5,Qn()}}function Xd(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,l=0;if(null!==t)for(let d=0;d<t.length;d++){const h=t[d];"number"==typeof h?l=h:1==l?o=Wn(o,h):2==l&&(i=Wn(i,h+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}class N_ extends Xc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=tn(t);return new au(n,this.ngModule)}}function x_(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n];void 0!==i&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:n})}return t}class GD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=hi(i);const o=this.injector.get(t,Yh,i);return o!==Yh||n===Yh?o:this.parentInjector.get(t,n,i)}}class au extends Pm{get inputs(){const t=this.componentDef,n=t.inputTransforms,i=x_(t.inputs);if(null!==n)for(const o of i)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return i}get outputs(){return x_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function qo(e){return e.map(ha).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,o){let l=(o=o||this.ngModule)instanceof ko?o:o?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new GD(t,l):t,h=d.get(km,null);if(null===h)throw new Ze(407,!1);const j={rendererFactory:h,sanitizer:d.get(CC,null),inlineEffectRunner:null,afterRenderEventManager:d.get(su,null),changeDetectionScheduler:d.get(Om,null)},re=h.createRenderer(null,this.componentDef),ce=this.componentDef.selectors[0][0]||"div",Ne=i?function qC(e,t,n,i){const l=i.get(Km,!1)||n===ar.ShadowDom,d=e.selectRootElement(t,l);return function YC(e){s_(e)}(d),d}(re,i,this.componentDef.encapsulation,d):Rd(re,ce,function $D(e){const t=e.toLowerCase();return"svg"===t?ba:"math"===t?"math":null}(ce));let We=512;this.componentDef.signals?We|=4096:this.componentDef.onPush||(We|=16);let at=null;null!==Ne&&(at=Zh(Ne,d,!0));const St=rp(0,null,null,1,0,null,null,null,null,null,null),$e=Kd(null,St,null,We,null,null,j,re,d,null,at);let Xt,_n;Ce($e);try{const Mn=this.componentDef;let Dr,jf=null;Mn.findHostDirectiveDefs?(Dr=[],jf=new Map,Mn.findHostDirectiveDefs(Mn,Dr,jf),Dr.push(Mn)):Dr=[Mn];const jI=function ZD(e,t){const n=e[Xe],i=Wt;return e[i]=t,Vl(n,i,2,"#host",null)}($e,Ne),HI=function WD(e,t,n,i,o,l,d){const h=o[Xe];!function qD(e,t,n,i){for(const o of e)t.mergedAttrs=Mr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Xd(t,t.mergedAttrs,!0),null!==n&&gm(i,n,t))}(i,e,t,d);let v=null;null!==t&&(v=Zh(t,o[wn]));const T=l.rendererFactory.createRenderer(t,n);let x=16;n.signals?x=4096:n.onPush&&(x=64);const j=Kd(o,o_(n),null,x,o[e.index],e,l,T,null,null,v);return h.firstCreatePass&&sp(h,e,i.length-1),Jd(o,j),o[e.index]=j}(jI,Ne,Mn,Dr,$e,j,re);_n=No(St,Wt),Ne&&function KD(e,t,n,i){if(i)kr(e,n,["ng-version","17.1.0"]);else{const{attrs:o,classes:l}=function ws(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===o?""!==l&&t.push(l,e[++i]):8===o&&n.push(l);else{if(!$i(o))break;o=l}i++}return{attrs:t,classes:n}}(t.selectors[0]);o&&kr(e,n,o),l&&l.length>0&&pm(e,n,l.join(" "))}}(re,Mn,Ne,i),void 0!==n&&function JD(e,t,n){const i=e.projection=[];for(let o=0;o<t.length;o++){const l=n[o];i.push(null!=l?Array.from(l):null)}}(_n,this.ngContentSelectors,n),Xt=function YD(e,t,n,i,o,l){const d=xn(),h=o[Xe],v=bi(d,o);c_(h,o,d,n,null,i);for(let x=0;x<n.length;x++)ci(Rs(o,h,d.directiveStart+x,d),o);u_(h,o,d),v&&ci(v,o);const T=Rs(o,h,d.directiveStart+d.componentOffset,d);if(e[gt]=o[gt]=T,null!==l)for(const x of l)x(T,t);return tp(h,d,e),T}(HI,Mn,Dr,jf,$e,[QD]),gp(St,$e,null)}finally{Qn()}return new zD(this.componentType,Xt,Bl(_n,$e),$e,_n)}}class zD extends pC{constructor(t,n,i,o,l){super(),this.location=i,this._rootLView=o,this._tNode=l,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ru(o,void 0,!1),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const l=this._rootLView;cp(l[Xe],l,o,t,n),this.previousInputValues.set(t,n),iu(yr(this._tNode.index,l))}}get injector(){return new li(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function QD(){const e=xn();Na(Be()[Xe],e)}function mp(e){let t=function P_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(_r(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ze(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const d=e;d.inputs=ef(e.inputs),d.inputTransforms=ef(e.inputTransforms),d.declaredInputs=ef(e.declaredInputs),d.outputs=ef(e.outputs);const h=o.hostBindings;h&&iw(e,h);const v=o.viewQuery,T=o.contentQueries;if(v&&tw(e,v),T&&nw(e,T),XD(e,o),ri(e.outputs,o.outputs),_r(o)&&o.data.animation){const x=e.data;x.animation=(x.animation||[]).concat(o.data.animation)}}const l=o.features;if(l)for(let d=0;d<l.length;d++){const h=l[d];h&&h.ngInherit&&h(e),h===mp&&(n=!1)}}t=Object.getPrototypeOf(t)}!function ew(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Mr(o.hostAttrs,n=Mr(n,o.hostAttrs))}}(i)}function XD(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const i=t.inputs[n];if(void 0!==i&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ef(e){return e===xi?{}:e===an?[]:e}function tw(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function nw(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,l)=>{t(i,o,l),n(i,o,l)}:t}function iw(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}function R_(e){const t=n=>{const i=(Array.isArray(e)?e:e()).map(o=>"function"==typeof o?{directive:ot(o),inputs:xi,outputs:xi}:{directive:ot(o.directive),inputs:F_(o.inputs),outputs:F_(o.outputs)});null===n.hostDirectives?(n.findHostDirectiveDefs=k_,n.hostDirectives=i):n.hostDirectives.unshift(...i)};return t.ngInherit=!0,t}function k_(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const o=zn(i.directive);aw(o.declaredInputs,i.inputs),k_(o,t,n),n.set(o,i),t.push(o)}}function F_(e){if(void 0===e||0===e.length)return xi;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function aw(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])}function B_(e){const t=e.inputConfig,n={};for(const i in t)if(t.hasOwnProperty(i)){const o=t[i];Array.isArray(o)&&o[3]&&(n[i]=o[3])}e.inputTransforms=n}let G_=()=>null;function jl(e,t){return G_(e,t)}function fu(e,t,n,i){const o=t.tView,h=Kd(e,o,n,4096&e[S]?4096:16,null,t,null,null,null,i?.injector??null,i?.dehydratedView??null);h[Sr]=e[t.index];const T=e[Ir];return null!==T&&(h[Ir]=T.createEmbeddedView(o)),gp(o,h,n),h}function z_(e,t){const n=ni+t;if(n<e.length)return e[n]}function Hl(e,t){return!t||null===t.firstChild||ss(e)}function hu(e,t,n,i=!0){const o=t[Xe];if(function b1(e,t,n,i){const o=ni+i,l=n.length;i>0&&(n[o-1][D]=t),i<l-ni?(t[D]=n[o],Cl(n,ni+i,t)):(n.push(t),t[D]=null),t[A]=n;const d=t[Sr];null!==d&&n!==d&&function C1(e,t){const n=e[Qo];t[Nn]!==t[A][A][Nn]&&(e[S]|=Ys.HasTransplantedViews),null===n?e[Qo]=[t]:n.push(t)}(d,t);const h=t[Ir];null!==h&&h.insertView(e),ea(t),t[S]|=128}(o,t,e,n),i){const d=Nh(n,e),h=t[Pt],v=Fd(h,e[Gi]);null!==v&&function v1(e,t,n,i,o,l){i[Ht]=o,i[L]=t,Ud(e,i,n,1,o,l)}(o,e[L],h,t,v,d)}const l=t[ne];null!==l&&null!==l.firstChild&&(l.firstChild=null)}function Dp(e,t){const n=Zc(e,t);return void 0!==n&&kd(n[Xe],n),n}let af=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ow}return e})();function Ow(){return q_(xn(),Be())}const Aw=af,Z_=class extends Aw{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Bl(this._hostTNode,this._hostLView)}get injector(){return new li(this._hostTNode,this._hostLView)}get parentInjector(){const t=na(this._hostTNode,this._hostLView);if(Hu(t)){const n=_l(t,this._hostLView),i=ml(t);return new li(n[Xe].data[i+8],n)}return new li(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=W_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ni}createEmbeddedView(t,n,i){let o,l;"number"==typeof i?o=i:null!=i&&(o=i.index,l=i.injector);const d=jl(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},l,d);return this.insertImpl(h,o,Hl(this._hostTNode,d)),h}createComponent(t,n,i,o,l){const d=t&&!function is(e){return"function"==typeof e}(t);let h;if(d)h=n;else{const Ne=n||{};h=Ne.index,i=Ne.injector,o=Ne.projectableNodes,l=Ne.environmentInjector||Ne.ngModuleRef}const v=d?t:new au(tn(t)),T=i||this.parentInjector;if(!l&&null==v.ngModule){const We=(d?T:this.parentInjector).get(ko,null);We&&(l=We)}const x=tn(v.componentType??{}),j=jl(this._lContainer,x?.id??null),ce=v.create(T,o,j?.firstChild??null,l);return this.insertImpl(ce.hostView,h,Hl(this._hostTNode,j)),ce}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){const o=t._lView;if(function Pu(e){return yi(e[A])}(o)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const v=o[A],T=new Z_(v,v[L],v[A]);T.detach(T.indexOf(t))}}const l=this._adjustIndex(n),d=this._lContainer;return hu(d,o,l,i),t.attachToViewContainerRef(),Cl(wp(d),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=W_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=Zc(this._lContainer,n);i&&(Dl(wp(this._lContainer),n),kd(i[Xe],i))}detach(t){const n=this._adjustIndex(t,-1),i=Zc(this._lContainer,n);return i&&null!=Dl(wp(this._lContainer),n)?new ru(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function W_(e){return e[8]}function wp(e){return e[8]||(e[8]=[])}function q_(e,t){let n;const i=t[e.index];return yi(i)?n=i:(n=d_(i,t,null,e),t[e.index]=n,Jd(t,n)),Y_(n,t,e,i),new Z_(n,e,t)}let Y_=function J_(e,t,n,i){if(e[Gi])return;let o;o=8&n.type?Bn(i):function Nw(e,t){const n=e[Pt],i=n.createComment(""),o=bi(t,e);return Ya(n,Fd(n,o),i,function M1(e,t){return e.nextSibling(t)}(n,o),!1),i}(t,n),e[Gi]=o},Ep=()=>!1;function fs(e,t,n){return e[t]=n}function Bi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function el(e,t,n,i){const o=Bi(e,t,n);return Bi(e,t+1,i)||o}function $l(e,t,n,i,o,l,d,h){const v=Be(),T=cn(),x=e+Wt,j=T.firstCreatePass?function kw(e,t,n,i,o,l,d,h,v){const T=t.consts,x=Vl(t,e,4,d||null,Or(T,h));op(t,n,x,Or(T,v)),Na(t,x);const j=x.tView=rp(2,x,i,o,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,T,null);return null!==t.queries&&(t.queries.template(t,x),j.queries=t.queries.embeddedTView(x)),x}(x,T,v,t,n,i,o,l,d):T.data[x];Vr(j,!1);const re=Q_(T,v,j,e);Aa()&&Ld(T,v,re,j),ci(re,v);const ce=d_(re,v,re,j);return v[x]=ce,Jd(v,ce),function K_(e,t,n){return Ep(e,t,n)}(ce,j,v),es(j)&&np(T,v,j),null!=d&&ip(v,j,h),$l}let Q_=function X_(e,t,n,i){return mo(!0),t[Pt].createComment("")};function Pp(e,t,n,i){const o=Be();return Bi(o,to(),t)&&(cn(),us(Pn(),o,e,t,n,i)),Pp}function Ql(e,t,n,i,o,l){const h=el(e,function eo(){return Vt.lFrame.bindingIndex}(),n,o);return gn(2),h?t+mt(n)+i+mt(o)+l:nn}function pf(e,t){return e<<17|t<<2}function ua(e){return e>>17&32767}function Rp(e){return 2|e}function nl(e){return(131068&e)>>2}function kp(e,t){return-131069&e|t<<2}function Fp(e){return 1|e}function Nv(e,t,n,i){const o=e[n+1],l=null===t;let d=i?ua(o):nl(o),h=!1;for(;0!==d&&(!1===h||l);){const T=e[d+1];yE(e[d],t)&&(h=!0,e[d+1]=i?Fp(T):Rp(T)),d=i?ua(T):nl(T)}h&&(e[n+1]=i?Rp(o):Fp(o))}function yE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ra(e,t)>=0}const qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xv(e){return e.substring(qi.key,qi.keyEnd)}function Pv(e,t){const n=qi.textEnd;return n===t?-1:(t=qi.keyEnd=function wE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,qi.key=t,n),oc(e,t,n))}function oc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Lp(e,t,n){const i=Be();return Bi(i,to(),t)&&ro(cn(),Pn(),i,e,t,i[Pt],n,!1),Lp}function Bp(e,t,n,i,o){const d=o?"class":"style";cp(e,n,t.inputs[d],d,i)}function Up(e,t,n){return Bo(e,t,n,!1),Up}function Vp(e,t){return Bo(e,t,null,!0),Vp}function Bv(e){!function Uo(e,t,n,i){const o=cn(),l=gn(2);o.firstUpdatePass&&Vv(o,null,l,i);const d=Be();if(n!==nn&&Bi(d,l,n)){const h=o.data[ai()];if(Gv(h,i)&&!Uv(o,l)){let v=i?h.classesWithoutHost:h.stylesWithoutHost;null!==v&&(n=Wn(v,n||"")),Bp(o,h,d,n,i)}else!function PE(e,t,n,i,o,l,d,h){o===nn&&(o=an);let v=0,T=0,x=0<o.length?o[0]:null,j=0<l.length?l[0]:null;for(;null!==x||null!==j;){const re=v<o.length?o[v+1]:void 0,ce=T<l.length?l[T+1]:void 0;let We,Ne=null;x===j?(v+=2,T+=2,re!==ce&&(Ne=j,We=ce)):null===j||null!==x&&x<j?(v+=2,Ne=x):(T+=2,Ne=j,We=ce),null!==Ne&&Hv(e,t,n,i,Ne,We,d,h),x=v<o.length?o[v]:null,j=T<l.length?l[T]:null}}(o,h,d,d[Pt],d[l+1],d[l+1]=function NE(e,t,n){if(null==n||""===n)return an;const i=[],o=$s(n);if(Array.isArray(o))for(let l=0;l<o.length;l++)e(i,o[l],!0);else if("object"==typeof o)for(const l in o)o.hasOwnProperty(l)&&e(i,l,o[l]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,l)}}(xE,ps,e,!0)}function ps(e,t){for(let n=function CE(e){return function kv(e){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=e.length}(e),Pv(e,oc(e,0,qi.textEnd))}(t);n>=0;n=Pv(t,n))Nr(e,xv(t),!0)}function Bo(e,t,n,i){const o=Be(),l=cn(),d=gn(2);l.firstUpdatePass&&Vv(l,e,d,i),t!==nn&&Bi(o,d,t)&&Hv(l,l.data[ai()],o,o[Pt],e,o[d+1]=function RE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ln($s(e)))),e}(t,n),i,d)}function Uv(e,t){return t>=e.expandoStartIndex}function Vv(e,t,n,i){const o=e.data;if(null===o[n+1]){const l=o[ai()],d=Uv(e,n);Gv(l,i)&&null===t&&!d&&(t=!1),t=function SE(e,t,n,i){const o=function m(e){const t=Vt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=vu(n=jp(null,e,t,n,i),t.attrs,i),l=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==o)if(n=jp(o,e,t,n,i),null===l){let v=function IE(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==nl(i))return e[ua(i)]}(e,t,i);void 0!==v&&Array.isArray(v)&&(v=jp(null,e,t,v[1],i),v=vu(v,t.attrs,i),function OE(e,t,n,i){e[ua(n?t.classBindings:t.styleBindings)]=i}(e,t,i,v))}else l=function AE(e,t,n){let i;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<o;l++)i=vu(i,e[l].hostAttrs,n);return vu(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(o,l,t,i),function _E(e,t,n,i,o,l){let d=l?t.classBindings:t.styleBindings,h=ua(d),v=nl(d);e[i]=n;let x,T=!1;if(Array.isArray(n)?(x=n[1],(null===x||ra(n,x)>0)&&(T=!0)):x=n,o)if(0!==v){const re=ua(e[h+1]);e[i+1]=pf(re,h),0!==re&&(e[re+1]=kp(e[re+1],i)),e[h+1]=function gE(e,t){return 131071&e|t<<17}(e[h+1],i)}else e[i+1]=pf(h,0),0!==h&&(e[h+1]=kp(e[h+1],i)),h=i;else e[i+1]=pf(v,0),0===h?h=i:e[v+1]=kp(e[v+1],i),v=i;T&&(e[i+1]=Rp(e[i+1])),Nv(e,x,i,!0),Nv(e,x,i,!1),function vE(e,t,n,i,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&ra(l,t)>=0&&(n[i+1]=Fp(n[i+1]))}(t,x,e,i,l),d=pf(h,v),l?t.classBindings=d:t.styleBindings=d}(o,l,t,n,d,i)}}function jp(e,t,n,i,o){let l=null;const d=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<d&&(l=t[h],i=vu(i,l.hostAttrs,o),l!==e);)h++;return null!==e&&(n.directiveStylingLast=h),i}function vu(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let l=0;l<t.length;l++){const d=t[l];"number"==typeof d?o=d:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Nr(e,d,!!n||t[++l]))}return void 0===e?null:e}function xE(e,t,n){const i=String(t);""!==i&&!i.includes(" ")&&Nr(e,i,n)}function Hv(e,t,n,i,o,l,d,h){if(!(3&t.type))return;const v=e.data,T=v[h+1],x=function mE(e){return 1==(1&e)}(T)?$v(v,t,n,o,nl(T),d):void 0;gf(x)||(gf(l)||function pE(e){return 2==(2&e)}(T)&&(l=$v(v,null,n,o,h,d)),function I1(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let l=-1===i.indexOf("-")?void 0:Lo.DashCase;null==o?e.removeStyle(n,i,l):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),l|=Lo.Important),e.setStyle(n,i,o,l))}}(i,d,fr(ai(),n),o,l))}function $v(e,t,n,i,o,l){const d=null===t;let h;for(;o>0;){const v=e[o],T=Array.isArray(v),x=T?v[1]:v,j=null===x;let re=n[o+1];re===nn&&(re=j?an:void 0);let ce=j?Sc(re,i):x===i?re:void 0;if(T&&!gf(ce)&&(ce=Sc(v,i)),gf(ce)&&(h=ce,d))return h;const Ne=e[o+1];o=d?ua(Ne):nl(Ne)}if(null!==t){let v=l?t.residualClasses:t.residualStyles;null!=v&&(h=Sc(v,i))}return h}function gf(e){return void 0!==e}function Gv(e,t){return 0!=(e.flags&(t?8:16))}class zE{destroy(t){}updateValue(t,n){}swap(t,n){const i=Math.min(t,n),o=Math.max(t,n),l=this.detach(o);if(o-i>1){const d=this.detach(i);this.attach(i,l),this.attach(o,d)}else this.attach(i,l)}move(t,n){this.attach(n,this.detach(t))}}function Hp(e,t,n,i,o){return e===n&&Object.is(t,i)?1:Object.is(o(e,t),o(n,i))?-1:0}function $p(e,t,n,i){return!(void 0===t||!t.has(i)||(e.attach(n,t.get(i)),t.delete(i),0))}function zv(e,t,n,i,o){if($p(e,t,i,n(i,o)))e.updateValue(i,o);else{const l=e.create(i,o);e.attach(i,l)}}function Zv(e,t,n,i){const o=new Set;for(let l=t;l<=n;l++)o.add(i(l,e.at(l)));return o}class Wv{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,i]of this.kvMap)if(t(i,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(i);)i=o.get(i),t(i,n)}}}function qv(e,t,n){Qa("NgControlFlow");const i=Be(),o=to(),l=Gp(i,Wt+e);if(Bi(i,o,t)){const h=F(null);try{if(Dp(l,0),-1!==t){const v=zp(i[Xe],Wt+t),T=jl(l,v.tView.ssrId);hu(l,fu(i,v,n,{dehydratedView:T}),0,Hl(v,T))}}finally{F(h)}}else{const h=z_(l,0);void 0!==h&&(h[gt]=n)}}class WE{constructor(t,n,i){this.lContainer=t,this.$implicit=n,this.$index=i}get $count(){return this.lContainer.length-ni}}function Yv(e){return e}function Kv(e,t){return t}class qE{constructor(t,n,i){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=i}}function Jv(e,t,n,i,o,l,d,h,v,T,x,j,re){Qa("NgControlFlow");const ce=void 0!==v,Ne=Be(),We=h?d.bind(Ne[Nn][gt]):d,at=new qE(ce,We);Ne[Wt+e]=at,$l(e+1,t,n,i,o,l),ce&&$l(e+2,v,T,x,j,re)}class YE extends zE{constructor(t,n,i){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ni}at(t){return this.getLView(t)[gt].$implicit}attach(t,n){const i=n[ne];this.needsIndexUpdate||=t!==this.length,hu(this.lContainer,n,t,Hl(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function KE(e,t){return Zc(e,t)}(this.lContainer,t)}create(t,n){const i=jl(this.lContainer,this.templateTNode.tView.ssrId);return fu(this.hostLView,this.templateTNode,new WE(this.lContainer,n,t),{dehydratedView:i})}destroy(t){kd(t[Xe],t)}updateValue(t,n){this.getLView(t)[gt].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[gt].$index=t}getLView(t){return function JE(e,t){return z_(e,t)}(this.lContainer,t)}}function Qv(e){const t=F(null),n=ai();try{const i=Be(),o=i[Xe],l=i[n];if(void 0===l.liveCollection){const h=n+1,v=Gp(i,h),T=zp(o,h);l.liveCollection=new YE(v,i,T)}else l.liveCollection.reset();const d=l.liveCollection;if(function ZE(e,t,n){let i,o,l=0,d=e.length-1;if(Array.isArray(t)){let h=t.length-1;for(;l<=d&&l<=h;){const v=e.at(l),T=t[l],x=Hp(l,v,l,T,n);if(0!==x){x<0&&e.updateValue(l,T),l++;continue}const j=e.at(d),re=t[h],ce=Hp(d,j,h,re,n);if(0!==ce){ce<0&&e.updateValue(d,re),d--,h--;continue}const Ne=n(l,v),We=n(d,j),at=n(l,T);if(Object.is(at,We)){const St=n(h,re);Object.is(St,Ne)?(e.swap(l,d),e.updateValue(d,re),h--,d--):e.move(d,l),e.updateValue(l,T),l++}else if(i??=new Wv,o??=Zv(e,l,d,n),$p(e,i,l,at))e.updateValue(l,T),l++,d++;else if(o.has(at))i.set(Ne,e.detach(l)),d--;else{const St=e.create(l,t[l]);e.attach(l,St),l++,d++}}for(;l<=h;)zv(e,i,n,l,t[l]),l++}else if(null!=t){const h=t[Symbol.iterator]();let v=h.next();for(;!v.done&&l<=d;){const T=e.at(l),x=v.value,j=Hp(l,T,l,x,n);if(0!==j)j<0&&e.updateValue(l,x),l++,v=h.next();else{i??=new Wv,o??=Zv(e,l,d,n);const re=n(l,x);if($p(e,i,l,re))e.updateValue(l,x),l++,d++,v=h.next();else if(o.has(re)){const ce=n(l,T);i.set(ce,e.detach(l)),d--}else e.attach(l,e.create(l,x)),l++,d++,v=h.next()}}for(;!v.done;)zv(e,i,n,e.length,v.value),v=h.next()}for(;l<=d;)e.destroy(e.detach(d--));i?.forEach(h=>{e.destroy(h)})}(d,e,l.trackByFn),d.updateIndexes(),l.hasEmptyBlock){const h=to(),v=0===d.length;if(Bi(i,h,v)){const T=n+2,x=Gp(i,T);if(v){const j=zp(o,T),re=jl(x,j.tView.ssrId);hu(x,fu(i,j,void 0,{dehydratedView:re}),0,Hl(j,re))}else Dp(x,0)}}}finally{F(t)}}function Gp(e,t){return e[t]}function zp(e,t){return No(e,t)}function mf(e,t,n,i){const o=Be(),l=cn(),d=Wt+e,h=o[Pt],v=l.firstCreatePass?function QE(e,t,n,i,o,l){const d=t.consts,v=Vl(t,e,2,i,Or(d,o));return op(t,n,v,Or(d,l)),null!==v.attrs&&Xd(v,v.attrs,!1),null!==v.mergedAttrs&&Xd(v,v.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,v),v}(d,l,o,t,n,i):l.data[d],T=Xv(l,o,v,h,t,e);o[d]=T;const x=es(v);return Vr(v,!0),gm(h,T,v),32!=(32&v.flags)&&Aa()&&Ld(l,o,T,v),0===function Ci(){return Vt.lFrame.elementDepthCount}()&&ci(T,o),function Ma(){Vt.lFrame.elementDepthCount++}(),x&&(np(l,o,v),tp(l,v,o)),null!==i&&ip(o,v),mf}function _f(){let e=xn();Ia()?Xr():(e=e.parent,Vr(e,!1));const t=e;(function _c(e){return Vt.skipHydrationRootTNode===e})(t)&&function ku(){Vt.skipHydrationRootTNode=null}(),function Os(){Vt.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(Na(n,e),Xo(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function kg(e){return 0!=(8&e.flags)}(t)&&Bp(n,t,Be(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Fg(e){return 0!=(16&e.flags)}(t)&&Bp(n,t,Be(),t.stylesWithoutHost,!1),_f}function Zp(e,t,n,i){return mf(e,t,n,i),_f(),Zp}let Xv=(e,t,n,i,o,l)=>(mo(!0),Rd(i,o,function Uu(){return Vt.lFrame.currentNamespace}()));function vf(e,t,n){const i=Be(),o=cn(),l=e+Wt,d=o.firstCreatePass?function tM(e,t,n,i,o){const l=t.consts,d=Or(l,i),h=Vl(t,e,8,"ng-container",d);return null!==d&&Xd(h,d,!0),op(t,n,h,Or(l,o)),null!==t.queries&&t.queries.elementStart(t,h),h}(l,o,i,t,n):o.data[l];Vr(d,!0);const h=e0(o,i,d,e);return i[l]=h,Aa()&&Ld(o,i,h,d),ci(h,i),es(d)&&(np(o,i,d),tp(o,d,i)),null!=n&&ip(i,d),vf}function yf(){let e=xn();const t=cn();return Ia()?Xr():(e=e.parent,Vr(e,!1)),t.firstCreatePass&&(Na(t,e),Xo(e)&&t.queries.elementEnd(e)),yf}function Wp(e,t,n){return vf(e,t,n),yf(),Wp}let e0=(e,t,n,i)=>(mo(!0),Sh(t[Pt],""));function t0(){return Be()}function qp(e,t,n){const i=Be();return Bi(i,to(),t)&&ro(cn(),Pn(),i,e,t,i[Pt],n,!0),qp}const il=void 0;var oM=["en",[["a","p"],["AM","PM"],il],[["AM","PM"],il,il],[["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"]],il,[["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"]],il,[["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}",il,"{1} 'at' {0}",il],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function rM(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let sc={};function Yp(e){const t=function sM(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=o0(t);if(n)return n;const i=t.split("-")[0];if(n=o0(i),n)return n;if("en"===i)return oM;throw new Ze(701,!1)}function r0(e){return Yp(e)[ac.PluralCase]}function o0(e){return e in sc||(sc[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),sc[e]}var ac=function(e){return 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",e}(ac||{});const lc="en-US",bf={marker:"element"},Cf={marker:"ICU"};var $r=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}($r||{});let s0=lc;function a0(e){(function On(e,t){null==e&&Et(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(s0=e.toLowerCase().replace(/_/g,"-"))}function l0(e,t,n){const i=t.insertBeforeIndex,o=Array.isArray(i)?i[0]:i;return null===o?lm(e,0,n):Bn(n[o])}function c0(e,t,n,i,o){const l=t.insertBeforeIndex;if(Array.isArray(l)){let d=i,h=null;if(3&t.type||(h=d,d=o),null!==d&&-1===t.componentOffset)for(let v=1;v<l.length;v++)Ya(e,d,n[l[v]],h,!1)}}function u0(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];d0(i)||dM(i,t)&&null===fM(i)&&hM(i,t.index)}}function d0(e){return!(64&e.type)}function dM(e,t){return d0(t)||e.index>t.index}function fM(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function hM(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(um(l0,c0),e.insertBeforeIndex=t)}function mM(e,t,n){const i=ep(e,n,64,null,null);return u0(t,i),i}function wM(){const e=[];let n,i,t=-1;function l(h,v){t=0;const T=function Df(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(h,v);i=null!==T?h.remove[T]:an}function d(){if(t<i.length){const h=i[t++];return h>0?n[h]:(e.push(t,i),l(n[Xe].data[~h],n),d())}return 0===e.length?null:(i=e.pop(),t=e.pop(),d())}return function o(h,v){for(n=v;e.length;)e.pop();return l(h.value,v),d}}const wf=/\ufffd(\d+):?\d*\ufffd/gi,MM=/\ufffd(\d+)\ufffd/,b0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Du="\ufffd",TM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,SM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,IM=/\uE500/g;function C0(e,t,n,i,o,l,d){const h=nu(e,i,1,null);let v=h<<$r.SHIFT,T=Ns();t===T&&(T=null),null===T&&(v|=$r.APPEND_EAGERLY),d&&(v|=$r.COMMENT,function m1(e){void 0===Mh&&(Mh=e())}(wM)),o.push(v,null===l?"":l);const x=ep(e,h,d?32:1,null===l?"":l,null);u0(n,x);const j=x.index;return Vr(x,!1),null!==T&&t!==T&&function gM(e,t){let n=e.insertBeforeIndex;null===n?(um(l0,c0),n=e.insertBeforeIndex=[null,t]):(function Lt(e,t,n){e!=t&&Et(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(T,j),x}function NM(e,t,n,i,o,l,d){const h=d.match(wf),v=C0(e,t,n,l,i,h?null:d,!1);h&&wu(o,d,v.index,null,0,null)}function wu(e,t,n,i,o,l){const d=e.length,h=d+1;e.push(null,null);const v=d+2,T=t.split(wf);let x=0;for(let j=0;j<T.length;j++){const re=T[j];if(1&j){const ce=o+parseInt(re,10);e.push(-1-ce),x|=D0(ce)}else""!==re&&e.push(re)}return e.push(n<<2|(i?1:0)),i&&e.push(i,l),e[d]=x,e[h]=e.length-v,x}function D0(e){return 1<<Math.min(e,31)}function w0(e){let t,l,n="",i=0,o=!1;for(;null!==(t=TM.exec(e));)o?t[0]===`${Du}/*${l}${Du}`&&(i=t.index,o=!1):(n+=e.substring(i,t.index+t[0].length),l=t[1],o=!0);return n+=e.slice(i),n}function E0(e,t,n,i,o,l){let d=0;const h={type:o.type,currentCaseLViewIndex:nu(e,t,1,null),anchorIdx:l,cases:[],create:[],remove:[],update:[]};(function UM(e,t,n){e.push(D0(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,o,l),function pM(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,l,h);const v=o.values;for(let T=0;T<v.length;T++){const x=v[T],j=[];for(let re=0;re<x.length;re++){const ce=x[re];if("string"!=typeof ce){const Ne=j.push(ce)-1;x[re]=`\x3c!--\ufffd${Ne}\ufffd--\x3e`}}d=LM(e,h,t,n,i,o.cases[T],x.join(""),j)|d}d&&function VM(e,t,n){e.push(t,1,n<<2|3)}(n,d,l)}function FM(e){const t=[],n=[];let i=1,o=0;const l=Kp(e=e.replace(b0,function(d,h,v){return i="select"===v?0:1,o=parseInt(h.slice(1),10),""}));for(let d=0;d<l.length;){let h=l[d++].trim();1===i&&(h=h.replace(/\s*(?:=)?(\w+)\s*/,"$1")),h.length&&t.push(h);const v=Kp(l[d++]);t.length>n.length&&n.push(v)}return{type:i,mainBinding:o,cases:t,values:n}}function Kp(e){if(!e)return[];let t=0;const n=[],i=[],o=/[{}]/g;let l;for(o.lastIndex=0;l=o.exec(e);){const h=l.index;if("}"==l[0]){if(n.pop(),0==n.length){const v=e.substring(t,h);b0.test(v)?i.push(FM(v)):i.push(v),t=h+1}}else{if(0==n.length){const v=e.substring(t,h);i.push(v),t=h+1}n.push("{")}}const d=e.substring(t);return i.push(d),i}function LM(e,t,n,i,o,l,d,h){const v=[],T=[],x=[];t.cases.push(l),t.create.push(v),t.remove.push(T),t.update.push(x);const re=ym(Vs()).getInertBodyElement(d),ce=Lh(re)||re;return ce?M0(e,t,n,i,v,T,x,ce,o,h,0):0}function M0(e,t,n,i,o,l,d,h,v,T,x){let j=0,re=h.firstChild;for(;re;){const ce=nu(e,n,1,null);switch(re.nodeType){case Node.ELEMENT_NODE:const Ne=re,We=Ne.tagName.toLowerCase();if(kh.hasOwnProperty(We)){Jp(o,bf,We,v,ce),e.data[ce]=We;const Xt=Ne.attributes;for(let _n=0;_n<Xt.length;_n++){const Mn=Xt.item(_n),Dr=Mn.name.toLowerCase();Mn.value.match(wf)?wm.hasOwnProperty(Dr)&&wu(d,Mn.value,ce,Mn.name,0,Fh[Dr]?Hd:null):jM(o,ce,Mn)}j=M0(e,t,n,i,o,l,d,re,ce,T,x+1)|j,T0(l,ce,x)}break;case Node.TEXT_NODE:const at=re.textContent||"",St=at.match(wf);Jp(o,null,St?"":at,v,ce),T0(l,ce,x),St&&(j=wu(d,at,ce,null,0,null)|j);break;case Node.COMMENT_NODE:const $e=MM.exec(re.textContent||"");if($e){const _n=T[parseInt($e[1],10)];Jp(o,Cf,"",v,ce),E0(e,n,i,v,_n,ce),BM(l,ce,x)}}re=re.nextSibling}return j}function T0(e,t,n){0===n&&e.push(t)}function BM(e,t,n){0===n&&(e.push(~t),e.push(t))}function Jp(e,t,n,i,o){null!==t&&e.push(t),e.push(n,o,function _M(e,t,n){return e|t<<17|n<<1}(0,i,o))}function jM(e,t,n){e.push(t<<1|1,n.name,n.value)}function I0(e,t,n=-1){const i=cn(),o=Be(),l=Wt+e,d=Or(i.consts,t),h=Ns();i.firstCreatePass&&function AM(e,t,n,i,o,l){const d=Ns(),h=[],v=[],T=[[]];o=function kM(e,t){if(function RM(e){return-1===e}(t))return w0(e);{const n=e.indexOf(`:${t}${Du}`)+2+t.toString().length,i=e.search(new RegExp(`${Du}\\/\\*\\d+:${t}${Du}`));return w0(e.substring(n,i))}}(o,l);const x=function OM(e){return e.replace(IM," ")}(o).split(SM);for(let j=0;j<x.length;j++){let re=x[j];if(1&j){const ce=47===re.charCodeAt(0),We=(re.charCodeAt(ce?1:0),Wt+Number.parseInt(re.substring(ce?2:1)));if(ce)T.shift(),Vr(Ns(),!1);else{const at=mM(e,T[0],We);T.unshift([]),Vr(at,!0)}}else{const ce=Kp(re);for(let Ne=0;Ne<ce.length;Ne++){let We=ce[Ne];if(1&Ne){const at=We;if("object"!=typeof at)throw new Error(`Unable to parse ICU expression in "${o}" message.`);E0(e,n,v,t,at,C0(e,d,T[0],n,h,"",!0).index)}else""!==We&&NM(e,d,T[0],h,v,n,We)}}}e.data[i]={create:h,update:v}}(i,null===h?0:h.index,o,l,d,n),2===i.type?o[Nn][S]|=32:o[S]|=32;const v=i.data[l],x=rm(i,h===o[L]?null:h,o);(function bM(e,t,n,i){const o=e[Pt];for(let l=0;l<t.length;l++){const d=t[l++],h=t[l],T=(d&$r.APPEND_EAGERLY)===$r.APPEND_EAGERLY,x=d>>>$r.SHIFT;let j=e[x];null===j&&(j=e[x]=(d&$r.COMMENT)===$r.COMMENT?o.createComment(h):Pd(o,h)),T&&null!==n&&Ya(o,n,j,i,!1)}})(o,v.create,x,h&&8&h.type?o[h.index]:null),bc(!0)}function A0(e,t,n){I0(e,t,n),function O0(){bc(!1)}()}function Qp(e){return!!e&&"function"==typeof e.then}function x0(e){return!!e&&"function"==typeof e.subscribe}function Xp(e,t,n,i){const o=Be(),l=cn(),d=xn();return function R0(e,t,n,i,o,l,d){const h=es(i),T=e.firstCreatePass&&p_(e),x=t[gt],j=h_(t);let re=!0;if(3&i.type||d){const We=bi(i,t),at=d?d(We):We,St=j.length,$e=d?_n=>d(Bn(_n[i.index])):i.index;let Xt=null;if(!d&&h&&(Xt=function XM(e,t,n,i){const o=e.cleanup;if(null!=o)for(let l=0;l<o.length-1;l+=2){const d=o[l];if(d===n&&o[l+1]===i){const h=t[ut],v=o[l+2];return h.length>v?h[v]:null}"string"==typeof d&&(l+=2)}return null}(e,t,o,i.index)),null!==Xt)(Xt.__ngLastListenerFn__||Xt).__ngNextListenerFn__=l,Xt.__ngLastListenerFn__=l,re=!1;else{l=F0(i,t,x,l,!1);const _n=n.listen(at,o,l);j.push(l,_n),T&&T.push(o,$e,St,St+1)}}else l=F0(i,t,x,l,!1);const ce=i.outputs;let Ne;if(re&&null!==ce&&(Ne=ce[o])){const We=Ne.length;if(We)for(let at=0;at<We;at+=2){const Mn=t[Ne[at]][Ne[at+1]].subscribe(l),Dr=j.length;j.push(l,Mn),T&&T.push(o,i.index,Dr,-(Dr+1))}}}(l,o,o[Pt],d,e,t,i),Xp}function k0(e,t,n,i){try{return dr(6,t,n),!1!==n(i)}catch(o){return Qd(e,o),!1}finally{dr(7,t,n)}}function F0(e,t,n,i,o){return function l(d){if(d===Function)return i;iu(e.componentOffset>-1?yr(e.index,t):t);let v=k0(t,n,i,d),T=l.__ngNextListenerFn__;for(;T;)v=k0(t,n,T,d)&&v,T=T.__ngNextListenerFn__;return o&&!1===v&&d.preventDefault(),v}}function L0(e=1){return function Ps(e){return(Vt.lFrame.contextLView=function Xs(e,t){for(;e>0;)t=t[Br],e--;return t}(e,Vt.lFrame.contextLView))[gt]}(e)}function eT(e,t){let n=null;const i=function Eo(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const l=t[o];if("*"!==l){if(null===i?Cs(e,l,!0):Lr(i,l))return o}else n=o}return n}function B0(e){const t=Be()[Nn][L];if(!t.projection){const i=t.projection=function vo(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}(e?e.length:1,null),o=i.slice();let l=t.child;for(;null!==l;){const d=e?eT(l,e):0;null!==d&&(o[d]?o[d].projectionNext=l:i[d]=l,o[d]=l),l=l.next}}}function U0(e,t=0,n){const i=Be(),o=cn(),l=Vl(o,Wt+e,16,null,n||null);null===l.projection&&(l.projection=t),Xr(),(!i[ne]||Qr())&&32!=(32&l.flags)&&function T1(e,t,n){hm(t[Pt],0,t,n,Oh(e,n,t),am(n.parent||t[L],n,t))}(o,i,l)}function tT(){return this._results[Symbol.iterator]()}class tg{static#e=Symbol.iterator;get changes(){return this._changes??=new ds}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=tg.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=tT)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const i=function Zi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ju(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i];if(n&&(o=n(o),l=n(l)),l!==o)return!1}return!0}(this._results,i,n))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}let Eu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=rT}return e})();const nT=Eu,iT=class extends nT{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){const o=fu(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:i});return new ru(o)}};function rT(){return Ef(xn(),Be())}function Ef(e,t){return 4&e.type?new iT(t,e,Bl(e,t)):null}class ng{constructor(t){this.queryList=t,this.matches=null}clone(){return new ng(this.queryList)}setDirty(){this.queryList.setDirty()}}class ig{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let l=0;l<i;l++){const d=n.getByIndex(l);o.push(this.queries[d.indexInDeclarationView].clone())}return new ig(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==X0(t,n).matches&&this.queries[n].setDirty()}}class Y0{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class rg{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const o=null!==n?n.length:0,l=this.getByIndex(i).embeddedTView(t,o);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new rg(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class og{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new og(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const l=i[o];this.matchTNodeWithReadOption(t,n,oT(n,l)),this.matchTNodeWithReadOption(t,n,yl(n,t,l,!1,!1))}else i===Eu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,yl(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===eu||o===af||o===Eu&&4&n.type)this.addMatch(n.index,-2);else{const l=yl(n,t,o,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function oT(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function aT(e,t,n,i){return-1===n?function sT(e,t){return 11&e.type?Bl(e,t):4&e.type?Ef(e,t):null}(t,e):-2===n?function lT(e,t,n){return n===eu?Bl(t,e):n===Eu?Ef(t,e):n===af?q_(t,e):void 0}(e,t,i):Rs(e,e[Xe],n,t)}function K0(e,t,n,i){const o=t[Ir].queries[i];if(null===o.matches){const l=e.data,d=n.matches,h=[];for(let v=0;v<d.length;v+=2){const T=d[v];h.push(T<0?null:aT(t,l[T],d[v+1],n.metadata.read))}o.matches=h}return o.matches}function sg(e,t,n,i){const o=e.queries.getByIndex(n),l=o.matches;if(null!==l){const d=K0(e,t,o,n);for(let h=0;h<l.length;h+=2){const v=l[h];if(v>0)i.push(d[h/2]);else{const T=l[h+1],x=t[-v];for(let j=ni;j<x.length;j++){const re=x[j];re[Sr]===re[A]&&sg(re[Xe],re,T,i)}if(null!==x[Qo]){const j=x[Qo];for(let re=0;re<j.length;re++){const ce=j[re];sg(ce[Xe],ce,T,i)}}}}}return i}function J0(e,t,n){const i=new tg(4==(4&n));(function QC(e,t,n,i){const o=h_(t);o.push(n),e.firstCreatePass&&p_(e).push(i,o.length-1)})(e,t,i,i.destroy),null===t[Ir]&&(t[Ir]=new ig),t[Ir].queries.push(new ng(i))}function Q0(e,t,n){null===e.queries&&(e.queries=new rg),e.queries.track(new og(t,n))}function X0(e,t){return e.queries.getByIndex(t)}function ey(e,t,n,i){const o=cn();if(o.firstCreatePass){const l=xn();Q0(o,new Y0(t,n,i),l.index),function uT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}J0(o,Be(),n)}function ty(e,t,n){const i=cn();i.firstCreatePass&&(Q0(i,new Y0(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),J0(i,Be(),t)}function ny(e){const t=Be(),n=cn(),i=C();I(i+1);const o=X0(n,i);if(e.dirty&&function xu(e){return 4==(4&e[S])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const l=o.crossesNgTemplate?sg(n,t,i,[]):K0(n,t,o,i);e.reset(l,vC),e.notifyOnChanges()}return!0}return!1}function iy(){return function cT(e,t){return e[Ir].queries[t].queryList}(Be(),C())}function ry(e){return ki(function yc(){return Vt.lFrame.contextLView}(),Wt+e)}function py(e,t=""){const n=Be(),i=cn(),o=e+Wt,l=i.firstCreatePass?Vl(i,o,1,t,null):i.data[o],d=gy(i,n,l,t,e);n[o]=d,Aa()&&Ld(i,n,d,l),Vr(l,!1)}let gy=(e,t,n,i,o)=>(mo(!0),Pd(t[Pt],i));function ag(e){return Mf("",e,""),ag}function Mf(e,t,n){const i=Be(),o=function Jl(e,t,n,i){return Bi(e,to(),n)?t+mt(n)+i:nn}(i,e,t,n);return o!==nn&&zs(i,ai(),o),Mf}function lg(e,t,n,i,o){const l=Be(),d=Ql(l,e,t,n,i,o);return d!==nn&&zs(l,ai(),d),lg}function cg(e,t,n,i,o){if(e=ot(e),Array.isArray(e))for(let l=0;l<e.length;l++)cg(e[l],t,n,i,o);else{const l=cn(),d=Be(),h=xn();let v=Bs(e)?e:ot(e.provide);const T=hh(e),x=1048575&h.providerIndexes,j=h.directiveStart,re=h.providerIndexes>>20;if(Bs(e)||!e.multi){const ce=new gl(T,o,Ul),Ne=dg(v,t,o?x:x+re,j);-1===Ne?(Ec(jn(h,d),l,v),ug(l,e,t.length),t.push(v),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(ce),d.push(ce)):(n[Ne]=ce,d[Ne]=ce)}else{const ce=dg(v,t,x+re,j),Ne=dg(v,t,x,x+re),at=Ne>=0&&n[Ne];if(o&&!at||!o&&!(ce>=0&&n[ce])){Ec(jn(h,d),l,v);const St=function TT(e,t,n,i,o){const l=new gl(e,n,Ul);return l.multi=[],l.index=t,l.componentProviders=0,wy(l,o,i&&!n),l}(o?MT:ET,n.length,o,i,T);!o&&at&&(n[Ne].providerFactory=St),ug(l,e,t.length,0),t.push(v),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),n.push(St),d.push(St)}else ug(l,e,ce>-1?ce:Ne,wy(n[o?Ne:ce],T,!o&&i));!o&&i&&at&&n[Ne].componentProviders++}}}function ug(e,t,n,i){const o=Bs(t),l=function fh(e){return!!e.useClass}(t);if(o||l){const v=(l?ot(t.useClass):t).prototype.ngOnDestroy;if(v){const T=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const x=T.indexOf(n);-1===x?T.push(n,[i,v]):T[x+1].push(i,v)}else T.push(n,v)}}}function wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function dg(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function ET(e,t,n,i){return fg(this.multi,[])}function MT(e,t,n,i){const o=this.multi;let l;if(this.providerFactory){const d=this.providerFactory.componentProviders,h=Rs(n,n[Xe],this.providerFactory.index,i);l=h.slice(0,d),fg(o,l);for(let v=d;v<h.length;v++)l.push(h[v])}else l=[],fg(o,l);return l}function fg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ey(e,t=[]){return n=>{n.providersResolver=(i,o)=>function wT(e,t,n){const i=cn();if(i.firstCreatePass){const o=_r(e);cg(n,i.data,i.blueprint,o,!0),cg(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class rl{}class My{}function ST(e,t){return new hg(e,t??null,[])}class hg extends rl{constructor(t,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new N_(this);const o=ti(t);this._bootstrapComponents=u(o.bootstrap),this._r3Injector=Dd(t,n,[{provide:rl,useValue:this},{provide:Xc,useValue:this.componentFactoryResolver},...i],ln(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pg extends My{constructor(t){super(),this.moduleType=t}create(t){return new hg(this.moduleType,t,[])}}class Ty extends rl{constructor(t){super(),this.componentFactoryResolver=new N_(this),this.instance=null;const n=new Ga([...t.providers,{provide:rl,useValue:this},{provide:Xc,useValue:this.componentFactoryResolver}],t.parent||Rc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Sy(e,t,n=null){return new Ty({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let OT=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=ch(0,n.type),o=i.length>0?Sy([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=en({token:e,providedIn:"environment",factory:()=>new e(qn(ko))})}return e})();function Iy(e){Qa("NgStandalone"),e.getStandaloneInjector=t=>t.get(OT).getOrCreateStandaloneInjector(e)}function Ly(e,t,n){const i=Di()+e,o=Be();return o[i]===nn?fs(o,i,n?t.call(n):t()):function pu(e,t){return e[t]}(o,i)}function By(e,t,n,i){return Hy(Be(),Di(),e,t,n,i)}function Uy(e,t,n,i,o){return $y(Be(),Di(),e,t,n,i,o)}function Vy(e,t,n,i,o,l){return function Gy(e,t,n,i,o,l,d,h){const v=t+n;return function lf(e,t,n,i,o){const l=el(e,t,n,i);return Bi(e,t+2,o)||l}(e,v,o,l,d)?fs(e,v+3,h?i.call(h,o,l,d):i(o,l,d)):Mu(e,v+3)}(Be(),Di(),e,t,n,i,o,l)}function jy(e,t,n,i,o,l,d){return function zy(e,t,n,i,o,l,d,h,v){const T=t+n;return function bo(e,t,n,i,o,l){const d=el(e,t,n,i);return el(e,t+2,o,l)||d}(e,T,o,l,d,h)?fs(e,T+4,v?i.call(v,o,l,d,h):i(o,l,d,h)):Mu(e,T+4)}(Be(),Di(),e,t,n,i,o,l,d)}function Mu(e,t){const n=e[t];return n===nn?void 0:n}function Hy(e,t,n,i,o,l){const d=t+n;return Bi(e,d,o)?fs(e,d+1,l?i.call(l,o):i(o)):Mu(e,d+1)}function $y(e,t,n,i,o,l,d){const h=t+n;return el(e,h,o,l)?fs(e,h+2,d?i.call(d,o,l):i(o,l)):Mu(e,h+2)}function Wy(e,t){const n=cn();let i;const o=e+Wt;n.firstCreatePass?(i=function zT(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(n.destroyHooks??=[]).push(o,i.onDestroy)):i=n.data[o];const l=i.factory||(i.factory=Zn(i.type)),h=V(Ul);try{const v=Dc(!1),T=l();return Dc(v),function dT(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Be(),o,T),T}finally{V(h)}}function qy(e,t,n){const i=e+Wt,o=Be(),l=ki(o,i);return Tu(o,i)?Hy(o,Di(),t,l.transform,n,l):l.transform(n)}function Yy(e,t,n,i){const o=e+Wt,l=Be(),d=ki(l,o);return Tu(l,o)?$y(l,Di(),t,d.transform,n,i,d):d.transform(n,i)}function Tu(e,t){return e[Xe].data[t].pure}function Ky(e,t){return Ef(e,t)}class fb{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let hb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class mS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let _S=(()=>{class e{compileModuleSync(n){return new pg(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=u(ti(n).declarations).reduce((d,h)=>{const v=tn(h);return v&&d.push(new au(v)),d},[]);return new mS(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Of=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yt.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const vb=new wt(""),yb=new wt("");let Cg,GS=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Cg||(function zS(e){Cg=e}(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Si.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==l),n()},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(qn(Si),qn(bb),qn(yb))};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac})}return e})(),bb=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Cg?.findTestabilityInTree(this,n,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Cb=new wt("Application Initializer");let Dg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Jt(Cb,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const l=o();if(Qp(l))n.push(l);else if(x0(l)){const d=new Promise((h,v)=>{l.subscribe({complete:h,error:v})});n.push(d)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wg=new wt("appBootstrapListener");let ol=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Jt(qm),this.afterRenderEffectManager=Jt(su),this.componentTypes=[],this.components=[],this.isStable=Jt(Of).hasPendingTasks.pipe((0,dn.U)(n=>!n)),this._injector=Jt(ko)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof Pm;if(!this._injector.get(Dg).done)throw!o&&Tr(n),new Ze(405,!1);let d;d=o?n:this._injector.get(Xc).resolveComponentFactory(n),this.componentTypes.push(d.componentType);const h=function WS(e){return e.isBoundToModule}(d)?void 0:this._injector.get(rl),T=d.create(br.NULL,[],i||d.selector,h),x=T.location.nativeElement,j=T.injector.get(vb,null);return j?.registerApplication(x),T.onDestroy(()=>{this.detachView(T.hostView),Nf(this.components,T),j?.unregisterApplication(x)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new Ze(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Nf(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(wg,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Nf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ze(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let YS=(()=>{class e{constructor(){this.zone=Jt(Si),this.applicationRef=Jt(ol)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Tb(e){return[{provide:Si,useFactory:e},{provide:rs,multi:!0,useFactory:()=>{const t=Jt(YS,{optional:!0});return()=>t.initialize()}},{provide:rs,multi:!0,useFactory:()=>{const t=Jt(QS);return()=>{t.initialize()}}},{provide:qm,useFactory:KS}]}function KS(){const e=Jt(Si),t=Jt(la);return n=>e.runOutsideAngular(()=>t.handleError(n))}function JS(e){return Nc([[],Tb(()=>new Si(function Sb(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let QS=(()=>{class e{constructor(){this.subscription=new Rt.w0,this.initialized=!1,this.zone=Jt(Si),this.pendingTasks=Jt(Of)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Si.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Si.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=en({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Pf=new wt("LocaleId",{providedIn:"root",factory:()=>Jt(Pf,yt.Optional|yt.SkipSelf)||function XS(){return typeof $localize<"u"&&$localize.locale||lc}()}),eI=new wt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),Eg=new wt("PlatformDestroyListeners");let da=null;function oI(){}function EI(e){try{const{rootComponent:t,appProviders:n,platformProviders:i}=e,o=function rI(e=[]){if(da)return da;const t=function Ab(e=[],t){return br.create({name:t,providers:[{provide:gd,useValue:"platform"},{provide:Eg,useValue:new Set([()=>da=null])},...e]})}(e);return da=t,function Db(){!function vt(e){pt=e}(()=>{throw new Ze(600,!1)})}(),function Nb(e){e.get(Td,null)?.forEach(n=>n())}(t),t}(i),l=[JS(),...n||[]],h=new Ty({providers:l,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,v=h.get(Si);return v.run(()=>{h.resolveInjectorInitializers();const T=h.get(la,null);let x;v.runOutsideAngular(()=>{x=v.onError.subscribe({next:ce=>{T.handleError(ce)}})});const j=()=>h.destroy(),re=o.get(Eg);return re.add(j),h.onDestroy(()=>{x.unsubscribe(),re.delete(j)}),function wb(e,t,n){try{const i=n();return Qp(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(T,v,()=>{const ce=h.get(Dg);return ce.runInitializers(),ce.donePromise.then(()=>{a0(h.get(Pf,lc)||lc);const We=h.get(ol);return void 0!==t&&We.bootstrap(t),We})})})}catch(t){return Promise.reject(t)}}function LI(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function UI(e,t){const n=tn(e),i=t.elementInjector||Rc();return new au(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function VI(e){const t=tn(e);if(!t)return null;const n=new au(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},get isSignal(){return t.signals}}}},1993:(k,E,f)=>{f.d(E,{sL:()=>H});var r=f(9212),w=f(5592),s=f(9773);function H(z){z||((0,r.gHi)(H),z=(0,r.f3M)(r.ktI));const Y=new w.y(Z=>z.onDestroy(Z.next.bind(Z)));return Z=>Z.pipe((0,s.R)(Y))}},95:(k,E,f)=>{f.d(E,{Wl:()=>tt,Fj:()=>Ie,on:()=>qo,qu:()=>Ko,NI:()=>wt,oH:()=>Jt,sg:()=>Hi,u5:()=>Ht,SD:()=>de,Cf:()=>Ke,JU:()=>Me,JJ:()=>qt,JL:()=>Bt,F:()=>Re,On:()=>er,YN:()=>kr,UX:()=>Xe,Q7:()=>Lr,EJ:()=>Er,kI:()=>Te,_Y:()=>oo,Kr:()=>Fr});var r=f(9212),w=f(6814),s=f(7715),H=f(5592),B=f(7453),F=f(4829),z=f(9940),Y=f(8251),Z=f(7400),q=f(2714),X=f(7398);let se=(()=>{class S{constructor(D,L){this._renderer=D,this._elementRef=L,this.onChange=ne=>{},this.onTouched=()=>{}}setProperty(D,L){this._renderer.setProperty(this._elementRef.nativeElement,D,L)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(r.Qsj),r.Y36(r.SBq))};static#t=this.\u0275dir=r.lG2({type:S})}return S})(),ge=(()=>{class S extends se{static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,features:[r.qOj]})}return S})();const Me=new r.OlP("NgValueAccessor"),Ye={provide:Me,useExisting:(0,r.Gpc)(()=>tt),multi:!0};let tt=(()=>{class S extends ge{writeValue(D){this.setProperty("checked",D)}static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(L,ne){1&L&&r.NdJ("change",function(gt){return ne.onChange(gt.target.checked)})("blur",function(){return ne.onTouched()})},features:[r._Bn([Ye]),r.qOj]})}return S})();const Ct={provide:Me,useExisting:(0,r.Gpc)(()=>Ie),multi:!0},_t=new r.OlP("CompositionEventMode");let Ie=(()=>{class S extends se{constructor(D,L,ne){super(D,L),this._compositionMode=ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rt(){const S=(0,w.q)()?(0,w.q)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(_t,8))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(L,ne){1&L&&r.NdJ("input",function(gt){return ne._handleInput(gt.target.value)})("blur",function(){return ne.onTouched()})("compositionstart",function(){return ne._compositionStart()})("compositionend",function(gt){return ne._compositionEnd(gt.target.value)})},features:[r._Bn([Ct]),r.qOj]})}return S})();function Ee(S){return null==S||("string"==typeof S||Array.isArray(S))&&0===S.length}function et(S){return null!=S&&"number"==typeof S.length}const Ke=new r.OlP("NgValidators"),de=new r.OlP("NgAsyncValidators"),pe=/^(?=.{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 Te{static min(A){return function Le(S){return A=>{if(Ee(A.value)||Ee(S))return null;const D=parseFloat(A.value);return!isNaN(D)&&D<S?{min:{min:S,actual:A.value}}:null}}(A)}static max(A){return function ze(S){return A=>{if(Ee(A.value)||Ee(S))return null;const D=parseFloat(A.value);return!isNaN(D)&&D>S?{max:{max:S,actual:A.value}}:null}}(A)}static required(A){return Ve(A)}static requiredTrue(A){return function He(S){return!0===S.value?null:{required:!0}}(A)}static email(A){return pt(A)}static minLength(A){return function Ot(S){return A=>Ee(A.value)||!et(A.value)?null:A.value.length<S?{minlength:{requiredLength:S,actualLength:A.value.length}}:null}(A)}static maxLength(A){return function vt(S){return A=>et(A.value)&&A.value.length>S?{maxlength:{requiredLength:S,actualLength:A.value.length}}:null}(A)}static pattern(A){return function Ft(S){if(!S)return me;let A,D;return"string"==typeof S?(D="","^"!==S.charAt(0)&&(D+="^"),D+=S,"$"!==S.charAt(S.length-1)&&(D+="$"),A=new RegExp(D)):(D=S.toString(),A=S),L=>{if(Ee(L.value))return null;const ne=L.value;return A.test(ne)?null:{pattern:{requiredPattern:D,actualValue:ne}}}}(A)}static nullValidator(A){return null}static compose(A){return ue(A)}static composeAsync(A){return ye(A)}}function Ve(S){return Ee(S.value)?{required:!0}:null}function pt(S){return Ee(S.value)||pe.test(S.value)?null:{email:!0}}function me(S){return null}function _e(S){return null!=S}function xe(S){return(0,r.QGY)(S)?(0,s.D)(S):S}function De(S){let A={};return S.forEach(D=>{A=null!=D?{...A,...D}:A}),0===Object.keys(A).length?null:A}function Ge(S,A){return A.map(D=>D(S))}function Je(S){return S.map(A=>function he(S){return!S.validate}(A)?A:D=>A.validate(D))}function ue(S){if(!S)return null;const A=S.filter(_e);return 0==A.length?null:function(D){return De(Ge(D,A))}}function ke(S){return null!=S?ue(Je(S)):null}function ye(S){if(!S)return null;const A=S.filter(_e);return 0==A.length?null:function(D){return function Q(...S){const A=(0,z.jO)(S),{args:D,keys:L}=(0,B.D)(S),ne=new H.y(ut=>{const{length:gt}=D;if(!gt)return void ut.complete();const wn=new Array(gt);let pi=gt,Pt=gt;for(let Ri=0;Ri<gt;Ri++){let cr=!1;(0,F.Xf)(D[Ri]).subscribe((0,Y.x)(ut,Br=>{cr||(cr=!0,Pt--),wn[Ri]=Br},()=>pi--,void 0,()=>{(!pi||!cr)&&(Pt||ut.next(L?(0,q.n)(L,wn):wn),ut.complete())}))}});return A?ne.pipe((0,Z.Z)(A)):ne}(Ge(D,A).map(xe)).pipe((0,X.U)(De))}}function nt(S){return null!=S?ye(Je(S)):null}function Nt(S,A){return null===S?[A]:Array.isArray(S)?[...S,A]:[S,A]}function Rt(S){return S._rawValidators}function Yt(S){return S._rawAsyncValidators}function dn(S){return S?Array.isArray(S)?S:[S]:[]}function Gt(S,A){return Array.isArray(S)?S.includes(A):S===A}function qe(S,A){const D=dn(A);return dn(S).forEach(ne=>{Gt(D,ne)||D.push(ne)}),D}function Ze(S,A){return dn(A).filter(D=>!Gt(S,D))}class vn{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(A){this._rawValidators=A||[],this._composedValidatorFn=ke(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A=void 0){this.control&&this.control.reset(A)}hasError(A,D){return!!this.control&&this.control.hasError(A,D)}getError(A,D){return this.control?this.control.getError(A,D):null}}class zt extends vn{get formDirective(){return null}get path(){return null}}class $n extends vn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Un{constructor(A){this._cd=A}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}}let qt=(()=>{class S extends Un{constructor(D){super(D)}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36($n,2))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(L,ne){2&L&&r.ekj("ng-untouched",ne.isUntouched)("ng-touched",ne.isTouched)("ng-pristine",ne.isPristine)("ng-dirty",ne.isDirty)("ng-valid",ne.isValid)("ng-invalid",ne.isInvalid)("ng-pending",ne.isPending)},features:[r.qOj]})}return S})(),Bt=(()=>{class S extends Un{constructor(D){super(D)}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(zt,10))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(L,ne){2&L&&r.ekj("ng-untouched",ne.isUntouched)("ng-touched",ne.isTouched)("ng-pristine",ne.isPristine)("ng-dirty",ne.isDirty)("ng-valid",ne.isValid)("ng-invalid",ne.isInvalid)("ng-pending",ne.isPending)("ng-submitted",ne.isSubmitted)},features:[r.qOj]})}return S})();const _i="VALID",mt="INVALID",It="PENDING",vi="DISABLED";function oi(S){return(oe(S)?S.validators:S)||null}function be(S,A){return(oe(A)?A.asyncValidators:S)||null}function oe(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}function we(S,A,D){const L=S.controls;if(!(A?Object.keys(L):L).length)throw new r.vHH(1e3,"");if(!L[D])throw new r.vHH(1001,"")}function ht(S,A,D){S._forEachChild((L,ne)=>{if(void 0===D[ne])throw new r.vHH(1002,"")})}class bt{constructor(A,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(A),this._assignAsyncValidators(D)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get valid(){return this.status===_i}get invalid(){return this.status===mt}get pending(){return this.status==It}get disabled(){return this.status===vi}get enabled(){return this.status!==vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._assignValidators(A)}setAsyncValidators(A){this._assignAsyncValidators(A)}addValidators(A){this.setValidators(qe(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(qe(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(Ze(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(Ze(A,this._rawAsyncValidators))}hasValidator(A){return Gt(this._rawValidators,A)}hasAsyncValidator(A){return Gt(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){this.touched=!0,this._parent&&!A.onlySelf&&this._parent.markAsTouched(A)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(A=>A.markAllAsTouched())}markAsUntouched(A={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}markAsDirty(A={}){this.pristine=!1,this._parent&&!A.onlySelf&&this._parent.markAsDirty(A)}markAsPristine(A={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}markAsPending(A={}){this.status=It,!1!==A.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!A.onlySelf&&this._parent.markAsPending(A)}disable(A={}){const D=this._parentMarkedDirty(A.onlySelf);this.status=vi,this.errors=null,this._forEachChild(L=>{L.disable({...A,onlySelf:!0})}),this._updateValue(),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...A,skipPristineCheck:D}),this._onDisabledChange.forEach(L=>L(!0))}enable(A={}){const D=this._parentMarkedDirty(A.onlySelf);this.status=_i,this._forEachChild(L=>{L.enable({...A,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors({...A,skipPristineCheck:D}),this._onDisabledChange.forEach(L=>L(!1))}_updateAncestors(A){this._parent&&!A.onlySelf&&(this._parent.updateValueAndValidity(A),A.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_i||this.status===It)&&this._runAsyncValidator(A.emitEvent)),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.updateValueAndValidity(A)}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vi:_i}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A){if(this.asyncValidator){this.status=It,this._hasOwnPendingAsyncValidator=!0;const D=xe(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(L=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(L,{emitEvent:A})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(A,D={}){this.errors=A,this._updateControlsErrors(!1!==D.emitEvent)}get(A){let D=A;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((L,ne)=>L&&L._find(ne),this)}getError(A,D){const L=D?this.get(D):this;return L&&L.errors?L.errors[A]:null}hasError(A,D){return!!this.getError(A,D)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(A)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?vi:this.errors?mt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(It)?It:this._anyControlsHaveStatus(mt)?mt:_i}_anyControlsHaveStatus(A){return this._anyControls(D=>D.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A={}){this.pristine=!this._anyControlsDirty(),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}_updateTouched(A={}){this.touched=this._anyControlsTouched(),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){oe(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(A){return null}_assignValidators(A){this._rawValidators=Array.isArray(A)?A.slice():A,this._composedValidatorFn=function Oe(S){return Array.isArray(S)?ke(S):S||null}(this._rawValidators)}_assignAsyncValidators(A){this._rawAsyncValidators=Array.isArray(A)?A.slice():A,this._composedAsyncValidatorFn=function W(S){return Array.isArray(S)?nt(S):S||null}(this._rawAsyncValidators)}}class rn extends bt{constructor(A,D,L){super(oi(D),be(L,D)),this.controls=A,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(A,D){return this.controls[A]?this.controls[A]:(this.controls[A]=D,D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange),D)}addControl(A,D,L={}){this.registerControl(A,D),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}removeControl(A,D={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}setControl(A,D,L={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],D&&this.registerControl(A,D),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}contains(A){return this.controls.hasOwnProperty(A)&&this.controls[A].enabled}setValue(A,D={}){ht(this,0,A),Object.keys(A).forEach(L=>{we(this,!0,L),this.controls[L].setValue(A[L],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(A,D={}){null!=A&&(Object.keys(A).forEach(L=>{const ne=this.controls[L];ne&&ne.patchValue(A[L],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(A={},D={}){this._forEachChild((L,ne)=>{L.reset(A?A[ne]:null,{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this._reduceChildren({},(A,D,L)=>(A[L]=D.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(D,L)=>!!L._syncPendingControls()||D);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(D=>{const L=this.controls[D];L&&A(L,D)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[D,L]of Object.entries(this.controls))if(this.contains(D)&&A(L))return!0;return!1}_reduceValue(){return this._reduceChildren({},(D,L,ne)=>((L.enabled||this.disabled)&&(D[ne]=L.value),D))}_reduceChildren(A,D){let L=A;return this._forEachChild((ne,ut)=>{L=D(L,ne,ut)}),L}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return this.controls.hasOwnProperty(A)?this.controls[A]:null}}class fi extends rn{}const Oi=new r.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ji}),Ji="always";function Kn(S,A,D=Ji){Qi(S,A),A.valueAccessor.writeValue(S.value),(S.disabled||"always"===D)&&A.valueAccessor.setDisabledState?.(S.disabled),function Gr(S,A){A.valueAccessor.registerOnChange(D=>{S._pendingValue=D,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&G(S,A)})}(S,A),function ie(S,A){const D=(L,ne)=>{A.valueAccessor.writeValue(L),ne&&A.viewToModelUpdate(L)};S.registerOnChange(D),A._registerOnDestroy(()=>{S._unregisterOnChange(D)})}(S,A),function en(S,A){A.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&G(S,A),"submit"!==S.updateOn&&S.markAsTouched()})}(S,A),function Vi(S,A){if(A.valueAccessor.setDisabledState){const D=L=>{A.valueAccessor.setDisabledState(L)};S.registerOnDisabledChange(D),A._registerOnDestroy(()=>{S._unregisterOnDisabledChange(D)})}}(S,A)}function On(S,A,D=!0){const L=()=>{};A.valueAccessor&&(A.valueAccessor.registerOnChange(L),A.valueAccessor.registerOnTouched(L)),Xi(S,A),S&&(A._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Et(S,A){S.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(A)})}function Qi(S,A){const D=Rt(S);null!==A.validator?S.setValidators(Nt(D,A.validator)):"function"==typeof D&&S.setValidators([D]);const L=Yt(S);null!==A.asyncValidator?S.setAsyncValidators(Nt(L,A.asyncValidator)):"function"==typeof L&&S.setAsyncValidators([L]);const ne=()=>S.updateValueAndValidity();Et(A._rawValidators,ne),Et(A._rawAsyncValidators,ne)}function Xi(S,A){let D=!1;if(null!==S){if(null!==A.validator){const ne=Rt(S);if(Array.isArray(ne)&&ne.length>0){const ut=ne.filter(gt=>gt!==A.validator);ut.length!==ne.length&&(D=!0,S.setValidators(ut))}}if(null!==A.asyncValidator){const ne=Yt(S);if(Array.isArray(ne)&&ne.length>0){const ut=ne.filter(gt=>gt!==A.asyncValidator);ut.length!==ne.length&&(D=!0,S.setAsyncValidators(ut))}}}const L=()=>{};return Et(A._rawValidators,L),Et(A._rawAsyncValidators,L),D}function G(S,A){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function te(S,A){Qi(S,A)}function fn(S,A){if(!S.hasOwnProperty("model"))return!1;const D=S.model;return!!D.isFirstChange()||!Object.is(A,D.currentValue)}function yt(S,A){S._syncPendingControls(),A.forEach(D=>{const L=D.control;"submit"===L.updateOn&&L._pendingChange&&(D.viewToModelUpdate(L._pendingValue),L._pendingChange=!1)})}function $(S,A){if(!A)return null;let D,L,ne;return Array.isArray(A),A.forEach(ut=>{ut.constructor===Ie?D=ut:function mn(S){return Object.getPrototypeOf(S.constructor)===ge}(ut)?L=ut:ne=ut}),ne||L||D||null}const ee={provide:zt,useExisting:(0,r.Gpc)(()=>Re)},le=Promise.resolve();let Re=(()=>{class S extends zt{constructor(D,L,ne){super(),this.callSetDisabledState=ne,this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new rn({},ke(D),nt(L))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(D){le.then(()=>{const L=this._findContainer(D.path);D.control=L.registerControl(D.name,D.control),Kn(D.control,D,this.callSetDisabledState),D.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(D)})}getControl(D){return this.form.get(D.path)}removeControl(D){le.then(()=>{const L=this._findContainer(D.path);L&&L.removeControl(D.name),this._directives.delete(D)})}addFormGroup(D){le.then(()=>{const L=this._findContainer(D.path),ne=new rn({});te(ne,D),L.registerControl(D.name,ne),ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(D){le.then(()=>{const L=this._findContainer(D.path);L&&L.removeControl(D.name)})}getFormGroup(D){return this.form.get(D.path)}updateModel(D,L){le.then(()=>{this.form.get(D.path).setValue(L)})}setValue(D){this.control.setValue(D)}onSubmit(D){return this.submitted=!0,yt(this.form,this._directives),this.ngSubmit.emit(D),"dialog"===D?.target?.method}onReset(){this.resetForm()}resetForm(D=void 0){this.form.reset(D),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(D){return D.pop(),D.length?this.form.get(D):this.form}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(Ke,10),r.Y36(de,10),r.Y36(Oi,8))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(L,ne){1&L&&r.NdJ("submit",function(gt){return ne.onSubmit(gt)})("reset",function(){return ne.onReset()})},inputs:{options:[r.lbL.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([ee]),r.qOj]})}return S})();function At(S,A){const D=S.indexOf(A);D>-1&&S.splice(D,1)}function Mt(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const wt=class extends bt{constructor(A=null,D,L){super(oi(D),be(L,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(A),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=Mt(A)?A.value:A)}setValue(A,D={}){this.value=this._pendingValue=A,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(L=>L(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(A,D={}){this.setValue(A,D)}reset(A=this.defaultValue,D={}){this._applyFormState(A),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){At(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){At(this._onDisabledChange,A)}_forEachChild(A){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(A){Mt(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}},Zs={provide:$n,useExisting:(0,r.Gpc)(()=>er)},ms=Promise.resolve();let er=(()=>{class S extends $n{constructor(D,L,ne,ut,gt,wn){super(),this._changeDetectorRef=gt,this.callSetDisabledState=wn,this.control=new wt,this._registered=!1,this.name="",this.update=new r.vpe,this._parent=D,this._setValidators(L),this._setAsyncValidators(ne),this.valueAccessor=$(0,ut)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const L=D.name.previousValue;this.formDirective.removeControl({name:L,path:this._getPath(L)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),fn(D,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(D){this.viewModel=D,this.update.emit(D)}_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(){Kn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){ms.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const L=D.isDisabled.currentValue,ne=0!==L&&(0,r.VuI)(L);ms.then(()=>{ne&&!this.control.disabled?this.control.disable():!ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function or(S,A){return[...A.path,S]}(D,this._parent):[D]}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(zt,9),r.Y36(Ke,10),r.Y36(de,10),r.Y36(Me,10),r.Y36(r.sBO,8),r.Y36(Oi,8))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[r.lbL.None,"disabled","isDisabled"],model:[r.lbL.None,"ngModel","model"],options:[r.lbL.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([Zs]),r.qOj,r.TTD]})}return S})(),oo=(()=>{class S{static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return S})(),zr=(()=>{class S{static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275mod=r.oAB({type:S});static#n=this.\u0275inj=r.cJS({})}return S})();const qn=new r.OlP("NgModelWithFormControlWarning"),Do={provide:$n,useExisting:(0,r.Gpc)(()=>Jt)};let Jt=(()=>{class S extends $n{set isDisabled(D){}static#e=this._ngModelWarningSentOnce=!1;constructor(D,L,ne,ut,gt){super(),this._ngModelWarningConfig=ut,this.callSetDisabledState=gt,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(D),this._setAsyncValidators(L),this.valueAccessor=$(0,ne)}ngOnChanges(D){if(this._isControlChanged(D)){const L=D.form.previousValue;L&&On(L,this,!1),Kn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}fn(D,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&On(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_isControlChanged(D){return D.hasOwnProperty("form")}static#t=this.\u0275fac=function(L){return new(L||S)(r.Y36(Ke,10),r.Y36(de,10),r.Y36(Me,10),r.Y36(qn,8),r.Y36(Oi,8))};static#n=this.\u0275dir=r.lG2({type:S,selectors:[["","formControl",""]],inputs:{form:[r.lbL.None,"formControl","form"],isDisabled:[r.lbL.None,"disabled","isDisabled"],model:[r.lbL.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([Do]),r.qOj,r.TTD]})}return S})();const hi={provide:zt,useExisting:(0,r.Gpc)(()=>Hi)};let Hi=(()=>{class S extends zt{constructor(D,L,ne){super(),this.callSetDisabledState=ne,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(D),this._setAsyncValidators(L)}ngOnChanges(D){this._checkFormPresent(),D.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Xi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(D){const L=this.form.get(D.path);return Kn(L,D,this.callSetDisabledState),L.updateValueAndValidity({emitEvent:!1}),this.directives.push(D),L}getControl(D){return this.form.get(D.path)}removeControl(D){On(D.control||null,D,!1),function ft(S,A){const D=S.indexOf(A);D>-1&&S.splice(D,1)}(this.directives,D)}addFormGroup(D){this._setUpFormContainer(D)}removeFormGroup(D){this._cleanUpFormContainer(D)}getFormGroup(D){return this.form.get(D.path)}addFormArray(D){this._setUpFormContainer(D)}removeFormArray(D){this._cleanUpFormContainer(D)}getFormArray(D){return this.form.get(D.path)}updateModel(D,L){this.form.get(D.path).setValue(L)}onSubmit(D){return this.submitted=!0,yt(this.form,this.directives),this.ngSubmit.emit(D),"dialog"===D?.target?.method}onReset(){this.resetForm()}resetForm(D=void 0){this.form.reset(D),this.submitted=!1}_updateDomValue(){this.directives.forEach(D=>{const L=D.control,ne=this.form.get(D.path);L!==ne&&(On(L||null,D),(S=>S instanceof wt)(ne)&&(Kn(ne,D,this.callSetDisabledState),D.control=ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(D){const L=this.form.get(D.path);te(L,D),L.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(D){if(this.form){const L=this.form.get(D.path);L&&function Pe(S,A){return Xi(S,A)}(L,D)&&L.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qi(this.form,this),this._oldForm&&Xi(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(Ke,10),r.Y36(de,10),r.Y36(Oi,8))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","formGroup",""]],hostBindings:function(L,ne){1&L&&r.NdJ("submit",function(gt){return ne.onSubmit(gt)})("reset",function(){return ne.onReset()})},inputs:{form:[r.lbL.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([hi]),r.qOj,r.TTD]})}return S})();const xi={provide:Me,useExisting:(0,r.Gpc)(()=>Er),multi:!0};function an(S,A){return null==S?`${A}`:(A&&"object"==typeof A&&(A="Object"),`${S}: ${A}`.slice(0,50))}let Er=(()=>{class S extends ge{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){this.value=D;const ne=an(this._getOptionId(D),D);this.setProperty("value",ne)}registerOnChange(D){this.onChange=L=>{this.value=this._getOptionValue(L),D(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(D){for(const L of this._optionMap.keys())if(this._compareWith(this._optionMap.get(L),D))return L;return null}_getOptionValue(D){const L=function nr(S){return S.split(":")[0]}(D);return this._optionMap.has(L)?this._optionMap.get(L):D}static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(L,ne){1&L&&r.NdJ("change",function(gt){return ne.onChange(gt.target.value)})("blur",function(){return ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([xi]),r.qOj]})}return S})(),kr=(()=>{class S{constructor(D,L,ne){this._element=D,this._renderer=L,this._select=ne,this._select&&(this.id=this._select._registerOption())}set ngValue(D){null!=this._select&&(this._select._optionMap.set(this.id,D),this._setElementValue(an(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._setElementValue(D),this._select&&this._select.writeValue(this._select.value)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Er,9))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return S})();const lo={provide:Me,useExisting:(0,r.Gpc)(()=>co),multi:!0};function Go(S,A){return null==S?`${A}`:("string"==typeof A&&(A=`'${A}'`),A&&"object"==typeof A&&(A="Object"),`${S}: ${A}`.slice(0,50))}let co=(()=>{class S extends ge{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){let L;if(this.value=D,Array.isArray(D)){const ne=D.map(ut=>this._getOptionId(ut));L=(ut,gt)=>{ut._setSelected(ne.indexOf(gt.toString())>-1)}}else L=(ne,ut)=>{ne._setSelected(!1)};this._optionMap.forEach(L)}registerOnChange(D){this.onChange=L=>{const ne=[],ut=L.selectedOptions;if(void 0!==ut){const gt=ut;for(let wn=0;wn<gt.length;wn++){const Pt=this._getOptionValue(gt[wn].value);ne.push(Pt)}}else{const gt=L.options;for(let wn=0;wn<gt.length;wn++){const pi=gt[wn];if(pi.selected){const Pt=this._getOptionValue(pi.value);ne.push(Pt)}}}this.value=ne,D(ne)}}_registerOption(D){const L=(this._idCounter++).toString();return this._optionMap.set(L,D),L}_getOptionId(D){for(const L of this._optionMap.keys())if(this._compareWith(this._optionMap.get(L)._value,D))return L;return null}_getOptionValue(D){const L=function Mr(S){return S.split(":")[0]}(D);return this._optionMap.has(L)?this._optionMap.get(L)._value:D}static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(L,ne){1&L&&r.NdJ("change",function(gt){return ne.onChange(gt.target)})("blur",function(){return ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([lo]),r.qOj]})}return S})(),Fr=(()=>{class S{constructor(D,L,ne){this._element=D,this._renderer=L,this._select=ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(D){null!=this._select&&(this._value=D,this._setElementValue(Go(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._select?(this._value=D,this._setElementValue(Go(this.id,D)),this._select.writeValue(this._select.value)):this._setElementValue(D)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}_setSelected(D){this._renderer.setProperty(this._element.nativeElement,"selected",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(L){return new(L||S)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(co,9))};static#t=this.\u0275dir=r.lG2({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return S})(),lr=(()=>{class S{constructor(){this._validator=me}ngOnChanges(D){if(this.inputName in D){const L=this.normalizeInput(D[this.inputName].currentValue);this._enabled=this.enabled(L),this._validator=this._enabled?this.createValidator(L):me,this._onChange&&this._onChange()}}validate(D){return this._validator(D)}registerOnValidatorChange(D){this._onChange=D}enabled(D){return null!=D}static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275dir=r.lG2({type:S,features:[r.TTD]})}return S})();const Zo={provide:Ke,useExisting:(0,r.Gpc)(()=>Lr),multi:!0};let Lr=(()=>{class S extends lr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.VuI,this.createValidator=D=>Ve}enabled(D){return D}static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(L,ne){2&L&&r.uIk("required",ne._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([Zo]),r.qOj]})}return S})();const ha={provide:Ke,useExisting:(0,r.Gpc)(()=>qo),multi:!0};let qo=(()=>{class S extends lr{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=r.VuI,this.createValidator=D=>pt}enabled(D){return D}static#e=this.\u0275fac=(()=>{let D;return function(ne){return(D||(D=r.n5z(S)))(ne||S)}})();static#t=this.\u0275dir=r.lG2({type:S,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r._Bn([ha]),r.qOj]})}return S})(),zn=(()=>{class S{static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275mod=r.oAB({type:S});static#n=this.\u0275inj=r.cJS({imports:[zr]})}return S})();class Jn extends bt{constructor(A,D,L){super(oi(D),be(L,D)),this.controls=A,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(A){return this.controls[this._adjustIndex(A)]}push(A,D={}){this.controls.push(A),this._registerControl(A),this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}insert(A,D,L={}){this.controls.splice(A,0,D),this._registerControl(D),this.updateValueAndValidity({emitEvent:L.emitEvent})}removeAt(A,D={}){let L=this._adjustIndex(A);L<0&&(L=0),this.controls[L]&&this.controls[L]._registerOnCollectionChange(()=>{}),this.controls.splice(L,1),this.updateValueAndValidity({emitEvent:D.emitEvent})}setControl(A,D,L={}){let ne=this._adjustIndex(A);ne<0&&(ne=0),this.controls[ne]&&this.controls[ne]._registerOnCollectionChange(()=>{}),this.controls.splice(ne,1),D&&(this.controls.splice(ne,0,D),this._registerControl(D)),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(A,D={}){ht(this,0,A),A.forEach((L,ne)=>{we(this,!1,ne),this.at(ne).setValue(L,{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(A,D={}){null!=A&&(A.forEach((L,ne)=>{this.at(ne)&&this.at(ne).patchValue(L,{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(A=[],D={}){this._forEachChild((L,ne)=>{L.reset(A[ne],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this.controls.map(A=>A.getRawValue())}clear(A={}){this.controls.length<1||(this._forEachChild(D=>D._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:A.emitEvent}))}_adjustIndex(A){return A<0?A+this.length:A}_syncPendingControls(){let A=this.controls.reduce((D,L)=>!!L._syncPendingControls()||D,!1);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){this.controls.forEach((D,L)=>{A(D,L)})}_updateValue(){this.value=this.controls.filter(A=>A.enabled||this.disabled).map(A=>A.value)}_anyControls(A){return this.controls.some(D=>D.enabled&&A(D))}_setUpControls(){this._forEachChild(A=>this._registerControl(A))}_allControlsDisabled(){for(const A of this.controls)if(A.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(A){A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)}_find(A){return this.at(A)??null}}function Mo(S){return!!S&&(void 0!==S.asyncValidators||void 0!==S.validators||void 0!==S.updateOn)}let Ko=(()=>{class S{constructor(){this.useNonNullable=!1}get nonNullable(){const D=new S;return D.useNonNullable=!0,D}group(D,L=null){const ne=this._reduceControls(D);let ut={};return Mo(L)?ut=L:null!==L&&(ut.validators=L.validator,ut.asyncValidators=L.asyncValidator),new rn(ne,ut)}record(D,L=null){const ne=this._reduceControls(D);return new fi(ne,L)}control(D,L,ne){let ut={};return this.useNonNullable?(Mo(L)?ut=L:(ut.validators=L,ut.asyncValidators=ne),new wt(D,{...ut,nonNullable:!0})):new wt(D,L,ne)}array(D,L,ne){const ut=D.map(gt=>this._createControl(gt));return new Jn(ut,L,ne)}_reduceControls(D){const L={};return Object.keys(D).forEach(ne=>{L[ne]=this._createControl(D[ne])}),L}_createControl(D){return D instanceof wt||D instanceof bt?D:Array.isArray(D)?this.control(D[0],D.length>1?D[1]:null,D.length>2?D[2]:null):this.control(D)}static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275prov=r.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),Ht=(()=>{class S{static withConfig(D){return{ngModule:S,providers:[{provide:Oi,useValue:D.callSetDisabledState??Ji}]}}static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275mod=r.oAB({type:S});static#n=this.\u0275inj=r.cJS({imports:[zn]})}return S})(),Xe=(()=>{class S{static withConfig(D){return{ngModule:S,providers:[{provide:qn,useValue:D.warnOnNgModelWithFormControl??"always"},{provide:Oi,useValue:D.callSetDisabledState??Ji}]}}static#e=this.\u0275fac=function(L){return new(L||S)};static#t=this.\u0275mod=r.oAB({type:S});static#n=this.\u0275inj=r.cJS({imports:[zn]})}return S})()},6593:(k,E,f)=>{f.d(E,{Cb:()=>vi,Cg:()=>xe,Dx:()=>zt,H7:()=>Kt,h_:()=>qe,ki:()=>oi});var r=f(9212),w=f(6814);class s extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class H extends s{static makeCurrent(){(0,w.HT)(new H)}onAndCancel(be,W,oe){return be.addEventListener(W,oe),()=>{be.removeEventListener(W,oe)}}dispatchEvent(be,W){be.dispatchEvent(W)}remove(be){be.parentNode&&be.parentNode.removeChild(be)}createElement(be,W){return(W=W||this.getDefaultDocument()).createElement(be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(be){return be.nodeType===Node.ELEMENT_NODE}isShadowRoot(be){return be instanceof DocumentFragment}getGlobalEventTarget(be,W){return"window"===W?window:"document"===W?be:"body"===W?be.body:null}getBaseHref(be){const W=function F(){return B=B||document.querySelector("base"),B?B.getAttribute("href"):null}();return null==W?null:function z(Oe){return new URL(Oe,document.baseURI).pathname}(W)}resetBaseElement(){B=null}getUserAgent(){return window.navigator.userAgent}getCookie(be){return(0,w.Mx)(document.cookie,be)}}let B=null,Z=(()=>{class Oe{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||Oe)};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();const q=new r.OlP("EventManagerPlugins");let Q=(()=>{class Oe{constructor(W,oe){this._zone=oe,this._eventNameToPlugin=new Map,W.forEach(we=>{we.manager=this}),this._plugins=W.slice().reverse()}addEventListener(W,oe,we){return this._findPluginFor(oe).addEventListener(W,oe,we)}getZone(){return this._zone}_findPluginFor(W){let oe=this._eventNameToPlugin.get(W);if(oe)return oe;if(oe=this._plugins.find(ht=>ht.supports(W)),!oe)throw new r.vHH(5101,!1);return this._eventNameToPlugin.set(W,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(q),r.LFG(r.R0b))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();class X{constructor(be){this._doc=be}}const se="ng-app-id";let ge=(()=>{class Oe{constructor(W,oe,we,ht={}){this.doc=W,this.appId=oe,this.nonce=we,this.platformId=ht,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,w.PM)(ht),this.resetHostNodes()}addStyles(W){for(const oe of W)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(W){for(const oe of W)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const W=this.styleNodesInDOM;W&&(W.forEach(oe=>oe.remove()),W.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(W){this.hostNodes.add(W);for(const oe of this.getAllStyles())this.addStyleToHost(W,oe)}removeHost(W){this.hostNodes.delete(W)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(W){for(const oe of this.hostNodes)this.addStyleToHost(oe,W)}onStyleRemoved(W){const oe=this.styleRef;oe.get(W)?.elements?.forEach(we=>we.remove()),oe.delete(W)}collectServerRenderedStyles(){const W=this.doc.head?.querySelectorAll(`style[${se}="${this.appId}"]`);if(W?.length){const oe=new Map;return W.forEach(we=>{null!=we.textContent&&oe.set(we.textContent,we)}),oe}return null}changeUsageCount(W,oe){const we=this.styleRef;if(we.has(W)){const ht=we.get(W);return ht.usage+=oe,ht.usage}return we.set(W,{usage:oe,elements:[]}),oe}getStyleElement(W,oe){const we=this.styleNodesInDOM,ht=we?.get(oe);if(ht?.parentNode===W)return we.delete(oe),ht.removeAttribute(se),ht;{const bt=this.doc.createElement("style");return this.nonce&&bt.setAttribute("nonce",this.nonce),bt.textContent=oe,this.platformIsServer&&bt.setAttribute(se,this.appId),W.appendChild(bt),bt}}addStyleToHost(W,oe){const we=this.getStyleElement(W,oe),ht=this.styleRef,bt=ht.get(oe)?.elements;bt?bt.push(we):ht.set(oe,{elements:[we],usage:1})}resetHostNodes(){const W=this.hostNodes;W.clear(),W.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0),r.LFG(r.AFp),r.LFG(r.Ojb,8),r.LFG(r.Lbi))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();const Me={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/"},Ye=/%COMP%/g,Ie=new r.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Ke(Oe,be){return be.map(W=>W.replace(Ye,Oe))}let de=(()=>{class Oe{constructor(W,oe,we,ht,bt,rn,Lt,kn=null){this.eventManager=W,this.sharedStylesHost=oe,this.appId=we,this.removeStylesOnCompDestroy=ht,this.doc=bt,this.platformId=rn,this.ngZone=Lt,this.nonce=kn,this.rendererByCompId=new Map,this.platformIsServer=(0,w.PM)(rn),this.defaultRenderer=new pe(W,bt,Lt,this.platformIsServer)}createRenderer(W,oe){if(!W||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===r.ifc.ShadowDom&&(oe={...oe,encapsulation:r.ifc.Emulated});const we=this.getOrCreateRenderer(W,oe);return we instanceof pt?we.applyToHost(W):we instanceof He&&we.applyStyles(),we}getOrCreateRenderer(W,oe){const we=this.rendererByCompId;let ht=we.get(oe.id);if(!ht){const bt=this.doc,rn=this.ngZone,Lt=this.eventManager,kn=this.sharedStylesHost,di=this.removeStylesOnCompDestroy,fi=this.platformIsServer;switch(oe.encapsulation){case r.ifc.Emulated:ht=new pt(Lt,kn,oe,this.appId,di,bt,rn,fi);break;case r.ifc.ShadowDom:return new Ve(Lt,kn,W,oe,bt,rn,this.nonce,fi);default:ht=new He(Lt,kn,oe,di,bt,rn,fi)}we.set(oe.id,ht)}return ht}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(Q),r.LFG(ge),r.LFG(r.AFp),r.LFG(Ie),r.LFG(w.K0),r.LFG(r.Lbi),r.LFG(r.R0b),r.LFG(r.Ojb))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();class pe{constructor(be,W,oe,we){this.eventManager=be,this.doc=W,this.ngZone=oe,this.platformIsServer=we,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(be,W){return W?this.doc.createElementNS(Me[W]||W,be):this.doc.createElement(be)}createComment(be){return this.doc.createComment(be)}createText(be){return this.doc.createTextNode(be)}appendChild(be,W){(ze(be)?be.content:be).appendChild(W)}insertBefore(be,W,oe){be&&(ze(be)?be.content:be).insertBefore(W,oe)}removeChild(be,W){be&&be.removeChild(W)}selectRootElement(be,W){let oe="string"==typeof be?this.doc.querySelector(be):be;if(!oe)throw new r.vHH(-5104,!1);return W||(oe.textContent=""),oe}parentNode(be){return be.parentNode}nextSibling(be){return be.nextSibling}setAttribute(be,W,oe,we){if(we){W=we+":"+W;const ht=Me[we];ht?be.setAttributeNS(ht,W,oe):be.setAttribute(W,oe)}else be.setAttribute(W,oe)}removeAttribute(be,W,oe){if(oe){const we=Me[oe];we?be.removeAttributeNS(we,W):be.removeAttribute(`${oe}:${W}`)}else be.removeAttribute(W)}addClass(be,W){be.classList.add(W)}removeClass(be,W){be.classList.remove(W)}setStyle(be,W,oe,we){we&(r.JOm.DashCase|r.JOm.Important)?be.style.setProperty(W,oe,we&r.JOm.Important?"important":""):be.style[W]=oe}removeStyle(be,W,oe){oe&r.JOm.DashCase?be.style.removeProperty(W):be.style[W]=""}setProperty(be,W,oe){null!=be&&(be[W]=oe)}setValue(be,W){be.nodeValue=W}listen(be,W,oe){if("string"==typeof be&&!(be=(0,w.q)().getGlobalEventTarget(this.doc,be)))throw new Error(`Unsupported event target ${be} for event ${W}`);return this.eventManager.addEventListener(be,W,this.decoratePreventDefault(oe))}decoratePreventDefault(be){return W=>{if("__ngUnwrap__"===W)return be;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>be(W)):be(W))&&W.preventDefault()}}}function ze(Oe){return"TEMPLATE"===Oe.tagName&&void 0!==Oe.content}class Ve extends pe{constructor(be,W,oe,we,ht,bt,rn,Lt){super(be,ht,bt,Lt),this.sharedStylesHost=W,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kn=Ke(we.id,we.styles);for(const di of kn){const fi=document.createElement("style");rn&&fi.setAttribute("nonce",rn),fi.textContent=di,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(be){return be===this.hostEl?this.shadowRoot:be}appendChild(be,W){return super.appendChild(this.nodeOrShadowRoot(be),W)}insertBefore(be,W,oe){return super.insertBefore(this.nodeOrShadowRoot(be),W,oe)}removeChild(be,W){return super.removeChild(this.nodeOrShadowRoot(be),W)}parentNode(be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class He extends pe{constructor(be,W,oe,we,ht,bt,rn,Lt){super(be,ht,bt,rn),this.sharedStylesHost=W,this.removeStylesOnCompDestroy=we,this.styles=Lt?Ke(Lt,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pt extends He{constructor(be,W,oe,we,ht,bt,rn,Lt){const kn=we+"-"+oe.id;super(be,W,oe,ht,bt,rn,Lt,kn),this.contentAttr=function Ee(Oe){return"_ngcontent-%COMP%".replace(Ye,Oe)}(kn),this.hostAttr=function et(Oe){return"_nghost-%COMP%".replace(Ye,Oe)}(kn)}applyToHost(be){this.applyStyles(),this.setAttribute(be,this.hostAttr,"")}createElement(be,W){const oe=super.createElement(be,W);return super.setAttribute(oe,this.contentAttr,""),oe}}let Ot=(()=>{class Oe extends X{constructor(W){super(W)}supports(W){return!0}addEventListener(W,oe,we){return W.addEventListener(oe,we,!1),()=>this.removeEventListener(W,oe,we)}removeEventListener(W,oe,we){return W.removeEventListener(oe,we)}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();const vt=["alt","control","meta","shift"],Ft={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},me={alt:Oe=>Oe.altKey,control:Oe=>Oe.ctrlKey,meta:Oe=>Oe.metaKey,shift:Oe=>Oe.shiftKey};let _e=(()=>{class Oe extends X{constructor(W){super(W)}supports(W){return null!=Oe.parseEventName(W)}addEventListener(W,oe,we){const ht=Oe.parseEventName(oe),bt=Oe.eventCallback(ht.fullKey,we,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(W,ht.domEventName,bt))}static parseEventName(W){const oe=W.toLowerCase().split("."),we=oe.shift();if(0===oe.length||"keydown"!==we&&"keyup"!==we)return null;const ht=Oe._normalizeKey(oe.pop());let bt="",rn=oe.indexOf("code");if(rn>-1&&(oe.splice(rn,1),bt="code."),vt.forEach(kn=>{const di=oe.indexOf(kn);di>-1&&(oe.splice(di,1),bt+=kn+".")}),bt+=ht,0!=oe.length||0===ht.length)return null;const Lt={};return Lt.domEventName=we,Lt.fullKey=bt,Lt}static matchEventFullKeyCode(W,oe){let we=Ft[W.key]||W.key,ht="";return oe.indexOf("code.")>-1&&(we=W.code,ht="code."),!(null==we||!we)&&(we=we.toLowerCase()," "===we?we="space":"."===we&&(we="dot"),vt.forEach(bt=>{bt!==we&&(0,me[bt])(W)&&(ht+=bt+".")}),ht+=we,ht===oe)}static eventCallback(W,oe,we){return ht=>{Oe.matchEventFullKeyCode(ht,W)&&we.runGuarded(()=>oe(ht))}}static _normalizeKey(W){return"esc"===W?"escape":W}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})();function xe(Oe,be){return(0,r.iPO)({rootComponent:Oe,...Ge(be)})}function Ge(Oe){return{appProviders:[...Yt,...Oe?.providers??[]],platformProviders:ye}}const ye=[{provide:r.Lbi,useValue:w.bD},{provide:r.g9A,useValue:function Je(){H.makeCurrent()},multi:!0},{provide:w.K0,useFactory:function ke(){return(0,r.RDi)(document),document},deps:[]}],Yt=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function ue(){return new r.qLn},deps:[]},{provide:q,useClass:Ot,multi:!0,deps:[w.K0,r.R0b,r.Lbi]},{provide:q,useClass:_e,multi:!0,deps:[w.K0]},de,ge,Q,{provide:r.FYo,useExisting:de},{provide:w.JF,useClass:Z,deps:[]},[]];let qe=(()=>{class Oe{constructor(W){this._doc=W,this._dom=(0,w.q)()}addTag(W,oe=!1){return W?this._getOrCreateElement(W,oe):null}addTags(W,oe=!1){return W?W.reduce((we,ht)=>(ht&&we.push(this._getOrCreateElement(ht,oe)),we),[]):[]}getTag(W){return W&&this._doc.querySelector(`meta[${W}]`)||null}getTags(W){if(!W)return[];const oe=this._doc.querySelectorAll(`meta[${W}]`);return oe?[].slice.call(oe):[]}updateTag(W,oe){if(!W)return null;oe=oe||this._parseSelector(W);const we=this.getTag(oe);return we?this._setMetaElementAttributes(W,we):this._getOrCreateElement(W,!0)}removeTag(W){this.removeTagElement(this.getTag(W))}removeTagElement(W){W&&this._dom.remove(W)}_getOrCreateElement(W,oe=!1){if(!oe){const bt=this._parseSelector(W),rn=this.getTags(bt).filter(Lt=>this._containsAttributes(W,Lt))[0];if(void 0!==rn)return rn}const we=this._dom.createElement("meta");return this._setMetaElementAttributes(W,we),this._doc.getElementsByTagName("head")[0].appendChild(we),we}_setMetaElementAttributes(W,oe){return Object.keys(W).forEach(we=>oe.setAttribute(this._getMetaKeyMap(we),W[we])),oe}_parseSelector(W){const oe=W.name?"name":"property";return`${oe}="${W[oe]}"`}_containsAttributes(W,oe){return Object.keys(W).every(we=>oe.getAttribute(this._getMetaKeyMap(we))===W[we])}_getMetaKeyMap(W){return Ze[W]||W}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:function(oe){let we=null;return we=oe?new oe:function Gt(){return new qe((0,r.LFG)(w.K0))}(),we},providedIn:"root"})}return Oe})();const Ze={httpEquiv:"http-equiv"};let zt=(()=>{class Oe{constructor(W){this._doc=W}getTitle(){return this._doc.title}setTitle(W){this._doc.title=W||""}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:function(oe){let we=null;return we=oe?new oe:function vn(){return new zt((0,r.LFG)(w.K0))}(),we},providedIn:"root"})}return Oe})();typeof window<"u"&&window;let Kt=(()=>{class Oe{static#e=this.\u0275fac=function(oe){return new(oe||Oe)};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:function(oe){let we=null;return we=oe?new(oe||Oe):r.LFG(Ei),we},providedIn:"root"})}return Oe})(),Ei=(()=>{class Oe extends Kt{constructor(W){super(),this._doc=W}sanitize(W,oe){if(null==oe)return null;switch(W){case r.q3G.NONE:return oe;case r.q3G.HTML:return(0,r.qzn)(oe,"HTML")?(0,r.z3N)(oe):(0,r.EiD)(this._doc,String(oe)).toString();case r.q3G.STYLE:return(0,r.qzn)(oe,"Style")?(0,r.z3N)(oe):oe;case r.q3G.SCRIPT:if((0,r.qzn)(oe,"Script"))return(0,r.z3N)(oe);throw new r.vHH(5200,!1);case r.q3G.URL:return(0,r.qzn)(oe,"URL")?(0,r.z3N)(oe):(0,r.mCW)(String(oe));case r.q3G.RESOURCE_URL:if((0,r.qzn)(oe,"ResourceURL"))return(0,r.z3N)(oe);throw new r.vHH(5201,!1);default:throw new r.vHH(5202,!1)}}bypassSecurityTrustHtml(W){return(0,r.JVY)(W)}bypassSecurityTrustStyle(W){return(0,r.L6k)(W)}bypassSecurityTrustScript(W){return(0,r.eBb)(W)}bypassSecurityTrustUrl(W){return(0,r.LAX)(W)}bypassSecurityTrustResourceUrl(W){return(0,r.pB0)(W)}static#e=this.\u0275fac=function(oe){return new(oe||Oe)(r.LFG(w.K0))};static#t=this.\u0275prov=r.Yz7({token:Oe,factory:function(oe){let we=null;return we=oe?new oe:function ei(Oe){return new Ei(Oe.get(w.K0))}(r.LFG(r.zs3)),we},providedIn:"root"})}return Oe})();const vi=r.Cb6,oi=r.kie},7010:(k,E,f)=>{f.d(E,{gz:()=>Ni,OC:()=>Js,sz:()=>Tn,m2:()=>wt,OD:()=>Mt,NM:()=>Ss,cx:()=>Zn,wN:()=>Ca,F0:()=>ki,rH:()=>xo,Bz:()=>Vr,lC:()=>lo,Hx:()=>Dn});var r=f(9212),w=f(5592),s=f(4674),B=f(7715),F=f(2096),z=f(5619),Y=f(7453),Z=f(2737),q=f(7400),Q=f(9940),X=f(2714),se=f(8251),ge=f(7103);function Me(...p){const b=(0,Q.yG)(p),m=(0,Q.jO)(p),{args:C,keys:I}=(0,Y.D)(p);if(0===C.length)return(0,B.D)([],b);const U=new w.y(function Ye(p,b,m=Z.y){return C=>{tt(b,()=>{const{length:I}=p,U=new Array(I);let K=I,Ce=I;for(let ve=0;ve<I;ve++)tt(b,()=>{const ct=(0,B.D)(p[ve],b);let jt=!1;ct.subscribe((0,se.x)(C,Qt=>{U[ve]=Qt,jt||(jt=!0,Ce--),Ce||C.next(m(U.slice()))},()=>{--K||C.complete()}))},C)},C)}}(C,b,I?K=>(0,X.n)(I,K):Z.y));return m?U.pipe((0,q.Z)(m)):U}function tt(p,b,m){p?(0,ge.f)(m,p,b):b()}var Ct=f(6973),rt=f(5211),_t=f(4829);function Ie(p){return new w.y(b=>{(0,_t.Xf)(p()).subscribe(b)})}var Ee=f(8407);function et(p,b){const m=(0,s.m)(p)?p:()=>p,C=I=>I.error(m());return new w.y(b?I=>b.schedule(C,0,I):C)}var Ke=f(6232),de=f(7394),pe=f(9360);function Te(){return(0,pe.e)((p,b)=>{let m=null;p._refCount++;const C=(0,se.x)(b,void 0,void 0,void 0,()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(m=null);const I=p._connection,U=m;m=null,I&&(!U||I===U)&&I.unsubscribe(),b.unsubscribe()});p.subscribe(C),C.closed||(m=p.connect())})}class Le extends w.y{constructor(b,m){super(),this.source=b,this.subjectFactory=m,this._subject=null,this._refCount=0,this._connection=null,(0,pe.A)(b)&&(this.lift=b.lift)}_subscribe(b){return this.getSubject().subscribe(b)}getSubject(){const b=this._subject;return(!b||b.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:b}=this;this._subject=this._connection=null,b?.unsubscribe()}connect(){let b=this._connection;if(!b){b=this._connection=new de.w0;const m=this.getSubject();b.add(this.source.subscribe((0,se.x)(m,void 0,()=>{this._teardown(),m.complete()},C=>{this._teardown(),m.error(C)},()=>this._teardown()))),b.closed&&(this._connection=null,b=de.w0.EMPTY)}return b}refCount(){return Te()(this)}}var ze=f(8645),Ve=f(6814),He=f(7398),pt=f(4664),Ot=f(8180),vt=f(7921),Ft=f(2181),me=f(1631),_e=f(1374),xe=f(6328),De=f(9397),Ge=f(6306);var ue=f(3572);function ke(p){return p<=0?()=>Ke.E:(0,pe.e)((b,m)=>{let C=[];b.subscribe((0,se.x)(m,I=>{C.push(I),p<C.length&&C.shift()},()=>{for(const I of C)m.next(I);m.complete()},void 0,()=>{C=null}))})}var ye=f(3026),Nt=f(975),Rt=f(4716),Yt=f(9773),dn=f(7537),Gt=f(6593);const qe="primary",Ze=Symbol("RouteTitle");class vn{constructor(b){this.params=b||{}}has(b){return Object.prototype.hasOwnProperty.call(this.params,b)}get(b){if(this.has(b)){const m=this.params[b];return Array.isArray(m)?m[0]:m}return null}getAll(b){if(this.has(b)){const m=this.params[b];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function zt(p){return new vn(p)}function $n(p,b,m){const C=m.path.split("/");if(C.length>p.length||"full"===m.pathMatch&&(b.hasChildren()||C.length<p.length))return null;const I={};for(let U=0;U<C.length;U++){const K=C[U],Ce=p[U];if(K.startsWith(":"))I[K.substring(1)]=Ce;else if(K!==Ce.path)return null}return{consumed:p.slice(0,C.length),posParams:I}}function Vn(p,b){const m=p?Gn(p):void 0,C=b?Gn(b):void 0;if(!m||!C||m.length!=C.length)return!1;let I;for(let U=0;U<m.length;U++)if(I=m[U],!qt(p[I],b[I]))return!1;return!0}function Gn(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function qt(p,b){if(Array.isArray(p)&&Array.isArray(b)){if(p.length!==b.length)return!1;const m=[...p].sort(),C=[...b].sort();return m.every((I,U)=>C[U]===I)}return p===b}function Bt(p){return function H(p){return!!p&&(p instanceof w.y||(0,s.m)(p.lift)&&(0,s.m)(p.subscribe))}(p)?p:(0,r.QGY)(p)?(0,B.D)(Promise.resolve(p)):(0,F.of)(p)}const wi={exact:function Wn(p,b,m){if(!Rn(p.segments,b.segments)||!ot(p.segments,b.segments,m)||p.numberOfChildren!==b.numberOfChildren)return!1;for(const C in b.children)if(!p.children[C]||!Wn(p.children[C],b.children[C],m))return!1;return!0},subset:Cn},Zt={exact:function ln(p,b){return Vn(p,b)},subset:function wr(p,b){return Object.keys(b).length<=Object.keys(p).length&&Object.keys(b).every(m=>qt(p[m],b[m]))},ignored:()=>!0};function ri(p,b,m){return wi[m.paths](p.root,b.root,m.matrixParams)&&Zt[m.queryParams](p.queryParams,b.queryParams)&&!("exact"===m.fragment&&p.fragment!==b.fragment)}function Cn(p,b,m){return rr(p,b,b.segments,m)}function rr(p,b,m,C){if(p.segments.length>m.length){const I=p.segments.slice(0,m.length);return!(!Rn(I,m)||b.hasChildren()||!ot(I,m,C))}if(p.segments.length===m.length){if(!Rn(p.segments,m)||!ot(p.segments,m,C))return!1;for(const I in b.children)if(!p.children[I]||!Cn(p.children[I],b.children[I],C))return!1;return!0}{const I=m.slice(0,p.segments.length),U=m.slice(p.segments.length);return!!(Rn(p.segments,I)&&ot(p.segments,I,C)&&p.children[qe])&&rr(p.children[qe],b,U,C)}}function ot(p,b,m){return b.every((C,I)=>Zt[m](p[I].parameters,C.parameters))}class ui{constructor(b=new Kt([],{}),m={},C=null){this.root=b,this.queryParams=m,this.fragment=C}get queryParamMap(){return this._queryParamMap??=zt(this.queryParams),this._queryParamMap}toString(){return _i.serialize(this)}}class Kt{constructor(b,m){this.segments=b,this.children=m,this.parent=null,Object.values(m).forEach(C=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mt(this)}}class ei{constructor(b,m){this.path=b,this.parameters=m}get parameterMap(){return this._parameterMap??=zt(this.parameters),this._parameterMap}toString(){return we(this)}}function Rn(p,b){return p.length===b.length&&p.every((m,C)=>m.path===b[C].path)}let Dn=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:()=>new Tn,providedIn:"root"})}return p})();class Tn{parse(b){const m=new or(b);return new ui(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(b){const m=`/${It(b.root,!0)}`,C=function bt(p){const b=Object.entries(p).map(([m,C])=>Array.isArray(C)?C.map(I=>`${oi(m)}=${oi(I)}`).join("&"):`${oi(m)}=${oi(C)}`).filter(m=>m);return b.length?`?${b.join("&")}`:""}(b.queryParams);return`${m}${C}${"string"==typeof b.fragment?`#${function Oe(p){return encodeURI(p)}(b.fragment)}`:""}`}}const _i=new Tn;function mt(p){return p.segments.map(b=>we(b)).join("/")}function It(p,b){if(!p.hasChildren())return mt(p);if(b){const m=p.children[qe]?It(p.children[qe],!1):"",C=[];return Object.entries(p.children).forEach(([I,U])=>{I!==qe&&C.push(`${I}:${It(U,!1)}`)}),C.length>0?`${m}(${C.join("//")})`:m}{const m=function An(p,b){let m=[];return Object.entries(p.children).forEach(([C,I])=>{C===qe&&(m=m.concat(b(I,C)))}),Object.entries(p.children).forEach(([C,I])=>{C!==qe&&(m=m.concat(b(I,C)))}),m}(p,(C,I)=>I===qe?[It(p.children[qe],!1)]:[`${I}:${It(C,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[qe]?`${mt(p)}/${m[0]}`:`${mt(p)}/(${m.join("//")})`}}function vi(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function oi(p){return vi(p).replace(/%3B/gi,";")}function be(p){return vi(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function W(p){return decodeURIComponent(p)}function oe(p){return W(p.replace(/\+/g,"%20"))}function we(p){return`${be(p.path)}${function ht(p){return Object.entries(p).map(([b,m])=>`;${be(b)}=${be(m)}`).join("")}(p.parameters)}`}const rn=/^[^\/()?;#]+/;function Lt(p){const b=p.match(rn);return b?b[0]:""}const kn=/^[^\/()?;=#]+/,fi=/^[^=?&#]+/,Oi=/^[^&#]+/;class or{constructor(b){this.url=b,this.remaining=b}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Kt([],{}):new Kt([],this.parseChildren())}parseQueryParams(){const b={};if(this.consumeOptional("?"))do{this.parseQueryParam(b)}while(this.consumeOptional("&"));return b}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const b=[];for(this.peekStartsWith("(")||b.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),b.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(b.length>0||Object.keys(m).length>0)&&(C[qe]=new Kt(b,m)),C}parseSegment(){const b=Lt(this.remaining);if(""===b&&this.peekStartsWith(";"))throw new r.vHH(4009,!1);return this.capture(b),new ei(W(b),this.parseMatrixParams())}parseMatrixParams(){const b={};for(;this.consumeOptional(";");)this.parseParam(b);return b}parseParam(b){const m=function di(p){const b=p.match(kn);return b?b[0]:""}(this.remaining);if(!m)return;this.capture(m);let C="";if(this.consumeOptional("=")){const I=Lt(this.remaining);I&&(C=I,this.capture(C))}b[W(m)]=W(C)}parseQueryParam(b){const m=function Ki(p){const b=p.match(fi);return b?b[0]:""}(this.remaining);if(!m)return;this.capture(m);let C="";if(this.consumeOptional("=")){const K=function Ji(p){const b=p.match(Oi);return b?b[0]:""}(this.remaining);K&&(C=K,this.capture(C))}const I=oe(m),U=oe(C);if(b.hasOwnProperty(I)){let K=b[I];Array.isArray(K)||(K=[K],b[I]=K),K.push(U)}else b[I]=U}parseParens(b){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=Lt(this.remaining),I=this.remaining[C.length];if("/"!==I&&")"!==I&&";"!==I)throw new r.vHH(4010,!1);let U;C.indexOf(":")>-1?(U=C.slice(0,C.indexOf(":")),this.capture(U),this.capture(":")):b&&(U=qe);const K=this.parseChildren();m[U]=1===Object.keys(K).length?K[qe]:new Kt([],K),this.consumeOptional("//")}return m}peekStartsWith(b){return this.remaining.startsWith(b)}consumeOptional(b){return!!this.peekStartsWith(b)&&(this.remaining=this.remaining.substring(b.length),!0)}capture(b){if(!this.consumeOptional(b))throw new r.vHH(4011,!1)}}function Kn(p){return p.segments.length>0?new Kt([],{[qe]:p}):p}function On(p){const b={};for(const[C,I]of Object.entries(p.children)){const U=On(I);if(C===qe&&0===U.segments.length&&U.hasChildren())for(const[K,Ce]of Object.entries(U.children))b[K]=Ce;else(U.segments.length>0||U.hasChildren())&&(b[C]=U)}return function Et(p){if(1===p.numberOfChildren&&p.children[qe]){const b=p.children[qe];return new Kt(p.segments.concat(b.segments),b.children)}return p}(new Kt(p.segments,b))}function Vi(p){return p instanceof ui}function Xi(p){let b;const I=Kn(function m(U){const K={};for(const ve of U.children){const ct=m(ve);K[ve.outlet]=ct}const Ce=new Kt(U.url,K);return U===p&&(b=Ce),Ce}(p.root));return b??I}function Gr(p,b,m,C){let I=p;for(;I.parent;)I=I.parent;if(0===b.length)return ie(I,I,I,m,C);const U=function je(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Pe(!0,0,p);let b=0,m=!1;const C=p.reduce((I,U,K)=>{if("object"==typeof U&&null!=U){if(U.outlets){const Ce={};return Object.entries(U.outlets).forEach(([ve,ct])=>{Ce[ve]="string"==typeof ct?ct.split("/"):ct}),[...I,{outlets:Ce}]}if(U.segmentPath)return[...I,U.segmentPath]}return"string"!=typeof U?[...I,U]:0===K?(U.split("/").forEach((Ce,ve)=>{0==ve&&"."===Ce||(0==ve&&""===Ce?m=!0:".."===Ce?b++:""!=Ce&&I.push(Ce))}),I):[...I,U]},[]);return new Pe(m,b,C)}(b);if(U.toRoot())return ie(I,I,new Kt([],{}),m,C);const K=function it(p,b,m){if(p.isAbsolute)return new Qe(b,!0,0);if(!m)return new Qe(b,!1,NaN);if(null===m.parent)return new Qe(m,!0,0);const C=en(p.commands[0])?0:1;return function Ut(p,b,m){let C=p,I=b,U=m;for(;U>I;){if(U-=I,C=C.parent,!C)throw new r.vHH(4005,!1);I=C.segments.length}return new Qe(C,!1,I-U)}(m,m.segments.length-1+C,p.numberOfDoubleDots)}(U,I,p),Ce=K.processChildren?mn(K.segmentGroup,K.index,U.commands):fn(K.segmentGroup,K.index,U.commands);return ie(I,K.segmentGroup,Ce,m,C)}function en(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function G(p){return"object"==typeof p&&null!=p&&p.outlets}function ie(p,b,m,C,I){let K,U={};C&&Object.entries(C).forEach(([ve,ct])=>{U[ve]=Array.isArray(ct)?ct.map(jt=>`${jt}`):`${ct}`}),K=p===b?m:te(p,b,m);const Ce=Kn(On(K));return new ui(Ce,U,I)}function te(p,b,m){const C={};return Object.entries(p.children).forEach(([I,U])=>{C[I]=U===b?m:te(U,b,m)}),new Kt(p.segments,C)}class Pe{constructor(b,m,C){if(this.isAbsolute=b,this.numberOfDoubleDots=m,this.commands=C,b&&C.length>0&&en(C[0]))throw new r.vHH(4003,!1);const I=C.find(G);if(I&&I!==C.at(-1))throw new r.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qe{constructor(b,m,C){this.segmentGroup=b,this.processChildren=m,this.index=C}}function fn(p,b,m){if(p??=new Kt([],{}),0===p.segments.length&&p.hasChildren())return mn(p,b,m);const C=function yt(p,b,m){let C=0,I=b;const U={match:!1,pathIndex:0,commandIndex:0};for(;I<p.segments.length;){if(C>=m.length)return U;const K=p.segments[I],Ce=m[C];if(G(Ce))break;const ve=`${Ce}`,ct=C<m.length-1?m[C+1]:null;if(I>0&&void 0===ve)break;if(ve&&ct&&"object"==typeof ct&&void 0===ct.outlets){if(!ee(ve,ct,K))return U;C+=2}else{if(!ee(ve,{},K))return U;C++}I++}return{match:!0,pathIndex:I,commandIndex:C}}(p,b,m),I=m.slice(C.commandIndex);if(C.match&&C.pathIndex<p.segments.length){const U=new Kt(p.segments.slice(0,C.pathIndex),{});return U.children[qe]=new Kt(p.segments.slice(C.pathIndex),p.children),mn(U,0,I)}return C.match&&0===I.length?new Kt(p.segments,{}):C.match&&!p.hasChildren()?$(p,b,m):C.match?mn(p,0,I):$(p,b,m)}function mn(p,b,m){if(0===m.length)return new Kt(p.segments,{});{const C=function Tt(p){return G(p[0])?p[0].outlets:{[qe]:p}}(m),I={};if(Object.keys(C).some(U=>U!==qe)&&p.children[qe]&&1===p.numberOfChildren&&0===p.children[qe].segments.length){const U=mn(p.children[qe],b,m);return new Kt(p.segments,U.children)}return Object.entries(C).forEach(([U,K])=>{"string"==typeof K&&(K=[K]),null!==K&&(I[U]=fn(p.children[U],b,K))}),Object.entries(p.children).forEach(([U,K])=>{void 0===C[U]&&(I[U]=K)}),new Kt(p.segments,I)}}function $(p,b,m){const C=p.segments.slice(0,b);let I=0;for(;I<m.length;){const U=m[I];if(G(U)){const ve=ft(U.outlets);return new Kt(C,ve)}if(0===I&&en(m[0])){C.push(new ei(p.segments[b].path,V(m[0]))),I++;continue}const K=G(U)?U.outlets[qe]:`${U}`,Ce=I<m.length-1?m[I+1]:null;K&&Ce&&en(Ce)?(C.push(new ei(K,V(Ce))),I+=2):(C.push(new ei(K,{})),I++)}return new Kt(C,{})}function ft(p){const b={};return Object.entries(p).forEach(([m,C])=>{"string"==typeof C&&(C=[C]),null!==C&&(b[m]=$(new Kt([],{}),0,C))}),b}function V(p){const b={};return Object.entries(p).forEach(([m,C])=>b[m]=`${C}`),b}function ee(p,b,m){return p==m.path&&Vn(b,m.parameters)}const le="imperative";var Re=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(Re||{});class At{constructor(b,m){this.id=b,this.url=m}}class Mt extends At{constructor(b,m,C="imperative",I=null){super(b,m),this.type=Re.NavigationStart,this.navigationTrigger=C,this.restoredState=I}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wt extends At{constructor(b,m,C){super(b,m),this.urlAfterRedirects=C,this.type=Re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Fn=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(Fn||{}),si=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(si||{});class Ai extends At{constructor(b,m,C,I){super(b,m),this.reason=C,this.code=I,this.type=Re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ji extends At{constructor(b,m,C,I){super(b,m),this.reason=C,this.code=I,this.type=Re.NavigationSkipped}}class Vo extends At{constructor(b,m,C,I){super(b,m),this.error=C,this.target=I,this.type=Re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mi extends At{constructor(b,m,C,I){super(b,m),this.urlAfterRedirects=C,this.state=I,this.type=Re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fa extends At{constructor(b,m,C,I){super(b,m),this.urlAfterRedirects=C,this.state=I,this.type=Re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gs extends At{constructor(b,m,C,I,U){super(b,m),this.urlAfterRedirects=C,this.state=I,this.shouldActivate=U,this.type=Re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jo extends At{constructor(b,m,C,I){super(b,m),this.urlAfterRedirects=C,this.state=I,this.type=Re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zs extends At{constructor(b,m,C,I){super(b,m),this.urlAfterRedirects=C,this.state=I,this.type=Re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ms{constructor(b){this.route=b,this.type=Re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class er{constructor(b){this.route=b,this.type=Re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oo{constructor(b){this.snapshot=b,this.type=Re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class so{constructor(b){this.snapshot=b,this.type=Re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ho{constructor(b){this.snapshot=b,this.type=Re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _s{constructor(b){this.snapshot=b,this.type=Re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vs{constructor(b,m,C){this.routerEvent=b,this.position=m,this.anchor=C,this.type=Re.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zr{}class sr{constructor(b){this.url=b}}class gr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Pr,this.attachRef=null}}let Pr=(()=>{class p{constructor(){this.contexts=new Map}onChildOutletCreated(m,C){const I=this.getOrCreateContext(m);I.outlet=C,this.contexts.set(m,I)}onChildOutletDestroyed(m){const C=this.getContext(m);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const m=this.contexts;return this.contexts=new Map,m}onOutletReAttached(m){this.contexts=m}getOrCreateContext(m){let C=this.getContext(m);return C||(C=new gr,this.contexts.set(m,C)),C}getContext(m){return this.contexts.get(m)||null}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();class qn{constructor(b){this._root=b}get root(){return this._root.value}parent(b){const m=this.pathFromRoot(b);return m.length>1?m[m.length-2]:null}children(b){const m=Do(b,this._root);return m?m.children.map(C=>C.value):[]}firstChild(b){const m=Do(b,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(b){const m=Jt(b,this._root);return m.length<2?[]:m[m.length-2].children.map(I=>I.value).filter(I=>I!==b)}pathFromRoot(b){return Jt(b,this._root).map(m=>m.value)}}function Do(p,b){if(p===b.value)return b;for(const m of b.children){const C=Do(p,m);if(C)return C}return null}function Jt(p,b){if(p===b.value)return[b];for(const m of b.children){const C=Jt(p,m);if(C.length)return C.unshift(b),C}return[]}class hi{constructor(b,m){this.value=b,this.children=m}toString(){return`TreeNode(${this.value})`}}function Hi(p){const b={};return p&&p.children.forEach(m=>b[m.value.outlet]=m),b}class Rr extends qn{constructor(b,m){super(b),this.snapshot=m,xi(this,b)}toString(){return this.snapshot.toString()}}function ao(p){const b=function $o(p){const U=new Zr([],{},{},"",{},qe,p,null,{});return new ar("",new hi(U,[]))}(p),m=new z.X([new ei("",{})]),C=new z.X({}),I=new z.X({}),U=new z.X({}),K=new z.X(""),Ce=new Ni(m,C,U,K,I,qe,p,b.root);return Ce.snapshot=b.root,new Rr(new hi(Ce,[]),b)}class Ni{constructor(b,m,C,I,U,K,Ce,ve){this.urlSubject=b,this.paramsSubject=m,this.queryParamsSubject=C,this.fragmentSubject=I,this.dataSubject=U,this.outlet=K,this.component=Ce,this._futureSnapshot=ve,this.title=this.dataSubject?.pipe((0,He.U)(ct=>ct[Ze]))??(0,F.of)(void 0),this.url=b,this.params=m,this.queryParams=C,this.fragment=I,this.data=U}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,He.U)(b=>zt(b))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,He.U)(b=>zt(b))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function tr(p,b,m="emptyOnly"){let C;const{routeConfig:I}=p;return C=null===b||"always"!==m&&""!==I?.path&&(b.component||b.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...b.params,...p.params},data:{...b.data,...p.data},resolve:{...p.data,...b.data,...I?.data,...p._resolvedData}},I&&kr(I)&&(C.resolve[Ze]=I.title),C}class Zr{get title(){return this.data?.[Ze]}constructor(b,m,C,I,U,K,Ce,ve,ct){this.url=b,this.params=m,this.queryParams=C,this.fragment=I,this.data=U,this.outlet=K,this.component=Ce,this.routeConfig=ve,this._resolve=ct}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=zt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ar extends qn{constructor(b,m){super(m),this.url=b,xi(this,m)}toString(){return an(this._root)}}function xi(p,b){b.value._routerState=p,b.children.forEach(m=>xi(p,m))}function an(p){const b=p.children.length>0?` { ${p.children.map(an).join(", ")} } `:"";return`${p.value}${b}`}function nr(p){if(p.snapshot){const b=p.snapshot,m=p._futureSnapshot;p.snapshot=m,Vn(b.queryParams,m.queryParams)||p.queryParamsSubject.next(m.queryParams),b.fragment!==m.fragment&&p.fragmentSubject.next(m.fragment),Vn(b.params,m.params)||p.paramsSubject.next(m.params),function Un(p,b){if(p.length!==b.length)return!1;for(let m=0;m<p.length;++m)if(!Vn(p[m],b[m]))return!1;return!0}(b.url,m.url)||p.urlSubject.next(m.url),Vn(b.data,m.data)||p.dataSubject.next(m.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function Er(p,b){const m=Vn(p.params,b.params)&&function Ei(p,b){return Rn(p,b)&&p.every((m,C)=>Vn(m.parameters,b[C].parameters))}(p.url,b.url);return m&&!(!p.parent!=!b.parent)&&(!p.parent||Er(p.parent,b.parent))}function kr(p){return"string"==typeof p.title||null===p.title}let lo=(()=>{class p{constructor(){this.activated=null,this._activatedRoute=null,this.name=qe,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.parentContexts=(0,r.f3M)(Pr),this.location=(0,r.f3M)(r.s_b),this.changeDetector=(0,r.f3M)(r.sBO),this.environmentInjector=(0,r.f3M)(r.lqb),this.inputBinder=(0,r.f3M)(Mr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(m){if(m.name){const{firstChange:C,previousValue:I}=m.name;if(C)return;this.isTrackedInParentContexts(I)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(I)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(m){return this.parentContexts.getContext(m)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const m=this.parentContexts.getContext(this.name);m?.route&&(m.attachRef?this.attach(m.attachRef,m.route):this.activateWith(m.route,m.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,!1);this.location.detach();const m=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(m.instance),m}attach(m,C){this.activated=m,this._activatedRoute=C,this.location.insert(m.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(m.instance)}deactivate(){if(this.activated){const m=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(m)}}activateWith(m,C){if(this.isActivated)throw new r.vHH(4013,!1);this._activatedRoute=m;const I=this.location,K=m.snapshot.component,Ce=this.parentContexts.getOrCreateContext(this.name).children,ve=new Go(m,Ce,I.injector);this.activated=I.createComponent(K,{index:I.length,injector:ve,environmentInjector:C??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275dir=r.lG2({type:p,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[r.TTD]})}return p})();class Go{constructor(b,m,C){this.route=b,this.childContexts=m,this.parent=C}get(b,m){return b===Ni?this.route:b===Pr?this.childContexts:this.parent.get(b,m)}}const Mr=new r.OlP("");let bs=(()=>{class p{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(m){this.unsubscribeFromRouteData(m),this.subscribeToRouteData(m)}unsubscribeFromRouteData(m){this.outletDataSubscriptions.get(m)?.unsubscribe(),this.outletDataSubscriptions.delete(m)}subscribeToRouteData(m){const{activatedRoute:C}=m,I=Me([C.queryParams,C.params,C.data]).pipe((0,pt.w)(([U,K,Ce],ve)=>(Ce={...U,...K,...Ce},0===ve?(0,F.of)(Ce):Promise.resolve(Ce)))).subscribe(U=>{if(!m.isActivated||!m.activatedComponentRef||m.activatedRoute!==C||null===C.component)return void this.unsubscribeFromRouteData(m);const K=(0,r.qFp)(C.component);if(K)for(const{templateName:Ce}of K.inputs)m.activatedComponentRef.setInput(Ce,U[Ce]);else this.unsubscribeFromRouteData(m)});this.outletDataSubscriptions.set(m,I)}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac})}return p})();function Fr(p,b,m){if(m&&p.shouldReuseRoute(b.value,m.value.snapshot)){const C=m.value;C._futureSnapshot=b.value;const I=function wo(p,b,m){return b.children.map(C=>{for(const I of m.children)if(p.shouldReuseRoute(C.value,I.value.snapshot))return Fr(p,C,I);return Fr(p,C)})}(p,b,m);return new hi(C,I)}{if(p.shouldAttach(b.value)){const U=p.retrieve(b.value);if(null!==U){const K=U.route;return K.value._futureSnapshot=b.value,K.children=b.children.map(Ce=>Fr(p,Ce)),K}}const C=function zo(p){return new Ni(new z.X(p.url),new z.X(p.params),new z.X(p.queryParams),new z.X(p.fragment),new z.X(p.data),p.outlet,p.component,p)}(b.value),I=b.children.map(U=>Fr(p,U));return new hi(C,I)}}const lr="ngNavigationCancelingError";function $i(p,b){const{redirectTo:m,navigationBehaviorOptions:C}=Vi(b)?{redirectTo:b,navigationBehaviorOptions:void 0}:b,I=Wr(!1,Fn.Redirect,b);return I.url=m,I.navigationBehaviorOptions=C,I}function Wr(p,b,m){const C=new Error("NavigationCancelingError: "+(p||""));return C[lr]=!0,C.cancellationCode=b,m&&(C.url=m),C}function Eo(p){return p&&p[lr]}let Zo=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275cmp=r.Xpm({type:p,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(C,I){1&C&&r._UZ(0,"router-outlet")},dependencies:[lo],encapsulation:2})}return p})();function qr(p){const b=p.children&&p.children.map(qr),m=b?{...p,children:b}:{...p};return!m.component&&!m.loadComponent&&(b||m.loadChildren)&&m.outlet&&m.outlet!==qe&&(m.component=Zo),m}function Pi(p){return p.outlet||qe}function uo(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let b=p.parent;b;b=b.parent){const m=b.routeConfig;if(m?._loadedInjector)return m._loadedInjector;if(m?._injector)return m._injector}return null}class Jn{constructor(b,m,C,I,U){this.routeReuseStrategy=b,this.futureState=m,this.currState=C,this.forwardEvent=I,this.inputBindingEnabled=U}activate(b){const m=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,C,b),nr(this.futureState.root),this.activateChildRoutes(m,C,b)}deactivateChildRoutes(b,m,C){const I=Hi(m);b.children.forEach(U=>{const K=U.value.outlet;this.deactivateRoutes(U,I[K],C),delete I[K]}),Object.values(I).forEach(U=>{this.deactivateRouteAndItsChildren(U,C)})}deactivateRoutes(b,m,C){const I=b.value,U=m?m.value:null;if(I===U)if(I.component){const K=C.getContext(I.outlet);K&&this.deactivateChildRoutes(b,m,K.children)}else this.deactivateChildRoutes(b,m,C);else U&&this.deactivateRouteAndItsChildren(m,C)}deactivateRouteAndItsChildren(b,m){b.value.component&&this.routeReuseStrategy.shouldDetach(b.value.snapshot)?this.detachAndStoreRouteSubtree(b,m):this.deactivateRouteAndOutlet(b,m)}detachAndStoreRouteSubtree(b,m){const C=m.getContext(b.value.outlet),I=C&&b.value.component?C.children:m,U=Hi(b);for(const K of Object.values(U))this.deactivateRouteAndItsChildren(K,I);if(C&&C.outlet){const K=C.outlet.detach(),Ce=C.children.onOutletDeactivated();this.routeReuseStrategy.store(b.value.snapshot,{componentRef:K,route:b,contexts:Ce})}}deactivateRouteAndOutlet(b,m){const C=m.getContext(b.value.outlet),I=C&&b.value.component?C.children:m,U=Hi(b);for(const K of Object.values(U))this.deactivateRouteAndItsChildren(K,I);C&&(C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated()),C.attachRef=null,C.route=null)}activateChildRoutes(b,m,C){const I=Hi(m);b.children.forEach(U=>{this.activateRoutes(U,I[U.value.outlet],C),this.forwardEvent(new _s(U.value.snapshot))}),b.children.length&&this.forwardEvent(new so(b.value.snapshot))}activateRoutes(b,m,C){const I=b.value,U=m?m.value:null;if(nr(I),I===U)if(I.component){const K=C.getOrCreateContext(I.outlet);this.activateChildRoutes(b,m,K.children)}else this.activateChildRoutes(b,m,C);else if(I.component){const K=C.getOrCreateContext(I.outlet);if(this.routeReuseStrategy.shouldAttach(I.snapshot)){const Ce=this.routeReuseStrategy.retrieve(I.snapshot);this.routeReuseStrategy.store(I.snapshot,null),K.children.onOutletReAttached(Ce.contexts),K.attachRef=Ce.componentRef,K.route=Ce.route.value,K.outlet&&K.outlet.attach(Ce.componentRef,Ce.route.value),nr(Ce.route.value),this.activateChildRoutes(b,null,K.children)}else{const Ce=uo(I.snapshot);K.attachRef=null,K.route=I,K.injector=Ce,K.outlet&&K.outlet.activateWith(I,K.injector),this.activateChildRoutes(b,null,K.children)}}else this.activateChildRoutes(b,null,C)}}class Tr{constructor(b){this.path=b,this.route=this.path[this.path.length-1]}}class ti{constructor(b,m){this.component=b,this.route=m}}function Mo(p,b,m){const C=p._root;return To(C,b?b._root:null,m,[C.value])}function mr(p,b){const m=Symbol(),C=b.get(p,m);return C===m?"function"!=typeof p||(0,r.Z0I)(p)?b.get(p):p:C}function To(p,b,m,C,I={canDeactivateChecks:[],canActivateChecks:[]}){const U=Hi(b);return p.children.forEach(K=>{(function pa(p,b,m,C,I={canDeactivateChecks:[],canActivateChecks:[]}){const U=p.value,K=b?b.value:null,Ce=m?m.getContext(p.value.outlet):null;if(K&&U.routeConfig===K.routeConfig){const ve=function Ht(p,b,m){if("function"==typeof m)return m(p,b);switch(m){case"pathParamsChange":return!Rn(p.url,b.url);case"pathParamsOrQueryParamsChange":return!Rn(p.url,b.url)||!Vn(p.queryParams,b.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Er(p,b)||!Vn(p.queryParams,b.queryParams);default:return!Er(p,b)}}(K,U,U.routeConfig.runGuardsAndResolvers);ve?I.canActivateChecks.push(new Tr(C)):(U.data=K.data,U._resolvedData=K._resolvedData),To(p,b,U.component?Ce?Ce.children:null:m,C,I),ve&&Ce&&Ce.outlet&&Ce.outlet.isActivated&&I.canDeactivateChecks.push(new ti(Ce.outlet.component,K))}else K&&Xe(b,Ce,I),I.canActivateChecks.push(new Tr(C)),To(p,null,U.component?Ce?Ce.children:null:m,C,I)})(K,U[K.value.outlet],m,C.concat([K.value]),I),delete U[K.value.outlet]}),Object.entries(U).forEach(([K,Ce])=>Xe(Ce,m.getContext(K),I)),I}function Xe(p,b,m){const C=Hi(p),I=p.value;Object.entries(C).forEach(([U,K])=>{Xe(K,I.component?b?b.children.getContext(U):null:b,m)}),m.canDeactivateChecks.push(new ti(I.component&&b&&b.outlet&&b.outlet.isActivated?b.outlet.component:null,I))}function S(p){return"function"==typeof p}function Pt(p){return p instanceof Ct.K||"EmptyError"===p?.name}const Ri=Symbol("INITIAL_VALUE");function cr(){return(0,pt.w)(p=>Me(p.map(b=>b.pipe((0,Ot.q)(1),(0,vt.O)(Ri)))).pipe((0,He.U)(b=>{for(const m of b)if(!0!==m){if(m===Ri)return Ri;if(!1===m||m instanceof ui)return m}return!0}),(0,Ft.h)(b=>b!==Ri),(0,Ot.q)(1)))}function Kr(p){return(0,Ee.z)((0,De.b)(b=>{if(Vi(b))throw $i(0,b)}),(0,He.U)(b=>!0===b))}class Jo{constructor(b){this.segmentGroup=b||null}}class Io extends Error{constructor(b){super(),this.urlTree=b}}function Gi(p){return et(new Jo(p))}class Ys{constructor(b,m){this.urlSerializer=b,this.urlTree=m}lineralizeSegments(b,m){let C=[],I=m.root;for(;;){if(C=C.concat(I.segments),0===I.numberOfChildren)return(0,F.of)(C);if(I.numberOfChildren>1||!I.children[qe])return et(new r.vHH(4e3,!1));I=I.children[qe]}}applyRedirectCommands(b,m,C){const I=this.applyRedirectCreateUrlTree(m,this.urlSerializer.parse(m),b,C);if(m.startsWith("/"))throw new Io(I);return I}applyRedirectCreateUrlTree(b,m,C,I){const U=this.createSegmentGroup(b,m.root,C,I);return new ui(U,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(b,m){const C={};return Object.entries(b).forEach(([I,U])=>{if("string"==typeof U&&U.startsWith(":")){const Ce=U.substring(1);C[I]=m[Ce]}else C[I]=U}),C}createSegmentGroup(b,m,C,I){const U=this.createSegments(b,m.segments,C,I);let K={};return Object.entries(m.children).forEach(([Ce,ve])=>{K[Ce]=this.createSegmentGroup(b,ve,C,I)}),new Kt(U,K)}createSegments(b,m,C,I){return m.map(U=>U.path.startsWith(":")?this.findPosParam(b,U,I):this.findOrReturn(U,C))}findPosParam(b,m,C){const I=C[m.path.substring(1)];if(!I)throw new r.vHH(4001,!1);return I}findOrReturn(b,m){let C=0;for(const I of m){if(I.path===b.path)return m.splice(C),I;C++}return b}}const gi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yi(p,b,m,C,I){const U=Xo(p,b,m);return U.matched?(C=function Ds(p,b){return p.providers&&!p._injector&&(p._injector=(0,r.MMx)(p.providers,b,`Route: ${p.path}`)),p._injector??b}(b,C),function Wt(p,b,m,C){const I=b.canMatch;if(!I||0===I.length)return(0,F.of)(!0);const U=I.map(K=>{const Ce=mr(K,p);return Bt(function gt(p){return p&&S(p.canMatch)}(Ce)?Ce.canMatch(b,m):(0,r.r_H)(p,()=>Ce(b,m)))});return(0,F.of)(U).pipe(cr(),Kr())}(C,b,m).pipe((0,He.U)(K=>!0===K?U:{...gi}))):(0,F.of)(U)}function Xo(p,b,m){if("**"===b.path)return function Oo(p){return{matched:!0,parameters:p.at(-1)?.parameters??{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(m);if(""===b.path)return"full"===b.pathMatch&&(p.hasChildren()||m.length>0)?{...gi}:{matched:!0,consumedSegments:[],remainingSegments:m,parameters:{},positionalParamSegments:{}};const I=(b.matcher||$n)(m,p,b);if(!I)return{...gi};const U={};Object.entries(I.posParams??{}).forEach(([Ce,ve])=>{U[Ce]=ve.path});const K=I.consumed.length>0?{...U,...I.consumed[I.consumed.length-1].parameters}:U;return{matched:!0,consumedSegments:I.consumed,remainingSegments:m.slice(I.consumed.length),parameters:K,positionalParamSegments:I.posParams??{}}}function es(p,b,m,C){return m.length>0&&function fc(p,b,m){return m.some(C=>ts(p,b,C)&&Pi(C)!==qe)}(p,m,C)?{segmentGroup:new Kt(b,ma(C,new Kt(m,p.children))),slicedSegments:[]}:0===m.length&&function al(p,b,m){return m.some(C=>ts(p,b,C))}(p,m,C)?{segmentGroup:new Kt(p.segments,_r(p,m,C,p.children)),slicedSegments:m}:{segmentGroup:new Kt(p.segments,p.children),slicedSegments:m}}function _r(p,b,m,C){const I={};for(const U of m)if(ts(p,b,U)&&!C[Pi(U)]){const K=new Kt([],{});I[Pi(U)]=K}return{...C,...I}}function ma(p,b){const m={};m[qe]=b;for(const C of p)if(""===C.path&&Pi(C)!==qe){const I=new Kt([],{});m[Pi(C)]=I}return m}function ts(p,b,m){return(!(p.hasChildren()||b.length>0)||"full"!==m.pathMatch)&&""===m.path}class va{}class y{constructor(b,m,C,I,U,K,Ce){this.injector=b,this.configLoader=m,this.rootComponentType=C,this.config=I,this.urlTree=U,this.paramsInheritanceStrategy=K,this.urlSerializer=Ce,this.applyRedirects=new Ys(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(b){return new r.vHH(4002,`'${b.segmentGroup}'`)}recognize(){const b=es(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe((0,He.U)(m=>{const C=new Zr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qe,this.rootComponentType,null,{}),I=new hi(C,m),U=new ar("",I),K=function Qi(p,b,m=null,C=null){return Gr(Xi(p),b,m,C)}(C,[],this.urlTree.queryParams,this.urlTree.fragment);return K.queryParams=this.urlTree.queryParams,U.url=this.urlSerializer.serialize(K),this.inheritParamsAndData(U._root,null),{state:U,tree:K}}))}match(b){return this.processSegmentGroup(this.injector,this.config,b,qe).pipe((0,Ge.K)(C=>{if(C instanceof Io)return this.urlTree=C.urlTree,this.match(C.urlTree.root);throw C instanceof Jo?this.noMatchError(C):C}))}inheritParamsAndData(b,m){const C=b.value,I=tr(C,m,this.paramsInheritanceStrategy);C.params=Object.freeze(I.params),C.data=Object.freeze(I.data),b.children.forEach(U=>this.inheritParamsAndData(U,C))}processSegmentGroup(b,m,C,I){return 0===C.segments.length&&C.hasChildren()?this.processChildren(b,m,C):this.processSegment(b,m,C,C.segments,I,!0).pipe((0,He.U)(U=>U instanceof hi?[U]:[]))}processChildren(b,m,C){const I=[];for(const U of Object.keys(C.children))"primary"===U?I.unshift(U):I.push(U);return(0,B.D)(I).pipe((0,xe.b)(U=>{const K=C.children[U],Ce=function Ms(p,b){const m=p.filter(C=>Pi(C)===b);return m.push(...p.filter(C=>Pi(C)!==b)),m}(m,U);return this.processSegmentGroup(b,Ce,K,U)}),function Je(p,b){return(0,pe.e)(function he(p,b,m,C,I){return(U,K)=>{let Ce=m,ve=b,ct=0;U.subscribe((0,se.x)(K,jt=>{const Qt=ct++;ve=Ce?p(ve,jt,Qt):(Ce=!0,jt),C&&K.next(ve)},I&&(()=>{Ce&&K.next(ve),K.complete()})))}}(p,b,arguments.length>=2,!0))}((U,K)=>(U.push(...K),U)),(0,ue.d)(null),function nt(p,b){const m=arguments.length>=2;return C=>C.pipe(p?(0,Ft.h)((I,U)=>p(I,U,C)):Z.y,ke(1),m?(0,ue.d)(b):(0,ye.T)(()=>new Ct.K))}(),(0,me.z)(U=>{if(null===U)return Gi(C);const K=N(U);return function R(p){p.sort((b,m)=>b.value.outlet===qe?-1:m.value.outlet===qe?1:b.value.outlet.localeCompare(m.value.outlet))}(K),(0,F.of)(K)}))}processSegment(b,m,C,I,U,K){return(0,B.D)(m).pipe((0,xe.b)(Ce=>this.processSegmentAgainstRoute(Ce._injector??b,m,Ce,C,I,U,K).pipe((0,Ge.K)(ve=>{if(ve instanceof Jo)return(0,F.of)(null);throw ve}))),(0,_e.P)(Ce=>!!Ce),(0,Ge.K)(Ce=>{if(Pt(Ce))return function ll(p,b,m){return 0===b.length&&!p.children[m]}(C,I,U)?(0,F.of)(new va):Gi(C);throw Ce}))}processSegmentAgainstRoute(b,m,C,I,U,K,Ce){return function _a(p,b,m,C){return!!(Pi(p)===C||C!==qe&&ts(b,m,p))&&Xo(b,p,m).matched}(C,I,U,K)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(b,I,C,U,K):this.allowRedirects&&Ce?this.expandSegmentAgainstRouteUsingRedirect(b,I,m,C,U,K):Gi(I):Gi(I)}expandSegmentAgainstRouteUsingRedirect(b,m,C,I,U,K){const{matched:Ce,consumedSegments:ve,positionalParamSegments:ct,remainingSegments:jt}=Xo(m,I,U);if(!Ce)return Gi(m);I.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Qt=this.applyRedirects.applyRedirectCommands(ve,I.redirectTo,ct);return this.applyRedirects.lineralizeSegments(I,Qt).pipe((0,me.z)(Qn=>this.processSegment(b,C,m,Qn.concat(jt),K,!1)))}matchSegmentAgainstRoute(b,m,C,I,U){const K=yi(m,C,I,b);return"**"===C.path&&(m.children={}),K.pipe((0,pt.w)(Ce=>Ce.matched?this.getChildConfig(b=C._injector??b,C,I).pipe((0,pt.w)(({routes:ve})=>{const ct=C._loadedInjector??b,{consumedSegments:jt,remainingSegments:Qt,parameters:Qn}=Ce,Ps=new Zr(jt,Qn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Se(p){return p.data||{}}(C),Pi(C),C.component??C._loadedComponent??null,C,function Ue(p){return p.resolve||{}}(C)),{segmentGroup:ai,slicedSegments:Ar}=es(m,jt,Qt,ve);if(0===Ar.length&&ai.hasChildren())return this.processChildren(ct,ve,ai).pipe((0,He.U)(go=>null===go?null:new hi(Ps,go)));if(0===ve.length&&0===Ar.length)return(0,F.of)(new hi(Ps,[]));const Pn=Pi(C)===U;return this.processSegment(ct,ve,ai,Ar,Pn?qe:U,!0).pipe((0,He.U)(go=>new hi(Ps,go instanceof hi?[go]:[])))})):Gi(m)))}getChildConfig(b,m,C){return m.children?(0,F.of)({routes:m.children,injector:b}):m.loadChildren?void 0!==m._loadedRoutes?(0,F.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):function qs(p,b,m,C){const I=b.canLoad;if(void 0===I||0===I.length)return(0,F.of)(!0);const U=I.map(K=>{const Ce=mr(K,p);return Bt(function D(p){return p&&S(p.canLoad)}(Ce)?Ce.canLoad(b,m):(0,r.r_H)(p,()=>Ce(b,m)))});return(0,F.of)(U).pipe(cr(),Kr())}(b,m,C).pipe((0,me.z)(I=>I?this.configLoader.loadChildren(b,m).pipe((0,De.b)(U=>{m._loadedRoutes=U.routes,m._loadedInjector=U.injector})):function ni(p){return et(Wr(!1,Fn.GuardRejected))}())):(0,F.of)({routes:[],injector:b})}}function M(p){const b=p.value.routeConfig;return b&&""===b.path}function N(p){const b=[],m=new Set;for(const C of p){if(!M(C)){b.push(C);continue}const I=b.find(U=>C.value.routeConfig===U.value.routeConfig);void 0!==I?(I.children.push(...C.children),m.add(I)):b.push(C)}for(const C of m){const I=N(C.children);b.push(new hi(C.value,I))}return b.filter(C=>!m.has(C))}function hn(p){const b=p.children.map(m=>hn(m)).flat();return[p,...b]}function yn(p){return(0,pt.w)(b=>{const m=p(b);return m?(0,B.D)(m).pipe((0,He.U)(()=>b)):(0,F.of)(b)})}let ii=(()=>{class p{buildTitle(m){let C,I=m.root;for(;void 0!==I;)C=this.getResolvedTitleForRoute(I)??C,I=I.children.find(U=>U.outlet===qe);return C}getResolvedTitleForRoute(m){return m.data[Ze]}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:()=>(0,r.f3M)(ho),providedIn:"root"})}return p})(),ho=(()=>{class p extends ii{constructor(m){super(),this.title=m}updateTitle(m){const C=this.buildTitle(m);void 0!==C&&this.title.setTitle(C)}static#e=this.\u0275fac=function(C){return new(C||p)(r.LFG(Gt.Dx))};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const Zn=new r.OlP("",{providedIn:"root",factory:()=>({})}),mi=new r.OlP("ROUTES");let ur=(()=>{class p{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,r.f3M)(r.Sil)}loadComponent(m){if(this.componentLoaders.get(m))return this.componentLoaders.get(m);if(m._loadedComponent)return(0,F.of)(m._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(m);const C=Bt(m.loadComponent()).pipe((0,He.U)(Jr),(0,De.b)(U=>{this.onLoadEndListener&&this.onLoadEndListener(m),m._loadedComponent=U}),(0,Rt.x)(()=>{this.componentLoaders.delete(m)})),I=new Le(C,()=>new ze.x).pipe(Te());return this.componentLoaders.set(m,I),I}loadChildren(m,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,F.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const U=function Ur(p,b,m,C){return Bt(p.loadChildren()).pipe((0,He.U)(Jr),(0,me.z)(I=>I instanceof r.YKP||Array.isArray(I)?(0,F.of)(I):(0,B.D)(b.compileModuleAsync(I))),(0,He.U)(I=>{C&&C(p);let U,K,Ce=!1;return Array.isArray(I)?(K=I,!0):(U=I.create(m).injector,K=U.get(mi,[],{optional:!0,self:!0}).flat()),{routes:K.map(qr),injector:U}}))}(C,this.compiler,m,this.onLoadEndListener).pipe((0,Rt.x)(()=>{this.childrenLoaders.delete(C)})),K=new Le(U,()=>new ze.x).pipe(Te());return this.childrenLoaders.set(C,K),K}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Jr(p){return function vr(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let Ao=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:()=>(0,r.f3M)(ns),providedIn:"root"})}return p})(),ns=(()=>{class p{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,C){return m}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const ir=new r.OlP(""),pc=new r.OlP("");function ya(p,b,m){const C=p.get(pc),I=p.get(Ve.K0);return p.get(r.R0b).runOutsideAngular(()=>{if(!I.startViewTransition||C.skipNextTransition)return C.skipNextTransition=!1,Promise.resolve();let U;const K=new Promise(ct=>{U=ct}),Ce=I.startViewTransition(()=>(U(),function gc(p){return new Promise(b=>{(0,r.T8G)(b,{injector:p})})}(p))),{onViewTransitionCreated:ve}=C;return ve&&(0,r.r_H)(p,()=>ve({transition:Ce,from:b,to:m})),K})}let dr=(()=>{class p{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ze.x,this.transitionAbortSubject=new ze.x,this.configLoader=(0,r.f3M)(ur),this.environmentInjector=(0,r.f3M)(r.lqb),this.urlSerializer=(0,r.f3M)(Dn),this.rootContexts=(0,r.f3M)(Pr),this.location=(0,r.f3M)(Ve.Ye),this.inputBindingEnabled=null!==(0,r.f3M)(Mr,{optional:!0}),this.titleStrategy=(0,r.f3M)(ii),this.options=(0,r.f3M)(Zn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,r.f3M)(Ao),this.createViewTransition=(0,r.f3M)(ir,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,F.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=I=>this.events.next(new er(I)),this.configLoader.onLoadStartListener=I=>this.events.next(new ms(I))}complete(){this.transitions?.complete()}handleNavigationRequest(m){const C=++this.navigationId;this.transitions?.next({...this.transitions.value,...m,id:C})}setupNavigations(m,C,I){return this.transitions=new z.X({id:0,currentUrlTree:C,currentRawUrl:C,extractedUrl:this.urlHandlingStrategy.extract(C),urlAfterRedirects:this.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:le,restoredState:null,currentSnapshot:I.snapshot,targetSnapshot:null,currentRouterState:I,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ft.h)(U=>0!==U.id),(0,He.U)(U=>({...U,extractedUrl:this.urlHandlingStrategy.extract(U.rawUrl)})),(0,pt.w)(U=>{this.currentTransition=U;let K=!1,Ce=!1;return(0,F.of)(U).pipe((0,De.b)(ve=>{this.currentNavigation={id:ve.id,initialUrl:ve.rawUrl,extractedUrl:ve.extractedUrl,trigger:ve.source,extras:ve.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,pt.w)(ve=>{const ct=!m.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ct&&"reload"!==(ve.extras.onSameUrlNavigation??m.onSameUrlNavigation)){const Qt="";return this.events.next(new ji(ve.id,this.urlSerializer.serialize(ve.rawUrl),Qt,si.IgnoredSameUrlNavigation)),ve.resolve(null),Ke.E}if(this.urlHandlingStrategy.shouldProcessUrl(ve.rawUrl))return(0,F.of)(ve).pipe((0,pt.w)(Qt=>{const Qn=this.transitions?.getValue();return this.events.next(new Mt(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),Qt.source,Qt.restoredState)),Qn!==this.transitions?.getValue()?Ke.E:Promise.resolve(Qt)}),function Dt(p,b,m,C,I,U){return(0,me.z)(K=>function Ks(p,b,m,C,I,U,K="emptyOnly"){return new y(p,b,m,C,I,K,U).recognize()}(p,b,m,C,K.extractedUrl,I,U).pipe((0,He.U)(({state:Ce,tree:ve})=>({...K,targetSnapshot:Ce,urlAfterRedirects:ve}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,m.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,De.b)(Qt=>{U.targetSnapshot=Qt.targetSnapshot,U.urlAfterRedirects=Qt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Qt.urlAfterRedirects};const Qn=new Mi(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),this.urlSerializer.serialize(Qt.urlAfterRedirects),Qt.targetSnapshot);this.events.next(Qn)}));if(ct&&this.urlHandlingStrategy.shouldProcessUrl(ve.currentRawUrl)){const{id:Qt,extractedUrl:Qn,source:Ps,restoredState:ai,extras:Ar}=ve,Pn=new Mt(Qt,this.urlSerializer.serialize(Qn),Ps,ai);this.events.next(Pn);const go=ao(this.rootComponentType).snapshot;return this.currentTransition=U={...ve,targetSnapshot:go,urlAfterRedirects:Qn,extras:{...Ar,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Qn,(0,F.of)(U)}{const Qt="";return this.events.next(new ji(ve.id,this.urlSerializer.serialize(ve.extractedUrl),Qt,si.IgnoredByUrlHandlingStrategy)),ve.resolve(null),Ke.E}}),(0,De.b)(ve=>{const ct=new fa(ve.id,this.urlSerializer.serialize(ve.extractedUrl),this.urlSerializer.serialize(ve.urlAfterRedirects),ve.targetSnapshot);this.events.next(ct)}),(0,He.U)(ve=>(this.currentTransition=U={...ve,guards:Mo(ve.targetSnapshot,ve.currentSnapshot,this.rootContexts)},U)),function Br(p,b){return(0,me.z)(m=>{const{targetSnapshot:C,currentSnapshot:I,guards:{canActivateChecks:U,canDeactivateChecks:K}}=m;return 0===K.length&&0===U.length?(0,F.of)({...m,guardsResult:!0}):function Nn(p,b,m,C){return(0,B.D)(p).pipe((0,me.z)(I=>function Yr(p,b,m,C,I){const U=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!U||0===U.length)return(0,F.of)(!0);const K=U.map(Ce=>{const ve=uo(b)??I,ct=mr(Ce,ve);return Bt(function ut(p){return p&&S(p.canDeactivate)}(ct)?ct.canDeactivate(p,b,m,C):(0,r.r_H)(ve,()=>ct(p,b,m,C))).pipe((0,_e.P)())});return(0,F.of)(K).pipe(cr())}(I.component,I.route,m,b,C)),(0,_e.P)(I=>!0!==I,!0))}(K,C,I,p).pipe((0,me.z)(Ce=>Ce&&function A(p){return"boolean"==typeof p}(Ce)?function Sr(p,b,m,C){return(0,B.D)(b).pipe((0,xe.b)(I=>(0,rt.z)(function Ir(p,b){return null!==p&&b&&b(new oo(p)),(0,F.of)(!0)}(I.route.parent,C),function So(p,b){return null!==p&&b&&b(new Ho(p)),(0,F.of)(!0)}(I.route,C),function Ts(p,b,m){const C=b[b.length-1],U=b.slice(0,b.length-1).reverse().map(K=>function Ko(p){const b=p.routeConfig?p.routeConfig.canActivateChild:null;return b&&0!==b.length?{node:p,guards:b}:null}(K)).filter(K=>null!==K).map(K=>Ie(()=>{const Ce=K.guards.map(ve=>{const ct=uo(K.node)??m,jt=mr(ve,ct);return Bt(function ne(p){return p&&S(p.canActivateChild)}(jt)?jt.canActivateChild(C,p):(0,r.r_H)(ct,()=>jt(C,p))).pipe((0,_e.P)())});return(0,F.of)(Ce).pipe(cr())}));return(0,F.of)(U).pipe(cr())}(p,I.path,m),function fo(p,b,m){const C=b.routeConfig?b.routeConfig.canActivate:null;if(!C||0===C.length)return(0,F.of)(!0);const I=C.map(U=>Ie(()=>{const K=uo(b)??m,Ce=mr(U,K);return Bt(function L(p){return p&&S(p.canActivate)}(Ce)?Ce.canActivate(b,p):(0,r.r_H)(K,()=>Ce(b,p))).pipe((0,_e.P)())}));return(0,F.of)(I).pipe(cr())}(p,I.route,m))),(0,_e.P)(I=>!0!==I,!0))}(C,U,p,b):(0,F.of)(Ce)),(0,He.U)(Ce=>({...m,guardsResult:Ce})))})}(this.environmentInjector,ve=>this.events.next(ve)),(0,De.b)(ve=>{if(U.guardsResult=ve.guardsResult,Vi(ve.guardsResult))throw $i(0,ve.guardsResult);const ct=new gs(ve.id,this.urlSerializer.serialize(ve.extractedUrl),this.urlSerializer.serialize(ve.urlAfterRedirects),ve.targetSnapshot,!!ve.guardsResult);this.events.next(ct)}),(0,Ft.h)(ve=>!!ve.guardsResult||(this.cancelNavigationTransition(ve,"",Fn.GuardRejected),!1)),yn(ve=>{if(ve.guards.canActivateChecks.length)return(0,F.of)(ve).pipe((0,De.b)(ct=>{const jt=new jo(ct.id,this.urlSerializer.serialize(ct.extractedUrl),this.urlSerializer.serialize(ct.urlAfterRedirects),ct.targetSnapshot);this.events.next(jt)}),(0,pt.w)(ct=>{let jt=!1;return(0,F.of)(ct).pipe(function Ln(p,b){return(0,me.z)(m=>{const{targetSnapshot:C,guards:{canActivateChecks:I}}=m;if(!I.length)return(0,F.of)(m);const U=new Set(I.map(ve=>ve.route)),K=new Set;for(const ve of U)if(!K.has(ve))for(const ct of hn(ve))K.add(ct);let Ce=0;return(0,B.D)(K).pipe((0,xe.b)(ve=>U.has(ve)?function $t(p,b,m,C){const I=p.routeConfig,U=p._resolve;return void 0!==I?.title&&!kr(I)&&(U[Ze]=I.title),function xt(p,b,m,C){const I=Gn(p);if(0===I.length)return(0,F.of)({});const U={};return(0,B.D)(I).pipe((0,me.z)(K=>function In(p,b,m,C){const I=uo(b)??C,U=mr(p,I);return Bt(U.resolve?U.resolve(b,m):(0,r.r_H)(I,()=>U(b,m)))}(p[K],b,m,C).pipe((0,_e.P)(),(0,De.b)(Ce=>{U[K]=Ce}))),ke(1),(0,Nt.h)(U),(0,Ge.K)(K=>Pt(K)?Ke.E:et(K)))}(U,p,b,C).pipe((0,He.U)(K=>(p._resolvedData=K,p.data=tr(p,p.parent,m).resolve,null)))}(ve,C,p,b):(ve.data=tr(ve,ve.parent,p).resolve,(0,F.of)(void 0))),(0,De.b)(()=>Ce++),ke(1),(0,me.z)(ve=>Ce===K.size?(0,F.of)(m):Ke.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,De.b)({next:()=>jt=!0,complete:()=>{jt||this.cancelNavigationTransition(ct,"",Fn.NoDataFromResolver)}}))}),(0,De.b)(ct=>{const jt=new Zs(ct.id,this.urlSerializer.serialize(ct.extractedUrl),this.urlSerializer.serialize(ct.urlAfterRedirects),ct.targetSnapshot);this.events.next(jt)}))}),yn(ve=>{const ct=jt=>{const Qt=[];jt.routeConfig?.loadComponent&&!jt.routeConfig._loadedComponent&&Qt.push(this.configLoader.loadComponent(jt.routeConfig).pipe((0,De.b)(Qn=>{jt.component=Qn}),(0,He.U)(()=>{})));for(const Qn of jt.children)Qt.push(...ct(Qn));return Qt};return Me(ct(ve.targetSnapshot.root)).pipe((0,ue.d)(null),(0,Ot.q)(1))}),yn(()=>this.afterPreactivation()),(0,pt.w)(()=>{const{currentSnapshot:ve,targetSnapshot:ct}=U,jt=this.createViewTransition?.(this.environmentInjector,ve.root,ct.root);return jt?(0,B.D)(jt).pipe((0,He.U)(()=>U)):(0,F.of)(U)}),(0,He.U)(ve=>{const ct=function co(p,b,m){const C=Fr(p,b._root,m?m._root:void 0);return new Rr(C,b)}(m.routeReuseStrategy,ve.targetSnapshot,ve.currentRouterState);return this.currentTransition=U={...ve,targetRouterState:ct},this.currentNavigation.targetRouterState=ct,U}),(0,De.b)(()=>{this.events.next(new zr)}),((p,b,m,C)=>(0,He.U)(I=>(new Jn(b,I.targetRouterState,I.currentRouterState,m,C).activate(p),I)))(this.rootContexts,m.routeReuseStrategy,ve=>this.events.next(ve),this.inputBindingEnabled),(0,Ot.q)(1),(0,De.b)({next:ve=>{K=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(ve.id,this.urlSerializer.serialize(ve.extractedUrl),this.urlSerializer.serialize(ve.urlAfterRedirects))),this.titleStrategy?.updateTitle(ve.targetRouterState.snapshot),ve.resolve(!0)},complete:()=>{K=!0}}),(0,Yt.R)(this.transitionAbortSubject.pipe((0,De.b)(ve=>{throw ve}))),(0,Rt.x)(()=>{!K&&!Ce&&this.cancelNavigationTransition(U,"",Fn.SupersededByNewNavigation),this.currentNavigation?.id===U.id&&(this.currentNavigation=null)}),(0,Ge.K)(ve=>{if(Ce=!0,Eo(ve))this.events.next(new Ai(U.id,this.urlSerializer.serialize(U.extractedUrl),ve.message,ve.cancellationCode)),function Cs(p){return Eo(p)&&Vi(p.url)}(ve)?this.events.next(new sr(ve.url)):U.resolve(!1);else{this.events.next(new Vo(U.id,this.urlSerializer.serialize(U.extractedUrl),ve,U.targetSnapshot??void 0));try{U.resolve(m.errorHandler(ve))}catch(ct){this.options.resolveNavigationPromiseOnError?U.resolve(!1):U.reject(ct)}}return Ke.E}))}))}cancelNavigationTransition(m,C,I){const U=new Ai(m.id,this.urlSerializer.serialize(m.extractedUrl),C,I);this.events.next(U),m.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function ba(p){return p!==le}let Ca=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:()=>(0,r.f3M)(Da),providedIn:"root"})}return p})();class Js{shouldDetach(b){return!1}store(b,m){}shouldAttach(b){return!1}retrieve(b){return null}shouldReuseRoute(b,m){return b.routeConfig===m.routeConfig}}let Da=(()=>{class p extends Js{static#e=this.\u0275fac=(()=>{let m;return function(I){return(m||(m=r.n5z(p)))(I||p)}})();static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),wa=(()=>{class p{static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:()=>(0,r.f3M)(Bn),providedIn:"root"})}return p})(),Bn=(()=>{class p extends wa{constructor(){super(...arguments),this.location=(0,r.f3M)(Ve.Ye),this.urlSerializer=(0,r.f3M)(Dn),this.options=(0,r.f3M)(Zn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,r.f3M)(Ao),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ui,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ao(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(m){return this.location.subscribe(C=>{"popstate"===C.type&&m(C.url,C.state)})}handleRouterEvent(m,C){if(m instanceof Mt)this.stateMemento=this.createStateMemento();else if(m instanceof ji)this.rawUrlTree=C.initialUrl;else if(m instanceof Mi){if("eager"===this.urlUpdateStrategy&&!C.extras.skipLocationChange){const I=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl);this.setBrowserUrl(I,C)}}else m instanceof zr?(this.currentUrlTree=C.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(C.finalUrl,C.initialUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C))):m instanceof Ai&&(m.code===Fn.GuardRejected||m.code===Fn.NoDataFromResolver)?this.restoreHistory(C):m instanceof Vo?this.restoreHistory(C,!0):m instanceof wt&&(this.lastSuccessfulId=m.id,this.currentPageId=this.browserPageId)}setBrowserUrl(m,C){const I=this.urlSerializer.serialize(m);if(this.location.isCurrentPathEqualTo(I)||C.extras.replaceUrl){const K={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(I,"",K)}else{const U={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(I,"",U)}}restoreHistory(m,C=!1){if("computed"===this.canceledNavigationResolution){const U=this.currentPageId-this.browserPageId;0!==U?this.location.historyGo(U):this.currentUrlTree===m.finalUrl&&0===U&&(this.resetState(m),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(m),this.resetUrlToCurrentUrlTree())}resetState(m){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,m.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(m,C){return"computed"===this.canceledNavigationResolution?{navigationId:m,\u0275routerPageId:C}:{navigationId:m}}static#e=this.\u0275fac=(()=>{let m;return function(I){return(m||(m=r.n5z(p)))(I||p)}})();static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();var po=function(p){return p[p.COMPLETE=0]="COMPLETE",p[p.FAILED=1]="FAILED",p[p.REDIRECTING=2]="REDIRECTING",p}(po||{});function fr(p,b){p.events.pipe((0,Ft.h)(m=>m instanceof wt||m instanceof Ai||m instanceof Vo||m instanceof ji),(0,He.U)(m=>m instanceof wt||m instanceof ji?po.COMPLETE:m instanceof Ai&&(m.code===Fn.Redirect||m.code===Fn.SupersededByNewNavigation)?po.REDIRECTING:po.FAILED),(0,Ft.h)(m=>m!==po.REDIRECTING),(0,Ot.q)(1)).subscribe(()=>{b()})}function bi(p){throw p}const Nu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},No={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ki=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,r.f3M)(r.c2e),this.stateManager=(0,r.f3M)(wa),this.options=(0,r.f3M)(Zn,{optional:!0})||{},this.pendingTasks=(0,r.f3M)(r.I6F),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,r.f3M)(dr),this.urlSerializer=(0,r.f3M)(Dn),this.location=(0,r.f3M)(Ve.Ye),this.urlHandlingStrategy=(0,r.f3M)(Ao),this._events=new ze.x,this.errorHandler=this.options.errorHandler||bi,this.navigated=!1,this.routeReuseStrategy=(0,r.f3M)(Ca),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,r.f3M)(mi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,r.f3M)(Mr,{optional:!0}),this.eventsSubscription=new de.w0,this.isNgZoneEnabled=(0,r.f3M)(r.R0b)instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:m=>{this.console.warn(m)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const m=this.navigationTransitions.events.subscribe(C=>{try{const I=this.navigationTransitions.currentTransition,U=this.navigationTransitions.currentNavigation;if(null!==I&&null!==U)if(this.stateManager.handleRouterEvent(C,U),C instanceof Ai&&C.code!==Fn.Redirect&&C.code!==Fn.SupersededByNewNavigation)this.navigated=!0;else if(C instanceof wt)this.navigated=!0;else if(C instanceof sr){const K=this.urlHandlingStrategy.merge(C.url,I.currentRawUrl),Ce={info:I.extras.info,skipLocationChange:I.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ba(I.source)};this.scheduleNavigation(K,le,null,Ce,{resolve:I.resolve,reject:I.reject,promise:I.promise})}(function xu(p){return!(p instanceof zr||p instanceof sr)})(C)&&this._events.next(C)}catch(I){this.navigationTransitions.transitionAbortSubject.next(I)}});this.eventsSubscription.add(m)}resetRootComponentType(m){this.routerState.root.component=m,this.navigationTransitions.rootComponentType=m}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),le,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((m,C)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(m,"popstate",C)},0)})}navigateToSyncWithBrowser(m,C,I){const U={replaceUrl:!0},K=I?.navigationId?I:null;if(I){const ve={...I};delete ve.navigationId,delete ve.\u0275routerPageId,0!==Object.keys(ve).length&&(U.state=ve)}const Ce=this.parseUrl(m);this.scheduleNavigation(Ce,C,K,U)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(m){this.config=m.map(qr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(m,C={}){const{relativeTo:I,queryParams:U,fragment:K,queryParamsHandling:Ce,preserveFragment:ve}=C,ct=ve?this.currentUrlTree.fragment:K;let Qt,jt=null;switch(Ce){case"merge":jt={...this.currentUrlTree.queryParams,...U};break;case"preserve":jt=this.currentUrlTree.queryParams;break;default:jt=U||null}null!==jt&&(jt=this.removeEmptyProps(jt));try{Qt=Xi(I?I.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof m[0]||!m[0].startsWith("/"))&&(m=[]),Qt=this.currentUrlTree.root}return Gr(Qt,m,jt,ct??null)}navigateByUrl(m,C={skipLocationChange:!1}){const I=Vi(m)?m:this.parseUrl(m),U=this.urlHandlingStrategy.merge(I,this.rawUrlTree);return this.scheduleNavigation(U,le,null,C)}navigate(m,C={skipLocationChange:!1}){return function yr(p){for(let b=0;b<p.length;b++)if(null==p[b])throw new r.vHH(4008,!1)}(m),this.navigateByUrl(this.createUrlTree(m,C),C)}serializeUrl(m){return this.urlSerializer.serialize(m)}parseUrl(m){try{return this.urlSerializer.parse(m)}catch{return this.urlSerializer.parse("/")}}isActive(m,C){let I;if(I=!0===C?{...Nu}:!1===C?{...No}:C,Vi(m))return ri(this.currentUrlTree,m,I);const U=this.parseUrl(m);return ri(this.currentUrlTree,U,I)}removeEmptyProps(m){return Object.entries(m).reduce((C,[I,U])=>(null!=U&&(C[I]=U),C),{})}scheduleNavigation(m,C,I,U,K){if(this.disposed)return Promise.resolve(!1);let Ce,ve,ct;K?(Ce=K.resolve,ve=K.reject,ct=K.promise):ct=new Promise((Qt,Qn)=>{Ce=Qt,ve=Qn});const jt=this.pendingTasks.add();return fr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(jt))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:I,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:m,extras:U,resolve:Ce,reject:ve,promise:ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ct.catch(Qt=>Promise.reject(Qt))}static#e=this.\u0275fac=function(C){return new(C||p)};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),xo=(()=>{class p{constructor(m,C,I,U,K,Ce){this.router=m,this.route=C,this.tabIndexAttribute=I,this.renderer=U,this.el=K,this.locationStrategy=Ce,this.href=null,this.commands=null,this.onChanges=new ze.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ve=K.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ve||"area"===ve,this.isAnchorElement?this.subscription=m.events.subscribe(ct=>{ct instanceof wt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(m){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",m)}ngOnChanges(m){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(m){null!=m?(this.commands=Array.isArray(m)?m:[m],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(m,C,I,U,K){return!!(null===this.urlTree||this.isAnchorElement&&(0!==m||C||I||U||K||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const m=null===this.href?null:(0,r.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",m)}applyAttributeValue(m,C){const I=this.renderer,U=this.el.nativeElement;null!==C?I.setAttribute(U,m,C):I.removeAttribute(U,m)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(C){return new(C||p)(r.Y36(ki),r.Y36(Ni),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Ve.S$))};static#t=this.\u0275dir=r.lG2({type:p,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(C,I){1&C&&r.NdJ("click",function(K){return I.onClick(K.button,K.ctrlKey,K.shiftKey,K.altKey,K.metaKey)}),2&C&&r.uIk("target",I.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[r.lbL.HasDecoratorInputTransform,"preserveFragment","preserveFragment",r.VuI],skipLocationChange:[r.lbL.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",r.VuI],replaceUrl:[r.lbL.HasDecoratorInputTransform,"replaceUrl","replaceUrl",r.VuI],routerLink:"routerLink"},standalone:!0,features:[r.Xq5,r.TTD]})}return p})();class Ss{}let mc=(()=>{class p{constructor(m,C,I,U,K){this.router=m,this.injector=I,this.preloadingStrategy=U,this.loader=K}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ft.h)(m=>m instanceof wt),(0,xe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(m,C){const I=[];for(const U of C){U.providers&&!U._injector&&(U._injector=(0,r.MMx)(U.providers,m,`Route: ${U.path}`));const K=U._injector??m,Ce=U._loadedInjector??K;(U.loadChildren&&!U._loadedRoutes&&void 0===U.canLoad||U.loadComponent&&!U._loadedComponent)&&I.push(this.preloadConfig(K,U)),(U.children||U._loadedRoutes)&&I.push(this.processRoutes(Ce,U.children??U._loadedRoutes))}return(0,B.D)(I).pipe((0,dn.J)())}preloadConfig(m,C){return this.preloadingStrategy.preload(C,()=>{let I;I=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(m,C):(0,F.of)(null);const U=I.pipe((0,me.z)(K=>null===K?(0,F.of)(void 0):(C._loadedRoutes=K.routes,C._loadedInjector=K.injector,this.processRoutes(K.injector??m,K.routes))));if(C.loadComponent&&!C._loadedComponent){const K=this.loader.loadComponent(C);return(0,B.D)([U,K]).pipe((0,dn.J)())}return U})}static#e=this.\u0275fac=function(C){return new(C||p)(r.LFG(ki),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(Ss),r.LFG(ur))};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const ea=new r.OlP("");let Is=(()=>{class p{constructor(m,C,I,U,K={}){this.urlSerializer=m,this.transitions=C,this.viewportScroller=I,this.zone=U,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},K.scrollPositionRestoration||="disabled",K.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(m=>{m instanceof Mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=m.navigationTrigger,this.restoredId=m.restoredState?m.restoredState.navigationId:0):m instanceof wt?(this.lastId=m.id,this.scheduleScrollEvent(m,this.urlSerializer.parse(m.urlAfterRedirects).fragment)):m instanceof ji&&m.code===si.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(m,this.urlSerializer.parse(m.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(m=>{m instanceof vs&&(m.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(m.position):m.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(m.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(m,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new vs(m,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(C){r.$Z()};static#t=this.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac})}return p})();function zi(p,b){return{\u0275kind:p,\u0275providers:b}}function Ma(){const p=(0,r.f3M)(r.zs3);return b=>{const m=p.get(r.z2F);if(b!==m.components[0])return;const C=p.get(ki),I=p.get(Os);1===p.get(ta)&&C.initialNavigation(),p.get(Ta,null,r.XFs.Optional)?.setUpPreloading(),p.get(ea,null,r.XFs.Optional)?.init(),C.resetRootComponentType(m.componentTypes[0]),I.closed||(I.next(),I.complete(),I.unsubscribe())}}const Os=new r.OlP("",{factory:()=>new ze.x}),ta=new r.OlP("",{providedIn:"root",factory:()=>1}),Ta=new r.OlP("");function vc(p){return zi(0,[{provide:Ta,useExisting:mc},{provide:Ss,useExisting:p}])}function fl(p){return zi(9,[{provide:ir,useValue:ya},{provide:pc,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const Sa=new r.OlP("ROUTER_FORROOT_GUARD"),Ns=[Ve.Ye,{provide:Dn,useClass:Tn},ki,Pr,{provide:Ni,useFactory:function Ea(p){return p.routerState.root},deps:[ki]},ur,[]];let Vr=(()=>{class p{constructor(m){}static forRoot(m,C){return{ngModule:p,providers:[Ns,[],{provide:mi,multi:!0,useValue:m},{provide:Sa,useFactory:hl,deps:[[ki,new r.FiY,new r.tp0]]},{provide:Zn,useValue:C||{}},C?.useHash?{provide:Ve.S$,useClass:Ve.Do}:{provide:Ve.S$,useClass:Ve.b0},{provide:ea,useFactory:()=>{const p=(0,r.f3M)(Ve.EM),b=(0,r.f3M)(r.R0b),m=(0,r.f3M)(Zn),C=(0,r.f3M)(dr),I=(0,r.f3M)(Dn);return m.scrollOffset&&p.setOffset(m.scrollOffset),new Is(I,C,p,b,m)}},C?.preloadingStrategy?vc(C.preloadingStrategy).\u0275providers:[],C?.initialNavigation?xs(C):[],C?.bindToComponentInputs?zi(8,[bs,{provide:Mr,useExisting:bs}]).\u0275providers:[],C?.enableViewTransitions?fl().\u0275providers:[],[{provide:Di,useFactory:Ma},{provide:r.tb,multi:!0,useExisting:Di}]]}}static forChild(m){return{ngModule:p,providers:[{provide:mi,multi:!0,useValue:m}]}}static#e=this.\u0275fac=function(C){return new(C||p)(r.LFG(Sa,8))};static#t=this.\u0275mod=r.oAB({type:p});static#n=this.\u0275inj=r.cJS({})}return p})();function hl(p){return"guarded"}function xs(p){return["disabled"===p.initialNavigation?zi(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const b=(0,r.f3M)(ki);return()=>{b.setUpLocationChangeListener()}}},{provide:ta,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?zi(2,[{provide:ta,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:b=>{const m=b.get(Ve.V_,Promise.resolve());return()=>m.then(()=>new Promise(C=>{const I=b.get(ki),U=b.get(Os);fr(I,()=>{C(!0)}),b.get(dr).afterPreactivation=()=>(C(!0),U.closed?(0,F.of)(void 0):U),I.initialNavigation()}))}}]).\u0275providers:[]]}const Di=new r.OlP("")},9452:(k,E,f)=>{f.d(E,{Bx:()=>Ge,wR:()=>ze,uR:()=>me,$f:()=>De,U6:()=>Ee});var r=f(5861),w=f(9906),s=f(9212),H=f(6814);const B=new s.OlP("REQUEST"),F=new s.OlP("RESPONSE");var z=f(9862),Y=f(6593),Z=f(7010),q=f(7394),Q=f(5619);const X=["*"];function se(he,Je){if(1&he){const ue=s.EpF();s.TgZ(0,"span")(1,"builder-blocks",3),s.NdJ("click",function(ye){s.CHM(ue);const nt=s.oxw(2);return s.KtG(nt.onClick(ye))}),s.qZA()()}if(2&he){const ue=s.oxw(2);s.xp6(),s.Q6J("key",ue.key)("model",ue.model)("prerender",!1)("options",ue.options)}}function ge(he,Je){if(1&he&&s._UZ(0,"builder-blocks",7),2&he){const ue=s.oxw(),ke=ue.$implicit,ye=ue.meta,nt=s.oxw(3);s.Q6J("key",nt.key)("model",nt.model)("prerender",nt.prerender)("options",nt.options)("blocks",ke.blocks||ke)("breakpoints",ke.meta&&ke.meta.breakpoints||ye&&ye.breakpoints||void 0)}}function Me(he,Je){1&he&&s.Hsn(0,0,["*ngIf","loading"])}function Ye(he,Je){if(1&he){const ue=s.EpF();s.TgZ(0,"builder-content",5),s.NdJ("click",function(ye){s.CHM(ue);const nt=s.oxw(3);return s.KtG(nt.onClick(ye))})("contentLoad",function(ye){s.CHM(ue);const nt=s.oxw(3);return s.KtG(nt.load.next(ye))})("contentError",function(ye){s.CHM(ue);const nt=s.oxw(3);return s.KtG(nt.error.next(ye))}),s.YNc(1,ge,1,6,"builder-blocks",6)(2,Me,1,0,"ng-content",2),s.qZA()}if(2&he){const ue=Je.$implicit,ke=Je.loading,ye=s.oxw(3);s.Q6J("data",ye.data)("hydrate",ye.hydrate)("prerender",ye.prerender)("content",ue)("options",ye.options),s.xp6(),s.Q6J("ngIf",ue),s.xp6(),s.Q6J("ngIf",ke)}}function tt(he,Je){if(1&he&&(s.TgZ(0,"span"),s.YNc(1,Ye,3,7,"builder-content",4),s.qZA()),2&he){const ue=s.oxw(2);s.xp6(),s.Q6J("builderModel",ue.model)}}function Ct(he,Je){if(1&he&&(s.TgZ(0,"span",1),s.YNc(1,se,2,4,"span",2)(2,tt,2,1,"span",2),s.qZA()),2&he){const ue=s.oxw();s.xp6(),s.Q6J("ngIf",!ue.prerender),s.xp6(),s.Q6J("ngIf",ue.prerender)}}if(typeof window<"u"){const he=window;if(void 0!==he.Reflect&&void 0!==he.customElements&&!he.customElements.polyfillWrapFlushCallback)try{const Je=HTMLElement;he.HTMLElement={HTMLElement:function(){return Reflect.construct(Je,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=Je.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,Je)}catch{}}const rt="BUILDER_API_KEY";let Ee=(()=>{class he extends w.Ib{constructor(ue,ke,ye,nt,Nt,Rt){super(ue,ye||ke,Nt||nt),this.expressRequest=ke,this.expressEngineRequest=ye,this.expressResponse=nt,this.expressEngineResponse=Nt,this.http=Rt,this.autoTrack=!this.isDevelopment,this.expressEngineRequest&&(this.expressRequest=this.expressEngineRequest),this.expressRequest&&(this.request=this.expressRequest),this.expressEngineResponse&&(this.expressResponse=this.expressEngineResponse),this.expressResponse&&(this.response=this.expressResponse),ue&&(this.apiVersion="v3",this.init(ue)),!w.Ib.isBrowser&&!this.request&&console.warn("No express request set! Builder cannot target appropriately without this, please contact help@builder.io to learn how to set this as required")}get isDevelopment(){return w.Ib.isIframe||w.Ib.isBrowser&&("localhost"===location.hostname||""!==location.port)}requestUrl(ue){return this.http?this.http.get(ue).toPromise():super.requestUrl(ue)}}return he.componentInstances={},he.\u0275fac=function(ue){return new(ue||he)(s.LFG(rt,8),s.LFG("EXPRESS_REQUEST",8),s.LFG(B,8),s.LFG("EXPRESS_RESPONSE",8),s.LFG(F,8),s.LFG(z.eN,8))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),he})(),et=(()=>{class he{constructor(){this.contentComponentInstance=null,this.contentDirectiveInstance=null}}return he.\u0275fac=function(ue){return new(ue||he)},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),he})(),Ke=(()=>{class he{constructor(ue,ke){this.element=ue,this.builderComponentService=ke,this.useHtml=!1,this.data={},this.hydrate=!0,this.prerender=!0,this.options=null,this.contentLoad=new s.vpe,this.contentError=new s.vpe,ke.contentComponentInstance=this}set content(ue){const ke=this._content;this._content=ue;const{contentDirectiveInstance:ye}=this.builderComponentService;!ke&&ue&&ye&&(ye.requesting||ye.reset())}get content(){return this._content}findAndRunScripts(){if(!w.Ib.isBrowser)return;const ue=this.element.nativeElement;if(ue){const ke=ue.getElementsByTagName("script");for(let ye=0;ye<ke.length;ye++){const nt=ke[ye];if(nt.src){const Nt=document.createElement("script");Nt.async=!0,Nt.src=nt.src,document.head.appendChild(Nt)}else try{new Function(nt.innerText)()}catch(Nt){console.warn("Builder custom code component error:",Nt)}}}}get editingMode(){return w.Ib.editingPage}ngOnInit(){const ue=this.element.nativeElement&&this.element.nativeElement.getAttribute&&this.element.nativeElement.getAttribute("builder-model");ue&&(this.modelName=ue,Ee.componentInstances[ue]=this)}ngOnDestroy(){this.modelName&&Ee.componentInstances[this.modelName]===this&&delete Ee.componentInstances[this.modelName]}}return he.\u0275fac=function(ue){return new(ue||he)(s.Y36(s.SBq),s.Y36(et))},he.\u0275cmp=s.Xpm({type:he,selectors:[["builder-content"]],inputs:{useHtml:"useHtml",data:"data",hydrate:"hydrate",prerender:"prerender",content:"content",options:"options"},outputs:{contentLoad:"contentLoad",contentError:"contentError"},ngContentSelectors:X,decls:1,vars:0,template:function(ue,ke){1&ue&&(s.F$t(),s.Hsn(0))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),he})(),de=(()=>{class he{constructor(){this.componentInstance=null,this.directiveInstance=null}}return he.\u0275fac=function(ue){return new(ue||he)},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac}),he})(),pe=(()=>{class he{constructor(ue,ke,ye,nt,Nt,Rt,Yt){this._viewContainer=ue,this.renderer=ke,this.builder=ye,this.builderComponentService=nt,this.transferState=Nt,this.router=Yt,this.lastContentId=null,this.lastUrl=null,this.subscriptions=new q.w0,this._context=new Te,this._templateRef=null,this._viewRef=null,this.matchId="",this.clickTracked=!1,this.hydrated=!1,this.reloadOnRoute=!0,this.contentSubscription=null,this.requesting=!0,nt.contentDirectiveInstance=this,this._templateRef=Rt}get component(){return this.builderComponentService.contentComponentInstance}reset(){this.clickTracked=!1,this.hydrated=!1,this.request()}ngOnInit(){w.Ib.nextTick(()=>{this.request()}),this.router&&this.subscriptions.add(this.router.events.subscribe(ue=>{if(ue instanceof Z.m2&&this.reloadOnRoute){const ke=this._viewRef;if(ke&&ke.destroyed)return;this.url!==this.lastUrl&&this.reset()}}))}ngOnDestroy(){this.subscriptions.unsubscribe(),this.contentSubscription&&this.contentSubscription.unsubscribe()}onClick(ue){if(this.matchId&&!this.hydrated){const ke=this.match;this.builder.autoTrack&&this.builder.trackInteraction(this.matchId,ke&&ke.variationId,this.clickTracked,ue,{content:ke}),this.clickTracked=!0}document.body.classList.contains("builder-editing")&&(this.matchId?window.parent.postMessage({type:"builder.clickContent",data:{id:this.matchId,model:this._context.model}},"*"):window.parent.postMessage({type:"builder.clickModel",data:{model:this._context.model}},"*"))}get stateKeyString(){return"builder:"+this._context.model+":"+(this.reloadOnRoute?this.url:"")}set builderModel(ue){if(!ue)return;this._context.model=ue,this._updateView(),this.stateKey=(0,Y.Cb)(this.stateKeyString);const ke=this._viewRef.rootNodes[0];this.renderer.setAttribute(ke,"builder-model",ue),this.renderer.setAttribute(ke,"builder-model-name",ue.replace(/-/g," ")),this.renderer.listen(ke,"click",ye=>this.onClick(ye))}get url(){return this.builder.getLocation().pathname||""}request(){if(this.lastUrl=this.url,this.requesting=!0,this.component&&!this.component.prerender)return;const ue=this._viewRef;if(ue&&ue.destroyed)return;let ke=!1;const ye=this._context.model,nt=this.component&&this.component.options,Nt=this.component&&this.component.content||w.Ib.isBrowser&&this.transferState&&this.transferState.get(this.stateKeyString,null);this.contentSubscription&&this.contentSubscription.unsubscribe();const Rt=w.Ib.isBrowser&&this.component&&this.component.hydrate,dn=this.contentSubscription=this.builder.queueGetContent(ye,{initialContent:Nt,key:w.Ib.isEditing||!this.reloadOnRoute?ye:`${ye}:${this.url}`,...nt,prerender:!0,static:!Rt}).subscribe(Gt=>{let qe=Gt[0];if(this.contentSubscription!==dn||qe&&qe.id===this.lastContentId)return;this.lastContentId=qe&&qe.id,this.transferState&&!w.Ib.isBrowser&&this.transferState.set(this.stateKeyString,Gt);const Ze=this._viewRef;if(Ze.destroyed)return this.subscriptions.unsubscribe(),void(this.contentSubscription&&this.contentSubscription.unsubscribe());const vn=w.Ib.isBrowser&&Ze.rootNodes[0];if(w.Ib.isBrowser&&vn&&vn&&vn.classList.contains("builder-editor-injected"))return void Ze.detach();this._context.loading=!1;const zt=this.builder.getLocation().search||"";if(!qe&&zt.includes("builder.preview="+this._context.model)&&(qe={id:"preview",name:"Preview",data:{}}),this.component?this.component.contentLoad.next(qe):console.warn("No component!"),qe){const $n=this._viewRef.rootNodes[0];this.matchId=qe.id,this.renderer.setAttribute($n,"builder-content-entry-id",qe.id),this.match=qe,Ze.context.$implicit=qe.data,Ze.context.meta=qe.meta,!Rt&&this.builder.autoTrack&&this.builder.trackImpression(qe.id,qe.variationId,void 0,{content:qe})}Ze.destroyed||(Ze.detectChanges(),this.builderComponentService.contentComponentInstance&&this.builderComponentService.contentComponentInstance.prerender&&w.Ib.isBrowser&&w.Ib.isStatic&&w.Ib.nextTick(()=>{this.builderComponentService.contentComponentInstance&&this.builderComponentService.contentComponentInstance.findAndRunScripts()}),qe&&qe.data&&qe.data.animations&&w.Ib.isBrowser&&!Rt&&w.Ib.nextTick(()=>{w.Ib.animator.bindAnimations(qe.data.animations)})),ke||(ke=!0)},Gt=>{this.component?this.component.contentError.next(Gt):console.warn("No component!"),ke||(ke=!0)})}_updateView(){this._context.model&&(this._viewContainer.clear(),this._templateRef&&(this._viewRef=this._viewContainer.createEmbeddedView(this._templateRef,this._context)))}}return he.\u0275fac=function(ue){return new(ue||he)(s.Y36(s.s_b),s.Y36(s.Qsj),s.Y36(Ee),s.Y36(et),s.Y36(Y.ki,8),s.Y36(s.Rgc),s.Y36(Z.F0,8))},he.\u0275dir=s.lG2({type:he,selectors:[["","builderModel",""]],inputs:{reloadOnRoute:"reloadOnRoute",builderModel:"builderModel"},features:[s._Bn([de])]}),he})();class Te{constructor(){this.loading=!0,this.results=[]}}let Le=(()=>{class he{constructor(ue,ke){this.domSanitizer=ue,this.builder=ke,this.child=!1,this.prerender=!0,this.model="",this.key="",this.options=null,this.field="",this.lastInnerHtml="",this.lastInnerHtmlSanitized=null}get hasNoChildren(){return!(this.blocks&&(this.blocks.length||this.blocks.html))}get arrayBlocks(){return Array.isArray(this.blocks)}get innerHtml(){const ue=this._innerHtml;return ue===this.lastInnerHtml?this.lastInnerHtmlSanitized||"":(this.lastInnerHtml=ue,this.lastInnerHtmlSanitized=this.domSanitizer.bypassSecurityTrustHtml(ue),this.lastInnerHtmlSanitized)}get _innerHtml(){if(!this.prerender||w.Ib.isEditing)return`<builder-component-element prerender="false" ${this.model?`name="${this.model}"`:""}></builder-component-element>`;if(this.arrayBlocks||!this.blocks||!this.blocks.html)return`<builder-component-element prerender="false" ${this.model?`name="${this.model}"`:""}></builder-component-element>`;const ke=this.blocks.css;let ye=this.blocks.html;return this.breakpoints&&(this.breakpoints.small&&(ye=ye.replace(/max-width:640/g,`max-width:${this.breakpoints.small}`)),this.breakpoints.medium&&(ye=ye.replace(/max-width:991/g,`max-width:${this.breakpoints.medium}`))),ke&&(ye=`<style class="builder-styles">${ke}</style>`+ye),`<builder-component-element key="${this.key||this.model}" options='${JSON.stringify(this.options||null)}' prerender="false" rev="${this.blocks.rev||""}" ${this.model?`name="${this.model}"`:""}>${ye}</builder-component-element>`}trackByFn(ue,ke){return ke.id||ke.component&&ke.component.id||JSON.stringify(ke)}}return he.\u0275fac=function(ue){return new(ue||he)(s.Y36(Y.H7),s.Y36(Ee))},he.\u0275cmp=s.Xpm({type:he,selectors:[["builder-blocks"]],inputs:{blocks:"blocks",child:"child",prerender:"prerender",model:"model",key:"key",options:"options",field:"field",breakpoints:"breakpoints"},decls:2,vars:1,consts:[[1,"builder-blocks","builder-blocks-html"],[3,"innerHTML"]],template:function(ue,ke){1&ue&&(s.TgZ(0,"div",0),s._UZ(1,"div",1),s.qZA()),2&ue&&(s.xp6(),s.Q6J("innerHTML",ke.innerHtml,s.oJD))},changeDetection:0}),he})(),ze=(()=>{class he{constructor(ue){this.domSanitizer=ue,this.renderOnChange=!0,this.lastInnerHtml=""}get options(){return{child:!0,parentElementId:this.builderBlock.id,blocks:this.blocks,dataPath:this.dataPath}}get key(){return this.builderBlock.id+this.dataPath}get innerHtml(){const ue=this._innerHtml;return ue===this.lastInnerHtml?this.lastInnerHtmlSanitized||"":(this.lastInnerHtml=ue,this.lastInnerHtmlSanitized=this.domSanitizer.bypassSecurityTrustHtml(ue),this.lastInnerHtmlSanitized)}get _innerHtml(){return`<builder-blocks-slot key="${this.key}"></builder-blocks-slot>`}ngAfterViewInit(){w.Ib.isBrowser&&this.triggerstateChange()}triggerstateChange(){var ue=this;return(0,r.Z)(function*(){const ye=document.querySelector(`builder-blocks-slot[key="${ue.key}"]`);ye&&(yield customElements.whenDefined("builder-blocks-slot"),ye.setProps(ue.options,ue.builderState))})()}ngOnChanges(ue){ue.blocks&&this.renderOnChange&&this.triggerstateChange()}}return he.\u0275fac=function(ue){return new(ue||he)(s.Y36(Y.H7))},he.\u0275cmp=s.Xpm({type:he,selectors:[["builder-blocks-outlet"]],inputs:{builderBlock:"builderBlock",builderState:"builderState",blocks:"blocks",renderOnChange:"renderOnChange",dataPath:"dataPath"},features:[s.TTD],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(ue,ke){1&ue&&s._UZ(0,"div",0),2&ue&&s.Q6J("innerHTML",ke.innerHtml,s.oJD)},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),he})();const He="builder-wc-script";let Ot=!1,me=(()=>{class he{constructor(ue,ke,ye,nt){this.viewContainer=ue,this.elementRef=ke,this.builderService=ye,this.router=nt,this.handleRouting=!0,this.reloadOnRoute=!0,this.load=new s.vpe,this.route=new s.vpe,this.error=new s.vpe,this.content=null,this.options=null,this.data={},this.context={},this.hydrate=!0,this.prerender=!0,this.navigationTimeout=1e3,this.subscriptions=new q.w0,this.visible=new Q.X(!0)}set name(ue){this.model=ue}get url(){return this.builderService.getLocation().pathname||""}get key(){return w.Ib.isEditing||!this.reloadOnRoute?this.model:`${this.model}:${this.url}`}ensureWCScriptLoaded(){return(0,r.Z)(function*(){if(!w.Ib.isBrowser||Ot||document.getElementById(He))return;const ke=document.createElement("script"),ye=function ue(nt,Nt){const Yt=(nt.split("?")[1]||"").split("&");for(let dn=0;dn<Yt.length;dn++){const Gt=Yt[dn].split("=");if(decodeURIComponent(Gt[0])===Nt)return decodeURIComponent(Gt[1])}return null}(location.href,"builder.wcVersion")||"1.3.52";return ke.id=He,ke.src=`https://cdn.builder.io/js/webcomponents@${ye||"latest"}/dist/system/angular/builder-webcomponents-async.js`,ke.async=!0,Ot=!0,new Promise((nt,Nt)=>{ke.addEventListener("load",nt),ke.addEventListener("error",Rt=>Nt(Rt.error)),document.head.appendChild(ke)})})()}ensureWcLoadedAndUpdate(){var ue=this;return(0,r.Z)(function*(){yield ue.ensureWCScriptLoaded();const{onBuilderWcLoad:ke}=window;ke&&ke(ye=>{const nt=ye.builder;nt.apiKey=ue.builderService.apiKey,nt.canTrack=ue.builderService.canTrack,nt.setUserAttributes(function pt(he,...Je){const ue=Object.assign({},he);for(const ke of Je)delete ue[ke];return ue}(ue.builderService.getUserAttributes(),"urlPath")),ue.builderService.userAttributesChanged.subscribe(Nt=>nt.setUserAttributes(Nt)),ue.triggerstateChange()})})()}ngOnInit(){var ue=this;this.router&&this.reloadOnRoute&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1),w.Ib.isBrowser&&(this.router&&this.subscriptions.add(this.router.events.subscribe(ke=>{ke instanceof Z.m2&&this.reloadOnRoute&&(this.visible.next(!1),w.Ib.nextTick(()=>{this.visible.next(!0)}))})),this.subscriptions.add(this.load.subscribe(function(){var ke=(0,r.Z)(function*(ye){ue.viewContainer.detach(),(w.Ib.isEditing||ye&&ye.data&&!1!==ue.hydrate)&&(yield ue.ensureWcLoadedAndUpdate())});return function(ye){return ke.apply(this,arguments)}}()))),w.Ib.isBrowser&&(!1!==this.hydrate||w.Ib.isEditing)&&this.ensureWcLoadedAndUpdate()}triggerstateChange(){var ue=this;return(0,r.Z)(function*(){const ye=document.querySelector(`builder-component-element[name="${ue.model}"]`);ye&&customElements.whenDefined("builder-component-element").then(()=>{ye.setState(ue.data),ye.setContext(ue.context)})})()}ngOnChanges(ue){ue.data&&this.triggerstateChange()}ngOnDestroy(){this.subscriptions.unsubscribe()}onClick(ue){var ke=this;return(0,r.Z)(function*(){if(!ke.handleRouting||0!==ue.button||ue.ctrlKey||ue.defaultPrevented)return;const ye=ke.findHrefTarget(ue);if(!ye||ye.target)return;let nt=ye.getAttribute("href");if(!nt||nt.startsWith("javascript:"))return;const Nt={url:nt,anchorNode:ye,preventDefault(){this.defaultPrevented=!0},defaultPrevented:!1};if(ke.route.next(Nt),Nt.defaultPrevented)return void ue.preventDefault();if(ue.metaKey)return;if(!ke.isRelative(nt)){const qe=ke.convertToRelative(nt);if(!qe)return;nt=qe}if(!ke.router)return;ue.preventDefault();let Rt=null;const Yt=ke.router.navigateByUrl(nt),dn=!("boolean"==typeof ke.navigationTimeout&&!ke.navigationTimeout),Gt=function Ft(he,Je){return new Promise(ue=>setTimeout(()=>ue(Je),he))}("number"==typeof ke.navigationTimeout?ke.navigationTimeout:1e3,!1);try{const qe=dn?[Gt,Yt]:[Yt];Rt=yield Promise.race(qe)}finally{Rt?window.scrollTo(0,0):location.href=`${location.protocol}//${location.host}${nt}`}})()}isRelative(ue){return!(ue.match(/^(\/\/|https?:\/\/)/i)||ue.startsWith("tel:")||ue.startsWith("mailto:")||ue.startsWith("#"))}convertToRelative(ue){const ke=new URL(location.href),ye=new URL(ue);if(ke.host===ye.host)return ye.pathname+(ye.search?ye.search:"")}findHrefTarget(ue){let ke=ue.target;for(;ke;){if(ke instanceof HTMLAnchorElement&&ke.getAttribute("href"))return ke;if(ke===ue.currentTarget)break;ke=ke.parentElement}return null}}return he.\u0275fac=function(ue){return new(ue||he)(s.Y36(s.s_b),s.Y36(s.SBq),s.Y36(Ee),s.Y36(Z.F0,8))},he.\u0275cmp=s.Xpm({type:he,selectors:[["builder-component"]],inputs:{model:"model",name:"name",handleRouting:"handleRouting",reloadOnRoute:"reloadOnRoute",content:"content",options:"options",data:"data",context:"context",hydrate:"hydrate",prerender:"prerender",navigationTimeout:"navigationTimeout"},outputs:{load:"load",route:"route",error:"error"},features:[s._Bn([et]),s.TTD],ngContentSelectors:X,decls:2,vars:3,consts:[["class","builder-component-wrap",4,"ngIf"],[1,"builder-component-wrap"],[4,"ngIf"],["field","blocks",3,"key","model","prerender","options","click"],[3,"data","hydrate","prerender","content","options","click","contentLoad","contentError",4,"builderModel"],[3,"data","hydrate","prerender","content","options","click","contentLoad","contentError"],["field","blocks",3,"key","model","prerender","options","blocks","breakpoints",4,"ngIf"],["field","blocks",3,"key","model","prerender","options","blocks","breakpoints"]],template:function(ue,ke){1&ue&&(s.F$t(),s.YNc(0,Ct,3,2,"span",0),s.ALo(1,"async")),2&ue&&s.Q6J("ngIf",s.lcZ(1,1,ke.visible))},dependencies:[H.O5,Ke,Le,pe,H.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),he})();w.Ib.isStatic=!0;let De=(()=>{class he{constructor(ue,ke){this.platformId=ke,(0,H.NF)(ke)&&f.e(288).then(f.bind(f,9288)).then(({createCustomElement:ye})=>{for(const nt of w.Ib.components)if(nt.class&&"angular"===nt.type&&nt.tag&&typeof customElements.get(nt.tag)>"u")try{const Nt=ye(nt.class,{injector:ue});customElements.define(nt.tag,Nt)}catch{console.warn("Could not make angular element:",nt.class)}})}static forRoot(ue){return{ngModule:he,providers:[{provide:rt,useValue:ue}]}}}return he.\u0275fac=function(ue){return new(ue||he)(s.LFG(s.zs3),s.LFG(s.Lbi))},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({providers:[Ee,de,et],imports:[H.ez]}),he})();function Ge(he){return he.type="angular",w.Ib.Component(he)}},4618:(k,E,f)=>{f.d(E,{fA:()=>Js,ud:()=>Da,QQ:()=>bi,I:()=>po,VE:()=>fr,Gs:()=>No,$Q:()=>wa,jt:()=>Zi,TH:()=>bl,Vi:()=>Mc,XC:()=>Cl,iD:()=>Ju,FF:()=>td,IJ:()=>Od,N9:()=>ud,GZ:()=>Sl,ju:()=>ld,_L:()=>Dd,HK:()=>br});var r=f(9212),w=f(1993),s=f(5592),H=f(6232),B=f(2096),F=f(8645),z=f(4829),Y=f(1631),Z=f(4266),q=f(4674),Q=f(7400);const X=["addListener","removeListener"],se=["addEventListener","removeEventListener"],ge=["on","off"];function Me(c,_,a,u){if((0,q.m)(a)&&(u=a,a=void 0),u)return Me(c,_,a).pipe((0,Q.Z)(u));const[g,O]=function rt(c){return(0,q.m)(c.addEventListener)&&(0,q.m)(c.removeEventListener)}(c)?se.map(P=>ae=>c[P](_,ae,a)):function tt(c){return(0,q.m)(c.addListener)&&(0,q.m)(c.removeListener)}(c)?X.map(Ye(c,_)):function Ct(c){return(0,q.m)(c.on)&&(0,q.m)(c.off)}(c)?ge.map(Ye(c,_)):[];if(!g&&(0,Z.z)(c))return(0,Y.z)(P=>Me(P,_,a))((0,z.Xf)(c));if(!g)throw new TypeError("Invalid event target");return new s.y(P=>{const ae=(...fe)=>P.next(1<fe.length?fe:fe[0]);return g(ae),()=>O(ae)})}function Ye(c,_){return a=>u=>c[a](_,u)}var _t=f(4825);const{isArray:Ie}=Array;function Ee(c){return 1===c.length&&Ie(c[0])?c[0]:c}var et=f(8251);function Ke(...c){return 1===(c=Ee(c)).length?(0,z.Xf)(c[0]):new s.y(function de(c){return _=>{let a=[];for(let u=0;a&&!_.closed&&u<c.length;u++)a.push((0,z.Xf)(c[u]).subscribe((0,et.x)(_,g=>{if(a){for(let O=0;O<a.length;O++)O!==u&&a[O].unsubscribe();a=null}_.next(g)})))}}(c))}f(3019);var Te=f(9940);function Le(...c){const _=(0,Te.jO)(c),a=Ee(c);return a.length?new s.y(u=>{let g=a.map(()=>[]),O=a.map(()=>!1);u.add(()=>{g=O=null});for(let P=0;!u.closed&&P<a.length;P++)(0,z.Xf)(a[P]).subscribe((0,et.x)(u,ae=>{if(g[P].push(ae),g.every(fe=>fe.length)){const fe=g.map(Ae=>Ae.shift());u.next(_?_(...fe):fe),g.some((Ae,Fe)=>!Ae.length&&O[Fe])&&u.complete()}},()=>{O[P]=!0,!g[P].length&&u.complete()}));return()=>{g=O=null}}):H.E}var ze=f(5211),He=f(9773),pt=f(2181),Ot=f(8180),vt=f(9397),Ft=f(7398),me=f(9360),_e=f(2737),xe=f(2420);function De(...c){const _=(0,Te.jO)(c);return(0,me.e)((a,u)=>{const g=c.length,O=new Array(g);let P=c.map(()=>!1),ae=!1;for(let fe=0;fe<g;fe++)(0,z.Xf)(c[fe]).subscribe((0,et.x)(u,Ae=>{O[fe]=Ae,!ae&&!P[fe]&&(P[fe]=!0,(ae=P.every(_e.y))&&(P=null))},xe.Z));a.subscribe((0,et.x)(u,fe=>{if(ae){const Ae=[fe,...O];u.next(_?_(...Ae):Ae)}}))})}var Ge=f(5177),he=f(4664),ye=(f(7921),f(3997),f(836),f(6814)),Nt=(f(95),{left:"right",right:"left",bottom:"top",top:"bottom"});function Rt(c){return c.replace(/left|right|bottom|top/g,function(_){return Nt[_]})}function Yt(c){return c.split("-")[0]}var dn={start:"end",end:"start"};function Gt(c){return c.replace(/start|end/g,function(_){return dn[_]})}var qe="top",Ze="bottom",vn="right",zt="left",$n="auto",Un=[qe,Ze,vn,zt],Vn="start",Gn="end",Bt="viewport",wi="popper",ri=Un.reduce(function(c,_){return c.concat([_+"-"+Vn,_+"-"+Gn])},[]),ln=[].concat(Un,[$n]).reduce(function(c,_){return c.concat([_,_+"-"+Vn,_+"-"+Gn])},[]),Rn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function An(c){if(null==c)return window;if("[object Window]"!==c.toString()){var _=c.ownerDocument;return _&&_.defaultView||window}return c}function Dn(c){return c instanceof An(c).Element||c instanceof Element}function Tn(c){return c instanceof An(c).HTMLElement||c instanceof HTMLElement}function _i(c){return!(typeof ShadowRoot>"u")&&(c instanceof An(c).ShadowRoot||c instanceof ShadowRoot)}function mt(c){return((Dn(c)?c.ownerDocument:c.document)||window.document).documentElement}var It=Math.max,vi=Math.min,oi=Math.round;function Oe(){var c=navigator.userAgentData;return null!=c&&c.brands&&Array.isArray(c.brands)?c.brands.map(function(_){return _.brand+"/"+_.version}).join(" "):navigator.userAgent}function be(){return!/^((?!chrome|android).)*safari/i.test(Oe())}function W(c,_,a){void 0===_&&(_=!1),void 0===a&&(a=!1);var u=c.getBoundingClientRect(),g=1,O=1;_&&Tn(c)&&(g=c.offsetWidth>0&&oi(u.width)/c.offsetWidth||1,O=c.offsetHeight>0&&oi(u.height)/c.offsetHeight||1);var ae=(Dn(c)?An(c):window).visualViewport,fe=!be()&&a,Ae=(u.left+(fe&&ae?ae.offsetLeft:0))/g,Fe=(u.top+(fe&&ae?ae.offsetTop:0))/O,lt=u.width/g,st=u.height/O;return{width:lt,height:st,top:Fe,right:Ae+lt,bottom:Fe+st,left:Ae,x:Ae,y:Fe}}function oe(c){var _=An(c);return{scrollLeft:_.pageXOffset,scrollTop:_.pageYOffset}}function we(c){return W(mt(c)).left+oe(c).scrollLeft}function bt(c){return An(c).getComputedStyle(c)}function Lt(c){return c?(c.nodeName||"").toLowerCase():null}function kn(c){return"html"===Lt(c)?c:c.assignedSlot||c.parentNode||(_i(c)?c.host:null)||mt(c)}function di(c){var _=bt(c);return/auto|scroll|overlay|hidden/.test(_.overflow+_.overflowY+_.overflowX)}function fi(c){return["html","body","#document"].indexOf(Lt(c))>=0?c.ownerDocument.body:Tn(c)&&di(c)?c:fi(kn(c))}function Ki(c,_){var a;void 0===_&&(_=[]);var u=fi(c),g=u===(null==(a=c.ownerDocument)?void 0:a.body),O=An(u),P=g?[O].concat(O.visualViewport||[],di(u)?u:[]):u,ae=_.concat(P);return g?ae:ae.concat(Ki(kn(P)))}function Oi(c){return["table","td","th"].indexOf(Lt(c))>=0}function Ji(c){return Tn(c)&&"fixed"!==bt(c).position?c.offsetParent:null}function Kn(c){for(var _=An(c),a=Ji(c);a&&Oi(a)&&"static"===bt(a).position;)a=Ji(a);return a&&("html"===Lt(a)||"body"===Lt(a)&&"static"===bt(a).position)?_:a||function or(c){var _=/firefox/i.test(Oe());if(/Trident/i.test(Oe())&&Tn(c)&&"fixed"===bt(c).position)return null;var g=kn(c);for(_i(g)&&(g=g.host);Tn(g)&&["html","body"].indexOf(Lt(g))<0;){var O=bt(g);if("none"!==O.transform||"none"!==O.perspective||"paint"===O.contain||-1!==["transform","perspective"].indexOf(O.willChange)||_&&"filter"===O.willChange||_&&O.filter&&"none"!==O.filter)return g;g=g.parentNode}return null}(c)||_}function On(c,_){var a=_.getRootNode&&_.getRootNode();if(c.contains(_))return!0;if(a&&_i(a)){var u=_;do{if(u&&c.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function Et(c){return Object.assign({},c,{left:c.x,top:c.y,right:c.x+c.width,bottom:c.y+c.height})}function Qi(c,_,a){return _===Bt?Et(function ht(c,_){var a=An(c),u=mt(c),g=a.visualViewport,O=u.clientWidth,P=u.clientHeight,ae=0,fe=0;if(g){O=g.width,P=g.height;var Ae=be();(Ae||!Ae&&"fixed"===_)&&(ae=g.offsetLeft,fe=g.offsetTop)}return{width:O,height:P,x:ae+we(c),y:fe}}(c,a)):Dn(_)?function Vi(c,_){var a=W(c,!1,"fixed"===_);return a.top=a.top+c.clientTop,a.left=a.left+c.clientLeft,a.bottom=a.top+c.clientHeight,a.right=a.left+c.clientWidth,a.width=c.clientWidth,a.height=c.clientHeight,a.x=a.left,a.y=a.top,a}(_,a):Et(function rn(c){var _,a=mt(c),u=oe(c),g=null==(_=c.ownerDocument)?void 0:_.body,O=It(a.scrollWidth,a.clientWidth,g?g.scrollWidth:0,g?g.clientWidth:0),P=It(a.scrollHeight,a.clientHeight,g?g.scrollHeight:0,g?g.clientHeight:0),ae=-u.scrollLeft+we(c),fe=-u.scrollTop;return"rtl"===bt(g||a).direction&&(ae+=It(a.clientWidth,g?g.clientWidth:0)-O),{width:O,height:P,x:ae,y:fe}}(mt(c)))}function en(c){return c.split("-")[1]}function G(c){return["top","bottom"].indexOf(c)>=0?"x":"y"}function ie(c){var fe,_=c.reference,a=c.element,u=c.placement,g=u?Yt(u):null,O=u?en(u):null,P=_.x+_.width/2-a.width/2,ae=_.y+_.height/2-a.height/2;switch(g){case qe:fe={x:P,y:_.y-a.height};break;case Ze:fe={x:P,y:_.y+_.height};break;case vn:fe={x:_.x+_.width,y:ae};break;case zt:fe={x:_.x-a.width,y:ae};break;default:fe={x:_.x,y:_.y}}var Ae=g?G(g):null;if(null!=Ae){var Fe="y"===Ae?"height":"width";switch(O){case Vn:fe[Ae]=fe[Ae]-(_[Fe]/2-a[Fe]/2);break;case Gn:fe[Ae]=fe[Ae]+(_[Fe]/2-a[Fe]/2)}}return fe}function Pe(c){return Object.assign({},{top:0,right:0,bottom:0,left:0},c)}function je(c,_){return _.reduce(function(a,u){return a[u]=c,a},{})}function Qe(c,_){void 0===_&&(_={});var u=_.placement,g=void 0===u?c.placement:u,O=_.strategy,P=void 0===O?c.strategy:O,ae=_.boundary,fe=void 0===ae?"clippingParents":ae,Ae=_.rootBoundary,Fe=void 0===Ae?Bt:Ae,lt=_.elementContext,st=void 0===lt?wi:lt,dt=_.altBoundary,on=void 0!==dt&&dt,sn=_.padding,kt=void 0===sn?0:sn,bn=Pe("number"!=typeof kt?kt:je(kt,Un)),Hn=c.rects.popper,un=c.elements[on?st===wi?"reference":wi:st],Sn=function Gr(c,_,a,u){var g="clippingParents"===_?function Xi(c){var _=Ki(kn(c)),u=["absolute","fixed"].indexOf(bt(c).position)>=0&&Tn(c)?Kn(c):c;return Dn(u)?_.filter(function(g){return Dn(g)&&On(g,u)&&"body"!==Lt(g)}):[]}(c):[].concat(_),O=[].concat(g,[a]),ae=O.reduce(function(fe,Ae){var Fe=Qi(c,Ae,u);return fe.top=It(Fe.top,fe.top),fe.right=vi(Fe.right,fe.right),fe.bottom=vi(Fe.bottom,fe.bottom),fe.left=It(Fe.left,fe.left),fe},Qi(c,O[0],u));return ae.width=ae.right-ae.left,ae.height=ae.bottom-ae.top,ae.x=ae.left,ae.y=ae.top,ae}(Dn(un)?un:un.contextElement||mt(c.elements.popper),fe,Fe,P),En=W(c.elements.reference),Xn=ie({reference:En,element:Hn,strategy:"absolute",placement:g}),Yn=Et(Object.assign({},Hn,Xn)),Wi=st===wi?Yn:En,Fi={top:Sn.top-Wi.top+bn.top,bottom:Wi.bottom-Sn.bottom+bn.bottom,left:Sn.left-Wi.left+bn.left,right:Wi.right-Sn.right+bn.right},hr=c.modifiersData.offset;if(st===wi&&hr){var io=hr[g];Object.keys(Fi).forEach(function(Li){var yo=[vn,Ze].indexOf(Li)>=0?1:-1,Fo=[qe,Ze].indexOf(Li)>=0?"y":"x";Fi[Li]+=io[Fo]*yo})}return Fi}const fn={name:"flip",enabled:!0,phase:"main",fn:function Tt(c){var _=c.state,a=c.options,u=c.name;if(!_.modifiersData[u]._skip){for(var g=a.mainAxis,O=void 0===g||g,P=a.altAxis,ae=void 0===P||P,fe=a.fallbackPlacements,Ae=a.padding,Fe=a.boundary,lt=a.rootBoundary,st=a.altBoundary,dt=a.flipVariations,on=void 0===dt||dt,sn=a.allowedAutoPlacements,kt=_.options.placement,bn=Yt(kt),Hn=fe||(bn!==kt&&on?function Ut(c){if(Yt(c)===$n)return[];var _=Rt(c);return[Gt(c),_,Gt(_)]}(kt):[Rt(kt)]),un=[kt].concat(Hn).reduce(function(Lo,as){return Lo.concat(Yt(as)===$n?function it(c,_){void 0===_&&(_={});var g=_.boundary,O=_.rootBoundary,P=_.padding,ae=_.flipVariations,fe=_.allowedAutoPlacements,Ae=void 0===fe?ln:fe,Fe=en(_.placement),lt=Fe?ae?ri:ri.filter(function(on){return en(on)===Fe}):Un,st=lt.filter(function(on){return Ae.indexOf(on)>=0});0===st.length&&(st=lt);var dt=st.reduce(function(on,sn){return on[sn]=Qe(c,{placement:sn,boundary:g,rootBoundary:O,padding:P})[Yt(sn)],on},{});return Object.keys(dt).sort(function(on,sn){return dt[on]-dt[sn]})}(_,{placement:as,boundary:Fe,rootBoundary:lt,padding:Ae,flipVariations:on,allowedAutoPlacements:sn}):as)},[]),Sn=_.rects.reference,En=_.rects.popper,Xn=new Map,Yn=!0,Wi=un[0],Fi=0;Fi<un.length;Fi++){var hr=un[Fi],io=Yt(hr),Li=en(hr)===Vn,yo=[qe,Ze].indexOf(io)>=0,Fo=yo?"width":"height",Cr=Qe(_,{placement:hr,boundary:Fe,rootBoundary:lt,altBoundary:st,padding:Ae}),Hr=yo?Li?vn:zt:Li?Ze:qe;Sn[Fo]>En[Fo]&&(Hr=Rt(Hr));var os=Rt(Hr),js=[];if(O&&js.push(Cr[io]<=0),ae&&js.push(Cr[Hr]<=0,Cr[os]<=0),js.every(function(Lo){return Lo})){Wi=hr,Yn=!1;break}Xn.set(hr,js)}if(Yn)for(var Al=function(as){var Wa=un.find(function(Nl){var ls=Xn.get(Nl);if(ls)return ls.slice(0,as).every(function(qa){return qa})});if(Wa)return Wi=Wa,"break"},ss=on?3:1;ss>0&&"break"!==Al(ss);ss--);_.placement!==Wi&&(_.modifiersData[u]._skip=!0,_.placement=Wi,_.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function yt(c,_,a){return It(c,vi(_,a))}function ft(c){var _=W(c),a=c.offsetWidth,u=c.offsetHeight;return Math.abs(_.width-a)<=1&&(a=_.width),Math.abs(_.height-u)<=1&&(u=_.height),{x:c.offsetLeft,y:c.offsetTop,width:a,height:u}}const ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function V(c){var _=c.state,a=c.options,u=c.name,g=a.mainAxis,O=void 0===g||g,P=a.altAxis,ae=void 0!==P&&P,st=a.tether,dt=void 0===st||st,on=a.tetherOffset,sn=void 0===on?0:on,kt=Qe(_,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),bn=Yt(_.placement),pn=en(_.placement),Hn=!pn,un=G(bn),Sn=function mn(c){return"x"===c?"y":"x"}(un),En=_.modifiersData.popperOffsets,Xn=_.rects.reference,Yn=_.rects.popper,Wi="function"==typeof sn?sn(Object.assign({},_.rects,{placement:_.placement})):sn,Fi="number"==typeof Wi?{mainAxis:Wi,altAxis:Wi}:Object.assign({mainAxis:0,altAxis:0},Wi),hr=_.modifiersData.offset?_.modifiersData.offset[_.placement]:null,io={x:0,y:0};if(En){if(O){var Li,yo="y"===un?qe:zt,Fo="y"===un?Ze:vn,Cr="y"===un?"height":"width",Hr=En[un],os=Hr+kt[yo],js=Hr-kt[Fo],Za=dt?-Yn[Cr]/2:0,Al=pn===Vn?Xn[Cr]:Yn[Cr],ss=pn===Vn?-Yn[Cr]:-Xn[Cr],Hs=_.elements.arrow,Lo=dt&&Hs?ft(Hs):{width:0,height:0},as=_.modifiersData["arrow#persistent"]?_.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Wa=as[yo],Nl=as[Fo],ls=yt(0,Xn[Cr],Lo[Cr]),qa=Hn?Xn[Cr]/2-Za-ls-Wa-Fi.mainAxis:Al-ls-Wa-Fi.mainAxis,Ch=Hn?-Xn[Cr]/2+Za+ls+Nl+Fi.mainAxis:ss+ls+Nl+Fi.mainAxis,Bc=_.elements.arrow&&Kn(_.elements.arrow),Dh=Bc?"y"===un?Bc.clientTop||0:Bc.clientLeft||0:0,Uc=null!=(Li=hr?.[un])?Li:0,Eh=Hr+Ch-Uc,pr=yt(dt?vi(os,Hr+qa-Uc-Dh):os,Hr,dt?It(js,Eh):js);En[un]=pr,io[un]=pr-Hr}if(ae){var xl,ci=En[Sn],cs="y"===Sn?"height":"width",jc=ci+kt["x"===un?qe:zt],Hc=ci-kt["x"===un?Ze:vn],$c=-1!==[qe,zt].indexOf(bn),Gc=null!=(xl=hr?.[Sn])?xl:0,Nd=$c?jc:ci-Xn[cs]-Yn[cs]-Gc+Fi.altAxis,zc=$c?ci+Xn[cs]+Yn[cs]-Gc-Fi.altAxis:Hc,xd=dt&&$c?function $(c,_,a){var u=yt(c,_,a);return u>a?a:u}(Nd,ci,zc):yt(dt?Nd:jc,ci,dt?zc:Hc);En[Sn]=xd,io[Sn]=xd-ci}_.modifiersData[u]=io}},requiresIfExists:["offset"]},Mt={name:"arrow",enabled:!0,phase:"main",fn:function Re(c){var _,a=c.state,u=c.name,g=c.options,O=a.elements.arrow,P=a.modifiersData.popperOffsets,ae=Yt(a.placement),fe=G(ae),Fe=[zt,vn].indexOf(ae)>=0?"height":"width";if(O&&P){var lt=function(_,a){return Pe("number"!=typeof(_="function"==typeof _?_(Object.assign({},a.rects,{placement:a.placement})):_)?_:je(_,Un))}(g.padding,a),st=ft(O),dt="y"===fe?qe:zt,on="y"===fe?Ze:vn,sn=a.rects.reference[Fe]+a.rects.reference[fe]-P[fe]-a.rects.popper[Fe],kt=P[fe]-a.rects.reference[fe],bn=Kn(O),pn=bn?"y"===fe?bn.clientHeight||0:bn.clientWidth||0:0,En=pn/2-st[Fe]/2+(sn/2-kt/2),Xn=yt(lt[dt],En,pn-st[Fe]-lt[on]);a.modifiersData[u]=((_={})[fe]=Xn,_.centerOffset=Xn-En,_)}},effect:function At(c){var _=c.state,u=c.options.element,g=void 0===u?"[data-popper-arrow]":u;null!=g&&("string"==typeof g&&!(g=_.elements.popper.querySelector(g))||On(_.elements.popper,g)&&(_.elements.arrow=g))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ai(c,_,a){void 0===a&&(a=!1);var u=Tn(_),g=Tn(_)&&function si(c){var _=c.getBoundingClientRect(),a=oi(_.width)/c.offsetWidth||1,u=oi(_.height)/c.offsetHeight||1;return 1!==a||1!==u}(_),O=mt(_),P=W(c,g,a),ae={scrollLeft:0,scrollTop:0},fe={x:0,y:0};return(u||!u&&!a)&&(("body"!==Lt(_)||di(O))&&(ae=function Fn(c){return c!==An(c)&&Tn(c)?function wt(c){return{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}}(c):oe(c)}(_)),Tn(_)?((fe=W(_,!0)).x+=_.clientLeft,fe.y+=_.clientTop):O&&(fe.x=we(O))),{x:P.left+ae.scrollLeft-fe.x,y:P.top+ae.scrollTop-fe.y,width:P.width,height:P.height}}function ji(c){var _=new Map,a=new Set,u=[];function g(O){a.add(O.name),[].concat(O.requires||[],O.requiresIfExists||[]).forEach(function(ae){if(!a.has(ae)){var fe=_.get(ae);fe&&g(fe)}}),u.push(O)}return c.forEach(function(O){_.set(O.name,O)}),c.forEach(function(O){a.has(O.name)||g(O)}),u}function Mi(c){var _;return function(){return _||(_=new Promise(function(a){Promise.resolve().then(function(){_=void 0,a(c())})})),_}}var gs={placement:"bottom",modifiers:[],strategy:"absolute"};function jo(){for(var c=arguments.length,_=new Array(c),a=0;a<c;a++)_[a]=arguments[a];return!_.some(function(u){return!(u&&"function"==typeof u.getBoundingClientRect)})}function Zs(c){void 0===c&&(c={});var a=c.defaultModifiers,u=void 0===a?[]:a,g=c.defaultOptions,O=void 0===g?gs:g;return function(ae,fe,Ae){void 0===Ae&&(Ae=O);var Fe={placement:"bottom",orderedModifiers:[],options:Object.assign({},gs,O),modifiersData:{},elements:{reference:ae,popper:fe},attributes:{},styles:{}},lt=[],st=!1,dt={state:Fe,setOptions:function(bn){var pn="function"==typeof bn?bn(Fe.options):bn;sn(),Fe.options=Object.assign({},O,Fe.options,pn),Fe.scrollParents={reference:Dn(ae)?Ki(ae):ae.contextElement?Ki(ae.contextElement):[],popper:Ki(fe)};var Hn=function Vo(c){var _=ji(c);return Rn.reduce(function(a,u){return a.concat(_.filter(function(g){return g.phase===u}))},[])}(function fa(c){var _=c.reduce(function(a,u){var g=a[u.name];return a[u.name]=g?Object.assign({},g,u,{options:Object.assign({},g.options,u.options),data:Object.assign({},g.data,u.data)}):u,a},{});return Object.keys(_).map(function(a){return _[a]})}([].concat(u,Fe.options.modifiers)));return Fe.orderedModifiers=Hn.filter(function(un){return un.enabled}),function on(){Fe.orderedModifiers.forEach(function(kt){var pn=kt.options,un=kt.effect;if("function"==typeof un){var Sn=un({state:Fe,name:kt.name,instance:dt,options:void 0===pn?{}:pn});lt.push(Sn||function(){})}})}(),dt.update()},forceUpdate:function(){if(!st){var bn=Fe.elements,pn=bn.reference,Hn=bn.popper;if(jo(pn,Hn)){Fe.rects={reference:Ai(pn,Kn(Hn),"fixed"===Fe.options.strategy),popper:ft(Hn)},Fe.reset=!1,Fe.placement=Fe.options.placement,Fe.orderedModifiers.forEach(function(Fi){return Fe.modifiersData[Fi.name]=Object.assign({},Fi.data)});for(var un=0;un<Fe.orderedModifiers.length;un++)if(!0!==Fe.reset){var Sn=Fe.orderedModifiers[un],En=Sn.fn,Xn=Sn.options;"function"==typeof En&&(Fe=En({state:Fe,options:void 0===Xn?{}:Xn,name:Sn.name,instance:dt})||Fe)}else Fe.reset=!1,un=-1}}},update:Mi(function(){return new Promise(function(kt){dt.forceUpdate(),kt(Fe)})}),destroy:function(){sn(),st=!0}};if(!jo(ae,fe))return dt;function sn(){lt.forEach(function(kt){return kt()}),lt=[]}return dt.setOptions(Ae).then(function(kt){!st&&Ae.onFirstUpdate&&Ae.onFirstUpdate(kt)}),dt}}var er={passive:!0},vs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sr(c){var _,a=c.popper,u=c.popperRect,g=c.placement,O=c.variation,P=c.offsets,ae=c.position,fe=c.gpuAcceleration,Ae=c.adaptive,Fe=c.roundOffsets,lt=c.isFixed,st=P.x,dt=void 0===st?0:st,on=P.y,sn=void 0===on?0:on,kt="function"==typeof Fe?Fe({x:dt,y:sn}):{x:dt,y:sn};dt=kt.x,sn=kt.y;var bn=P.hasOwnProperty("x"),pn=P.hasOwnProperty("y"),Hn=zt,un=qe,Sn=window;if(Ae){var En=Kn(a),Xn="clientHeight",Yn="clientWidth";En===An(a)&&"static"!==bt(En=mt(a)).position&&"absolute"===ae&&(Xn="scrollHeight",Yn="scrollWidth"),(g===qe||(g===zt||g===vn)&&O===Gn)&&(un=Ze,sn-=(lt&&En===Sn&&Sn.visualViewport?Sn.visualViewport.height:En[Xn])-u.height,sn*=fe?1:-1),g!==zt&&(g!==qe&&g!==Ze||O!==Gn)||(Hn=vn,dt-=(lt&&En===Sn&&Sn.visualViewport?Sn.visualViewport.width:En[Yn])-u.width,dt*=fe?1:-1)}var Li,hr=Object.assign({position:ae},Ae&&vs),io=!0===Fe?function zr(c,_){var u=c.y,g=_.devicePixelRatio||1;return{x:oi(c.x*g)/g||0,y:oi(u*g)/g||0}}({x:dt,y:sn},An(a)):{x:dt,y:sn};return dt=io.x,sn=io.y,Object.assign({},hr,fe?((Li={})[un]=pn?"0":"",Li[Hn]=bn?"0":"",Li.transform=(Sn.devicePixelRatio||1)<=1?"translate("+dt+"px, "+sn+"px)":"translate3d("+dt+"px, "+sn+"px, 0)",Li):((_={})[un]=pn?sn+"px":"",_[Hn]=bn?dt+"px":"",_.transform="",_))}var hi=Zs({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function oo(c){var _=c.state,a=c.instance,u=c.options,g=u.scroll,O=void 0===g||g,P=u.resize,ae=void 0===P||P,fe=An(_.elements.popper),Ae=[].concat(_.scrollParents.reference,_.scrollParents.popper);return O&&Ae.forEach(function(Fe){Fe.addEventListener("scroll",a.update,er)}),ae&&fe.addEventListener("resize",a.update,er),function(){O&&Ae.forEach(function(Fe){Fe.removeEventListener("scroll",a.update,er)}),ae&&fe.removeEventListener("resize",a.update,er)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Ho(c){var _=c.state;_.modifiersData[c.name]=ie({reference:_.rects.reference,element:_.rects.popper,strategy:"absolute",placement:_.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function ys(c){var _=c.state,a=c.options,u=a.gpuAcceleration,g=void 0===u||u,O=a.adaptive,P=void 0===O||O,ae=a.roundOffsets,fe=void 0===ae||ae,Ae={placement:Yt(_.placement),variation:en(_.placement),popper:_.elements.popper,popperRect:_.rects.popper,gpuAcceleration:g,isFixed:"fixed"===_.options.strategy};null!=_.modifiersData.popperOffsets&&(_.styles.popper=Object.assign({},_.styles.popper,sr(Object.assign({},Ae,{offsets:_.modifiersData.popperOffsets,position:_.options.strategy,adaptive:P,roundOffsets:fe})))),null!=_.modifiersData.arrow&&(_.styles.arrow=Object.assign({},_.styles.arrow,sr(Object.assign({},Ae,{offsets:_.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:fe})))),_.attributes.popper=Object.assign({},_.attributes.popper,{"data-popper-placement":_.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function Pr(c){var _=c.state;Object.keys(_.elements).forEach(function(a){var u=_.styles[a]||{},g=_.attributes[a]||{},O=_.elements[a];!Tn(O)||!Lt(O)||(Object.assign(O.style,u),Object.keys(g).forEach(function(P){var ae=g[P];!1===ae?O.removeAttribute(P):O.setAttribute(P,!0===ae?"":ae)}))})},effect:function qn(c){var _=c.state,a={popper:{position:_.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(_.elements.popper.style,a.popper),_.styles=a,_.elements.arrow&&Object.assign(_.elements.arrow.style,a.arrow),function(){Object.keys(_.elements).forEach(function(u){var g=_.elements[u],O=_.attributes[u]||{},ae=Object.keys(_.styles.hasOwnProperty(u)?_.styles[u]:a[u]).reduce(function(fe,Ae){return fe[Ae]="",fe},{});!Tn(g)||!Lt(g)||(Object.assign(g.style,ae),Object.keys(O).forEach(function(fe){g.removeAttribute(fe)}))})}},requires:["computeStyles"]}]});const ao={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Rr(c){var _=c.state,u=c.name,g=c.options.offset,O=void 0===g?[0,0]:g,P=ln.reduce(function(Fe,lt){return Fe[lt]=function Hi(c,_,a){var u=Yt(c),g=[zt,qe].indexOf(u)>=0?-1:1,O="function"==typeof a?a(Object.assign({},_,{placement:c})):a,P=O[0],ae=O[1];return P=P||0,ae=(ae||0)*g,[zt,vn].indexOf(u)>=0?{x:ae,y:P}:{x:P,y:ae}}(lt,_.rects,O),Fe},{}),ae=P[_.placement],Ae=ae.y;null!=_.modifiersData.popperOffsets&&(_.modifiersData.popperOffsets.x+=ae.x,_.modifiersData.popperOffsets.y+=Ae),_.modifiersData[u]=P}},Ni=["*"],uo=["dialog"];function ti(c,_){1&c&&(r.TgZ(0,"span",9),r.SDv(1,10),r.qZA())}function Mo(c,_){1&c&&(r.TgZ(0,"span",9),r.SDv(1,11),r.qZA())}function Ko(c,_){1&c&&(r.TgZ(0,"span",9),r.SDv(1,12),r.qZA())}function mr(c,_){1&c&&(r.TgZ(0,"span",9),r.SDv(1,13),r.qZA())}function To(c,_){1&c&&r._uU(0,"...")}function pa(c,_){1&c&&r._uU(0),2&c&&r.Oqu(_.$implicit)}function Ht(c,_){}const Xe=c=>({disabled:!0,currentPage:c});function S(c,_){if(1&c&&(r.TgZ(0,"a",18),r.YNc(1,Ht,0,0,"ng-template",8),r.qZA()),2&c){const a=r.oxw(2).$implicit,u=r.oxw(),g=r.MAs(9);r.xp6(),r.Q6J("ngTemplateOutlet",(null==u.tplEllipsis?null:u.tplEllipsis.templateRef)||g)("ngTemplateOutletContext",r.VKq(2,Xe,a))}}function A(c,_){}const D=(c,_,a)=>({disabled:c,$implicit:_,currentPage:a});function L(c,_){if(1&c){const a=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",function(g){r.CHM(a);const O=r.oxw().$implicit;return r.oxw(2).selectPage(O),r.KtG(g.preventDefault())}),r.YNc(1,A,0,0,"ng-template",8),r.qZA()}if(2&c){const a=r.oxw().$implicit,u=r.oxw(),g=u.disabled,O=u.$implicit,P=r.oxw(),ae=r.MAs(11);r.uIk("tabindex",g?"-1":null)("aria-disabled",g?"true":null),r.xp6(),r.Q6J("ngTemplateOutlet",(null==P.tplNumber?null:P.tplNumber.templateRef)||ae)("ngTemplateOutletContext",r.kEZ(4,D,g,a,O))}}function ne(c,_){if(1&c&&(r.TgZ(0,"li",15),r.YNc(1,S,2,4,"a",16)(2,L,2,8,"a",17),r.qZA()),2&c){const a=_.$implicit,u=r.oxw(),g=u.$implicit,O=u.disabled,P=r.oxw();r.ekj("active",a===g)("disabled",P.isEllipsis(a)||O),r.uIk("aria-current",a===g?"page":null),r.xp6(),r.Q6J("ngIf",P.isEllipsis(a)),r.xp6(),r.Q6J("ngIf",!P.isEllipsis(a))}}function ut(c,_){1&c&&r.YNc(0,ne,3,7,"li",14),2&c&&r.Q6J("ngForOf",_.pages)}function gt(c,_){}const wn=(c,_)=>({disabled:c,currentPage:_});function pi(c,_){if(1&c){const a=r.EpF();r.TgZ(0,"li",15)(1,"a",20),r.NdJ("click",function(g){return r.CHM(a),r.oxw().selectPage(1),r.KtG(g.preventDefault())}),r.YNc(2,gt,0,0,"ng-template",8),r.qZA()()}if(2&c){const a=r.oxw(),u=r.MAs(1);r.ekj("disabled",a.previousDisabled()),r.xp6(),r.uIk("tabindex",a.previousDisabled()?"-1":null)("aria-disabled",a.previousDisabled()?"true":null),r.xp6(),r.Q6J("ngTemplateOutlet",(null==a.tplFirst?null:a.tplFirst.templateRef)||u)("ngTemplateOutletContext",r.WLB(6,wn,a.previousDisabled(),a.page))}}function Pt(c,_){}const Ri=c=>({disabled:c});function cr(c,_){if(1&c){const a=r.EpF();r.TgZ(0,"li",15)(1,"a",21),r.NdJ("click",function(g){r.CHM(a);const O=r.oxw();return O.selectPage(O.page-1),r.KtG(g.preventDefault())}),r.YNc(2,Pt,0,0,"ng-template",8),r.qZA()()}if(2&c){const a=r.oxw(),u=r.MAs(3);r.ekj("disabled",a.previousDisabled()),r.xp6(),r.uIk("tabindex",a.previousDisabled()?"-1":null)("aria-disabled",a.previousDisabled()?"true":null),r.xp6(),r.Q6J("ngTemplateOutlet",(null==a.tplPrevious?null:a.tplPrevious.templateRef)||u)("ngTemplateOutletContext",r.VKq(6,Ri,a.previousDisabled()))}}function Br(c,_){}function Nn(c,_){}function Sr(c,_){if(1&c){const a=r.EpF();r.TgZ(0,"li",15)(1,"a",22),r.NdJ("click",function(g){r.CHM(a);const O=r.oxw();return O.selectPage(O.page+1),r.KtG(g.preventDefault())}),r.YNc(2,Nn,0,0,"ng-template",8),r.qZA()()}if(2&c){const a=r.oxw(),u=r.MAs(5);r.ekj("disabled",a.nextDisabled()),r.xp6(),r.uIk("tabindex",a.nextDisabled()?"-1":null)("aria-disabled",a.nextDisabled()?"true":null),r.xp6(),r.Q6J("ngTemplateOutlet",(null==a.tplNext?null:a.tplNext.templateRef)||u)("ngTemplateOutletContext",r.WLB(6,wn,a.nextDisabled(),a.page))}}function So(c,_){}function Ir(c,_){if(1&c){const a=r.EpF();r.TgZ(0,"li",15)(1,"a",23),r.NdJ("click",function(g){r.CHM(a);const O=r.oxw();return O.selectPage(O.pageCount),r.KtG(g.preventDefault())}),r.YNc(2,So,0,0,"ng-template",8),r.qZA()()}if(2&c){const a=r.oxw(),u=r.MAs(7);r.ekj("disabled",a.nextDisabled()),r.xp6(),r.uIk("tabindex",a.nextDisabled()?"-1":null)("aria-disabled",a.nextDisabled()?"true":null),r.xp6(),r.Q6J("ngTemplateOutlet",(null==a.tplLast?null:a.tplLast.templateRef)||u)("ngTemplateOutletContext",r.WLB(6,wn,a.nextDisabled(),a.page))}}const fo=(c,_,a)=>({$implicit:c,pages:_,disabled:a}),M={animation:!0,transitionTimerDelayMs:5};let N=(()=>{class c{constructor(){this.animation=M.animation}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),J=(()=>{class c{constructor(){this._ngbConfig=(0,r.f3M)(N),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(a){this._animation=a}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function hn(c){return"string"==typeof c}function $t(c){return!isNaN(function Ue(c){return parseInt(`${c}`,10)}(c))}function In(c){return null!=c}function mi(c){return(c||document.body).getBoundingClientRect()}function vr(c=document){const _=c?.activeElement;return _?_.shadowRoot?vr(_.shadowRoot):_:null}const Jr=()=>{},{transitionTimerDelayMs:Ao}=M,ns=new Map,ir=(c,_,a,u)=>{let g=u.context||{};const O=ns.get(_);if(O)switch(u.runningTransition){case"continue":return H.E;case"stop":c.run(()=>O.transition$.complete()),g=Object.assign(O.context,g),ns.delete(_)}const P=a(_,u.animation,g)||Jr;if(!u.animation||"none"===window.getComputedStyle(_).transitionProperty)return c.run(()=>P()),(0,B.of)(void 0).pipe(function ur(c){return _=>new s.y(a=>_.subscribe({next:P=>c.run(()=>a.next(P)),error:P=>c.run(()=>a.error(P)),complete:()=>c.run(()=>a.complete())}))}(c));const ae=new F.x,fe=new F.x,Ae=ae.pipe(function Ve(...c){return _=>(0,ze.z)(_,(0,B.of)(...c))}(!0));ns.set(_,{transition$:ae,complete:()=>{fe.next(),fe.complete()},context:g});const Fe=function Se(c){const{transitionDelay:_,transitionDuration:a}=window.getComputedStyle(c);return 1e3*(parseFloat(_)+parseFloat(a))}(_);return c.runOutsideAngular(()=>{const lt=Me(_,"transitionend").pipe((0,He.R)(Ae),(0,pt.h)(({target:dt})=>dt===_));Ke((0,_t.H)(Fe+Ao).pipe((0,He.R)(Ae)),lt,fe).pipe((0,He.R)(Ae)).subscribe(()=>{ns.delete(_),c.run(()=>{P(),ae.next(),ae.complete()})})}),ae.asObservable()},gc=(c,_,a)=>{let{direction:u,maxSize:g,dimension:O}=a;const{classList:P}=c;function ae(){P.add("collapse"),"show"===u?P.add("show"):P.remove("show")}if(_)return g||(g=function ya(c,_){if(typeof navigator>"u")return"0px";const{classList:a}=c,u=a.contains("show");u||a.add("show"),c.style[_]="";const g=c.getBoundingClientRect()[_]+"px";return u||a.remove("show"),g}(c,O),a.maxSize=g,c.style[O]="show"!==u?g:"0px",P.remove("collapse"),P.remove("collapsing"),P.remove("show"),mi(c),P.add("collapsing")),c.style[O]="show"===u?g:"0px",()=>{ae(),P.remove("collapsing"),c.style[O]=""};ae()};let dr=(()=>{class c{constructor(){this._ngbConfig=(0,r.f3M)(N),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(a){this._animation=a}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ba=(()=>{class c{constructor(){this._config=(0,r.f3M)(dr),this._element=(0,r.f3M)(r.SBq),this._zone=(0,r.f3M)(r.R0b),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new r.vpe,this.horizontal=this._config.horizontal,this.shown=new r.vpe,this.hidden=new r.vpe}set collapsed(a){this._isCollapsed!==a&&(this._isCollapsed=a,this._afterInit&&this._runTransitionWithEvents(a,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(a=this._isCollapsed){this.collapsed=!a,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(a,u){return ir(this._zone,this._element.nativeElement,gc,{animation:u,runningTransition:"stop",context:{direction:a?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(a,u){this._runTransition(a,u).subscribe(()=>{a?this.hidden.emit():this.shown.emit()})}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(u,g){2&u&&r.ekj("collapse-horizontal",g.horizontal)},inputs:{animation:"animation",collapsed:[r.lbL.None,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}return c})(),Ca=0,Js=(()=>{class c{constructor(){this._appRef=(0,r.f3M)(r.z2F),this._element=(0,r.f3M)(r.SBq).nativeElement,this._item=(0,r.f3M)(fr),this._viewRef=null}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){this._viewRef&&(this._appRef.detachView(this._viewRef),this._viewRef.destroy(),this._viewRef=null)}_createViewIfNotExists(){if(!this._viewRef){this._viewRef=this._bodyTpl.createEmbeddedView(null),this._viewRef.detectChanges(),this._appRef.attachView(this._viewRef);for(const a of this._viewRef.rootNodes)this._element.appendChild(a)}}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordionBody",""]],contentQueries:function(u,g,O){if(1&u&&r.Suo(O,r.Rgc,7),2&u){let P;r.iGM(P=r.CRH())&&(g._bodyTpl=P.first)}},hostVars:2,hostBindings:function(u,g){2&u&&r.ekj("accordion-body",!0)},standalone:!0})}return c})(),Da=(()=>{class c{constructor(){this.item=(0,r.f3M)(fr),this.ngbCollapse=(0,r.f3M)(ba)}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region"],hostVars:4,hostBindings:function(u,g){2&u&&(r.Ikx("id",g.item.collapseId),r.uIk("aria-labelledby",g.item.toggleId),r.ekj("accordion-collapse",!0))},exportAs:["ngbAccordionCollapse"],standalone:!0,features:[r.zW0([ba])]})}return c})(),wa=(()=>{class c{constructor(){this.item=(0,r.f3M)(fr),this.accordion=(0,r.f3M)(bi)}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(u,g){1&u&&r.NdJ("click",function(){return!g.item.disabled&&g.accordion.toggle(g.item.id)}),2&u&&(r.Ikx("id",g.item.toggleId),r.uIk("aria-controls",g.item.collapseId)("aria-expanded",!g.item.collapsed),r.ekj("collapsed",g.item.collapsed))},standalone:!0})}return c})(),po=(()=>{class c{constructor(){this.item=(0,r.f3M)(fr)}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading"],hostVars:4,hostBindings:function(u,g){2&u&&r.ekj("accordion-header",!0)("collapsed",g.item.collapsed)},standalone:!0})}return c})(),fr=(()=>{class c{constructor(){this._accordion=(0,r.f3M)(bi),this._cd=(0,r.f3M)(r.sBO),this._destroyRef=(0,r.f3M)(r.ktI),this._collapsed=!0,this._id="ngb-accordion-item-"+Ca++,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new r.vpe,this.shown=new r.vpe,this.hide=new r.vpe,this.hidden=new r.vpe}set id(a){hn(a)&&""!==a&&(this._id=a)}set destroyOnHide(a){this._destroyOnHide=a}get destroyOnHide(){return void 0===this._destroyOnHide?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(a){a?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){const{ngbCollapse:a}=this._collapse;a.animation=!1,a.collapsed=this.collapsed,a.animation=this._accordion.animation,a.hidden.pipe((0,w.sL)(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id)}),a.shown.pipe((0,w.sL)(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id)})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordionItem",""]],contentQueries:function(u,g,O){if(1&u&&r.Suo(O,Da,7),2&u){let P;r.iGM(P=r.CRH())&&(g._collapse=P.first)}},hostVars:3,hostBindings:function(u,g){2&u&&(r.Ikx("id",g.id),r.ekj("accordion-item",!0))},inputs:{id:[r.lbL.None,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"],standalone:!0})}return c})(),bi=(()=>{class c{constructor(){this._config=(0,r.f3M)(J),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new r.vpe,this.shown=new r.vpe,this.hide=new r.vpe,this.hidden=new r.vpe}toggle(a){this._getItem(a)?.toggle()}expand(a){this._getItem(a)?.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(a=>!a.collapsed)||this._items.first.expand():this._items.forEach(a=>a.expand()))}collapse(a){this._getItem(a)?.collapse()}collapseAll(){this._items?.forEach(a=>a.collapse())}isExpanded(a){const u=this._getItem(a);return!!u&&!u.collapsed}_ensureCanExpand(a){return!(this.closeOthers&&(this._items?(this._items.find(u=>!u.collapsed&&a!==u)?.collapse(),0):this._anItemWasAlreadyExpandedDuringInitialisation||(this._anItemWasAlreadyExpandedDuringInitialisation=!0,0)))}_getItem(a){return this._items?.find(u=>u.id===a)}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbAccordion",""]],contentQueries:function(u,g,O){if(1&u&&r.Suo(O,fr,4),2&u){let P;r.iGM(P=r.CRH())&&(g._items=P)}},hostVars:2,hostBindings:function(u,g){2&u&&r.ekj("accordion",!0)},inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0})}return c})(),No=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),xo=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),ul=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),Ru=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})();var gn=function(c){return c[c.Tab=9]="Tab",c[c.Enter=13]="Enter",c[c.Escape=27]="Escape",c[c.Space=32]="Space",c[c.PageUp=33]="PageUp",c[c.PageDown=34]="PageDown",c[c.End=35]="End",c[c.Home=36]="Home",c[c.ArrowLeft=37]="ArrowLeft",c[c.ArrowUp=38]="ArrowUp",c[c.ArrowRight=39]="ArrowRight",c[c.ArrowDown=40]="ArrowDown",c}(gn||{});const I=(c,_)=>!!_&&_.some(a=>a.contains(c)),U=(c,_)=>!_||null!=function Zn(c,_){return!_||typeof c.closest>"u"?null:c.closest(_)}(c,_),K=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function ve(c,_,a,u,g,O,P,ae){a&&c.runOutsideAngular((c=>K?()=>setTimeout(()=>c(),100):c)(()=>{const Ae=Me(_,"keydown").pipe((0,He.R)(g),(0,pt.h)(st=>st.which===gn.Escape),(0,vt.b)(st=>st.preventDefault())),Fe=Me(_,"mousedown").pipe((0,Ft.U)(st=>{const dt=st.target;return 2!==st.button&&!I(dt,P)&&("inside"===a?I(dt,O)&&U(dt,ae):"outside"===a?!I(dt,O):U(dt,ae)||!I(dt,O))}),(0,He.R)(g)),lt=Me(_,"mouseup").pipe(De(Fe),(0,pt.h)(([st,dt])=>dt),(0,Ge.g)(0),(0,He.R)(g));Ke([Ae.pipe((0,Ft.U)(st=>0)),lt.pipe((0,Ft.U)(st=>1))]).subscribe(st=>c.run(()=>u(st)))}))}const ct=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function jt(c){const _=Array.from(c.querySelectorAll(ct)).filter(a=>-1!==a.tabIndex);return[_[0],_[_.length-1]]}let Qn=(()=>{class c{constructor(){this._element=(0,r.f3M)(ye.K0).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ps=/\s+/,ai=/ +/gi,Ar={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},go=/^left/,Hf=/^right/,Bu=/^start/,$f=/^end/;function Cc({placement:c,baseClass:_},a){let u=Array.isArray(c)?c:c.split(Ps),O=u.findIndex(Ae=>"auto"===Ae);O>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Ae){null==u.find(Fe=>-1!==Fe.search("^"+Ae))&&u.splice(O++,1,Ae)});const P=u.map(Ae=>function Pn(c,_){const[a,u]=Ar[c];return _&&u||a}(Ae,a.isRTL()));return{placement:P.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!_,phase:"write",fn({state:Ae}){const Fe=new RegExp(_+"(-[a-z]+)*","gi"),lt=Ae.elements.popper,st=Ae.placement;let dt=lt.className;dt=dt.replace(Fe,""),dt+=` ${function Uu(c,_){let[a,u]=_.split("-");const g=a.replace(go,"start").replace(Hf,"end");let O=[g];if(u){let P=u;("left"===a||"right"===a)&&(P=P.replace(Bu,"top").replace($f,"bottom")),O.push(`${g}-${P}`)}return c&&(O=O.map(P=>`${c}-${P}`)),O.join(" ")}(_,st)}`,dt=dt.trim().replace(ai," "),lt.className=dt}},fn,ee,Mt,{enabled:!0,name:"flip",options:{fallbackPlacements:P}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function Aa(c){return c}function mo(){const c=(0,r.f3M)(Qn);let _=null;return{createPopper(a){if(!_){let g=(a.updatePopperOptions||Aa)(Cc(a,c));_=hi(a.hostElement,a.targetElement,g)}},update(){_&&_.update()},setOptions(a){if(_){let g=(a.updatePopperOptions||Aa)(Cc(a,c));_.setOptions(g)}},destroy(){_&&(_.destroy(),_=null)}}}function Pa(c){return _=>(_.modifiers.push(ao,{name:"offset",options:{offset:()=>c}}),_)}new Date(1882,10,12),new Date(2174,10,25);let Fs=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),eh=(()=>{class c{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=a=>a,this.container=null}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),bl=(()=>{class c{constructor(){this._disabled=!1,this.nativeElement=(0,r.f3M)(r.SBq).nativeElement}set disabled(a){this._disabled=""===a||!0===a}get disabled(){return this._disabled}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(u,g){2&u&&(r.Ikx("tabIndex",g.disabled?-1:0),r.ekj("disabled",g.disabled))},inputs:{disabled:"disabled"},standalone:!0})}return c})(),Mc=(()=>{class c{constructor(){this.dropdown=(0,r.f3M)(Zi),this.nativeElement=(0,r.f3M)(r.SBq).nativeElement}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(u,g,O){if(1&u&&r.Suo(O,bl,4),2&u){let P;r.iGM(P=r.CRH())&&(g.menuItems=P)}},hostVars:4,hostBindings:function(u,g){1&u&&r.NdJ("keydown.ArrowUp",function(P){return g.dropdown.onKeyDown(P)})("keydown.ArrowDown",function(P){return g.dropdown.onKeyDown(P)})("keydown.Home",function(P){return g.dropdown.onKeyDown(P)})("keydown.End",function(P){return g.dropdown.onKeyDown(P)})("keydown.Enter",function(P){return g.dropdown.onKeyDown(P)})("keydown.Space",function(P){return g.dropdown.onKeyDown(P)})("keydown.Tab",function(P){return g.dropdown.onKeyDown(P)})("keydown.Shift.Tab",function(P){return g.dropdown.onKeyDown(P)}),2&u&&r.ekj("dropdown-menu",!0)("show",g.dropdown.isOpen())},standalone:!0})}return c})(),is=(()=>{class c{constructor(){this.dropdown=(0,r.f3M)(Zi),this.nativeElement=(0,r.f3M)(r.SBq).nativeElement}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(u,g){2&u&&(r.uIk("aria-expanded",g.dropdown.isOpen()),r.ekj("show",g.dropdown.isOpen()))},standalone:!0})}return c})(),Ju=(()=>{class c extends is{static#e=this.\u0275fac=(()=>{let a;return function(g){return(a||(a=r.n5z(c)))(g||c)}})();static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(u,g){1&u&&r.NdJ("click",function(){return g.dropdown.toggle()})("keydown.ArrowUp",function(P){return g.dropdown.onKeyDown(P)})("keydown.ArrowDown",function(P){return g.dropdown.onKeyDown(P)})("keydown.Home",function(P){return g.dropdown.onKeyDown(P)})("keydown.End",function(P){return g.dropdown.onKeyDown(P)})("keydown.Tab",function(P){return g.dropdown.onKeyDown(P)})("keydown.Shift.Tab",function(P){return g.dropdown.onKeyDown(P)}),2&u&&(r.uIk("aria-expanded",g.dropdown.isOpen()),r.ekj("show",g.dropdown.isOpen()))},standalone:!0,features:[r._Bn([{provide:is,useExisting:(0,r.Gpc)(()=>c)}]),r.qOj]})}return c})(),Zi=(()=>{class c{constructor(){this._changeDetector=(0,r.f3M)(r.sBO),this._config=(0,r.f3M)(eh),this._document=(0,r.f3M)(ye.K0),this._ngZone=(0,r.f3M)(r.R0b),this._nativeElement=(0,r.f3M)(r.SBq).nativeElement,this._destroyCloseHandlers$=new F.x,this._bodyContainer=null,this._positioning=mo(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new r.vpe}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,Ot.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(a){if(a.container&&this._open&&this._applyContainer(this.container),a.placement&&!a.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),a.dropdownClass){const{currentValue:u,previousValue:g}=a.dropdownClass;this._applyCustomDropdownClass(u,g)}a.autoClose&&this._open&&(this.autoClose=a.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:a=>this.popperOptions(Pa([0,2])(a))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),ve(this._ngZone,this._document,this.autoClose,a=>{this.close(),0===a&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(a){const u=a.which,g=this._getMenuElements();let O=-1,P=null;const ae=this._isEventFromToggle(a);if(!ae&&g.length&&g.forEach((fe,Ae)=>{fe.contains(a.target)&&(P=fe),fe===vr(this._document)&&(O=Ae)}),u!==gn.Space&&u!==gn.Enter){if(u!==gn.Tab){if(ae||P){if(this.open(),g.length){switch(u){case gn.ArrowDown:O=Math.min(O+1,g.length-1);break;case gn.ArrowUp:if(this._isDropup()&&-1===O){O=g.length-1;break}O=Math.max(O-1,0);break;case gn.Home:O=0;break;case gn.End:O=g.length-1}g[O].focus()}a.preventDefault()}}else if(a.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===a.target)return void("body"!==this.container||a.shiftKey?a.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const fe=this._menu.nativeElement.querySelectorAll(ct);a.shiftKey&&a.target===fe[0]?(this._anchor.nativeElement.focus(),a.preventDefault()):!a.shiftKey&&a.target===fe[fe.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else Me(a.target,"focusout").pipe((0,Ot.q)(1)).subscribe(({relatedTarget:fe})=>{this._nativeElement.contains(fe)||this.close()})}}else P&&(!0===this.autoClose||"inside"===this.autoClose)&&Me(P,"click").pipe((0,Ot.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(a){return this._anchor.nativeElement.contains(a.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:a})=>!a).map(({nativeElement:a})=>a):[]}_positionMenu(){const a=this._menu;this.isOpen()&&a&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(a){return Array.isArray(a)?a[0]:a.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(a=null){if(this._resetContainer(),"body"===a){const u=this._menu.nativeElement,g=this._bodyContainer=this._bodyContainer||this._document.createElement("div");g.style.position="absolute",u.style.position="static",g.style.zIndex="1055",g.appendChild(u),this._document.body.appendChild(g)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(a,u){const g="body"===this.container?this._bodyContainer:this._nativeElement;g&&(u&&g.classList.remove(u),a&&g.classList.add(a))}_applyPlacementClasses(a){if(this._menu){a||(a=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const u=-1!==a.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(u),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(u))}}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbDropdown",""]],contentQueries:function(u,g,O){if(1&u&&(r.Suo(O,Mc,5),r.Suo(O,is,5)),2&u){let P;r.iGM(P=r.CRH())&&(g._menu=P.first),r.iGM(P=r.CRH())&&(g._anchor=P.first)}},hostVars:2,hostBindings:function(u,g){2&u&&r.ekj("show",g.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[r.lbL.None,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[r.TTD]})}return c})(),Cl=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),Dl=(()=>{class c{constructor(){this._ngbConfig=(0,r.f3M)(N),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(a){this._animation=a}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class vo{constructor(_,a,u){this.nodes=_,this.viewRef=a,this.componentRef=u}}class Tc{constructor(_){this._componentType=_,this._windowRef=null,this._contentRef=null,this._document=(0,r.f3M)(ye.K0),this._applicationRef=(0,r.f3M)(r.z2F),this._injector=(0,r.f3M)(r.zs3),this._viewContainerRef=(0,r.f3M)(r.s_b),this._ngZone=(0,r.f3M)(r.R0b)}open(_,a,u=!1){this._windowRef||(this._contentRef=this._getContentRef(_,a),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:g}=this._windowRef.location,O=this._ngZone.onStable.pipe((0,Ot.q)(1),(0,Y.z)(()=>ir(this._ngZone,g,({classList:P})=>P.add("show"),{animation:u,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:O}}close(_=!1){return this._windowRef?ir(this._ngZone,this._windowRef.location.nativeElement,({classList:a})=>a.remove("show"),{animation:_,runningTransition:"stop"}).pipe((0,vt.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,B.of)(void 0)}_getContentRef(_,a){if(_){if(_ instanceof r.Rgc){const u=_.createEmbeddedView(a);return this._applicationRef.attachView(u),new vo([u.rootNodes],u)}return new vo([[this._document.createTextNode(`${_}`)]])}return new vo([])}}let Bg=(()=>{class c{constructor(){this._document=(0,r.f3M)(ye.K0)}hide(){const a=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),u=this._document.body,g=u.style,{overflow:O,paddingRight:P}=g;if(a>0){const ae=parseFloat(window.getComputedStyle(u).paddingRight);g.paddingRight=`${ae+a}px`}return g.overflow="hidden",()=>{a>0&&(g.paddingRight=P),g.overflow=O}}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Qu=(()=>{class c{constructor(){this._nativeElement=(0,r.f3M)(r.SBq).nativeElement,this._zone=(0,r.f3M)(r.R0b)}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Ot.q)(1)).subscribe(()=>{ir(this._zone,this._nativeElement,(a,u)=>{u&&mi(a),a.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return ir(this._zone,this._nativeElement,({classList:a})=>a.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(u,g){2&u&&(r.Tol("modal-backdrop"+(g.backdropClass?" "+g.backdropClass:"")),r.ekj("show",!g.animation)("fade",g.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[r.jDz],decls:0,vars:0,template:function(u,g){},encapsulation:2})}return c})();class th{update(_){}close(_){}dismiss(_){}}const Nr=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Sc=["animation","backdropClass"];class ra{_applyWindowOptions(_,a){Nr.forEach(u=>{In(a[u])&&(_[u]=a[u])})}_applyBackdropOptions(_,a){Sc.forEach(u=>{In(a[u])&&(_[u]=a[u])})}update(_){this._applyWindowOptions(this._windowCmptRef.instance,_),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,_)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,He.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,He.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(_,a,u,g){this._windowCmptRef=_,this._contentRef=a,this._backdropCmptRef=u,this._beforeDismiss=g,this._closed=new F.x,this._dismissed=new F.x,this._hidden=new F.x,_.instance.dismissEvent.subscribe(O=>{this.dismiss(O)}),this.result=new Promise((O,P)=>{this._resolve=O,this._reject=P}),this.result.then(null,()=>{})}close(_){this._windowCmptRef&&(this._closed.next(_),this._resolve(_),this._removeModalElements())}_dismiss(_){this._dismissed.next(_),this._reject(_),this._removeModalElements()}dismiss(_){if(this._windowCmptRef)if(this._beforeDismiss){const a=this._beforeDismiss();!function yn(c){return c&&c.then}(a)?!1!==a&&this._dismiss(_):a.then(u=>{!1!==u&&this._dismiss(_)},()=>{})}else this._dismiss(_)}_removeModalElements(){const _=this._windowCmptRef.instance.hide(),a=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,B.of)(void 0);_.subscribe(()=>{const{nativeElement:u}=this._windowCmptRef.location;u.parentNode.removeChild(u),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),a.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:u}=this._backdropCmptRef.location;u.parentNode.removeChild(u),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Le(_,a).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Xu=function(c){return c[c.BACKDROP_CLICK=0]="BACKDROP_CLICK",c[c.ESC=1]="ESC",c}(Xu||{});let ed=(()=>{class c{constructor(){this._document=(0,r.f3M)(ye.K0),this._elRef=(0,r.f3M)(r.SBq),this._zone=(0,r.f3M)(r.R0b),this._closed$=new F.x,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe,this.shown=new F.x,this.hidden=new F.x}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":hn(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(a){this.dismissEvent.emit(a)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Ot.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:a}=this._elRef,u={animation:this.animation,runningTransition:"stop"},P=Le(ir(this._zone,a,()=>a.classList.remove("show"),u),ir(this._zone,this._dialogEl.nativeElement,()=>{},u));return P.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),P}_show(){const a={animation:this.animation,runningTransition:"continue"};Le(ir(this._zone,this._elRef.nativeElement,(O,P)=>{P&&mi(O),O.classList.add("show")},a),ir(this._zone,this._dialogEl.nativeElement,()=>{},a)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:a}=this._elRef;this._zone.runOutsideAngular(()=>{Me(a,"keydown").pipe((0,He.R)(this._closed$),(0,pt.h)(g=>g.which===gn.Escape)).subscribe(g=>{this.keyboard?requestAnimationFrame(()=>{g.defaultPrevented||this._zone.run(()=>this.dismiss(Xu.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let u=!1;Me(this._dialogEl.nativeElement,"mousedown").pipe((0,He.R)(this._closed$),(0,vt.b)(()=>u=!1),(0,he.w)(()=>Me(a,"mouseup").pipe((0,He.R)(this._closed$),(0,Ot.q)(1))),(0,pt.h)(({target:g})=>a===g)).subscribe(()=>{u=!0}),Me(a,"click").pipe((0,He.R)(this._closed$)).subscribe(({target:g})=>{a===g&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!u&&this._zone.run(()=>this.dismiss(Xu.BACKDROP_CLICK))),u=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:a}=this._elRef;if(!a.contains(document.activeElement)){const u=a.querySelector("[ngbAutofocus]"),g=jt(a)[0];(u||g||a).focus()}}_restoreFocus(){const a=this._document.body,u=this._elWithFocus;let g;g=u&&u.focus&&a.contains(u)?u:a,this._zone.runOutsideAngular(()=>{setTimeout(()=>g.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&ir(this._zone,this._elRef.nativeElement,({classList:a})=>(a.add("modal-static"),()=>a.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["ngb-modal-window"]],viewQuery:function(u,g){if(1&u&&r.Gf(uo,7),2&u){let O;r.iGM(O=r.CRH())&&(g._dialogEl=O.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(u,g){2&u&&(r.uIk("aria-modal",!0)("aria-labelledby",g.ariaLabelledBy)("aria-describedby",g.ariaDescribedBy),r.Tol("modal d-block"+(g.windowClass?" "+g.windowClass:"")),r.ekj("fade",g.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[r.jDz],ngContentSelectors:Ni,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(u,g){1&u&&(r.F$t(),r.TgZ(0,"div",0,1)(2,"div",2),r.Hsn(3),r.qZA()()),2&u&&r.Tol("modal-dialog"+(g.size?" modal-"+g.size:"")+(g.centered?" modal-dialog-centered":"")+g.fullscreenClass+(g.scrollable?" modal-dialog-scrollable":"")+(g.modalDialogClass?" "+g.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return c})(),nh=(()=>{class c{constructor(){this._applicationRef=(0,r.f3M)(r.z2F),this._injector=(0,r.f3M)(r.zs3),this._environmentInjector=(0,r.f3M)(r.lqb),this._document=(0,r.f3M)(ye.K0),this._scrollBar=(0,r.f3M)(Bg),this._activeWindowCmptHasChanged=new F.x,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new r.vpe;const a=(0,r.f3M)(r.R0b);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const u=this._windowCmpts[this._windowCmpts.length-1];((c,_,a,u=!1)=>{c.runOutsideAngular(()=>{const g=Me(_,"focusin").pipe((0,He.R)(a),(0,Ft.U)(O=>O.target));Me(_,"keydown").pipe((0,He.R)(a),(0,pt.h)(O=>O.which===gn.Tab),De(g)).subscribe(([O,P])=>{const[ae,fe]=jt(_);(P===ae||P===_)&&O.shiftKey&&(fe.focus(),O.preventDefault()),P===fe&&!O.shiftKey&&(ae.focus(),O.preventDefault())}),u&&Me(_,"click").pipe((0,He.R)(a),De(g),(0,Ft.U)(O=>O[1])).subscribe(O=>O.focus())})})(a,u.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(u.location.nativeElement)}})}_restoreScrollBar(){const a=this._scrollBarRestoreFn;a&&(this._scrollBarRestoreFn=null,a())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(a,u,g){const O=g.container instanceof HTMLElement?g.container:In(g.container)?this._document.querySelector(g.container):this._document.body;if(!O)throw new Error(`The specified modal container "${g.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const P=new th,ae=(a=g.injector||a).get(r.lqb,null)||this._environmentInjector,fe=this._getContentRef(a,ae,u,P,g);let Ae=!1!==g.backdrop?this._attachBackdrop(O):void 0,Fe=this._attachWindowComponent(O,fe.nodes),lt=new ra(Fe,fe,Ae,g.beforeDismiss);return this._registerModalRef(lt),this._registerWindowCmpt(Fe),lt.hidden.pipe((0,Ot.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),P.close=st=>{lt.close(st)},P.dismiss=st=>{lt.dismiss(st)},P.update=st=>{lt.update(st)},lt.update(g),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),Ae&&Ae.instance&&Ae.changeDetectorRef.detectChanges(),Fe.changeDetectorRef.detectChanges(),lt}get activeInstances(){return this._activeInstances}dismissAll(a){this._modalRefs.forEach(u=>u.dismiss(a))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(a){let u=(0,r.LMc)(Qu,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(u.hostView),a.appendChild(u.location.nativeElement),u}_attachWindowComponent(a,u){let g=(0,r.LMc)(ed,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:u});return this._applicationRef.attachView(g.hostView),a.appendChild(g.location.nativeElement),g}_getContentRef(a,u,g,O,P){return g?g instanceof r.Rgc?this._createFromTemplateRef(g,O):hn(g)?this._createFromString(g):this._createFromComponent(a,u,g,O,P):new vo([])}_createFromTemplateRef(a,u){const O=a.createEmbeddedView({$implicit:u,close(P){u.close(P)},dismiss(P){u.dismiss(P)}});return this._applicationRef.attachView(O),new vo([O.rootNodes],O)}_createFromString(a){const u=this._document.createTextNode(`${a}`);return new vo([[u]])}_createFromComponent(a,u,g,O,P){const ae=r.zs3.create({providers:[{provide:th,useValue:O}],parent:a}),fe=(0,r.LMc)(g,{environmentInjector:u,elementInjector:ae}),Ae=fe.location.nativeElement;return P.scrollable&&Ae.classList.add("component-host-scrollable"),this._applicationRef.attachView(fe.hostView),new vo([[Ae]],fe.hostView,fe)}_setAriaHidden(a){const u=a.parentElement;u&&a!==this._document.body&&(Array.from(u.children).forEach(g=>{g!==a&&"SCRIPT"!==g.nodeName&&(this._ariaHiddenValues.set(g,g.getAttribute("aria-hidden")),g.setAttribute("aria-hidden","true"))}),this._setAriaHidden(u))}_revertAriaHidden(){this._ariaHiddenValues.forEach((a,u)=>{a?u.setAttribute("aria-hidden",a):u.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(a){const u=()=>{const g=this._modalRefs.indexOf(a);g>-1&&(this._modalRefs.splice(g,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(a),this._activeInstances.emit(this._modalRefs),a.result.then(u,u)}_registerWindowCmpt(a){this._windowCmpts.push(a),this._activeWindowCmptHasChanged.next(),a.onDestroy(()=>{const u=this._windowCmpts.indexOf(a);u>-1&&(this._windowCmpts.splice(u,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),td=(()=>{class c{constructor(){this._injector=(0,r.f3M)(r.zs3),this._modalStack=(0,r.f3M)(nh),this._config=(0,r.f3M)(Dl)}open(a,u={}){const g={...this._config,animation:this._config.animation,...u};return this._modalStack.open(this._injector,a,g)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(a){this._modalStack.dismissAll(a)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),nd=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({providers:[td]})}return c})(),od=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),sa=(()=>{class c{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),aa=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0})}return c})(),sd=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0})}return c})(),ah=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0})}return c})(),Sl=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0})}return c})(),ad=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0})}return c})(),ld=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0})}return c})(),cd=(()=>{class c{constructor(a){this.templateRef=a}static#e=this.\u0275fac=function(u){return new(u||c)(r.Y36(r.Rgc))};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0})}return c})(),ud=(()=>{class c{constructor(){this._config=(0,r.f3M)(sa),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boundaryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new r.vpe(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(a){this._updatePages(a)}ngOnChanges(a){this._updatePages(this.page)}isEllipsis(a){return-1===a}_applyEllipses(a,u){this.ellipses&&(a>0&&(a>2?this.pages.unshift(-1):2===a&&this.pages.unshift(2),this.pages.unshift(1)),u<this.pageCount&&(u<this.pageCount-2?this.pages.push(-1):u===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let a=0,u=this.pageCount,g=Math.floor(this.maxSize/2);return this.page<=g?u=this.maxSize:this.pageCount-this.page<g?a=this.pageCount-this.maxSize:(a=this.page-g-1,u=this.page+(this.maxSize%2==0?g-1:g)),[a,u]}_applyPagination(){let u=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[u,u+this.maxSize]}_setPageInRange(a){const u=this.page;this.page=function Ln(c,_,a=0){return Math.max(Math.min(c,_),a)}(a,this.pageCount,1),this.page!==u&&$t(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(a){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),$t(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let u=1;u<=this.pageCount;u++)this.pages.push(u);if(this._setPageInRange(a),this.maxSize>0&&this.pageCount>this.maxSize){let u=0,g=this.pageCount;[u,g]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(u,g),this._applyEllipses(u,g)}}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["ngb-pagination"]],contentQueries:function(u,g,O){if(1&u&&(r.Suo(O,aa,5),r.Suo(O,sd,5),r.Suo(O,ah,5),r.Suo(O,Sl,5),r.Suo(O,ad,5),r.Suo(O,ld,5),r.Suo(O,cd,5)),2&u){let P;r.iGM(P=r.CRH())&&(g.tplEllipsis=P.first),r.iGM(P=r.CRH())&&(g.tplFirst=P.first),r.iGM(P=r.CRH())&&(g.tplLast=P.first),r.iGM(P=r.CRH())&&(g.tplNext=P.first),r.iGM(P=r.CRH())&&(g.tplNumber=P.first),r.iGM(P=r.CRH())&&(g.tplPrevious=P.first),r.iGM(P=r.CRH())&&(g.tplPages=P.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[r.TTD,r.jDz],decls:20,vars:12,consts:()=>{let a,u,g,O,P,ae,fe,Ae;return a=$localize`:@@ngb.pagination.first:««`,u=$localize`:@@ngb.pagination.previous:«`,g=$localize`:@@ngb.pagination.next:»`,O=$localize`:@@ngb.pagination.last:»»`,P=$localize`:@@ngb.pagination.first-aria:First`,ae=$localize`:@@ngb.pagination.previous-aria:Previous`,fe=$localize`:@@ngb.pagination.next-aria:Next`,Ae=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],a,u,g,O,["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",P,"href","",1,"page-link",3,"click"],["aria-label",ae,"href","",1,"page-link",3,"click"],["aria-label",fe,"href","",1,"page-link",3,"click"],["aria-label",Ae,"href","",1,"page-link",3,"click"]]},template:function(u,g){if(1&u&&(r.YNc(0,ti,2,0,"ng-template",null,0,r.W1O)(2,Mo,2,0,"ng-template",null,1,r.W1O)(4,Ko,2,0,"ng-template",null,2,r.W1O)(6,mr,2,0,"ng-template",null,3,r.W1O)(8,To,1,0,"ng-template",null,4,r.W1O)(10,pa,1,1,"ng-template",null,5,r.W1O)(12,ut,1,1,"ng-template",null,6,r.W1O),r.TgZ(14,"ul"),r.YNc(15,pi,3,9,"li",7)(16,cr,3,8,"li",7)(17,Br,0,0,"ng-template",8)(18,Sr,3,9,"li",7)(19,Ir,3,9,"li",7),r.qZA()),2&u){const O=r.MAs(13);r.xp6(14),r.Tol("pagination"+(g.size?" pagination-"+g.size:"")),r.xp6(),r.Q6J("ngIf",g.boundaryLinks),r.xp6(),r.Q6J("ngIf",g.directionLinks),r.xp6(),r.Q6J("ngTemplateOutlet",(null==g.tplPages?null:g.tplPages.templateRef)||O)("ngTemplateOutletContext",r.kEZ(8,fo,g.page,g.pages,g.disabled)),r.xp6(),r.Q6J("ngIf",g.directionLinks),r.xp6(),r.Q6J("ngIf",g.boundaryLinks)}},dependencies:[ye.O5,ye.ax,ye.tP],encapsulation:2,changeDetection:0})}return c})(),rs=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})();const dd={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let $a=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),hd=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),xc=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),vd=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),Fc=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),bd=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),_h=(()=>{class c{constructor(){this._ngbConfig=(0,r.f3M)(N),this.autoClose=!0,this.placement="auto",this.popperOptions=a=>a,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(a){this._animation=a}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Yg=0,Cd=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(u,g){2&u&&(r.Ikx("id",g.id),r.Tol("tooltip"+(g.tooltipClass?" "+g.tooltipClass:"")),r.ekj("fade",g.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[r.jDz],ngContentSelectors:Ni,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(u,g){1&u&&(r.F$t(),r._UZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}return c})(),Dd=(()=>{class c{constructor(){this._config=(0,r.f3M)(_h),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new r.vpe,this.hidden=new r.vpe,this._nativeElement=(0,r.f3M)(r.SBq).nativeElement,this._ngZone=(0,r.f3M)(r.R0b),this._document=(0,r.f3M)(ye.K0),this._changeDetector=(0,r.f3M)(r.sBO),this._ngbTooltipWindowId="ngb-tooltip-"+Yg++,this._popupService=new Tc(Cd),this._windowRef=null,this._positioning=mo()}set ngbTooltip(a){this._ngbTooltip=a,!a&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(a){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:u,transition$:g}=this._popupService.open(this._ngbTooltip,a??this.tooltipContext,this.animation);this._windowRef=u,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:O=>this.popperOptions(Pa([0,6])(O))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),ve(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),g.subscribe(()=>this.shown.emit())}}close(a=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(a).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function Il(c,_,a,u,g,O=0,P=0){const ae=function Ac(c){const _=(c||"").trim();if(0===_.length)return[];const a=_.split(/\s+/).map(g=>g.split(":")).map(g=>dd[g[0]]||g),u=a.filter(g=>g.includes("manual"));if(u.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===u.length&&a.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return u.length?[]:a}(_);if(0===ae.length)return()=>{};const fe=new Set,Ae=[];let Fe;function lt(dt,on){c.addEventListener(dt,on),Ae.push(()=>c.removeEventListener(dt,on))}function st(dt,on){clearTimeout(Fe),on>0?Fe=setTimeout(dt,on):dt()}for(const[dt,on]of ae)on?(lt(dt,()=>{fe.add(dt),st(()=>fe.size>0&&u(),O)}),lt(on,()=>{fe.delete(dt),st(()=>0===fe.size&&g(),P)})):lt(dt,()=>a()?st(g,P):st(u,O));return()=>Ae.forEach(dt=>dt())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:a}){a&&this.isOpen()&&this._windowRef.setInput("tooltipClass",a.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(hn(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275dir=r.lG2({type:c,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[r.TTD]})}return c})(),br=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})();new r.OlP("live announcer delay",{providedIn:"root",factory:()=>100});let Md=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})(),Id=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({})}return c})();const bh=[No,xo,ul,Ru,Fs,Cl,nd,od,Id,rs,$a,hd,xc,vd,Fc,bd,br,Md];let Od=(()=>{class c{static#e=this.\u0275fac=function(u){return new(u||c)};static#t=this.\u0275mod=r.oAB({type:c});static#n=this.\u0275inj=r.cJS({imports:[bh,No,xo,ul,Ru,Fs,Cl,nd,od,Id,rs,$a,hd,xc,vd,Fc,bd,br,Md]})}return c})()},6843:(k,E,f)=>{f.d(E,{Fv:()=>F,kp:()=>s});var r=f(9212),w=f(6593);function s(q){return[{provide:H,useFactory:Q=>({...Q?.reduce((X,se)=>({...X,...se}),{}),...q}),deps:[[H,new r.FiY,new r.tp0]],multi:!0}]}const H=new r.OlP("Icons Token");let F=(()=>{class q{constructor(){this._size="1em",this.sanitizer=(0,r.f3M)(w.H7),this.icons=(0,r.f3M)(H)}set name(X){X=function B(q){return q.replace(/([^a-zA-Z0-9])+(.)?/g,(Q,X,se)=>se?se.toUpperCase():"").replace(/[^a-zA-Z\d]/g,"").replace(/^([A-Z])/,Q=>Q.toLowerCase())}(X);for(const se of[...this.icons].reverse())if(se[X])return void(this.template=this.sanitizer.bypassSecurityTrustHtml(se[X]));console.warn(`No icon named ${X} was found. You may need to import it using the withIcons function.`)}set size(X){this._size=function z(q){return null==q?"":/^\d+$/.test(q)?`${q}px`:q}(X)}get size(){return this._size}static#e=this.\u0275fac=function(se){return new(se||q)};static#t=this.\u0275cmp=r.Xpm({type:q,selectors:[["ng-icon"]],hostVars:7,hostBindings:function(se,ge){2&se&&(r.Ikx("innerHTML",ge.template,r.oJD),r.Udp("--ng-icon__size",ge.size)("--ng-icon__stroke-width",ge.strokeWidth)("color",ge.color))},inputs:{name:"name",size:"size",strokeWidth:"strokeWidth",color:"color"},standalone:!0,features:[r.jDz],decls:0,vars:0,template:function(se,ge){},styles:["[_nghost-%COMP%]{display:inline-block;width:var(--ng-icon__size);height:var(--ng-icon__size)}"],changeDetection:0})}return q})()},5861:(k,E,f)=>{function r(s,H,B,F,z,Y,Z){try{var q=s[Y](Z),Q=q.value}catch(X){return void B(X)}q.done?H(Q):Promise.resolve(Q).then(F,z)}function w(s){return function(){var H=this,B=arguments;return new Promise(function(F,z){var Y=s.apply(H,B);function Z(Q){r(Y,F,z,Z,q,"next",Q)}function q(Q){r(Y,F,z,Z,q,"throw",Q)}Z(void 0)})}}f.d(E,{Z:()=>w})},7582:(k,E,f)=>{function X(me,_e,xe,De){return new(xe||(xe=Promise))(function(he,Je){function ue(nt){try{ye(De.next(nt))}catch(Nt){Je(Nt)}}function ke(nt){try{ye(De.throw(nt))}catch(Nt){Je(Nt)}}function ye(nt){nt.done?he(nt.value):function Ge(he){return he instanceof xe?he:new xe(function(Je){Je(he)})}(nt.value).then(ue,ke)}ye((De=De.apply(me,_e||[])).next())})}function Ie(me){return this instanceof Ie?(this.v=me,this):new Ie(me)}function Ee(me,_e,xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ge,De=xe.apply(me,_e||[]),he=[];return Ge={},Je("next"),Je("throw"),Je("return"),Ge[Symbol.asyncIterator]=function(){return this},Ge;function Je(Rt){De[Rt]&&(Ge[Rt]=function(Yt){return new Promise(function(dn,Gt){he.push([Rt,Yt,dn,Gt])>1||ue(Rt,Yt)})})}function ue(Rt,Yt){try{!function ke(Rt){Rt.value instanceof Ie?Promise.resolve(Rt.value.v).then(ye,nt):Nt(he[0][2],Rt)}(De[Rt](Yt))}catch(dn){Nt(he[0][3],dn)}}function ye(Rt){ue("next",Rt)}function nt(Rt){ue("throw",Rt)}function Nt(Rt,Yt){Rt(Yt),he.shift(),he.length&&ue(he[0][0],he[0][1])}}function Ke(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,_e=me[Symbol.asyncIterator];return _e?_e.call(me):(me=function Ye(me){var _e="function"==typeof Symbol&&Symbol.iterator,xe=_e&&me[_e],De=0;if(xe)return xe.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&De>=me.length&&(me=void 0),{value:me&&me[De++],done:!me}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),xe={},De("next"),De("throw"),De("return"),xe[Symbol.asyncIterator]=function(){return this},xe);function De(he){xe[he]=me[he]&&function(Je){return new Promise(function(ue,ke){!function Ge(he,Je,ue,ke){Promise.resolve(ke).then(function(ye){he({value:ye,done:ue})},Je)}(ue,ke,(Je=me[he](Je)).done,Je.value)})}}}f.d(E,{FC:()=>Ee,KL:()=>Ke,mG:()=>X,qq:()=>Ie}),"function"==typeof SuppressedError&&SuppressedError}},k=>{k(k.s=3471)}]);