File "platform-browser.min.89420d4c46ff.js"

Full Path: /home/lacostenacom/public_html/wp/wp./wp-content/plugins/imunify-security/assets/ui-app/assets/static/shared-dependencies/platform-browser.min.89420d4c46ff.js
File size: 44.93 KB
MIME-type: text/plain
Charset: utf-8

System.register(["@angular/core","@angular/common","rxjs","rxjs/operators"],(function(e){"use strict";var t,s,r,n,o,i,a,c,l,u,d,h,p,f,m,y,g,w,v,b,E,T,S,C,A,R,x,N,I,j,O,k,P,L,_,M,D,H,U,z,F,B,q,V,K,$,J,X,G,Z,W,Y,Q,ee,te,se,re,ne,oe,ie,ae,ce,le,ue,de,he,pe;return{setters:[function(e){t=e,e.Injectable,s=e.inject,r=e.NgZone,n=e.InjectionToken,o=e["\u0275InitialRenderPendingTasks"],e.Inject,i=e["\u0275RuntimeError"],a=e.PLATFORM_ID,e.NgModule,c=e["\u0275ENABLED_SSR_FEATURES"],l=e.TransferState,u=e.APP_BOOTSTRAP_LISTENER,d=e.ApplicationRef,h=e.makeEnvironmentProviders,p=e.makeStateKey,f=e.APP_ID,m=e.CSP_NONCE,y=e.Optional,g=e.ViewEncapsulation,w=e.RendererStyleFlags2,v=e.createPlatformFactory,b=e.platformCore,E=e["\u0275INJECTOR_SCOPE"],T=e.ErrorHandler,S=e.RendererFactory2,C=e.ApplicationModule,e.SkipSelf,A=e["\u0275Console"],e.forwardRef,e["\u0275XSS_SECURITY_URL"],R=e.SecurityContext,x=e["\u0275allowSanitizationBypassAndThrow"],N=e["\u0275unwrapSafeValue"],I=e["\u0275_sanitizeUrl"],j=e["\u0275_sanitizeHtml"],O=e["\u0275bypassSanitizationTrustHtml"],k=e["\u0275bypassSanitizationTrustStyle"],P=e["\u0275bypassSanitizationTrustScript"],L=e["\u0275bypassSanitizationTrustUrl"],_=e["\u0275bypassSanitizationTrustResourceUrl"],M=e.Injector,D=e.Version,H=e["\u0275global"],U=e["\u0275internalCreateApplication"],z=e.PLATFORM_INITIALIZER,F=e["\u0275TESTABILITY_GETTER"],B=e["\u0275TESTABILITY"],q=e.Testability,V=e.TestabilityRegistry,K=e["\u0275\u0275inject"],$=e["\u0275withDomHydration"],J=e["\u0275setDocument"],e.ENVIRONMENT_INITIALIZER,e["\u0275formatRuntimeError"]},function(t){X=t.DOCUMENT,G=t,Z=t["\u0275parseCookieValue"],W=t.isPlatformServer,Y=t["\u0275getDOM"],Q=t.XhrFactory,ee=t.CommonModule,te=t["\u0275setRootDomAdapter"],se=t["\u0275PLATFORM_BROWSER_ID"],re=t["\u0275DomAdapter"],e("\u0275getDOM",t["\u0275getDOM"])},function(e){ne=e.of,oe=e.Observable,ie=e.from},function(e){ae=e.concatMap,ce=e.filter,le=e.map,ue=e.finalize,de=e.switchMap,he=e.first,pe=e.tap}],execute:function(){e({bootstrapApplication:function(e,t){return U({rootComponent:e,...ts(t)})},createApplication:function(e){return U(ts(e))},disableDebugTools:function(){ps(ws,null)},enableDebugTools:function(e){return ps(ws,new ys(e)),e},provideClientHydration:function(...e){const t=[],r=new Set;for(const{\u0275providers:s,\u0275kind:n}of e)r.add(n),s.length&&t.push(s);return h([[],r.has(0)?[]:$(),r.has(1)?[]:[{provide:Tt,useFactory:()=>(s(c).add("httpcache"),{isCacheActive:!0})},{provide:Ke,useValue:Ct,multi:!0,deps:[l,Tt]},{provide:u,multi:!0,useFactory:()=>{const e=s(d),t=s(Tt);return()=>{e.isStable.pipe(he((e=>e))).toPromise().then((()=>{t.isCacheActive=!1}))}}}],t])},provideProtractorTestingSupport:function(){return[...os]},withNoDomReuse:function(){return Ns(0)},withNoHttpTransferCache:function(){return Ns(1)},\u0275initDomAdapter:ss});class fe{}class me{}class ye{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const s=e.slice(0,t),r=s.toLowerCase(),n=e.slice(t+1).trim();this.maybeSetNormalizedName(s,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}}))}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach(((e,t)=>{this.setHeaderEntries(t,e)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach((([e,t])=>{this.setHeaderEntries(e,t)}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof ye?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new ye;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof ye?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let s=e.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...s),this.headers.set(t,r);break;case"d":const n=e.value;if(n){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===n.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const s=(Array.isArray(t)?t:[t]).map((e=>e.toString())),r=e.toLowerCase();this.headers.set(r,s),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class ge{encodeKey(e){return be(e)}encodeValue(e){return be(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const we=/%(\d[a-f0-9])/gi,ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function be(e){return encodeURIComponent(e).replace(we,((e,t)=>ve[t]??e))}function Ee(e){return`${e}`}class Te{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new ge,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const s=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const r=e.indexOf("="),[n,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],i=s.get(n)||[];i.push(o),s.set(n,i)}));return s}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const s=e.fromObject[t],r=Array.isArray(s)?s.map(Ee):[Ee(s)];this.map.set(t,r)}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((s=>{const r=e[s];Array.isArray(r)?r.forEach((e=>{t.push({param:s,value:e,op:"a"})})):t.push({param:s,value:r,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new Te({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((e=>this.map.set(e,this.cloneFrom.map.get(e)))),this.updates.forEach((e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(Ee(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const s=t.indexOf(Ee(e.value));-1!==s&&t.splice(s,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}class Se{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function Ce(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ae(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Re(e){return"undefined"!=typeof FormData&&e instanceof FormData}class xe{constructor(e,t,s,r){let n;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==s?s:null,n=r):n=s,n&&(this.reportProgress=!!n.reportProgress,this.withCredentials=!!n.withCredentials,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params)),this.headers||(this.headers=new ye),this.context||(this.context=new Se),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const s=t.indexOf("?"),r=-1===s?"?":s<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new Te,this.urlWithParams=t}serializeBody(){return null===this.body?null:Ce(this.body)||Ae(this.body)||Re(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof Te?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||Re(this.body)?null:Ae(this.body)?this.body.type||null:Ce(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Te?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,s=e.url||this.url,r=e.responseType||this.responseType,n=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,i=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,c=e.params||this.params;const l=e.context??this.context;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),a)),e.setParams&&(c=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),c)),new xe(t,s,n,{params:c,headers:a,context:l,reportProgress:i,responseType:r,withCredentials:o})}}var Ne;!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(Ne||(Ne={}));class Ie{constructor(e,t=200,s="OK"){this.headers=e.headers||new ye,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||s,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class je extends Ie{constructor(e={}){super(e),this.type=Ne.ResponseHeader}clone(e={}){return new je({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Oe extends Ie{constructor(e={}){super(e),this.type=Ne.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Oe({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class ke extends Ie{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Pe(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class Le{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof xe)r=e;else{let n,o;n=s.headers instanceof ye?s.headers:new ye(s.headers),s.params&&(o=s.params instanceof Te?s.params:new Te({fromObject:s.params})),r=new xe(e,t,void 0!==s.body?s.body:null,{headers:n,context:s.context,params:o,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const n=ne(r).pipe(ae((e=>this.handler.handle(e))));if(e instanceof xe||"events"===s.observe)return n;const o=n.pipe(ce((e=>e instanceof Oe)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(le((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return o.pipe(le((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return o.pipe(le((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(le((e=>e.body)))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Te).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,s={}){return this.request("PATCH",e,Pe(s,t))}post(e,t,s={}){return this.request("POST",e,Pe(s,t))}put(e,t,s={}){return this.request("PUT",e,Pe(s,t))}static{this.\u0275fac=function(e){return new(e||Le)(t.\u0275\u0275inject(fe))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}}const _e=/^\)\]\}',?\n/,Me="X-Request-URL";function De(e){if(e.url)return e.url;const t=Me.toLocaleLowerCase();return e.headers.get(t)}class He{constructor(){this.fetchImpl=s(Ue,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=s(r)}handle(e){return new oe((t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(ze,(e=>t.error(new ke({error:e})))),()=>s.abort()}))}async doRequest(e,t,s){const r=this.createRequestInit(e);let n;try{const o=this.fetchImpl(e.urlWithParams,{signal:t,...r});o.then(ze,ze),s.next({type:Ne.Sent}),n=await o}catch(t){return void s.error(new ke({error:t,status:t.status??0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const o=new ye(n.headers),i=n.statusText,a=De(n)??e.urlWithParams;let c=n.status,l=null;if(e.reportProgress&&s.next(new je({headers:o,status:c,statusText:i,url:a})),n.body){const t=n.headers.get("content-length"),r=[],o=n.body.getReader();let i,a,c=0;const u="undefined"!=typeof Zone&&Zone.current;await this.ngZone.runOutsideAngular((async()=>{for(;;){const{done:n,value:l}=await o.read();if(n)break;if(r.push(l),c+=l.length,e.reportProgress){a="text"===e.responseType?(a??"")+(i??=new TextDecoder).decode(l,{stream:!0}):void 0;const r=()=>s.next({type:Ne.DownloadProgress,total:t?+t:void 0,loaded:c,partialText:a});u?u.run(r):r()}}}));const d=this.concatChunks(r,c);try{l=this.parseBody(e,d)}catch(t){return void s.error(new ke({error:t,headers:new ye(n.headers),status:n.status,statusText:n.statusText,url:De(n)??e.urlWithParams}))}}0===c&&(c=l?200:0);c>=200&&c<300?(s.next(new Oe({body:l,headers:o,status:c,statusText:i,url:a})),s.complete()):s.error(new ke({error:l,headers:o,status:c,statusText:i,url:a}))}parseBody(e,t){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(_e,"");return""===e?null:JSON.parse(e);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t]);case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},s=e.withCredentials?"include":void 0;if(e.headers.forEach(((e,s)=>t[e]=s.join(","))),t.Accept??="application/json, text/plain, */*",!t["Content-Type"]){const s=e.detectContentTypeHeader();null!==s&&(t["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:s}}concatChunks(e,t){const s=new Uint8Array(t);let r=0;for(const t of e)s.set(t,r),r+=t.length;return s}static{this.\u0275fac=function(e){return new(e||He)}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}}class Ue{}function ze(){}function Fe(e,t){return t(e)}function Be(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}const qe=new n(""),Ve=new n(""),Ke=new n("");function $e(){let e=null;return(t,r)=>{if(null===e){const t=s(qe,{optional:!0})??[];e=t.reduceRight(Be,Fe)}const n=s(o),i=n.add();return e(t,r).pipe(ue((()=>n.remove(i))))}}class Je extends fe{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=s(o)}handle(e){if(null===this.chain){const e=Array.from(new Set([...this.injector.get(Ve),...this.injector.get(Ke,[])]));this.chain=e.reduceRight(((e,t)=>function(e,t,s){return(r,n)=>s.runInContext((()=>t(r,(t=>e(t,n)))))}(e,t,this.injector)),Fe)}const t=this.pendingTasks.add();return this.chain(e,(e=>this.backend.handle(e))).pipe(ue((()=>this.pendingTasks.remove(t))))}static{this.\u0275fac=function(e){return new(e||Je)(t.\u0275\u0275inject(me),t.\u0275\u0275inject(t.EnvironmentInjector))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}}let Xe,Ge=0;class Ze{}function We(){return"object"==typeof window?window:{}}class Ye{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ge++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new oe((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,i=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,i=!0};const a=()=>{n.parentNode&&n.parentNode.removeChild(n),delete this.callbackMap[s]};return n.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{a(),i?(t.next(new Oe({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new ke({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),n.addEventListener("error",(e=>{a(),t.error(new ke({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(n),t.next({type:Ne.Sent}),()=>{i||this.removeListeners(n),a()}}))}removeListeners(e){Xe||(Xe=this.document.implementation.createHTMLDocument()),Xe.adoptNode(e)}static{this.\u0275fac=function(e){return new(e||Ye)(t.\u0275\u0275inject(Ze),t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac})}}function Qe(e,t){return"JSONP"===e.method?s(Ye).handle(e):t(e)}class et{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>Qe(e,(e=>t.handle(e)))))}static{this.\u0275fac=function(e){return new(e||et)(t.\u0275\u0275inject(t.EnvironmentInjector))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}}const tt=/^\)\]\}',?\n/;class st{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new i(-2800,!1);const t=this.xhrFactory;return(t.\u0275loadImpl?ie(t.\u0275loadImpl()):ne(null)).pipe(de((()=>new oe((s=>{const r=t.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(((e,t)=>r.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&r.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();r.responseType="json"!==t?t:"text"}const n=e.serializeBody();let o=null;const i=()=>{if(null!==o)return o;const t=r.statusText||"OK",s=new ye(r.getAllResponseHeaders()),n=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new je({headers:s,status:r.status,statusText:t,url:n}),o},a=()=>{let{headers:t,status:n,statusText:o,url:a}=i(),c=null;204!==n&&(c=void 0===r.response?r.responseText:r.response),0===n&&(n=c?200:0);let l=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(tt,"");try{c=""!==c?JSON.parse(c):null}catch(t){c=e,l&&(l=!1,c={error:t,text:c})}}l?(s.next(new Oe({body:c,headers:t,status:n,statusText:o,url:a||void 0})),s.complete()):s.error(new ke({error:c,headers:t,status:n,statusText:o,url:a||void 0}))},c=e=>{const{url:t}=i(),n=new ke({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});s.error(n)};let l=!1;const u=t=>{l||(s.next(i()),l=!0);let n={type:Ne.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),"text"===e.responseType&&r.responseText&&(n.partialText=r.responseText),s.next(n)},d=e=>{let t={type:Ne.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),s.next(t)};return r.addEventListener("load",a),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",u),null!==n&&r.upload&&r.upload.addEventListener("progress",d)),r.send(n),s.next({type:Ne.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",a),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",u),null!==n&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})))))}static{this.\u0275fac=function(e){return new(e||st)(t.\u0275\u0275inject(G.XhrFactory))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:st,factory:st.\u0275fac})}}const rt=new n("XSRF_ENABLED"),nt="XSRF-TOKEN",ot=new n("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>nt}),it="X-XSRF-TOKEN",at=new n("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>it});class ct{}class lt{constructor(e,t,s){this.doc=e,this.platform=t,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Z(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(e){return new(e||lt)(t.\u0275\u0275inject(X),t.\u0275\u0275inject(a),t.\u0275\u0275inject(ot))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac})}}function ut(e,t){const r=e.url.toLowerCase();if(!s(rt)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=s(ct).getToken(),o=s(at);return null==n||e.headers.has(o)||(e=e.clone({headers:e.headers.set(o,n)})),t(e)}class dt{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>ut(e,(e=>t.handle(e)))))}static{this.\u0275fac=function(e){return new(e||dt)(t.\u0275\u0275inject(t.EnvironmentInjector))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}}var ht;function pt(e,t){return{\u0275kind:e,\u0275providers:t}}function ft(...e){const t=[Le,st,Je,{provide:fe,useExisting:Je},{provide:me,useExisting:st},{provide:Ve,useValue:ut,multi:!0},{provide:rt,useValue:!0},{provide:ct,useClass:lt}];for(const s of e)t.push(...s.\u0275providers);return h(t)}!function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch"}(ht||(ht={}));const mt=new n("LEGACY_INTERCEPTOR_FN");function yt(){return pt(ht.LegacyInterceptors,[{provide:mt,useFactory:$e},{provide:Ve,useExisting:mt,multi:!0}])}function gt({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:ot,useValue:e}),void 0!==t&&s.push({provide:at,useValue:t}),pt(ht.CustomXsrfConfiguration,s)}function wt(){return pt(ht.JsonpSupport,[Ye,{provide:Ze,useFactory:We},{provide:Ve,useValue:Qe,multi:!0}])}class vt{static disable(){return{ngModule:vt,providers:[pt(ht.NoXsrfProtection,[{provide:rt,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:vt,providers:gt(e).\u0275providers}}static{this.\u0275fac=function(e){return new(e||vt)}}static{this.\u0275mod=t.\u0275\u0275defineNgModule({type:vt})}static{this.\u0275inj=t.\u0275\u0275defineInjector({providers:[dt,{provide:qe,useExisting:dt,multi:!0},{provide:ct,useClass:lt},gt({cookieName:nt,headerName:it}).\u0275providers,{provide:rt,useValue:!0}]})}}class bt{static{this.\u0275fac=function(e){return new(e||bt)}}static{this.\u0275mod=t.\u0275\u0275defineNgModule({type:bt})}static{this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ft(yt())]})}}class Et{static{this.\u0275fac=function(e){return new(e||Et)}}static{this.\u0275mod=t.\u0275\u0275defineNgModule({type:Et})}static{this.\u0275inj=t.\u0275\u0275defineInjector({providers:[wt().\u0275providers]})}}const Tt=new n(""),St=["GET","HEAD"];function Ct(e,t){const{isCacheActive:r}=s(Tt);if(!r||!St.includes(e.method))return t(e);const n=s(l),o=function(e){const{params:t,method:s,responseType:r,url:n}=e,o=t.keys().sort().map((e=>`${e}=${t.getAll(e)}`)).join("&"),i=function(e){let t=0;for(const s of e)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,t.toString()}(s+"."+r+"."+n+"?"+o);return p(i)}(e),i=n.get(o,null);if(i){let e=i.body;switch(i.responseType){case"arraybuffer":e=(new TextEncoder).encode(i.body).buffer;break;case"blob":e=new Blob([i.body])}return ne(new Oe({body:e,headers:new ye(i.headers),status:i.status,statusText:i.statusText,url:i.url}))}return t(e).pipe(pe((t=>{t instanceof Oe&&n.set(o,{body:t.body,headers:At(t.headers),status:t.status,statusText:t.statusText,url:t.url||"",responseType:e.responseType})})))}function At(e){const t={};for(const s of e.keys()){const r=e.getAll(s);null!==r&&(t[s]=r)}return t}class Rt extends re{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class xt extends Rt{static makeCurrent(){te(new xt)}onAndCancel(e,t,s){return e.addEventListener(t,s),()=>{e.removeEventListener(t,s)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(It=It||document.querySelector("base"),It?It.getAttribute("href"):null);return null==t?null:function(e){Nt=Nt||document.createElement("a"),Nt.setAttribute("href",e);const t=Nt.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){It=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Z(document.cookie,e)}}e("\u0275BrowserDomAdapter",xt);let Nt,It=null;class jt{addToWindow(e){H.getAngularTestability=(t,s=!0)=>{const r=e.findTestabilityInTree(t,s);if(null==r)throw new i(5103,!1);return r},H.getAllAngularTestabilities=()=>e.getAllTestabilities(),H.getAllAngularRootElements=()=>e.getAllRootElements();H.frameworkStabilizers||(H.frameworkStabilizers=[]),H.frameworkStabilizers.push((e=>{const t=H.getAllAngularTestabilities();let s=t.length,r=!1;const n=function(t){r=r||t,s--,0==s&&e(r)};t.forEach((e=>{e.whenStable(n)}))}))}findTestabilityInTree(e,t,s){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:s?Y().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}e("\u0275BrowserGetTestability",jt);class Ot{build(){return new XMLHttpRequest}static{this.\u0275fac=function(e){return new(e||Ot)}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}}const kt=e("EVENT_MANAGER_PLUGINS",new n("EventManagerPlugins"));class Pt{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new i(5101,!1);return this._eventNameToPlugin.set(e,t),t}static{this.\u0275fac=function(e){return new(e||Pt)(t.\u0275\u0275inject(kt),t.\u0275\u0275inject(t.NgZone))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Pt,factory:Pt.\u0275fac})}}e("EventManager",Pt);class Lt{constructor(e){this._doc=e}}const _t="ng-app-id";class Mt{constructor(e,t,s,r={}){this.doc=e,this.appId=t,this.nonce=s,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=W(r),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach((e=>e.remove())),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${_t}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach((e=>{null!=e.textContent&&t.set(e.textContent,e)})),t}return null}changeUsageCount(e,t){const s=this.styleRef;if(s.has(e)){const r=s.get(e);return r.usage+=t,r.usage}return s.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const s=this.styleNodesInDOM,r=s?.get(t);if(r?.parentNode===e)return s.delete(t),r.removeAttribute(_t),r;{const e=this.doc.createElement("style");return this.nonce&&e.setAttribute("nonce",this.nonce),e.textContent=t,this.platformIsServer&&e.setAttribute(_t,this.appId),e}}addStyleToHost(e,t){const s=this.getStyleElement(e,t);e.appendChild(s);const r=this.styleRef,n=r.get(t)?.elements;n?n.push(s):r.set(t,{elements:[s],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(e){return new(e||Mt)(t.\u0275\u0275inject(X),t.\u0275\u0275inject(f),t.\u0275\u0275inject(m,8),t.\u0275\u0275inject(a))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}}e("\u0275SharedStylesHost",Mt);const Dt={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/"},Ht=/%COMP%/g,Ut="%COMP%",zt=`_nghost-${Ut}`,Ft=`_ngcontent-${Ut}`,Bt=e("REMOVE_STYLES_ON_COMPONENT_DESTROY",new n("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>false}));function qt(e,t){return t.map((t=>t.replace(Ht,e)))}class Vt{constructor(e,t,s,r,n,o,i,a=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.removeStylesOnCompDestroy=r,this.doc=n,this.platformId=o,this.ngZone=i,this.nonce=a,this.rendererByCompId=new Map,this.platformIsServer=W(o),this.defaultRenderer=new Kt(e,n,i,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===g.ShadowDom&&(t={...t,encapsulation:g.Emulated});const s=this.getOrCreateRenderer(e,t);return s instanceof Gt?s.applyToHost(e):s instanceof Xt&&s.applyStyles(),s}getOrCreateRenderer(e,t){const s=this.rendererByCompId;let r=s.get(t.id);if(!r){const n=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,l=this.platformIsServer;switch(t.encapsulation){case g.Emulated:r=new Gt(i,a,t,this.appId,c,n,o,l);break;case g.ShadowDom:return new Jt(i,a,e,t,n,o,this.nonce,l);default:r=new Xt(i,a,t,c,n,o,l)}s.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(e){return new(e||Vt)(t.\u0275\u0275inject(Pt),t.\u0275\u0275inject(Mt),t.\u0275\u0275inject(f),t.\u0275\u0275inject(Bt),t.\u0275\u0275inject(X),t.\u0275\u0275inject(a),t.\u0275\u0275inject(t.NgZone),t.\u0275\u0275inject(m))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Vt,factory:Vt.\u0275fac})}}e("\u0275DomRendererFactory2",Vt);class Kt{constructor(e,t,s,r){this.eventManager=e,this.doc=t,this.ngZone=s,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Dt[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){($t(e)?e.content:e).appendChild(t)}insertBefore(e,t,s){if(e){($t(e)?e.content:e).insertBefore(t,s)}}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let s="string"==typeof e?this.doc.querySelector(e):e;if(!s)throw new i(-5104,!1);return t||(s.textContent=""),s}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,s,r){if(r){t=r+":"+t;const n=Dt[r];n?e.setAttributeNS(n,t,s):e.setAttribute(t,s)}else e.setAttribute(t,s)}removeAttribute(e,t,s){if(s){const r=Dt[s];r?e.removeAttributeNS(r,t):e.removeAttribute(`${s}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,s,r){r&(w.DashCase|w.Important)?e.style.setProperty(t,s,r&w.Important?"important":""):e.style[t]=s}removeStyle(e,t,s){s&w.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,s){e[t]=s}setValue(e,t){e.nodeValue=t}listen(e,t,s){if("string"==typeof e&&!(e=Y().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(s))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function $t(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Jt extends Kt{constructor(e,t,s,r,n,o,i,a){super(e,n,o,a),this.sharedStylesHost=t,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=qt(r.id,r.styles);for(const e of c){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,s){return super.insertBefore(this.nodeOrShadowRoot(e),t,s)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xt extends Kt{constructor(e,t,s,r,n,o,i,a){super(e,n,o,i),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=a?qt(a,s.styles):s.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Gt extends Xt{constructor(e,t,s,r,n,o,i,a){const c=r+"-"+s.id;var l;super(e,t,s,n,o,i,a,c),this.contentAttr=(l=c,Ft.replace(Ht,l)),this.hostAttr=function(e){return zt.replace(Ht,e)}(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const s=super.createElement(e,t);return super.setAttribute(s,this.contentAttr,""),s}}class Zt extends Lt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}static{this.\u0275fac=function(e){return new(e||Zt)(t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Zt,factory:Zt.\u0275fac})}}e("\u0275DomEventsPlugin",Zt);const Wt=["alt","control","meta","shift"],Yt={"\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"},Qt={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class es extends Lt{constructor(e){super(e)}supports(e){return null!=es.parseEventName(e)}addEventListener(e,t,s){const r=es.parseEventName(t),n=es.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>Y().onAndCancel(e,r.domEventName,n)))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const r=es._normalizeKey(t.pop());let n="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),n="code."),Wt.forEach((e=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),n+=e+".")})),n+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=s,i.fullKey=n,i}static matchEventFullKeyCode(e,t){let s=Yt[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(s=e.code,r="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Wt.forEach((t=>{if(t!==s){(0,Qt[t])(e)&&(r+=t+".")}})),r+=s,r===t)}static eventCallback(e,t,s){return r=>{es.matchEventFullKeyCode(r,e)&&s.runGuarded((()=>t(r)))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.\u0275fac=function(e){return new(e||es)(t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:es,factory:es.\u0275fac})}}function ts(e){return{appProviders:[...is,...e?.providers??[]],platformProviders:rs}}function ss(){xt.makeCurrent()}e("\u0275KeyEventsPlugin",es);const rs=e("\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",[{provide:a,useValue:se},{provide:z,useValue:ss,multi:!0},{provide:X,useFactory:function(){return J(document),document},deps:[]}]),ns=(e("platformBrowser",v(b,"browser",rs)),new n("")),os=[{provide:F,useClass:jt,deps:[]},{provide:B,useClass:q,deps:[r,V,F]},{provide:q,useClass:q,deps:[r,V,F]}],is=[{provide:E,useValue:"root"},{provide:T,useFactory:function(){return new T},deps:[]},{provide:kt,useClass:Zt,multi:!0,deps:[X,r,a]},{provide:kt,useClass:es,multi:!0,deps:[X]},Vt,Mt,Pt,{provide:S,useExisting:Vt},{provide:Q,useClass:Ot,deps:[]},[]];class as{constructor(e){0}static withServerTransition(e){return{ngModule:as,providers:[{provide:f,useValue:e.appId}]}}static{this.\u0275fac=function(e){return new(e||as)(t.\u0275\u0275inject(ns,12))}}static{this.\u0275mod=t.\u0275\u0275defineNgModule({type:as})}static{this.\u0275inj=t.\u0275\u0275defineInjector({providers:[...is,...os],imports:[ee,C]})}}function cs(){return new ls(K(X))}e("BrowserModule",as);class ls{constructor(e){this._doc=e,this._dom=Y()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,s)=>(s&&e.push(this._getOrCreateElement(s,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const s=this.getTag(t);return s?this._setMetaElementAttributes(e,s):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),s=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==s)return s}const s=this._dom.createElement("meta");this._setMetaElementAttributes(e,s);return this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((s=>t.setAttribute(this._getMetaKeyMap(s),e[s]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((s=>t.getAttribute(this._getMetaKeyMap(s))===e[s]))}_getMetaKeyMap(e){return us[e]||e}static{this.\u0275fac=function(e){return new(e||ls)(t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:ls,factory:function(e){let t=null;return t=e?new e:cs(),t},providedIn:"root"})}}e("Meta",ls);const us={httpEquiv:"http-equiv"};function ds(){return new hs(K(X))}class hs{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(e){return new(e||hs)(t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:hs,factory:function(e){let t=null;return t=e?new e:ds(),t},providedIn:"root"})}}function ps(e,t){if("undefined"==typeof COMPILED||!COMPILED){(H.ng=H.ng||{})[e]=t}}e("Title",hs);const fs="undefined"!=typeof window&&window||{};class ms{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class ys{constructor(e){this.appRef=e.injector.get(d)}timeChangeDetection(e){const t=e&&e.record,s="Change Detection",r=null!=fs.console.profile;t&&r&&fs.console.profile(s);const n=gs();let o=0;for(;o<5||gs()-n<500;)this.appRef.tick(),o++;const i=gs();t&&r&&fs.console.profileEnd(s);const a=(i-n)/o;return fs.console.log(`ran ${o} change detection cycles`),fs.console.log(`${a.toFixed(2)} ms per check`),new ms(a,o)}}function gs(){return fs.performance&&fs.performance.now?fs.performance.now():(new Date).getTime()}const ws="profiler";e("By",class{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(Y().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}});const vs={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},bs=e("HAMMER_GESTURE_CONFIG",new n("HammerGestureConfig")),Es=e("HAMMER_LOADER",new n("HammerLoader"));class Ts{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}static{this.\u0275fac=function(e){return new(e||Ts)}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Ts,factory:Ts.\u0275fac})}}e("HammerGestureConfig",Ts);class Ss extends Lt{constructor(e,t,s,r){super(e),this._config=t,this.console=s,this.loader=r,this._loaderPromise=null}supports(e){return!(!vs.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,s){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular((()=>this.loader()));let n=!1,o=()=>{n=!0};return r.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?n||(o=this.addEventListener(e,t,s)):o=()=>{}})).catch((()=>{o=()=>{}})))),()=>{o()}}return r.runOutsideAngular((()=>{const n=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){s(e)}))};return n.on(t,o),()=>{n.off(t,o),"function"==typeof n.destroy&&n.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static{this.\u0275fac=function(e){return new(e||Ss)(t.\u0275\u0275inject(X),t.\u0275\u0275inject(bs),t.\u0275\u0275inject(t.\u0275Console),t.\u0275\u0275inject(Es,8))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:Ss,factory:Ss.\u0275fac})}}e("\u0275HammerGesturesPlugin",Ss);class Cs{static{this.\u0275fac=function(e){return new(e||Cs)}}static{this.\u0275mod=t.\u0275\u0275defineNgModule({type:Cs})}static{this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:kt,useClass:Ss,multi:!0,deps:[X,bs,A,[new y,Es]]},{provide:bs,useClass:Ts,deps:[]}]})}}e("HammerModule",Cs);class As{static{this.\u0275fac=function(e){return new(e||As)}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:As,factory:function(e){let s=null;return s=e?new(e||As):t.\u0275\u0275inject(xs),s},providedIn:"root"})}}function Rs(e){return new xs(e.get(X))}e("DomSanitizer",As);class xs extends As{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case R.NONE:return t;case R.HTML:return x(t,"HTML")?N(t):j(this._doc,String(t)).toString();case R.STYLE:return x(t,"Style")?N(t):t;case R.SCRIPT:if(x(t,"Script"))return N(t);throw new i(5200,!1);case R.URL:return x(t,"URL")?N(t):I(String(t));case R.RESOURCE_URL:if(x(t,"ResourceURL"))return N(t);throw new i(5201,!1);default:throw new i(5202,!1)}}bypassSecurityTrustHtml(e){return O(e)}bypassSecurityTrustStyle(e){return k(e)}bypassSecurityTrustScript(e){return P(e)}bypassSecurityTrustUrl(e){return L(e)}bypassSecurityTrustResourceUrl(e){return _(e)}static{this.\u0275fac=function(e){return new(e||xs)(t.\u0275\u0275inject(X))}}static{this.\u0275prov=t.\u0275\u0275defineInjectable({token:xs,factory:function(e){let s=null;return s=e?new e:Rs(t.\u0275\u0275inject(M)),s},providedIn:"root"})}}function Ns(e,t=[]){return{\u0275kind:e,\u0275providers:t}}e("\u0275DomSanitizerImpl",xs);e("VERSION",new D("16.2.12")),e("makeStateKey",p),e("TransferState",l)}}}));