Socket
Socket
Sign inDemoInstall

@esm-bundle/angular__common

Package Overview
Dependencies
Maintainers
6
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esm-bundle/angular__common - npm Package Compare versions

Comparing version 15.0.4 to 15.1.0

2

es2015/ivy/angular-http.min.js

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@15.0.4 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@15.1.0 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/common";import{DOCUMENT as t,ɵparseCookieValue as s,XhrFactory as r}from"@angular/common";import*as n from"@angular/core";import{Injectable as o,InjectionToken as a,Inject as i,PLATFORM_ID as u,NgModule as l,makeEnvironmentProviders as h,inject as c}from"@angular/core";import{of as d,Observable as p}from"rxjs";import{concatMap as m,filter as f,map as y}from"rxjs/operators";class v{}class b{}class g{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const 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])}}))}:()=>{this.headers=new Map,Object.keys(e).forEach((t=>{let s=e[t];const r=t.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(r,s),this.maybeSetNormalizedName(t,r))}))}: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 g?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 g;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof g?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)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class w{encodeKey(e){return x(e)}encodeValue(e){return x(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const E=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function x(e){return encodeURIComponent(e).replace(E,((e,t)=>{var s;return null!==(s=T[t])&&void 0!==s?s:e}))}function N(e){return`${e}`}class j{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new w,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))],a=s.get(n)||[];a.push(o),s.set(n,a)}));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(N):[N(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 j({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(N(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(N(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 C{constructor(e){this.defaultValue=e}}class P{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 k(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function S(e){return"undefined"!=typeof Blob&&e instanceof Blob}function O(e){return"undefined"!=typeof FormData&&e instanceof FormData}class R{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 g),this.context||(this.context=new P),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 j,this.urlWithParams=t}serializeBody(){return null===this.body?null:k(this.body)||S(this.body)||O(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof j?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||O(this.body)?null:S(this.body)?this.body.type||null:k(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof j?"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={}){var t;const s=e.method||this.method,r=e.url||this.url,n=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,i=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let u=e.headers||this.headers,l=e.params||this.params;const h=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),u)),e.setParams&&(l=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),l)),new R(s,r,o,{params:l,headers:u,context:h,reportProgress:i,responseType:n,withCredentials:a})}}var I;!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"}(I||(I={}));class L{constructor(e,t=200,s="OK"){this.headers=e.headers||new g,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 A extends L{constructor(e={}){super(e),this.type=I.ResponseHeader}clone(e={}){return new A({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 F extends L{constructor(e={}){super(e),this.type=I.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new F({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 z extends L{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 H(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 U{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof R)r=e;else{let n,o;n=s.headers instanceof g?s.headers:new g(s.headers),s.params&&(o=s.params instanceof j?s.params:new j({fromObject:s.params})),r=new R(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=d(r).pipe(m((e=>this.handler.handle(e))));if(e instanceof R||"events"===s.observe)return n;const o=n.pipe(f((e=>e instanceof F)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(y((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(y((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(y((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(y((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 j).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,H(s,t))}post(e,t,s={}){return this.request("POST",e,H(s,t))}put(e,t,s={}){return this.request("PUT",e,H(s,t))}}function M(e,t){return t(e)}function q(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}U.ɵfac=function(e){return new(e||U)(n.ɵɵinject(v))},U.ɵprov=n.ɵɵdefineInjectable({token:U,factory:U.ɵfac});const J=new a("HTTP_INTERCEPTORS"),X=new a("HTTP_INTERCEPTOR_FNS");function K(){let e=null;return(t,s)=>{var r;if(null===e){const t=null!==(r=c(J,{optional:!0}))&&void 0!==r?r:[];e=t.reduceRight(q,M)}return e(t,s)}}class V extends v{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=Array.from(new Set(this.injector.get(X)));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)),M)}return this.chain(e,(e=>this.backend.handle(e)))}}V.ɵfac=function(e){return new(e||V)(n.ɵɵinject(b),n.ɵɵinject(n.EnvironmentInjector))},V.ɵprov=n.ɵɵdefineInjectable({token:V,factory:V.ɵfac});let D,_=0;class B{}function $(){return"object"==typeof window?window:{}}class W{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+_++}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 p((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.parentNode&&n.parentNode.removeChild(n),delete this.callbackMap[s]};return n.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new F({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new z({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),n.addEventListener("error",(e=>{i(),t.error(new z({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(n),t.next({type:I.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){D||(D=this.document.implementation.createHTMLDocument()),D.adoptNode(e)}}function G(e,t){return"JSONP"===e.method?c(W).handle(e):t(e)}W.ɵfac=function(e){return new(e||W)(n.ɵɵinject(B),n.ɵɵinject(t))},W.ɵprov=n.ɵɵdefineInjectable({token:W,factory:W.ɵfac});class Y{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>G(e,(e=>t.handle(e)))))}}Y.ɵfac=function(e){return new(e||Y)(n.ɵɵinject(n.EnvironmentInjector))},Y.ɵprov=n.ɵɵdefineInjectable({token:Y,factory:Y.ɵfac});const Q=/^\)\]\}',?\n/;class Z{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new p((t=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach(((e,t)=>s.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&s.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();s.responseType="json"!==t?t:"text"}const r=e.serializeBody();let n=null;const o=()=>{if(null!==n)return n;const t=s.statusText||"OK",r=new g(s.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||e.url;return n=new A({headers:r,status:s.status,statusText:t,url:o}),n},a=()=>{let{headers:r,status:n,statusText:a,url:i}=o(),u=null;204!==n&&(u=void 0===s.response?s.responseText:s.response),0===n&&(n=u?200:0);let l=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(Q,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,l&&(l=!1,u={error:t,text:u})}}l?(t.next(new F({body:u,headers:r,status:n,statusText:a,url:i||void 0})),t.complete()):t.error(new z({error:u,headers:r,status:n,statusText:a,url:i||void 0}))},i=e=>{const{url:r}=o(),n=new z({error:e,status:s.status||0,statusText:s.statusText||"Unknown Error",url:r||void 0});t.error(n)};let u=!1;const l=r=>{u||(t.next(o()),u=!0);let n={type:I.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(n.total=r.total),"text"===e.responseType&&s.responseText&&(n.partialText=s.responseText),t.next(n)},h=e=>{let s={type:I.UploadProgress,loaded:e.loaded};e.lengthComputable&&(s.total=e.total),t.next(s)};return s.addEventListener("load",a),s.addEventListener("error",i),s.addEventListener("timeout",i),s.addEventListener("abort",i),e.reportProgress&&(s.addEventListener("progress",l),null!==r&&s.upload&&s.upload.addEventListener("progress",h)),s.send(r),t.next({type:I.Sent}),()=>{s.removeEventListener("error",i),s.removeEventListener("abort",i),s.removeEventListener("load",a),s.removeEventListener("timeout",i),e.reportProgress&&(s.removeEventListener("progress",l),null!==r&&s.upload&&s.upload.removeEventListener("progress",h)),s.readyState!==s.DONE&&s.abort()}}))}}Z.ɵfac=function(t){return new(t||Z)(n.ɵɵinject(e.XhrFactory))},Z.ɵprov=n.ɵɵdefineInjectable({token:Z,factory:Z.ɵfac});const ee=new a("XSRF_ENABLED"),te=new a("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),se=new a("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class re{}class ne{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=s(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function oe(e,t){const s=e.url.toLowerCase();if(!c(ee)||"GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return t(e);const r=c(re).getToken(),n=c(se);return null==r||e.headers.has(n)||(e=e.clone({headers:e.headers.set(n,r)})),t(e)}ne.ɵfac=function(e){return new(e||ne)(n.ɵɵinject(t),n.ɵɵinject(u),n.ɵɵinject(te))},ne.ɵprov=n.ɵɵdefineInjectable({token:ne,factory:ne.ɵfac});class ae{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>oe(e,(e=>t.handle(e)))))}}var ie;function ue(e,t){return{ɵkind:e,ɵproviders:t}}function le(...e){const t=[U,Z,V,{provide:v,useExisting:V},{provide:b,useExisting:Z},{provide:X,useValue:oe,multi:!0},{provide:ee,useValue:!0},{provide:re,useClass:ne}];for(const s of e)t.push(...s.ɵproviders);return h(t)}function he(e){return ue(ie.Interceptors,e.map((e=>({provide:X,useValue:e,multi:!0}))))}ae.ɵfac=function(e){return new(e||ae)(n.ɵɵinject(n.EnvironmentInjector))},ae.ɵprov=n.ɵɵdefineInjectable({token:ae,factory:ae.ɵfac}),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"}(ie||(ie={}));const ce=new a("LEGACY_INTERCEPTOR_FN");function de(){return ue(ie.LegacyInterceptors,[{provide:ce,useFactory:K},{provide:X,useExisting:ce,multi:!0}])}function pe({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:te,useValue:e}),void 0!==t&&s.push({provide:se,useValue:t}),ue(ie.CustomXsrfConfiguration,s)}function me(){return ue(ie.NoXsrfProtection,[{provide:ee,useValue:!1}])}function fe(){return ue(ie.JsonpSupport,[W,{provide:B,useFactory:$},{provide:X,useValue:G,multi:!0}])}function ye(){return ue(ie.RequestsMadeViaParent,[{provide:b,useFactory:()=>{const e=c(v,{skipSelf:!0,optional:!0});return e}}])}class ve{static disable(){return{ngModule:ve,providers:[me().ɵproviders]}}static withOptions(e={}){return{ngModule:ve,providers:pe(e).ɵproviders}}}ve.ɵfac=function(e){return new(e||ve)},ve.ɵmod=n.ɵɵdefineNgModule({type:ve}),ve.ɵinj=n.ɵɵdefineInjector({providers:[ae,{provide:J,useExisting:ae,multi:!0},{provide:re,useClass:ne},pe({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}).ɵproviders,{provide:ee,useValue:!0}]});class be{}be.ɵfac=function(e){return new(e||be)},be.ɵmod=n.ɵɵdefineNgModule({type:be}),be.ɵinj=n.ɵɵdefineInjector({providers:[le(de(),pe({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}))]});class ge{}ge.ɵfac=function(e){return new(e||ge)},ge.ɵmod=n.ɵɵdefineNgModule({type:ge}),ge.ɵinj=n.ɵɵdefineInjector({providers:[fe().ɵproviders]});const we=r;export{J as HTTP_INTERCEPTORS,b as HttpBackend,U as HttpClient,ge as HttpClientJsonpModule,be as HttpClientModule,ve as HttpClientXsrfModule,P as HttpContext,C as HttpContextToken,z as HttpErrorResponse,I as HttpEventType,ie as HttpFeatureKind,v as HttpHandler,A as HttpHeaderResponse,g as HttpHeaders,j as HttpParams,R as HttpRequest,F as HttpResponse,L as HttpResponseBase,w as HttpUrlEncodingCodec,Z as HttpXhrBackend,re as HttpXsrfTokenExtractor,W as JsonpClientBackend,Y as JsonpInterceptor,we as XhrFactory,le as provideHttpClient,he as withInterceptors,de as withInterceptorsFromDi,fe as withJsonpSupport,me as withNoXsrfProtection,ye as withRequestsMadeViaParent,pe as withXsrfConfiguration,V as ɵHttpInterceptingHandler,V as ɵHttpInterceptorHandler};
//# sourceMappingURL=angular-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { ReplaySubject } from 'rxjs';

@@ -9,7 +9,6 @@ import { CommonModule, Location, PlatformLocation, LocationStrategy, APP_BASE_HREF, HashLocationStrategy, PathLocationStrategy } from '@angular/common';

/**
* @license Angular v15.0.4
* @license Angular v15.1.0
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
function deepEqual(a, b) {

@@ -25,3 +24,2 @@ if (a === b) {

}
return JSON.stringify(a) === JSON.stringify(b);

@@ -33,7 +31,5 @@ } catch (e) {

}
function isAnchor(el) {
return el.href !== undefined;
}
function isPromise(obj) {

@@ -44,11 +40,2 @@ // allow any Promise/A+ compliant thenable.

}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const PATH_MATCH = /^([^?#]*)(\?([^#]*))?(#(.*))?$/;

@@ -70,3 +57,2 @@ const DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;

*/
class $locationShim {

@@ -90,12 +76,10 @@ constructor($injector, location, platformLocation, urlCodec, locationStrategy) {

this.urlChanges = new ReplaySubject(1);
this.lastBrowserUrl = ''; // This variable should be used *only* inside the cacheState function.
this.lastBrowserUrl = '';
// This variable should be used *only* inside the cacheState function.
this.lastCachedState = null;
const initialUrl = this.browserUrl();
let parsedUrl = this.urlCodec.parse(initialUrl);
if (typeof parsedUrl === 'string') {
throw 'Invalid URL';
}
this.$$protocol = parsedUrl.protocol;

@@ -113,3 +97,2 @@ this.$$host = parsedUrl.hostname;

});
if (isPromise($injector)) {

@@ -121,3 +104,2 @@ $injector.then($i => this.initialize($i));

}
initialize($injector) {

@@ -130,5 +112,4 @@ const $rootScope = $injector.get('$rootScope');

}
let elm = event.target; // traverse the DOM up to find first A tag
let elm = event.target;
// traverse the DOM up to find first A tag
while (elm && elm.nodeName.toLowerCase() !== 'a') {

@@ -140,14 +121,11 @@ // ignore rewriting if no A tag (reached root element, or no parent - removed from document)

}
if (!isAnchor(elm)) {
return;
}
const absHref = elm.href;
const relHref = elm.getAttribute('href'); // Ignore when url is started with javascript: or mailto:
const relHref = elm.getAttribute('href');
// Ignore when url is started with javascript: or mailto:
if (IGNORE_URI_REGEXP.test(absHref)) {
return;
}
if (absHref && !elm.getAttribute('target') && !event.isDefaultPrevented()) {

@@ -158,4 +136,4 @@ if (this.$$parseLinkUrl(absHref, relHref)) {

// getting double entries in the location history.
event.preventDefault(); // update location manually
event.preventDefault();
// update location manually
if (this.absUrl() !== this.browserUrl()) {

@@ -176,8 +154,8 @@ $rootScope.$apply();

this.$$state = newState;
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return; // If default was prevented, set back to old state. This is the state that was locally
if (this.absUrl() !== newUrl) return;
// If default was prevented, set back to old state. This is the state that was locally
// cached in the $location service.
if (defaultPrevented) {

@@ -193,8 +171,7 @@ this.$$parse(oldUrl);

}
if (!$rootScope.$$phase) {
$rootScope.$digest();
}
}); // update browser
});
// update browser
$rootScope.$watch(() => {

@@ -207,7 +184,7 @@ if (this.initializing || this.updateBrowser) {

let currentReplace = this.$$replace;
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state; // Fire location changes one time to on initialization. This must be done on the
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state;
// Fire location changes one time to on initialization. This must be done on the
// next tick (thus inside $evalAsync()) in order for listeners to be registered
// before the event fires. Mimicing behavior from $locationWatch:
// https://github.com/angular/angular.js/blob/master/src/ng/location.js#L983
if (this.initializing || urlOrStateChanged) {

@@ -218,7 +195,6 @@ this.initializing = false;

const newUrl = this.absUrl();
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return;
if (defaultPrevented) {

@@ -234,5 +210,3 @@ this.$$parse(oldUrl);

}
$rootScope.$broadcast('$locationChangeSuccess', newUrl, oldUrl, this.$$state, oldState);
if (urlOrStateChanged) {

@@ -245,7 +219,5 @@ this.$$notifyChangeListeners(this.url(), this.$$state, oldUrl, oldState);

}
this.$$replace = false;
});
}
resetBrowserUpdate() {

@@ -257,3 +229,2 @@ this.$$replace = false;

}
browserUrl(url, replace, state) {

@@ -265,20 +236,18 @@ // In modern browsers `history.state` is `null` by default; treating it separately

state = null;
} // setter
}
// setter
if (url) {
let sameState = this.lastHistoryState === state; // Normalize the inputted URL
url = this.urlCodec.parse(url).href; // Don't change anything if previous and current URLs and states match.
let sameState = this.lastHistoryState === state;
// Normalize the inputted URL
url = this.urlCodec.parse(url).href;
// Don't change anything if previous and current URLs and states match.
if (this.lastBrowserUrl === url && sameState) {
return this;
}
this.lastBrowserUrl = url;
this.lastHistoryState = state; // Remove server base from URL as the Angular APIs for updating URL require
this.lastHistoryState = state;
// Remove server base from URL as the Angular APIs for updating URL require
// it to be the path+.
url = this.stripBaseUrl(this.getServerBase(), url) || url; // Set the URL
url = this.stripBaseUrl(this.getServerBase(), url) || url;
// Set the URL
if (replace) {

@@ -289,5 +258,5 @@ this.locationStrategy.replaceState(state, '', url, '');

}
this.cacheState();
return this; // getter
return this;
// getter
} else {

@@ -297,16 +266,12 @@ return this.platformLocation.href;

}
cacheState() {
// This should be the only place in $browser where `history.state` is read.
this.cachedState = this.platformLocation.getState();
if (typeof this.cachedState === 'undefined') {
this.cachedState = null;
} // Prevent callbacks fo fire twice if both hashchange & popstate were fired.
}
// Prevent callbacks fo fire twice if both hashchange & popstate were fired.
if (deepEqual(this.cachedState, this.lastCachedState)) {
this.cachedState = this.lastCachedState;
}
this.lastCachedState = this.cachedState;

@@ -319,8 +284,5 @@ this.lastHistoryState = this.cachedState;

*/
browserState() {
return this.cachedState;
}
stripBaseUrl(base, url) {

@@ -330,6 +292,4 @@ if (url.startsWith(base)) {

}
return undefined;
}
getServerBase() {

@@ -345,3 +305,2 @@ const {

}
parseAppUrl(url) {

@@ -351,20 +310,15 @@ if (DOUBLE_SLASH_REGEX.test(url)) {

}
let prefixed = url.charAt(0) !== '/';
if (prefixed) {
url = '/' + url;
}
let match = this.urlCodec.parse(url, this.getServerBase());
if (typeof match === 'string') {
throw new Error(`Bad URL - Cannot parse URL: ${url}`);
}
let path = prefixed && match.pathname.charAt(0) === '/' ? match.pathname.substring(1) : match.pathname;
this.$$path = this.urlCodec.decodePath(path);
this.$$search = this.urlCodec.decodeSearch(match.search);
this.$$hash = this.urlCodec.decodeHash(match.hash); // make sure path starts with '/';
this.$$hash = this.urlCodec.decodeHash(match.hash);
// make sure path starts with '/';
if (this.$$path && this.$$path.charAt(0) !== '/') {

@@ -387,4 +341,2 @@ this.$$path = '/' + this.$$path;

*/
onChange(fn, err = e => {}) {

@@ -394,4 +346,2 @@ this.$$changeListeners.push([fn, err]);

/** @internal */
$$notifyChangeListeners(url = '', state, oldUrl = '', oldState) {

@@ -411,7 +361,4 @@ this.$$changeListeners.forEach(([fn, err]) => {

*/
$$parse(url) {
let pathUrl;
if (url.startsWith('/')) {

@@ -423,13 +370,9 @@ pathUrl = url;

}
if (typeof pathUrl === 'undefined') {
throw new Error(`Invalid url "${url}", missing path prefix "${this.getServerBase()}".`);
}
this.parseAppUrl(pathUrl);
if (!this.$$path) {
this.$$path = '/';
}
this.composeUrls();

@@ -443,4 +386,2 @@ }

*/
$$parseLinkUrl(url, relHref) {

@@ -452,6 +393,4 @@ // When relHref is passed, it should be a hash and is handled separately

}
let rewrittenUrl;
let appUrl = this.stripBaseUrl(this.getServerBase(), url);
if (typeof appUrl !== 'undefined') {

@@ -461,21 +400,17 @@ rewrittenUrl = this.getServerBase() + appUrl;

rewrittenUrl = this.getServerBase();
} // Set the URL
}
// Set the URL
if (rewrittenUrl) {
this.$$parse(rewrittenUrl);
}
return !!rewrittenUrl;
}
setBrowserUrlWithFallback(url, replace, state) {
const oldUrl = this.url();
const oldState = this.$$state;
try {
this.browserUrl(url, replace, state); // Make sure $location.state() returns referentially identical (not just deeply equal)
this.browserUrl(url, replace, state);
// Make sure $location.state() returns referentially identical (not just deeply equal)
// state object; this makes possible quick checking if the state changed in the digest
// loop. Checking deep equality would be too expensive.
this.$$state = this.browserState();

@@ -489,7 +424,5 @@ } catch (e) {

}
composeUrls() {
this.$$url = this.urlCodec.normalize(this.$$path, this.$$search, this.$$hash);
this.$$absUrl = this.getServerBase() + this.$$url.slice(1); // remove '/' from front of URL
this.updateBrowser = true;

@@ -509,8 +442,5 @@ }

*/
absUrl() {
return this.$$absUrl;
}
url(url) {

@@ -521,3 +451,2 @@ if (typeof url === 'string') {

}
const match = PATH_MATCH.exec(url);

@@ -527,7 +456,6 @@ if (!match) return this;

if (match[2] || match[1] || url === '') this.search(match[3] || '');
this.hash(match[5] || ''); // Chainable method
this.hash(match[5] || '');
// Chainable method
return this;
}
return this.$$url;

@@ -544,4 +472,2 @@ }

*/
protocol() {

@@ -569,4 +495,2 @@ return this.$$protocol;

*/
host() {

@@ -584,14 +508,10 @@ return this.$$host;

*/
port() {
return this.$$port;
}
path(path) {
if (typeof path === 'undefined') {
return this.$$path;
} // null path converts to empty string. Prepend with "/" if needed.
}
// null path converts to empty string. Prepend with "/" if needed.
path = path !== null ? path.toString() : '';

@@ -603,3 +523,2 @@ path = path.charAt(0) === '/' ? path : '/' + path;

}
search(search, paramValue) {

@@ -609,3 +528,2 @@ switch (arguments.length) {

return this.$$search;
case 1:

@@ -616,8 +534,7 @@ if (typeof search === 'string' || typeof search === 'number') {

// Copy the object so it's never mutated
search = Object.assign({}, search); // remove object undefined or null properties
search = Object.assign({}, search);
// remove object undefined or null properties
for (const key in search) {
if (search[key] == null) delete search[key];
}
this.$$search = search;

@@ -627,9 +544,6 @@ } else {

}
break;
default:
if (typeof search === 'string') {
const currentSearch = this.search();
if (typeof paramValue === 'undefined' || paramValue === null) {

@@ -643,9 +557,6 @@ delete currentSearch[search];

}
}
this.composeUrls();
return this;
}
hash(hash) {

@@ -655,3 +566,2 @@ if (typeof hash === 'undefined') {

}
this.$$hash = hash !== null ? hash.toString() : '';

@@ -665,4 +575,2 @@ this.composeUrls();

*/
replace() {

@@ -672,3 +580,2 @@ this.$$replace = true;

}
state(state) {

@@ -678,7 +585,5 @@ if (typeof state === 'undefined') {

}
this.$$state = state;
return this;
}
}

@@ -691,4 +596,2 @@ /**

*/
class $locationShimProvider {

@@ -705,4 +608,2 @@ constructor(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

*/
$get() {

@@ -715,4 +616,2 @@ return new $locationShim(this.ngUpgrade.$injector, this.location, this.platformLocation, this.urlCodec, this.locationStrategy);

*/
hashPrefix(prefix) {

@@ -725,16 +624,6 @@ throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');

*/
html5Mode(mode) {
throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');
}
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -746,4 +635,2 @@ /**

**/
class UrlCodec {}

@@ -756,4 +643,2 @@ /**

*/
class AngularJSUrlCodec {

@@ -764,3 +649,2 @@ // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L15

let i = segments.length;
while (i--) {

@@ -770,8 +654,6 @@ // decode forward slashes to prevent them from being double encoded

}
path = segments.join('/');
return _stripIndexHtml((path && path[0] !== '/' && '/' || '') + path);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
encodeSearch(search) {

@@ -781,21 +663,16 @@ if (typeof search === 'string') {

}
search = toKeyValue(search);
return search ? '?' + search : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
encodeHash(hash) {
hash = encodeUriSegment(hash);
return hash ? '#' + hash : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
decodePath(path, html5Mode = true) {
const segments = path.split('/');
let i = segments.length;
while (i--) {
segments[i] = decodeURIComponent(segments[i]);
if (html5Mode) {

@@ -806,12 +683,9 @@ // encode forward slashes to prevent them from being mistaken for path separators

}
return segments.join('/');
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
decodeSearch(search) {
return parseKeyValue(search);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
decodeHash(hash) {

@@ -821,11 +695,8 @@ hash = decodeURIComponent(hash);

}
normalize(pathOrHref, search, hash, baseUrl) {
if (arguments.length === 1) {
const parsed = this.parse(pathOrHref, baseUrl);
if (typeof parsed === 'string') {
return parsed;
}
const serverUrl = `${parsed.protocol}://${parsed.hostname}${parsed.port ? ':' + parsed.port : ''}`;

@@ -838,16 +709,12 @@ return this.normalize(this.decodePath(parsed.pathname), this.decodeSearch(parsed.search), this.decodeHash(parsed.hash), serverUrl);

let joinedPath = (baseUrl || '') + encPath;
if (!joinedPath.length || joinedPath[0] !== '/') {
joinedPath = '/' + joinedPath;
}
return joinedPath + encSearch + encHash;
}
}
areEqual(valA, valB) {
return this.normalize(valA) === this.normalize(valB);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
parse(url, base) {

@@ -871,5 +738,3 @@ try {

}
}
function _stripIndexHtml(url) {

@@ -884,4 +749,2 @@ return url.replace(/\/index.html$/, '');

*/
function tryDecodeURIComponent(value) {

@@ -899,4 +762,2 @@ try {

*/
function parseKeyValue(keyValue) {

@@ -906,7 +767,5 @@ const obj = {};

let splitPoint, key, val;
if (keyValue) {
key = keyValue = keyValue.replace(/\+/g, '%20');
splitPoint = keyValue.indexOf('=');
if (splitPoint !== -1) {

@@ -916,8 +775,5 @@ key = keyValue.substring(0, splitPoint);

}
key = tryDecodeURIComponent(key);
if (typeof key !== 'undefined') {
val = typeof val !== 'undefined' ? tryDecodeURIComponent(val) : true;
if (!obj.hasOwnProperty(key)) {

@@ -939,10 +795,6 @@ obj[key] = val;

*/
function toKeyValue(obj) {
const parts = [];
for (const key in obj) {
let value = obj[key];
if (Array.isArray(value)) {

@@ -956,3 +808,2 @@ value.forEach(arrayValue => {

}
return parts.length ? parts.join('&') : '';

@@ -973,4 +824,2 @@ }

*/
function encodeUriSegment(val) {

@@ -992,14 +841,5 @@ return encodeUriQuery(val, true).replace(/%26/g, '&').replace(/%3D/gi, '=').replace(/%2B/gi, '+');

*/
function encodeUriQuery(val, pctEncodeSpaces = false) {
return encodeURIComponent(val).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%3B/gi, ';').replace(/%20/g, pctEncodeSpaces ? '%20' : '+');
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -1011,4 +851,2 @@ /**

*/
const LOCATION_UPGRADE_CONFIGURATION = new InjectionToken('LOCATION_UPGRADE_CONFIGURATION');

@@ -1023,3 +861,2 @@ const APP_BASE_HREF_RESOLVED = new InjectionToken('APP_BASE_HREF_RESOLVED');

*/
class LocationUpgradeModule {

@@ -1051,9 +888,6 @@ static config(config) {

}
}
LocationUpgradeModule.ɵfac = function LocationUpgradeModule_Factory(t) {
return new (t || LocationUpgradeModule)();
};
LocationUpgradeModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({

@@ -1065,3 +899,2 @@ type: LocationUpgradeModule

});
(function () {

@@ -1075,3 +908,2 @@ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocationUpgradeModule, [{

})();
function provideAppBaseHref(config, appBaseHref) {

@@ -1083,6 +915,4 @@ if (config && config.appBaseHref != null) {

}
return '';
}
function provideUrlCodec(config) {

@@ -1092,7 +922,5 @@ const codec = config && config.urlCodec || AngularJSUrlCodec;

}
function provideLocationStrategy(platformLocation, baseHref, options = {}) {
return options.useHash ? new HashLocationStrategy(platformLocation, baseHref) : new PathLocationStrategy(platformLocation, baseHref);
}
function provide$location(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

@@ -1099,0 +927,0 @@ const $locationProvider = new $locationShimProvider(ngUpgrade, location, platformLocation, urlCodec, locationStrategy);

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - es format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{ReplaySubject as t}from"rxjs";import{CommonModule as e,Location as r,PlatformLocation as s,LocationStrategy as i,APP_BASE_HREF as a,HashLocationStrategy as h,PathLocationStrategy as o}from"@angular/common";import*as n from"@angular/core";import{InjectionToken as c,NgModule as l,Inject as $,Optional as p}from"@angular/core";import{UpgradeModule as u}from"@angular/upgrade/static";const d=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,g=/^\s*[\\/]{2,}/,f=/^\s*(javascript|mailto):/i,w={"http:":80,"https:":443,"ftp:":21};class S{constructor(e,r,s,i,a){this.location=r,this.platformLocation=s,this.urlCodec=i,this.locationStrategy=a,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new t(1),this.lastBrowserUrl="",this.lastCachedState=null;const h=this.browserUrl();let o=this.urlCodec.parse(h);if("string"==typeof o)throw"Invalid URL";var n;this.$$protocol=o.protocol,this.$$host=o.hostname,this.$$port=parseInt(o.port)||w[o.protocol]||null,this.$$parseLinkUrl(h,h),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),(n=e)&&"function"==typeof n.then?e.then((t=>this.initialize(t))):this.initialize(e)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");f.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(g.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=(t=>{})){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||(this.$$path="/"),this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=d.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t=Object.assign({},t);for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}class U{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new S(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}class m{}class y{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=v(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=C(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(B(r,!0)+(!0===t?"":"="+B(t,!0)))})):e.push(B(r,!0)+(!0===s?"":"="+B(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=v(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return C(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function b(t){try{return decodeURIComponent(t)}catch(t){return}}function C(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=b(s),void 0!==s&&(i=void 0===i||b(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function v(t){return B(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function B(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}const L=new c("LOCATION_UPGRADE_CONFIGURATION"),A=new c("APP_BASE_HREF_RESOLVED");class E{static config(t){return{ngModule:E,providers:[r,{provide:S,useFactory:H,deps:[u,r,s,m,i]},{provide:L,useValue:t||{}},{provide:m,useFactory:R,deps:[L]},{provide:A,useFactory:P,deps:[L,[new $(a),new p]]},{provide:i,useFactory:z,deps:[s,A,L]}]}}}function P(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function R(t){return new(t&&t.urlCodec||y)}function z(t,e,r={}){return r.useHash?new h(t,e):new o(t,e)}function H(t,e,r,s,i){return new U(t,e,r,s,i).$get()}E.ɵfac=function(t){return new(t||E)},E.ɵmod=n.ɵɵdefineNgModule({type:E}),E.ɵinj=n.ɵɵdefineInjector({imports:[e]});export{S as $locationShim,U as $locationShimProvider,y as AngularJSUrlCodec,L as LOCATION_UPGRADE_CONFIGURATION,E as LocationUpgradeModule,m as UrlCodec};
//# sourceMappingURL=angular-upgrade.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@15.0.4 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@15.1.0 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import*as e from"@angular/common";import{DOCUMENT as t,ɵparseCookieValue as s,XhrFactory as r}from"@angular/common";import*as n from"@angular/core";import{Injectable as o,InjectionToken as a,Inject as i,PLATFORM_ID as u,NgModule as l,makeEnvironmentProviders as h,inject as c}from"@angular/core";import{of as d,Observable as p}from"rxjs";import{concatMap as m,filter as f,map as y}from"rxjs/operators";class b{}class v{}class g{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const 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])}}))}:()=>{this.headers=new Map,Object.keys(e).forEach((t=>{let s=e[t];const r=t.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(r,s),this.maybeSetNormalizedName(t,r))}))}: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 g?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 g;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof g?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)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class w{encodeKey(e){return x(e)}encodeValue(e){return x(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const E=/%(\d[a-f0-9])/gi,T={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function x(e){return encodeURIComponent(e).replace(E,((e,t)=>T[t]??e))}function N(e){return`${e}`}class j{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new w,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))],a=s.get(n)||[];a.push(o),s.set(n,a)}));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(N):[N(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 j({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(N(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(N(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 C{constructor(e){this.defaultValue=e}}class P{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 k(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function S(e){return"undefined"!=typeof Blob&&e instanceof Blob}function O(e){return"undefined"!=typeof FormData&&e instanceof FormData}class R{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 g),this.context||(this.context=new P),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 j,this.urlWithParams=t}serializeBody(){return null===this.body?null:k(this.body)||S(this.body)||O(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof j?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||O(this.body)?null:S(this.body)?this.body.type||null:k(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof j?"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,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let i=e.headers||this.headers,u=e.params||this.params;const l=e.context??this.context;return void 0!==e.setHeaders&&(i=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),i)),e.setParams&&(u=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),u)),new R(t,s,n,{params:u,headers:i,context:l,reportProgress:a,responseType:r,withCredentials:o})}}var I;!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"}(I||(I={}));class L{constructor(e,t=200,s="OK"){this.headers=e.headers||new g,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 A extends L{constructor(e={}){super(e),this.type=I.ResponseHeader}clone(e={}){return new A({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 F extends L{constructor(e={}){super(e),this.type=I.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new F({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 z extends L{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 H(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 U{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof R)r=e;else{let n,o;n=s.headers instanceof g?s.headers:new g(s.headers),s.params&&(o=s.params instanceof j?s.params:new j({fromObject:s.params})),r=new R(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=d(r).pipe(m((e=>this.handler.handle(e))));if(e instanceof R||"events"===s.observe)return n;const o=n.pipe(f((e=>e instanceof F)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(y((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(y((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(y((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(y((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 j).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,H(s,t))}post(e,t,s={}){return this.request("POST",e,H(s,t))}put(e,t,s={}){return this.request("PUT",e,H(s,t))}}function M(e,t){return t(e)}function q(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}U.ɵfac=function(e){return new(e||U)(n.ɵɵinject(b))},U.ɵprov=n.ɵɵdefineInjectable({token:U,factory:U.ɵfac});const J=new a("HTTP_INTERCEPTORS"),X=new a("HTTP_INTERCEPTOR_FNS");function K(){let e=null;return(t,s)=>{if(null===e){const t=c(J,{optional:!0})??[];e=t.reduceRight(q,M)}return e(t,s)}}class V extends b{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=Array.from(new Set(this.injector.get(X)));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)),M)}return this.chain(e,(e=>this.backend.handle(e)))}}V.ɵfac=function(e){return new(e||V)(n.ɵɵinject(v),n.ɵɵinject(n.EnvironmentInjector))},V.ɵprov=n.ɵɵdefineInjectable({token:V,factory:V.ɵfac});let D,_=0;class B{}function $(){return"object"==typeof window?window:{}}class W{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+_++}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 p((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.parentNode&&n.parentNode.removeChild(n),delete this.callbackMap[s]};return n.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new F({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new z({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),n.addEventListener("error",(e=>{i(),t.error(new z({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(n),t.next({type:I.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){D||(D=this.document.implementation.createHTMLDocument()),D.adoptNode(e)}}function G(e,t){return"JSONP"===e.method?c(W).handle(e):t(e)}W.ɵfac=function(e){return new(e||W)(n.ɵɵinject(B),n.ɵɵinject(t))},W.ɵprov=n.ɵɵdefineInjectable({token:W,factory:W.ɵfac});class Y{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>G(e,(e=>t.handle(e)))))}}Y.ɵfac=function(e){return new(e||Y)(n.ɵɵinject(n.EnvironmentInjector))},Y.ɵprov=n.ɵɵdefineInjectable({token:Y,factory:Y.ɵfac});const Q=/^\)\]\}',?\n/;class Z{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new p((t=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach(((e,t)=>s.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&s.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();s.responseType="json"!==t?t:"text"}const r=e.serializeBody();let n=null;const o=()=>{if(null!==n)return n;const t=s.statusText||"OK",r=new g(s.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||e.url;return n=new A({headers:r,status:s.status,statusText:t,url:o}),n},a=()=>{let{headers:r,status:n,statusText:a,url:i}=o(),u=null;204!==n&&(u=void 0===s.response?s.responseText:s.response),0===n&&(n=u?200:0);let l=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(Q,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,l&&(l=!1,u={error:t,text:u})}}l?(t.next(new F({body:u,headers:r,status:n,statusText:a,url:i||void 0})),t.complete()):t.error(new z({error:u,headers:r,status:n,statusText:a,url:i||void 0}))},i=e=>{const{url:r}=o(),n=new z({error:e,status:s.status||0,statusText:s.statusText||"Unknown Error",url:r||void 0});t.error(n)};let u=!1;const l=r=>{u||(t.next(o()),u=!0);let n={type:I.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(n.total=r.total),"text"===e.responseType&&s.responseText&&(n.partialText=s.responseText),t.next(n)},h=e=>{let s={type:I.UploadProgress,loaded:e.loaded};e.lengthComputable&&(s.total=e.total),t.next(s)};return s.addEventListener("load",a),s.addEventListener("error",i),s.addEventListener("timeout",i),s.addEventListener("abort",i),e.reportProgress&&(s.addEventListener("progress",l),null!==r&&s.upload&&s.upload.addEventListener("progress",h)),s.send(r),t.next({type:I.Sent}),()=>{s.removeEventListener("error",i),s.removeEventListener("abort",i),s.removeEventListener("load",a),s.removeEventListener("timeout",i),e.reportProgress&&(s.removeEventListener("progress",l),null!==r&&s.upload&&s.upload.removeEventListener("progress",h)),s.readyState!==s.DONE&&s.abort()}}))}}Z.ɵfac=function(t){return new(t||Z)(n.ɵɵinject(e.XhrFactory))},Z.ɵprov=n.ɵɵdefineInjectable({token:Z,factory:Z.ɵfac});const ee=new a("XSRF_ENABLED"),te=new a("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),se=new a("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class re{}class ne{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=s(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function oe(e,t){const s=e.url.toLowerCase();if(!c(ee)||"GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return t(e);const r=c(re).getToken(),n=c(se);return null==r||e.headers.has(n)||(e=e.clone({headers:e.headers.set(n,r)})),t(e)}ne.ɵfac=function(e){return new(e||ne)(n.ɵɵinject(t),n.ɵɵinject(u),n.ɵɵinject(te))},ne.ɵprov=n.ɵɵdefineInjectable({token:ne,factory:ne.ɵfac});class ae{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>oe(e,(e=>t.handle(e)))))}}var ie;function ue(e,t){return{ɵkind:e,ɵproviders:t}}function le(...e){const t=[U,Z,V,{provide:b,useExisting:V},{provide:v,useExisting:Z},{provide:X,useValue:oe,multi:!0},{provide:ee,useValue:!0},{provide:re,useClass:ne}];for(const s of e)t.push(...s.ɵproviders);return h(t)}function he(e){return ue(ie.Interceptors,e.map((e=>({provide:X,useValue:e,multi:!0}))))}ae.ɵfac=function(e){return new(e||ae)(n.ɵɵinject(n.EnvironmentInjector))},ae.ɵprov=n.ɵɵdefineInjectable({token:ae,factory:ae.ɵfac}),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"}(ie||(ie={}));const ce=new a("LEGACY_INTERCEPTOR_FN");function de(){return ue(ie.LegacyInterceptors,[{provide:ce,useFactory:K},{provide:X,useExisting:ce,multi:!0}])}function pe({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:te,useValue:e}),void 0!==t&&s.push({provide:se,useValue:t}),ue(ie.CustomXsrfConfiguration,s)}function me(){return ue(ie.NoXsrfProtection,[{provide:ee,useValue:!1}])}function fe(){return ue(ie.JsonpSupport,[W,{provide:B,useFactory:$},{provide:X,useValue:G,multi:!0}])}function ye(){return ue(ie.RequestsMadeViaParent,[{provide:v,useFactory:()=>{const e=c(b,{skipSelf:!0,optional:!0});return e}}])}class be{static disable(){return{ngModule:be,providers:[me().ɵproviders]}}static withOptions(e={}){return{ngModule:be,providers:pe(e).ɵproviders}}}be.ɵfac=function(e){return new(e||be)},be.ɵmod=n.ɵɵdefineNgModule({type:be}),be.ɵinj=n.ɵɵdefineInjector({providers:[ae,{provide:J,useExisting:ae,multi:!0},{provide:re,useClass:ne},pe({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}).ɵproviders,{provide:ee,useValue:!0}]});class ve{}ve.ɵfac=function(e){return new(e||ve)},ve.ɵmod=n.ɵɵdefineNgModule({type:ve}),ve.ɵinj=n.ɵɵdefineInjector({providers:[le(de(),pe({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}))]});class ge{}ge.ɵfac=function(e){return new(e||ge)},ge.ɵmod=n.ɵɵdefineNgModule({type:ge}),ge.ɵinj=n.ɵɵdefineInjector({providers:[fe().ɵproviders]});const we=r;export{J as HTTP_INTERCEPTORS,v as HttpBackend,U as HttpClient,ge as HttpClientJsonpModule,ve as HttpClientModule,be as HttpClientXsrfModule,P as HttpContext,C as HttpContextToken,z as HttpErrorResponse,I as HttpEventType,ie as HttpFeatureKind,b as HttpHandler,A as HttpHeaderResponse,g as HttpHeaders,j as HttpParams,R as HttpRequest,F as HttpResponse,L as HttpResponseBase,w as HttpUrlEncodingCodec,Z as HttpXhrBackend,re as HttpXsrfTokenExtractor,W as JsonpClientBackend,Y as JsonpInterceptor,we as XhrFactory,le as provideHttpClient,he as withInterceptors,de as withInterceptorsFromDi,fe as withJsonpSupport,me as withNoXsrfProtection,ye as withRequestsMadeViaParent,pe as withXsrfConfiguration,V as ɵHttpInterceptingHandler,V as ɵHttpInterceptorHandler};
//# sourceMappingURL=angular-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import { ReplaySubject } from 'rxjs';

@@ -9,7 +9,6 @@ import { CommonModule, Location, PlatformLocation, LocationStrategy, APP_BASE_HREF, HashLocationStrategy, PathLocationStrategy } from '@angular/common';

/**
* @license Angular v15.0.4
* @license Angular v15.1.0
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
function deepEqual(a, b) {

@@ -25,3 +24,2 @@ if (a === b) {

}
return JSON.stringify(a) === JSON.stringify(b);

@@ -33,7 +31,5 @@ } catch (e) {

}
function isAnchor(el) {
return el.href !== undefined;
}
function isPromise(obj) {

@@ -44,11 +40,2 @@ // allow any Promise/A+ compliant thenable.

}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const PATH_MATCH = /^([^?#]*)(\?([^#]*))?(#(.*))?$/;

@@ -70,3 +57,2 @@ const DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;

*/
class $locationShim {

@@ -90,12 +76,10 @@ constructor($injector, location, platformLocation, urlCodec, locationStrategy) {

this.urlChanges = new ReplaySubject(1);
this.lastBrowserUrl = ''; // This variable should be used *only* inside the cacheState function.
this.lastBrowserUrl = '';
// This variable should be used *only* inside the cacheState function.
this.lastCachedState = null;
const initialUrl = this.browserUrl();
let parsedUrl = this.urlCodec.parse(initialUrl);
if (typeof parsedUrl === 'string') {
throw 'Invalid URL';
}
this.$$protocol = parsedUrl.protocol;

@@ -113,3 +97,2 @@ this.$$host = parsedUrl.hostname;

});
if (isPromise($injector)) {

@@ -121,3 +104,2 @@ $injector.then($i => this.initialize($i));

}
initialize($injector) {

@@ -130,5 +112,4 @@ const $rootScope = $injector.get('$rootScope');

}
let elm = event.target; // traverse the DOM up to find first A tag
let elm = event.target;
// traverse the DOM up to find first A tag
while (elm && elm.nodeName.toLowerCase() !== 'a') {

@@ -140,14 +121,11 @@ // ignore rewriting if no A tag (reached root element, or no parent - removed from document)

}
if (!isAnchor(elm)) {
return;
}
const absHref = elm.href;
const relHref = elm.getAttribute('href'); // Ignore when url is started with javascript: or mailto:
const relHref = elm.getAttribute('href');
// Ignore when url is started with javascript: or mailto:
if (IGNORE_URI_REGEXP.test(absHref)) {
return;
}
if (absHref && !elm.getAttribute('target') && !event.isDefaultPrevented()) {

@@ -158,4 +136,4 @@ if (this.$$parseLinkUrl(absHref, relHref)) {

// getting double entries in the location history.
event.preventDefault(); // update location manually
event.preventDefault();
// update location manually
if (this.absUrl() !== this.browserUrl()) {

@@ -176,8 +154,8 @@ $rootScope.$apply();

this.$$state = newState;
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return; // If default was prevented, set back to old state. This is the state that was locally
if (this.absUrl() !== newUrl) return;
// If default was prevented, set back to old state. This is the state that was locally
// cached in the $location service.
if (defaultPrevented) {

@@ -193,8 +171,7 @@ this.$$parse(oldUrl);

}
if (!$rootScope.$$phase) {
$rootScope.$digest();
}
}); // update browser
});
// update browser
$rootScope.$watch(() => {

@@ -207,7 +184,7 @@ if (this.initializing || this.updateBrowser) {

let currentReplace = this.$$replace;
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state; // Fire location changes one time to on initialization. This must be done on the
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state;
// Fire location changes one time to on initialization. This must be done on the
// next tick (thus inside $evalAsync()) in order for listeners to be registered
// before the event fires. Mimicing behavior from $locationWatch:
// https://github.com/angular/angular.js/blob/master/src/ng/location.js#L983
if (this.initializing || urlOrStateChanged) {

@@ -218,7 +195,6 @@ this.initializing = false;

const newUrl = this.absUrl();
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return;
if (defaultPrevented) {

@@ -234,5 +210,3 @@ this.$$parse(oldUrl);

}
$rootScope.$broadcast('$locationChangeSuccess', newUrl, oldUrl, this.$$state, oldState);
if (urlOrStateChanged) {

@@ -245,7 +219,5 @@ this.$$notifyChangeListeners(this.url(), this.$$state, oldUrl, oldState);

}
this.$$replace = false;
});
}
resetBrowserUpdate() {

@@ -257,3 +229,2 @@ this.$$replace = false;

}
browserUrl(url, replace, state) {

@@ -265,20 +236,18 @@ // In modern browsers `history.state` is `null` by default; treating it separately

state = null;
} // setter
}
// setter
if (url) {
let sameState = this.lastHistoryState === state; // Normalize the inputted URL
url = this.urlCodec.parse(url).href; // Don't change anything if previous and current URLs and states match.
let sameState = this.lastHistoryState === state;
// Normalize the inputted URL
url = this.urlCodec.parse(url).href;
// Don't change anything if previous and current URLs and states match.
if (this.lastBrowserUrl === url && sameState) {
return this;
}
this.lastBrowserUrl = url;
this.lastHistoryState = state; // Remove server base from URL as the Angular APIs for updating URL require
this.lastHistoryState = state;
// Remove server base from URL as the Angular APIs for updating URL require
// it to be the path+.
url = this.stripBaseUrl(this.getServerBase(), url) || url; // Set the URL
url = this.stripBaseUrl(this.getServerBase(), url) || url;
// Set the URL
if (replace) {

@@ -289,5 +258,5 @@ this.locationStrategy.replaceState(state, '', url, '');

}
this.cacheState();
return this; // getter
return this;
// getter
} else {

@@ -297,16 +266,12 @@ return this.platformLocation.href;

}
cacheState() {
// This should be the only place in $browser where `history.state` is read.
this.cachedState = this.platformLocation.getState();
if (typeof this.cachedState === 'undefined') {
this.cachedState = null;
} // Prevent callbacks fo fire twice if both hashchange & popstate were fired.
}
// Prevent callbacks fo fire twice if both hashchange & popstate were fired.
if (deepEqual(this.cachedState, this.lastCachedState)) {
this.cachedState = this.lastCachedState;
}
this.lastCachedState = this.cachedState;

@@ -319,8 +284,5 @@ this.lastHistoryState = this.cachedState;

*/
browserState() {
return this.cachedState;
}
stripBaseUrl(base, url) {

@@ -330,6 +292,4 @@ if (url.startsWith(base)) {

}
return undefined;
}
getServerBase() {

@@ -345,3 +305,2 @@ const {

}
parseAppUrl(url) {

@@ -351,20 +310,15 @@ if (DOUBLE_SLASH_REGEX.test(url)) {

}
let prefixed = url.charAt(0) !== '/';
if (prefixed) {
url = '/' + url;
}
let match = this.urlCodec.parse(url, this.getServerBase());
if (typeof match === 'string') {
throw new Error(`Bad URL - Cannot parse URL: ${url}`);
}
let path = prefixed && match.pathname.charAt(0) === '/' ? match.pathname.substring(1) : match.pathname;
this.$$path = this.urlCodec.decodePath(path);
this.$$search = this.urlCodec.decodeSearch(match.search);
this.$$hash = this.urlCodec.decodeHash(match.hash); // make sure path starts with '/';
this.$$hash = this.urlCodec.decodeHash(match.hash);
// make sure path starts with '/';
if (this.$$path && this.$$path.charAt(0) !== '/') {

@@ -387,4 +341,2 @@ this.$$path = '/' + this.$$path;

*/
onChange(fn, err = e => {}) {

@@ -394,4 +346,2 @@ this.$$changeListeners.push([fn, err]);

/** @internal */
$$notifyChangeListeners(url = '', state, oldUrl = '', oldState) {

@@ -411,7 +361,4 @@ this.$$changeListeners.forEach(([fn, err]) => {

*/
$$parse(url) {
let pathUrl;
if (url.startsWith('/')) {

@@ -423,13 +370,9 @@ pathUrl = url;

}
if (typeof pathUrl === 'undefined') {
throw new Error(`Invalid url "${url}", missing path prefix "${this.getServerBase()}".`);
}
this.parseAppUrl(pathUrl);
if (!this.$$path) {
this.$$path = '/';
}
this.composeUrls();

@@ -443,4 +386,2 @@ }

*/
$$parseLinkUrl(url, relHref) {

@@ -452,6 +393,4 @@ // When relHref is passed, it should be a hash and is handled separately

}
let rewrittenUrl;
let appUrl = this.stripBaseUrl(this.getServerBase(), url);
if (typeof appUrl !== 'undefined') {

@@ -461,21 +400,17 @@ rewrittenUrl = this.getServerBase() + appUrl;

rewrittenUrl = this.getServerBase();
} // Set the URL
}
// Set the URL
if (rewrittenUrl) {
this.$$parse(rewrittenUrl);
}
return !!rewrittenUrl;
}
setBrowserUrlWithFallback(url, replace, state) {
const oldUrl = this.url();
const oldState = this.$$state;
try {
this.browserUrl(url, replace, state); // Make sure $location.state() returns referentially identical (not just deeply equal)
this.browserUrl(url, replace, state);
// Make sure $location.state() returns referentially identical (not just deeply equal)
// state object; this makes possible quick checking if the state changed in the digest
// loop. Checking deep equality would be too expensive.
this.$$state = this.browserState();

@@ -489,7 +424,5 @@ } catch (e) {

}
composeUrls() {
this.$$url = this.urlCodec.normalize(this.$$path, this.$$search, this.$$hash);
this.$$absUrl = this.getServerBase() + this.$$url.slice(1); // remove '/' from front of URL
this.updateBrowser = true;

@@ -509,8 +442,5 @@ }

*/
absUrl() {
return this.$$absUrl;
}
url(url) {

@@ -521,3 +451,2 @@ if (typeof url === 'string') {

}
const match = PATH_MATCH.exec(url);

@@ -527,7 +456,6 @@ if (!match) return this;

if (match[2] || match[1] || url === '') this.search(match[3] || '');
this.hash(match[5] || ''); // Chainable method
this.hash(match[5] || '');
// Chainable method
return this;
}
return this.$$url;

@@ -544,4 +472,2 @@ }

*/
protocol() {

@@ -569,4 +495,2 @@ return this.$$protocol;

*/
host() {

@@ -584,14 +508,10 @@ return this.$$host;

*/
port() {
return this.$$port;
}
path(path) {
if (typeof path === 'undefined') {
return this.$$path;
} // null path converts to empty string. Prepend with "/" if needed.
}
// null path converts to empty string. Prepend with "/" if needed.
path = path !== null ? path.toString() : '';

@@ -603,3 +523,2 @@ path = path.charAt(0) === '/' ? path : '/' + path;

}
search(search, paramValue) {

@@ -609,3 +528,2 @@ switch (arguments.length) {

return this.$$search;
case 1:

@@ -616,9 +534,9 @@ if (typeof search === 'string' || typeof search === 'number') {

// Copy the object so it's never mutated
search = { ...search
}; // remove object undefined or null properties
search = {
...search
};
// remove object undefined or null properties
for (const key in search) {
if (search[key] == null) delete search[key];
}
this.$$search = search;

@@ -628,9 +546,6 @@ } else {

}
break;
default:
if (typeof search === 'string') {
const currentSearch = this.search();
if (typeof paramValue === 'undefined' || paramValue === null) {

@@ -644,9 +559,6 @@ delete currentSearch[search];

}
}
this.composeUrls();
return this;
}
hash(hash) {

@@ -656,3 +568,2 @@ if (typeof hash === 'undefined') {

}
this.$$hash = hash !== null ? hash.toString() : '';

@@ -666,4 +577,2 @@ this.composeUrls();

*/
replace() {

@@ -673,3 +582,2 @@ this.$$replace = true;

}
state(state) {

@@ -679,7 +587,5 @@ if (typeof state === 'undefined') {

}
this.$$state = state;
return this;
}
}

@@ -692,4 +598,2 @@ /**

*/
class $locationShimProvider {

@@ -706,4 +610,2 @@ constructor(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

*/
$get() {

@@ -716,4 +618,2 @@ return new $locationShim(this.ngUpgrade.$injector, this.location, this.platformLocation, this.urlCodec, this.locationStrategy);

*/
hashPrefix(prefix) {

@@ -726,16 +626,6 @@ throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');

*/
html5Mode(mode) {
throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');
}
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -747,4 +637,2 @@ /**

**/
class UrlCodec {}

@@ -757,4 +645,2 @@ /**

*/
class AngularJSUrlCodec {

@@ -765,3 +651,2 @@ // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L15

let i = segments.length;
while (i--) {

@@ -771,8 +656,6 @@ // decode forward slashes to prevent them from being double encoded

}
path = segments.join('/');
return _stripIndexHtml((path && path[0] !== '/' && '/' || '') + path);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
encodeSearch(search) {

@@ -782,21 +665,16 @@ if (typeof search === 'string') {

}
search = toKeyValue(search);
return search ? '?' + search : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
encodeHash(hash) {
hash = encodeUriSegment(hash);
return hash ? '#' + hash : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
decodePath(path, html5Mode = true) {
const segments = path.split('/');
let i = segments.length;
while (i--) {
segments[i] = decodeURIComponent(segments[i]);
if (html5Mode) {

@@ -807,12 +685,9 @@ // encode forward slashes to prevent them from being mistaken for path separators

}
return segments.join('/');
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
decodeSearch(search) {
return parseKeyValue(search);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
decodeHash(hash) {

@@ -822,11 +697,8 @@ hash = decodeURIComponent(hash);

}
normalize(pathOrHref, search, hash, baseUrl) {
if (arguments.length === 1) {
const parsed = this.parse(pathOrHref, baseUrl);
if (typeof parsed === 'string') {
return parsed;
}
const serverUrl = `${parsed.protocol}://${parsed.hostname}${parsed.port ? ':' + parsed.port : ''}`;

@@ -839,16 +711,12 @@ return this.normalize(this.decodePath(parsed.pathname), this.decodeSearch(parsed.search), this.decodeHash(parsed.hash), serverUrl);

let joinedPath = (baseUrl || '') + encPath;
if (!joinedPath.length || joinedPath[0] !== '/') {
joinedPath = '/' + joinedPath;
}
return joinedPath + encSearch + encHash;
}
}
areEqual(valA, valB) {
return this.normalize(valA) === this.normalize(valB);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
parse(url, base) {

@@ -872,5 +740,3 @@ try {

}
}
function _stripIndexHtml(url) {

@@ -885,4 +751,2 @@ return url.replace(/\/index.html$/, '');

*/
function tryDecodeURIComponent(value) {

@@ -900,4 +764,2 @@ try {

*/
function parseKeyValue(keyValue) {

@@ -907,7 +769,5 @@ const obj = {};

let splitPoint, key, val;
if (keyValue) {
key = keyValue = keyValue.replace(/\+/g, '%20');
splitPoint = keyValue.indexOf('=');
if (splitPoint !== -1) {

@@ -917,8 +777,5 @@ key = keyValue.substring(0, splitPoint);

}
key = tryDecodeURIComponent(key);
if (typeof key !== 'undefined') {
val = typeof val !== 'undefined' ? tryDecodeURIComponent(val) : true;
if (!obj.hasOwnProperty(key)) {

@@ -940,10 +797,6 @@ obj[key] = val;

*/
function toKeyValue(obj) {
const parts = [];
for (const key in obj) {
let value = obj[key];
if (Array.isArray(value)) {

@@ -957,3 +810,2 @@ value.forEach(arrayValue => {

}
return parts.length ? parts.join('&') : '';

@@ -974,4 +826,2 @@ }

*/
function encodeUriSegment(val) {

@@ -993,14 +843,5 @@ return encodeUriQuery(val, true).replace(/%26/g, '&').replace(/%3D/gi, '=').replace(/%2B/gi, '+');

*/
function encodeUriQuery(val, pctEncodeSpaces = false) {
return encodeURIComponent(val).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%3B/gi, ';').replace(/%20/g, pctEncodeSpaces ? '%20' : '+');
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -1012,4 +853,2 @@ /**

*/
const LOCATION_UPGRADE_CONFIGURATION = new InjectionToken('LOCATION_UPGRADE_CONFIGURATION');

@@ -1024,3 +863,2 @@ const APP_BASE_HREF_RESOLVED = new InjectionToken('APP_BASE_HREF_RESOLVED');

*/
class LocationUpgradeModule {

@@ -1052,9 +890,6 @@ static config(config) {

}
}
LocationUpgradeModule.ɵfac = function LocationUpgradeModule_Factory(t) {
return new (t || LocationUpgradeModule)();
};
LocationUpgradeModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({

@@ -1066,3 +901,2 @@ type: LocationUpgradeModule

});
(function () {

@@ -1076,3 +910,2 @@ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocationUpgradeModule, [{

})();
function provideAppBaseHref(config, appBaseHref) {

@@ -1084,6 +917,4 @@ if (config && config.appBaseHref != null) {

}
return '';
}
function provideUrlCodec(config) {

@@ -1093,7 +924,5 @@ const codec = config && config.urlCodec || AngularJSUrlCodec;

}
function provideLocationStrategy(platformLocation, baseHref, options = {}) {
return options.useHash ? new HashLocationStrategy(platformLocation, baseHref) : new PathLocationStrategy(platformLocation, baseHref);
}
function provide$location(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

@@ -1100,0 +929,0 @@ const $locationProvider = new $locationShimProvider(ngUpgrade, location, platformLocation, urlCodec, locationStrategy);

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - es format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
import{ReplaySubject as t}from"rxjs";import{CommonModule as e,Location as r,PlatformLocation as s,LocationStrategy as i,APP_BASE_HREF as a,HashLocationStrategy as h,PathLocationStrategy as o}from"@angular/common";import*as n from"@angular/core";import{InjectionToken as c,NgModule as l,Inject as $,Optional as p}from"@angular/core";import{UpgradeModule as u}from"@angular/upgrade/static";const d=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,g=/^\s*[\\/]{2,}/,f=/^\s*(javascript|mailto):/i,w={"http:":80,"https:":443,"ftp:":21};class S{constructor(e,r,s,i,a){this.location=r,this.platformLocation=s,this.urlCodec=i,this.locationStrategy=a,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new t(1),this.lastBrowserUrl="",this.lastCachedState=null;const h=this.browserUrl();let o=this.urlCodec.parse(h);if("string"==typeof o)throw"Invalid URL";var n;this.$$protocol=o.protocol,this.$$host=o.hostname,this.$$port=parseInt(o.port)||w[o.protocol]||null,this.$$parseLinkUrl(h,h),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),(n=e)&&"function"==typeof n.then?e.then((t=>this.initialize(t))):this.initialize(e)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");f.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(g.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=(t=>{})){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||(this.$$path="/"),this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=d.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t={...t};for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}class U{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new S(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}class m{}class y{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=v(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=C(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(B(r,!0)+(!0===t?"":"="+B(t,!0)))})):e.push(B(r,!0)+(!0===s?"":"="+B(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=v(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return C(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function b(t){try{return decodeURIComponent(t)}catch(t){return}}function C(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=b(s),void 0!==s&&(i=void 0===i||b(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function v(t){return B(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function B(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}const L=new c("LOCATION_UPGRADE_CONFIGURATION"),A=new c("APP_BASE_HREF_RESOLVED");class E{static config(t){return{ngModule:E,providers:[r,{provide:S,useFactory:H,deps:[u,r,s,m,i]},{provide:L,useValue:t||{}},{provide:m,useFactory:R,deps:[L]},{provide:A,useFactory:P,deps:[L,[new $(a),new p]]},{provide:i,useFactory:z,deps:[s,A,L]}]}}}function P(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function R(t){return new(t&&t.urlCodec||y)}function z(t,e,r={}){return r.useHash?new h(t,e):new o(t,e)}function H(t,e,r,s,i){return new U(t,e,r,s,i).$get()}E.ɵfac=function(t){return new(t||E)},E.ɵmod=n.ɵɵdefineNgModule({type:E}),E.ɵinj=n.ɵɵdefineInjector({imports:[e]});export{S as $locationShim,U as $locationShimProvider,y as AngularJSUrlCodec,L as LOCATION_UPGRADE_CONFIGURATION,E as LocationUpgradeModule,m as UrlCodec};
//# sourceMappingURL=angular-upgrade.min.js.map
{
"name": "@esm-bundle/angular__common",
"version": "15.0.4",
"version": "15.1.0",
"description": "Repo to test esm-bundle's automatic publishing",

@@ -51,5 +51,5 @@ "exports": {

"devDependencies": {
"@angular/common": "15.0.4",
"@angular/compiler": "15.0.4",
"@angular/compiler-cli": "15.0.4",
"@angular/common": "15.1.0",
"@angular/compiler": "15.1.0",
"@angular/compiler-cli": "15.1.0",
"@angular/core": "13.3.0",

@@ -59,3 +59,3 @@ "@rollup/plugin-babel": "6.0.3",

"esm-bundle-scripts": "1.2.0",
"husky": "8.0.2",
"husky": "8.0.3",
"karma": "6.4.1",

@@ -65,5 +65,5 @@ "karma-firefox-launcher": "2.1.2",

"pinst": "3.0.0",
"prettier": "2.8.1",
"prettier": "2.8.2",
"pretty-quick": "3.1.3",
"release-it": "15.5.1",
"release-it": "15.6.0",
"release-it-plugin-esm-bundle": "3.0.0",

@@ -73,5 +73,5 @@ "rimraf": "3.0.2",

"rollup-plugin-terser": "7.0.2",
"rxjs": "7.6.0",
"rxjs": "7.8.0",
"typescript": "4.9.4"
}
}

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@15.0.4 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@15.1.0 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","rxjs","rxjs/operators"],(function(e){"use strict";var t,s,r,n,o,a,i,u,l,c,d,h,p,f;return{setters:[function(e){t=e.DOCUMENT,s=e,r=e["ɵparseCookieValue"],n=e.XhrFactory},function(e){o=e,e.Injectable,a=e.InjectionToken,e.Inject,i=e.PLATFORM_ID,e.NgModule,u=e.makeEnvironmentProviders,l=e.inject},function(e){c=e.of,d=e.Observable},function(e){h=e.concatMap,p=e.filter,f=e.map}],execute:function(){e({provideHttpClient:ue,withInterceptors:function(e){return ie(ae.Interceptors,e.map((e=>({provide:U,useValue:e,multi:!0}))))},withInterceptorsFromDi:ce,withJsonpSupport:pe,withNoXsrfProtection:he,withRequestsMadeViaParent:function(){return ie(ae.RequestsMadeViaParent,[{provide:y,useFactory:()=>{const e=l(m,{skipSelf:!0,optional:!0});return e}}])},withXsrfConfiguration:de});class m{}e("HttpHandler",m);class y{}e("HttpBackend",y);class v{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const 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])}}))}:()=>{this.headers=new Map,Object.keys(e).forEach((t=>{let s=e[t];const r=t.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(r,s),this.maybeSetNormalizedName(t,r))}))}: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 v?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 v;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof v?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)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}e("HttpHeaders",v);class b{encodeKey(e){return E(e)}encodeValue(e){return E(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}e("HttpUrlEncodingCodec",b);const w=/%(\d[a-f0-9])/gi,g={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function E(e){return encodeURIComponent(e).replace(w,((e,t)=>{var s;return null!==(s=g[t])&&void 0!==s?s:e}))}function T(e){return`${e}`}class C{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new b,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))],a=s.get(n)||[];a.push(o),s.set(n,a)}));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(T):[T(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 C({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(T(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(T(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)}}e("HttpParams",C);e("HttpContextToken",class{constructor(e){this.defaultValue=e}});class x{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 P(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function j(e){return"undefined"!=typeof Blob&&e instanceof Blob}function N(e){return"undefined"!=typeof FormData&&e instanceof FormData}e("HttpContext",x);class k{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 v),this.context||(this.context=new x),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 C,this.urlWithParams=t}serializeBody(){return null===this.body?null:P(this.body)||j(this.body)||N(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof C?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||N(this.body)?null:j(this.body)?this.body.type||null:P(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof C?"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={}){var t;const s=e.method||this.method,r=e.url||this.url,n=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,i=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let u=e.headers||this.headers,l=e.params||this.params;const c=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),u)),e.setParams&&(l=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),l)),new k(s,r,o,{params:l,headers:u,context:c,reportProgress:i,responseType:n,withCredentials:a})}}var H;e("HttpRequest",k),e("HttpEventType",H),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"}(H||e("HttpEventType",H={}));class S{constructor(e,t=200,s="OK"){this.headers=e.headers||new v,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}}e("HttpResponseBase",S);class R extends S{constructor(e={}){super(e),this.type=H.ResponseHeader}clone(e={}){return new R({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})}}e("HttpHeaderResponse",R);class I extends S{constructor(e={}){super(e),this.type=H.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new I({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})}}e("HttpResponse",I);class O extends S{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 L(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}}e("HttpErrorResponse",O);class A{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof k)r=e;else{let n,o;n=s.headers instanceof v?s.headers:new v(s.headers),s.params&&(o=s.params instanceof C?s.params:new C({fromObject:s.params})),r=new k(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=c(r).pipe(h((e=>this.handler.handle(e))));if(e instanceof k||"events"===s.observe)return n;const o=n.pipe(p((e=>e instanceof I)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(f((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(f((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(f((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(f((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 C).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,L(s,t))}post(e,t,s={}){return this.request("POST",e,L(s,t))}put(e,t,s={}){return this.request("PUT",e,L(s,t))}}function F(e,t){return t(e)}function z(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}e("HttpClient",A),A.ɵfac=function(e){return new(e||A)(o.ɵɵinject(m))},A.ɵprov=o.ɵɵdefineInjectable({token:A,factory:A.ɵfac});const M=e("HTTP_INTERCEPTORS",new a("HTTP_INTERCEPTORS")),U=new a("HTTP_INTERCEPTOR_FNS");function J(){let e=null;return(t,s)=>{var r;if(null===e){const t=null!==(r=l(M,{optional:!0}))&&void 0!==r?r:[];e=t.reduceRight(z,F)}return e(t,s)}}class q extends m{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=Array.from(new Set(this.injector.get(U)));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)),F)}return this.chain(e,(e=>this.backend.handle(e)))}}e({ɵHttpInterceptingHandler:q,ɵHttpInterceptorHandler:q}),q.ɵfac=function(e){return new(e||q)(o.ɵɵinject(y),o.ɵɵinject(o.EnvironmentInjector))},q.ɵprov=o.ɵɵdefineInjectable({token:q,factory:q.ɵfac});let X,V=0;class B{}function D(){return"object"==typeof window?window:{}}class _{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+V++}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 d((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.parentNode&&n.parentNode.removeChild(n),delete this.callbackMap[s]};return n.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new I({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new O({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),n.addEventListener("error",(e=>{i(),t.error(new O({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(n),t.next({type:H.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){X||(X=this.document.implementation.createHTMLDocument()),X.adoptNode(e)}}function K(e,t){return"JSONP"===e.method?l(_).handle(e):t(e)}e("JsonpClientBackend",_),_.ɵfac=function(e){return new(e||_)(o.ɵɵinject(B),o.ɵɵinject(t))},_.ɵprov=o.ɵɵdefineInjectable({token:_,factory:_.ɵfac});class ${constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>K(e,(e=>t.handle(e)))))}}e("JsonpInterceptor",$),$.ɵfac=function(e){return new(e||$)(o.ɵɵinject(o.EnvironmentInjector))},$.ɵprov=o.ɵɵdefineInjectable({token:$,factory:$.ɵfac});const W=/^\)\]\}',?\n/;class G{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d((t=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach(((e,t)=>s.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&s.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();s.responseType="json"!==t?t:"text"}const r=e.serializeBody();let n=null;const o=()=>{if(null!==n)return n;const t=s.statusText||"OK",r=new v(s.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||e.url;return n=new R({headers:r,status:s.status,statusText:t,url:o}),n},a=()=>{let{headers:r,status:n,statusText:a,url:i}=o(),u=null;204!==n&&(u=void 0===s.response?s.responseText:s.response),0===n&&(n=u?200:0);let l=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(W,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,l&&(l=!1,u={error:t,text:u})}}l?(t.next(new I({body:u,headers:r,status:n,statusText:a,url:i||void 0})),t.complete()):t.error(new O({error:u,headers:r,status:n,statusText:a,url:i||void 0}))},i=e=>{const{url:r}=o(),n=new O({error:e,status:s.status||0,statusText:s.statusText||"Unknown Error",url:r||void 0});t.error(n)};let u=!1;const l=r=>{u||(t.next(o()),u=!0);let n={type:H.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(n.total=r.total),"text"===e.responseType&&s.responseText&&(n.partialText=s.responseText),t.next(n)},c=e=>{let s={type:H.UploadProgress,loaded:e.loaded};e.lengthComputable&&(s.total=e.total),t.next(s)};return s.addEventListener("load",a),s.addEventListener("error",i),s.addEventListener("timeout",i),s.addEventListener("abort",i),e.reportProgress&&(s.addEventListener("progress",l),null!==r&&s.upload&&s.upload.addEventListener("progress",c)),s.send(r),t.next({type:H.Sent}),()=>{s.removeEventListener("error",i),s.removeEventListener("abort",i),s.removeEventListener("load",a),s.removeEventListener("timeout",i),e.reportProgress&&(s.removeEventListener("progress",l),null!==r&&s.upload&&s.upload.removeEventListener("progress",c)),s.readyState!==s.DONE&&s.abort()}}))}}e("HttpXhrBackend",G),G.ɵfac=function(e){return new(e||G)(o.ɵɵinject(s.XhrFactory))},G.ɵprov=o.ɵɵdefineInjectable({token:G,factory:G.ɵfac});const Y=new a("XSRF_ENABLED"),Q="XSRF-TOKEN",Z=new a("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Q}),ee="X-XSRF-TOKEN",te=new a("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ee});class se{}e("HttpXsrfTokenExtractor",se);class re{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=r(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function ne(e,t){const s=e.url.toLowerCase();if(!l(Y)||"GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return t(e);const r=l(se).getToken(),n=l(te);return null==r||e.headers.has(n)||(e=e.clone({headers:e.headers.set(n,r)})),t(e)}re.ɵfac=function(e){return new(e||re)(o.ɵɵinject(t),o.ɵɵinject(i),o.ɵɵinject(Z))},re.ɵprov=o.ɵɵdefineInjectable({token:re,factory:re.ɵfac});class oe{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>ne(e,(e=>t.handle(e)))))}}var ae;function ie(e,t){return{ɵkind:e,ɵproviders:t}}function ue(...e){const t=[A,G,q,{provide:m,useExisting:q},{provide:y,useExisting:G},{provide:U,useValue:ne,multi:!0},{provide:Y,useValue:!0},{provide:se,useClass:re}];for(const s of e)t.push(...s.ɵproviders);return u(t)}oe.ɵfac=function(e){return new(e||oe)(o.ɵɵinject(o.EnvironmentInjector))},oe.ɵprov=o.ɵɵdefineInjectable({token:oe,factory:oe.ɵfac}),e("HttpFeatureKind",ae),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"}(ae||e("HttpFeatureKind",ae={}));const le=new a("LEGACY_INTERCEPTOR_FN");function ce(){return ie(ae.LegacyInterceptors,[{provide:le,useFactory:J},{provide:U,useExisting:le,multi:!0}])}function de({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:Z,useValue:e}),void 0!==t&&s.push({provide:te,useValue:t}),ie(ae.CustomXsrfConfiguration,s)}function he(){return ie(ae.NoXsrfProtection,[{provide:Y,useValue:!1}])}function pe(){return ie(ae.JsonpSupport,[_,{provide:B,useFactory:D},{provide:U,useValue:K,multi:!0}])}class fe{static disable(){return{ngModule:fe,providers:[he().ɵproviders]}}static withOptions(e={}){return{ngModule:fe,providers:de(e).ɵproviders}}}e("HttpClientXsrfModule",fe),fe.ɵfac=function(e){return new(e||fe)},fe.ɵmod=o.ɵɵdefineNgModule({type:fe}),fe.ɵinj=o.ɵɵdefineInjector({providers:[oe,{provide:M,useExisting:oe,multi:!0},{provide:se,useClass:re},de({cookieName:Q,headerName:ee}).ɵproviders,{provide:Y,useValue:!0}]});class me{}e("HttpClientModule",me),me.ɵfac=function(e){return new(e||me)},me.ɵmod=o.ɵɵdefineNgModule({type:me}),me.ɵinj=o.ɵɵdefineInjector({providers:[ue(ce(),de({cookieName:Q,headerName:ee}))]});class ye{}e("HttpClientJsonpModule",ye),ye.ɵfac=function(e){return new(e||ye)},ye.ɵmod=o.ɵɵdefineNgModule({type:ye}),ye.ɵinj=o.ɵɵdefineInjector({providers:[pe().ɵproviders]});e("XhrFactory",n)}}}));
//# sourceMappingURL=angular-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['rxjs', '@angular/common', '@angular/core', '@angular/upgrade/static'], (function (exports) {

@@ -28,7 +28,6 @@ 'use strict';

/**
* @license Angular v15.0.4
* @license Angular v15.1.0
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
function deepEqual(a, b) {

@@ -44,3 +43,2 @@ if (a === b) {

}
return JSON.stringify(a) === JSON.stringify(b);

@@ -52,7 +50,5 @@ } catch (e) {

}
function isAnchor(el) {
return el.href !== undefined;
}
function isPromise(obj) {

@@ -63,11 +59,2 @@ // allow any Promise/A+ compliant thenable.

}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const PATH_MATCH = /^([^?#]*)(\?([^#]*))?(#(.*))?$/;

@@ -89,3 +76,2 @@ const DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;

*/
class $locationShim {

@@ -109,12 +95,10 @@ constructor($injector, location, platformLocation, urlCodec, locationStrategy) {

this.urlChanges = new ReplaySubject(1);
this.lastBrowserUrl = ''; // This variable should be used *only* inside the cacheState function.
this.lastBrowserUrl = '';
// This variable should be used *only* inside the cacheState function.
this.lastCachedState = null;
const initialUrl = this.browserUrl();
let parsedUrl = this.urlCodec.parse(initialUrl);
if (typeof parsedUrl === 'string') {
throw 'Invalid URL';
}
this.$$protocol = parsedUrl.protocol;

@@ -132,3 +116,2 @@ this.$$host = parsedUrl.hostname;

});
if (isPromise($injector)) {

@@ -140,3 +123,2 @@ $injector.then($i => this.initialize($i));

}
initialize($injector) {

@@ -149,5 +131,4 @@ const $rootScope = $injector.get('$rootScope');

}
let elm = event.target; // traverse the DOM up to find first A tag
let elm = event.target;
// traverse the DOM up to find first A tag
while (elm && elm.nodeName.toLowerCase() !== 'a') {

@@ -159,14 +140,11 @@ // ignore rewriting if no A tag (reached root element, or no parent - removed from document)

}
if (!isAnchor(elm)) {
return;
}
const absHref = elm.href;
const relHref = elm.getAttribute('href'); // Ignore when url is started with javascript: or mailto:
const relHref = elm.getAttribute('href');
// Ignore when url is started with javascript: or mailto:
if (IGNORE_URI_REGEXP.test(absHref)) {
return;
}
if (absHref && !elm.getAttribute('target') && !event.isDefaultPrevented()) {

@@ -177,4 +155,4 @@ if (this.$$parseLinkUrl(absHref, relHref)) {

// getting double entries in the location history.
event.preventDefault(); // update location manually
event.preventDefault();
// update location manually
if (this.absUrl() !== this.browserUrl()) {

@@ -195,8 +173,8 @@ $rootScope.$apply();

this.$$state = newState;
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return; // If default was prevented, set back to old state. This is the state that was locally
if (this.absUrl() !== newUrl) return;
// If default was prevented, set back to old state. This is the state that was locally
// cached in the $location service.
if (defaultPrevented) {

@@ -212,8 +190,7 @@ this.$$parse(oldUrl);

}
if (!$rootScope.$$phase) {
$rootScope.$digest();
}
}); // update browser
});
// update browser
$rootScope.$watch(() => {

@@ -226,7 +203,7 @@ if (this.initializing || this.updateBrowser) {

let currentReplace = this.$$replace;
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state; // Fire location changes one time to on initialization. This must be done on the
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state;
// Fire location changes one time to on initialization. This must be done on the
// next tick (thus inside $evalAsync()) in order for listeners to be registered
// before the event fires. Mimicing behavior from $locationWatch:
// https://github.com/angular/angular.js/blob/master/src/ng/location.js#L983
if (this.initializing || urlOrStateChanged) {

@@ -237,7 +214,6 @@ this.initializing = false;

const newUrl = this.absUrl();
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return;
if (defaultPrevented) {

@@ -253,5 +229,3 @@ this.$$parse(oldUrl);

}
$rootScope.$broadcast('$locationChangeSuccess', newUrl, oldUrl, this.$$state, oldState);
if (urlOrStateChanged) {

@@ -264,7 +238,5 @@ this.$$notifyChangeListeners(this.url(), this.$$state, oldUrl, oldState);

}
this.$$replace = false;
});
}
resetBrowserUpdate() {

@@ -276,3 +248,2 @@ this.$$replace = false;

}
browserUrl(url, replace, state) {

@@ -284,20 +255,18 @@ // In modern browsers `history.state` is `null` by default; treating it separately

state = null;
} // setter
}
// setter
if (url) {
let sameState = this.lastHistoryState === state; // Normalize the inputted URL
url = this.urlCodec.parse(url).href; // Don't change anything if previous and current URLs and states match.
let sameState = this.lastHistoryState === state;
// Normalize the inputted URL
url = this.urlCodec.parse(url).href;
// Don't change anything if previous and current URLs and states match.
if (this.lastBrowserUrl === url && sameState) {
return this;
}
this.lastBrowserUrl = url;
this.lastHistoryState = state; // Remove server base from URL as the Angular APIs for updating URL require
this.lastHistoryState = state;
// Remove server base from URL as the Angular APIs for updating URL require
// it to be the path+.
url = this.stripBaseUrl(this.getServerBase(), url) || url; // Set the URL
url = this.stripBaseUrl(this.getServerBase(), url) || url;
// Set the URL
if (replace) {

@@ -308,5 +277,5 @@ this.locationStrategy.replaceState(state, '', url, '');

}
this.cacheState();
return this; // getter
return this;
// getter
} else {

@@ -316,16 +285,12 @@ return this.platformLocation.href;

}
cacheState() {
// This should be the only place in $browser where `history.state` is read.
this.cachedState = this.platformLocation.getState();
if (typeof this.cachedState === 'undefined') {
this.cachedState = null;
} // Prevent callbacks fo fire twice if both hashchange & popstate were fired.
}
// Prevent callbacks fo fire twice if both hashchange & popstate were fired.
if (deepEqual(this.cachedState, this.lastCachedState)) {
this.cachedState = this.lastCachedState;
}
this.lastCachedState = this.cachedState;

@@ -338,8 +303,5 @@ this.lastHistoryState = this.cachedState;

*/
browserState() {
return this.cachedState;
}
stripBaseUrl(base, url) {

@@ -349,6 +311,4 @@ if (url.startsWith(base)) {

}
return undefined;
}
getServerBase() {

@@ -364,3 +324,2 @@ const {

}
parseAppUrl(url) {

@@ -370,20 +329,15 @@ if (DOUBLE_SLASH_REGEX.test(url)) {

}
let prefixed = url.charAt(0) !== '/';
if (prefixed) {
url = '/' + url;
}
let match = this.urlCodec.parse(url, this.getServerBase());
if (typeof match === 'string') {
throw new Error(`Bad URL - Cannot parse URL: ${url}`);
}
let path = prefixed && match.pathname.charAt(0) === '/' ? match.pathname.substring(1) : match.pathname;
this.$$path = this.urlCodec.decodePath(path);
this.$$search = this.urlCodec.decodeSearch(match.search);
this.$$hash = this.urlCodec.decodeHash(match.hash); // make sure path starts with '/';
this.$$hash = this.urlCodec.decodeHash(match.hash);
// make sure path starts with '/';
if (this.$$path && this.$$path.charAt(0) !== '/') {

@@ -406,4 +360,2 @@ this.$$path = '/' + this.$$path;

*/
onChange(fn, err = e => {}) {

@@ -413,4 +365,2 @@ this.$$changeListeners.push([fn, err]);

/** @internal */
$$notifyChangeListeners(url = '', state, oldUrl = '', oldState) {

@@ -430,7 +380,4 @@ this.$$changeListeners.forEach(([fn, err]) => {

*/
$$parse(url) {
let pathUrl;
if (url.startsWith('/')) {

@@ -442,13 +389,9 @@ pathUrl = url;

}
if (typeof pathUrl === 'undefined') {
throw new Error(`Invalid url "${url}", missing path prefix "${this.getServerBase()}".`);
}
this.parseAppUrl(pathUrl);
if (!this.$$path) {
this.$$path = '/';
}
this.composeUrls();

@@ -462,4 +405,2 @@ }

*/
$$parseLinkUrl(url, relHref) {

@@ -471,6 +412,4 @@ // When relHref is passed, it should be a hash and is handled separately

}
let rewrittenUrl;
let appUrl = this.stripBaseUrl(this.getServerBase(), url);
if (typeof appUrl !== 'undefined') {

@@ -480,21 +419,17 @@ rewrittenUrl = this.getServerBase() + appUrl;

rewrittenUrl = this.getServerBase();
} // Set the URL
}
// Set the URL
if (rewrittenUrl) {
this.$$parse(rewrittenUrl);
}
return !!rewrittenUrl;
}
setBrowserUrlWithFallback(url, replace, state) {
const oldUrl = this.url();
const oldState = this.$$state;
try {
this.browserUrl(url, replace, state); // Make sure $location.state() returns referentially identical (not just deeply equal)
this.browserUrl(url, replace, state);
// Make sure $location.state() returns referentially identical (not just deeply equal)
// state object; this makes possible quick checking if the state changed in the digest
// loop. Checking deep equality would be too expensive.
this.$$state = this.browserState();

@@ -508,7 +443,5 @@ } catch (e) {

}
composeUrls() {
this.$$url = this.urlCodec.normalize(this.$$path, this.$$search, this.$$hash);
this.$$absUrl = this.getServerBase() + this.$$url.slice(1); // remove '/' from front of URL
this.updateBrowser = true;

@@ -528,8 +461,5 @@ }

*/
absUrl() {
return this.$$absUrl;
}
url(url) {

@@ -540,3 +470,2 @@ if (typeof url === 'string') {

}
const match = PATH_MATCH.exec(url);

@@ -546,7 +475,6 @@ if (!match) return this;

if (match[2] || match[1] || url === '') this.search(match[3] || '');
this.hash(match[5] || ''); // Chainable method
this.hash(match[5] || '');
// Chainable method
return this;
}
return this.$$url;

@@ -563,4 +491,2 @@ }

*/
protocol() {

@@ -588,4 +514,2 @@ return this.$$protocol;

*/
host() {

@@ -603,14 +527,10 @@ return this.$$host;

*/
port() {
return this.$$port;
}
path(path) {
if (typeof path === 'undefined') {
return this.$$path;
} // null path converts to empty string. Prepend with "/" if needed.
}
// null path converts to empty string. Prepend with "/" if needed.
path = path !== null ? path.toString() : '';

@@ -622,3 +542,2 @@ path = path.charAt(0) === '/' ? path : '/' + path;

}
search(search, paramValue) {

@@ -628,3 +547,2 @@ switch (arguments.length) {

return this.$$search;
case 1:

@@ -635,8 +553,7 @@ if (typeof search === 'string' || typeof search === 'number') {

// Copy the object so it's never mutated
search = Object.assign({}, search); // remove object undefined or null properties
search = Object.assign({}, search);
// remove object undefined or null properties
for (const key in search) {
if (search[key] == null) delete search[key];
}
this.$$search = search;

@@ -646,9 +563,6 @@ } else {

}
break;
default:
if (typeof search === 'string') {
const currentSearch = this.search();
if (typeof paramValue === 'undefined' || paramValue === null) {

@@ -662,9 +576,6 @@ delete currentSearch[search];

}
}
this.composeUrls();
return this;
}
hash(hash) {

@@ -674,3 +585,2 @@ if (typeof hash === 'undefined') {

}
this.$$hash = hash !== null ? hash.toString() : '';

@@ -684,4 +594,2 @@ this.composeUrls();

*/
replace() {

@@ -691,3 +599,2 @@ this.$$replace = true;

}
state(state) {

@@ -697,7 +604,5 @@ if (typeof state === 'undefined') {

}
this.$$state = state;
return this;
}
} exports('$locationShim', $locationShim);

@@ -710,4 +615,2 @@ /**

*/
class $locationShimProvider {

@@ -724,4 +627,2 @@ constructor(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

*/
$get() {

@@ -734,4 +635,2 @@ return new $locationShim(this.ngUpgrade.$injector, this.location, this.platformLocation, this.urlCodec, this.locationStrategy);

*/
hashPrefix(prefix) {

@@ -744,16 +643,6 @@ throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');

*/
html5Mode(mode) {
throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');
}
} exports('$locationShimProvider', $locationShimProvider);
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -765,4 +654,2 @@ /**

**/
class UrlCodec {} exports('UrlCodec', UrlCodec);

@@ -775,4 +662,2 @@ /**

*/
class AngularJSUrlCodec {

@@ -783,3 +668,2 @@ // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L15

let i = segments.length;
while (i--) {

@@ -789,8 +673,6 @@ // decode forward slashes to prevent them from being double encoded

}
path = segments.join('/');
return _stripIndexHtml((path && path[0] !== '/' && '/' || '') + path);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
encodeSearch(search) {

@@ -800,21 +682,16 @@ if (typeof search === 'string') {

}
search = toKeyValue(search);
return search ? '?' + search : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
encodeHash(hash) {
hash = encodeUriSegment(hash);
return hash ? '#' + hash : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
decodePath(path, html5Mode = true) {
const segments = path.split('/');
let i = segments.length;
while (i--) {
segments[i] = decodeURIComponent(segments[i]);
if (html5Mode) {

@@ -825,12 +702,9 @@ // encode forward slashes to prevent them from being mistaken for path separators

}
return segments.join('/');
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
decodeSearch(search) {
return parseKeyValue(search);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
decodeHash(hash) {

@@ -840,11 +714,8 @@ hash = decodeURIComponent(hash);

}
normalize(pathOrHref, search, hash, baseUrl) {
if (arguments.length === 1) {
const parsed = this.parse(pathOrHref, baseUrl);
if (typeof parsed === 'string') {
return parsed;
}
const serverUrl = `${parsed.protocol}://${parsed.hostname}${parsed.port ? ':' + parsed.port : ''}`;

@@ -857,16 +728,12 @@ return this.normalize(this.decodePath(parsed.pathname), this.decodeSearch(parsed.search), this.decodeHash(parsed.hash), serverUrl);

let joinedPath = (baseUrl || '') + encPath;
if (!joinedPath.length || joinedPath[0] !== '/') {
joinedPath = '/' + joinedPath;
}
return joinedPath + encSearch + encHash;
}
}
areEqual(valA, valB) {
return this.normalize(valA) === this.normalize(valB);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
parse(url, base) {

@@ -890,5 +757,3 @@ try {

}
} exports('AngularJSUrlCodec', AngularJSUrlCodec);
function _stripIndexHtml(url) {

@@ -903,4 +768,2 @@ return url.replace(/\/index.html$/, '');

*/
function tryDecodeURIComponent(value) {

@@ -918,4 +781,2 @@ try {

*/
function parseKeyValue(keyValue) {

@@ -925,7 +786,5 @@ const obj = {};

let splitPoint, key, val;
if (keyValue) {
key = keyValue = keyValue.replace(/\+/g, '%20');
splitPoint = keyValue.indexOf('=');
if (splitPoint !== -1) {

@@ -935,8 +794,5 @@ key = keyValue.substring(0, splitPoint);

}
key = tryDecodeURIComponent(key);
if (typeof key !== 'undefined') {
val = typeof val !== 'undefined' ? tryDecodeURIComponent(val) : true;
if (!obj.hasOwnProperty(key)) {

@@ -958,10 +814,6 @@ obj[key] = val;

*/
function toKeyValue(obj) {
const parts = [];
for (const key in obj) {
let value = obj[key];
if (Array.isArray(value)) {

@@ -975,3 +827,2 @@ value.forEach(arrayValue => {

}
return parts.length ? parts.join('&') : '';

@@ -992,4 +843,2 @@ }

*/
function encodeUriSegment(val) {

@@ -1011,14 +860,5 @@ return encodeUriQuery(val, true).replace(/%26/g, '&').replace(/%3D/gi, '=').replace(/%2B/gi, '+');

*/
function encodeUriQuery(val, pctEncodeSpaces = false) {
return encodeURIComponent(val).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%3B/gi, ';').replace(/%20/g, pctEncodeSpaces ? '%20' : '+');
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -1030,4 +870,2 @@ /**

*/
const LOCATION_UPGRADE_CONFIGURATION = exports('LOCATION_UPGRADE_CONFIGURATION', new InjectionToken('LOCATION_UPGRADE_CONFIGURATION'));

@@ -1042,3 +880,2 @@ const APP_BASE_HREF_RESOLVED = new InjectionToken('APP_BASE_HREF_RESOLVED');

*/
class LocationUpgradeModule {

@@ -1070,9 +907,6 @@ static config(config) {

}
} exports('LocationUpgradeModule', LocationUpgradeModule);
LocationUpgradeModule.ɵfac = function LocationUpgradeModule_Factory(t) {
return new (t || LocationUpgradeModule)();
};
LocationUpgradeModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({

@@ -1084,3 +918,2 @@ type: LocationUpgradeModule

});
(function () {

@@ -1094,3 +927,2 @@ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocationUpgradeModule, [{

})();
function provideAppBaseHref(config, appBaseHref) {

@@ -1102,6 +934,4 @@ if (config && config.appBaseHref != null) {

}
return '';
}
function provideUrlCodec(config) {

@@ -1111,7 +941,5 @@ const codec = config && config.urlCodec || AngularJSUrlCodec;

}
function provideLocationStrategy(platformLocation, baseHref, options = {}) {
return options.useHash ? new HashLocationStrategy(platformLocation, baseHref) : new PathLocationStrategy(platformLocation, baseHref);
}
function provide$location(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

@@ -1118,0 +946,0 @@ const $locationProvider = new $locationShimProvider(ngUpgrade, location, platformLocation, urlCodec, locationStrategy);

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - system format - es2015 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["rxjs","@angular/common","@angular/core","@angular/upgrade/static"],(function(t){"use strict";var e,r,s,i,a,h,o,n,c,l,$,p,u;return{setters:[function(t){e=t.ReplaySubject},function(t){r=t.CommonModule,s=t.Location,i=t.PlatformLocation,a=t.LocationStrategy,h=t.APP_BASE_HREF,o=t.HashLocationStrategy,n=t.PathLocationStrategy},function(t){c=t.InjectionToken,l=t,t.NgModule,$=t.Inject,p=t.Optional},function(t){u=t.UpgradeModule}],execute:function(){const d=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,g=/^\s*[\\/]{2,}/,f=/^\s*(javascript|mailto):/i,S={"http:":80,"https:":443,"ftp:":21};class U{constructor(t,r,s,i,a){this.location=r,this.platformLocation=s,this.urlCodec=i,this.locationStrategy=a,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new e(1),this.lastBrowserUrl="",this.lastCachedState=null;const h=this.browserUrl();let o=this.urlCodec.parse(h);if("string"==typeof o)throw"Invalid URL";var n;this.$$protocol=o.protocol,this.$$host=o.hostname,this.$$port=parseInt(o.port)||S[o.protocol]||null,this.$$parseLinkUrl(h,h),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),(n=t)&&"function"==typeof n.then?t.then((t=>this.initialize(t))):this.initialize(t)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");f.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(g.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=(t=>{})){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||(this.$$path="/"),this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=d.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t=Object.assign({},t);for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}t("$locationShim",U);class w{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new U(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}t("$locationShimProvider",w);class m{}t("UrlCodec",m);class y{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=v(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=C(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(B(r,!0)+(!0===t?"":"="+B(t,!0)))})):e.push(B(r,!0)+(!0===s?"":"="+B(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=v(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return C(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function b(t){try{return decodeURIComponent(t)}catch(t){return}}function C(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=b(s),void 0!==s&&(i=void 0===i||b(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function v(t){return B(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function B(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}t("AngularJSUrlCodec",y);const L=t("LOCATION_UPGRADE_CONFIGURATION",new c("LOCATION_UPGRADE_CONFIGURATION")),A=new c("APP_BASE_HREF_RESOLVED");class P{static config(t){return{ngModule:P,providers:[s,{provide:U,useFactory:H,deps:[u,s,i,m,a]},{provide:L,useValue:t||{}},{provide:m,useFactory:R,deps:[L]},{provide:A,useFactory:E,deps:[L,[new $(h),new p]]},{provide:a,useFactory:I,deps:[i,A,L]}]}}}function E(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function R(t){return new(t&&t.urlCodec||y)}function I(t,e,r={}){return r.useHash?new o(t,e):new n(t,e)}function H(t,e,r,s,i){return new w(t,e,r,s,i).$get()}t("LocationUpgradeModule",P),P.ɵfac=function(t){return new(t||P)},P.ɵmod=l.ɵɵdefineNgModule({type:P}),P.ɵinj=l.ɵɵdefineInjector({imports:[r]})}}}));
//# sourceMappingURL=angular-upgrade.min.js.map

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/http@15.0.4 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/http@15.1.0 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["@angular/common","@angular/core","rxjs","rxjs/operators"],(function(e){"use strict";var t,s,r,n,o,a,i,u,l,c,d,h,p,f;return{setters:[function(e){t=e.DOCUMENT,s=e,r=e["ɵparseCookieValue"],n=e.XhrFactory},function(e){o=e,e.Injectable,a=e.InjectionToken,e.Inject,i=e.PLATFORM_ID,e.NgModule,u=e.makeEnvironmentProviders,l=e.inject},function(e){c=e.of,d=e.Observable},function(e){h=e.concatMap,p=e.filter,f=e.map}],execute:function(){e({provideHttpClient:ue,withInterceptors:function(e){return ie(ae.Interceptors,e.map((e=>({provide:U,useValue:e,multi:!0}))))},withInterceptorsFromDi:ce,withJsonpSupport:pe,withNoXsrfProtection:he,withRequestsMadeViaParent:function(){return ie(ae.RequestsMadeViaParent,[{provide:y,useFactory:()=>{const e=l(m,{skipSelf:!0,optional:!0});return e}}])},withXsrfConfiguration:de});class m{}e("HttpHandler",m);class y{}e("HttpBackend",y);class b{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const 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])}}))}:()=>{this.headers=new Map,Object.keys(e).forEach((t=>{let s=e[t];const r=t.toLowerCase();"string"==typeof s&&(s=[s]),s.length>0&&(this.headers.set(r,s),this.maybeSetNormalizedName(t,r))}))}: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 b?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 b;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof b?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)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}e("HttpHeaders",b);class v{encodeKey(e){return E(e)}encodeValue(e){return E(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}e("HttpUrlEncodingCodec",v);const w=/%(\d[a-f0-9])/gi,g={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function E(e){return encodeURIComponent(e).replace(w,((e,t)=>g[t]??e))}function T(e){return`${e}`}class C{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new v,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))],a=s.get(n)||[];a.push(o),s.set(n,a)}));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(T):[T(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 C({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(T(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(T(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)}}e("HttpParams",C);e("HttpContextToken",class{constructor(e){this.defaultValue=e}});class x{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 P(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function j(e){return"undefined"!=typeof Blob&&e instanceof Blob}function N(e){return"undefined"!=typeof FormData&&e instanceof FormData}e("HttpContext",x);class k{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 b),this.context||(this.context=new x),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 C,this.urlWithParams=t}serializeBody(){return null===this.body?null:P(this.body)||j(this.body)||N(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof C?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||N(this.body)?null:j(this.body)?this.body.type||null:P(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof C?"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,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let i=e.headers||this.headers,u=e.params||this.params;const l=e.context??this.context;return void 0!==e.setHeaders&&(i=Object.keys(e.setHeaders).reduce(((t,s)=>t.set(s,e.setHeaders[s])),i)),e.setParams&&(u=Object.keys(e.setParams).reduce(((t,s)=>t.set(s,e.setParams[s])),u)),new k(t,s,n,{params:u,headers:i,context:l,reportProgress:a,responseType:r,withCredentials:o})}}var H;e("HttpRequest",k),e("HttpEventType",H),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"}(H||e("HttpEventType",H={}));class S{constructor(e,t=200,s="OK"){this.headers=e.headers||new b,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}}e("HttpResponseBase",S);class R extends S{constructor(e={}){super(e),this.type=H.ResponseHeader}clone(e={}){return new R({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})}}e("HttpHeaderResponse",R);class I extends S{constructor(e={}){super(e),this.type=H.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new I({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})}}e("HttpResponse",I);class O extends S{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 L(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}}e("HttpErrorResponse",O);class A{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof k)r=e;else{let n,o;n=s.headers instanceof b?s.headers:new b(s.headers),s.params&&(o=s.params instanceof C?s.params:new C({fromObject:s.params})),r=new k(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=c(r).pipe(h((e=>this.handler.handle(e))));if(e instanceof k||"events"===s.observe)return n;const o=n.pipe(p((e=>e instanceof I)));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(f((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(f((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(f((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return o.pipe(f((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 C).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,L(s,t))}post(e,t,s={}){return this.request("POST",e,L(s,t))}put(e,t,s={}){return this.request("PUT",e,L(s,t))}}function F(e,t){return t(e)}function z(e,t){return(s,r)=>t.intercept(s,{handle:t=>e(t,r)})}e("HttpClient",A),A.ɵfac=function(e){return new(e||A)(o.ɵɵinject(m))},A.ɵprov=o.ɵɵdefineInjectable({token:A,factory:A.ɵfac});const M=e("HTTP_INTERCEPTORS",new a("HTTP_INTERCEPTORS")),U=new a("HTTP_INTERCEPTOR_FNS");function J(){let e=null;return(t,s)=>{if(null===e){const t=l(M,{optional:!0})??[];e=t.reduceRight(z,F)}return e(t,s)}}class q extends m{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=Array.from(new Set(this.injector.get(U)));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)),F)}return this.chain(e,(e=>this.backend.handle(e)))}}e({ɵHttpInterceptingHandler:q,ɵHttpInterceptorHandler:q}),q.ɵfac=function(e){return new(e||q)(o.ɵɵinject(y),o.ɵɵinject(o.EnvironmentInjector))},q.ɵprov=o.ɵɵdefineInjectable({token:q,factory:q.ɵfac});let X,V=0;class B{}function D(){return"object"==typeof window?window:{}}class _{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+V++}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 d((t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),n=this.document.createElement("script");n.src=r;let o=null,a=!1;this.callbackMap[s]=e=>{delete this.callbackMap[s],o=e,a=!0};const i=()=>{n.parentNode&&n.parentNode.removeChild(n),delete this.callbackMap[s]};return n.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{i(),a?(t.next(new I({body:o,status:200,statusText:"OK",url:r})),t.complete()):t.error(new O({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),n.addEventListener("error",(e=>{i(),t.error(new O({error:e,status:0,statusText:"JSONP Error",url:r}))})),this.document.body.appendChild(n),t.next({type:H.Sent}),()=>{a||this.removeListeners(n),i()}}))}removeListeners(e){X||(X=this.document.implementation.createHTMLDocument()),X.adoptNode(e)}}function K(e,t){return"JSONP"===e.method?l(_).handle(e):t(e)}e("JsonpClientBackend",_),_.ɵfac=function(e){return new(e||_)(o.ɵɵinject(B),o.ɵɵinject(t))},_.ɵprov=o.ɵɵdefineInjectable({token:_,factory:_.ɵfac});class ${constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>K(e,(e=>t.handle(e)))))}}e("JsonpInterceptor",$),$.ɵfac=function(e){return new(e||$)(o.ɵɵinject(o.EnvironmentInjector))},$.ɵprov=o.ɵɵdefineInjectable({token:$,factory:$.ɵfac});const W=/^\)\]\}',?\n/;class G{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d((t=>{const s=this.xhrFactory.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach(((e,t)=>s.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&s.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();s.responseType="json"!==t?t:"text"}const r=e.serializeBody();let n=null;const o=()=>{if(null!==n)return n;const t=s.statusText||"OK",r=new b(s.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||e.url;return n=new R({headers:r,status:s.status,statusText:t,url:o}),n},a=()=>{let{headers:r,status:n,statusText:a,url:i}=o(),u=null;204!==n&&(u=void 0===s.response?s.responseText:s.response),0===n&&(n=u?200:0);let l=n>=200&&n<300;if("json"===e.responseType&&"string"==typeof u){const e=u;u=u.replace(W,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=e,l&&(l=!1,u={error:t,text:u})}}l?(t.next(new I({body:u,headers:r,status:n,statusText:a,url:i||void 0})),t.complete()):t.error(new O({error:u,headers:r,status:n,statusText:a,url:i||void 0}))},i=e=>{const{url:r}=o(),n=new O({error:e,status:s.status||0,statusText:s.statusText||"Unknown Error",url:r||void 0});t.error(n)};let u=!1;const l=r=>{u||(t.next(o()),u=!0);let n={type:H.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(n.total=r.total),"text"===e.responseType&&s.responseText&&(n.partialText=s.responseText),t.next(n)},c=e=>{let s={type:H.UploadProgress,loaded:e.loaded};e.lengthComputable&&(s.total=e.total),t.next(s)};return s.addEventListener("load",a),s.addEventListener("error",i),s.addEventListener("timeout",i),s.addEventListener("abort",i),e.reportProgress&&(s.addEventListener("progress",l),null!==r&&s.upload&&s.upload.addEventListener("progress",c)),s.send(r),t.next({type:H.Sent}),()=>{s.removeEventListener("error",i),s.removeEventListener("abort",i),s.removeEventListener("load",a),s.removeEventListener("timeout",i),e.reportProgress&&(s.removeEventListener("progress",l),null!==r&&s.upload&&s.upload.removeEventListener("progress",c)),s.readyState!==s.DONE&&s.abort()}}))}}e("HttpXhrBackend",G),G.ɵfac=function(e){return new(e||G)(o.ɵɵinject(s.XhrFactory))},G.ɵprov=o.ɵɵdefineInjectable({token:G,factory:G.ɵfac});const Y=new a("XSRF_ENABLED"),Q="XSRF-TOKEN",Z=new a("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Q}),ee="X-XSRF-TOKEN",te=new a("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ee});class se{}e("HttpXsrfTokenExtractor",se);class re{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=r(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function ne(e,t){const s=e.url.toLowerCase();if(!l(Y)||"GET"===e.method||"HEAD"===e.method||s.startsWith("http://")||s.startsWith("https://"))return t(e);const r=l(se).getToken(),n=l(te);return null==r||e.headers.has(n)||(e=e.clone({headers:e.headers.set(n,r)})),t(e)}re.ɵfac=function(e){return new(e||re)(o.ɵɵinject(t),o.ɵɵinject(i),o.ɵɵinject(Z))},re.ɵprov=o.ɵɵdefineInjectable({token:re,factory:re.ɵfac});class oe{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext((()=>ne(e,(e=>t.handle(e)))))}}var ae;function ie(e,t){return{ɵkind:e,ɵproviders:t}}function ue(...e){const t=[A,G,q,{provide:m,useExisting:q},{provide:y,useExisting:G},{provide:U,useValue:ne,multi:!0},{provide:Y,useValue:!0},{provide:se,useClass:re}];for(const s of e)t.push(...s.ɵproviders);return u(t)}oe.ɵfac=function(e){return new(e||oe)(o.ɵɵinject(o.EnvironmentInjector))},oe.ɵprov=o.ɵɵdefineInjectable({token:oe,factory:oe.ɵfac}),e("HttpFeatureKind",ae),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"}(ae||e("HttpFeatureKind",ae={}));const le=new a("LEGACY_INTERCEPTOR_FN");function ce(){return ie(ae.LegacyInterceptors,[{provide:le,useFactory:J},{provide:U,useExisting:le,multi:!0}])}function de({cookieName:e,headerName:t}){const s=[];return void 0!==e&&s.push({provide:Z,useValue:e}),void 0!==t&&s.push({provide:te,useValue:t}),ie(ae.CustomXsrfConfiguration,s)}function he(){return ie(ae.NoXsrfProtection,[{provide:Y,useValue:!1}])}function pe(){return ie(ae.JsonpSupport,[_,{provide:B,useFactory:D},{provide:U,useValue:K,multi:!0}])}class fe{static disable(){return{ngModule:fe,providers:[he().ɵproviders]}}static withOptions(e={}){return{ngModule:fe,providers:de(e).ɵproviders}}}e("HttpClientXsrfModule",fe),fe.ɵfac=function(e){return new(e||fe)},fe.ɵmod=o.ɵɵdefineNgModule({type:fe}),fe.ɵinj=o.ɵɵdefineInjector({providers:[oe,{provide:M,useExisting:oe,multi:!0},{provide:se,useClass:re},de({cookieName:Q,headerName:ee}).ɵproviders,{provide:Y,useValue:!0}]});class me{}e("HttpClientModule",me),me.ɵfac=function(e){return new(e||me)},me.ɵmod=o.ɵɵdefineNgModule({type:me}),me.ɵinj=o.ɵɵdefineInjector({providers:[ue(ce(),de({cookieName:Q,headerName:ee}))]});class ye{}e("HttpClientJsonpModule",ye),ye.ɵfac=function(e){return new(e||ye)},ye.ɵmod=o.ɵɵdefineNgModule({type:ye}),ye.ɵinj=o.ɵɵdefineInjector({providers:[pe().ɵproviders]});e("XhrFactory",n)}}}));
//# sourceMappingURL=angular-http.min.js.map

@@ -1,2 +0,2 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(['rxjs', '@angular/common', '@angular/core', '@angular/upgrade/static'], (function (exports) {

@@ -28,7 +28,6 @@ 'use strict';

/**
* @license Angular v15.0.4
* @license Angular v15.1.0
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
function deepEqual(a, b) {

@@ -44,3 +43,2 @@ if (a === b) {

}
return JSON.stringify(a) === JSON.stringify(b);

@@ -52,7 +50,5 @@ } catch (e) {

}
function isAnchor(el) {
return el.href !== undefined;
}
function isPromise(obj) {

@@ -63,11 +59,2 @@ // allow any Promise/A+ compliant thenable.

}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const PATH_MATCH = /^([^?#]*)(\?([^#]*))?(#(.*))?$/;

@@ -89,3 +76,2 @@ const DOUBLE_SLASH_REGEX = /^\s*[\\/]{2,}/;

*/
class $locationShim {

@@ -109,12 +95,10 @@ constructor($injector, location, platformLocation, urlCodec, locationStrategy) {

this.urlChanges = new ReplaySubject(1);
this.lastBrowserUrl = ''; // This variable should be used *only* inside the cacheState function.
this.lastBrowserUrl = '';
// This variable should be used *only* inside the cacheState function.
this.lastCachedState = null;
const initialUrl = this.browserUrl();
let parsedUrl = this.urlCodec.parse(initialUrl);
if (typeof parsedUrl === 'string') {
throw 'Invalid URL';
}
this.$$protocol = parsedUrl.protocol;

@@ -132,3 +116,2 @@ this.$$host = parsedUrl.hostname;

});
if (isPromise($injector)) {

@@ -140,3 +123,2 @@ $injector.then($i => this.initialize($i));

}
initialize($injector) {

@@ -149,5 +131,4 @@ const $rootScope = $injector.get('$rootScope');

}
let elm = event.target; // traverse the DOM up to find first A tag
let elm = event.target;
// traverse the DOM up to find first A tag
while (elm && elm.nodeName.toLowerCase() !== 'a') {

@@ -159,14 +140,11 @@ // ignore rewriting if no A tag (reached root element, or no parent - removed from document)

}
if (!isAnchor(elm)) {
return;
}
const absHref = elm.href;
const relHref = elm.getAttribute('href'); // Ignore when url is started with javascript: or mailto:
const relHref = elm.getAttribute('href');
// Ignore when url is started with javascript: or mailto:
if (IGNORE_URI_REGEXP.test(absHref)) {
return;
}
if (absHref && !elm.getAttribute('target') && !event.isDefaultPrevented()) {

@@ -177,4 +155,4 @@ if (this.$$parseLinkUrl(absHref, relHref)) {

// getting double entries in the location history.
event.preventDefault(); // update location manually
event.preventDefault();
// update location manually
if (this.absUrl() !== this.browserUrl()) {

@@ -195,8 +173,8 @@ $rootScope.$apply();

this.$$state = newState;
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, newState, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return; // If default was prevented, set back to old state. This is the state that was locally
if (this.absUrl() !== newUrl) return;
// If default was prevented, set back to old state. This is the state that was locally
// cached in the $location service.
if (defaultPrevented) {

@@ -212,8 +190,7 @@ this.$$parse(oldUrl);

}
if (!$rootScope.$$phase) {
$rootScope.$digest();
}
}); // update browser
});
// update browser
$rootScope.$watch(() => {

@@ -226,7 +203,7 @@ if (this.initializing || this.updateBrowser) {

let currentReplace = this.$$replace;
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state; // Fire location changes one time to on initialization. This must be done on the
const urlOrStateChanged = !this.urlCodec.areEqual(oldUrl, newUrl) || oldState !== this.$$state;
// Fire location changes one time to on initialization. This must be done on the
// next tick (thus inside $evalAsync()) in order for listeners to be registered
// before the event fires. Mimicing behavior from $locationWatch:
// https://github.com/angular/angular.js/blob/master/src/ng/location.js#L983
if (this.initializing || urlOrStateChanged) {

@@ -237,7 +214,6 @@ this.initializing = false;

const newUrl = this.absUrl();
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented; // if the location was changed by a `$locationChangeStart` handler then stop
const defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl, this.$$state, oldState).defaultPrevented;
// if the location was changed by a `$locationChangeStart` handler then stop
// processing this location change
if (this.absUrl() !== newUrl) return;
if (defaultPrevented) {

@@ -253,5 +229,3 @@ this.$$parse(oldUrl);

}
$rootScope.$broadcast('$locationChangeSuccess', newUrl, oldUrl, this.$$state, oldState);
if (urlOrStateChanged) {

@@ -264,7 +238,5 @@ this.$$notifyChangeListeners(this.url(), this.$$state, oldUrl, oldState);

}
this.$$replace = false;
});
}
resetBrowserUpdate() {

@@ -276,3 +248,2 @@ this.$$replace = false;

}
browserUrl(url, replace, state) {

@@ -284,20 +255,18 @@ // In modern browsers `history.state` is `null` by default; treating it separately

state = null;
} // setter
}
// setter
if (url) {
let sameState = this.lastHistoryState === state; // Normalize the inputted URL
url = this.urlCodec.parse(url).href; // Don't change anything if previous and current URLs and states match.
let sameState = this.lastHistoryState === state;
// Normalize the inputted URL
url = this.urlCodec.parse(url).href;
// Don't change anything if previous and current URLs and states match.
if (this.lastBrowserUrl === url && sameState) {
return this;
}
this.lastBrowserUrl = url;
this.lastHistoryState = state; // Remove server base from URL as the Angular APIs for updating URL require
this.lastHistoryState = state;
// Remove server base from URL as the Angular APIs for updating URL require
// it to be the path+.
url = this.stripBaseUrl(this.getServerBase(), url) || url; // Set the URL
url = this.stripBaseUrl(this.getServerBase(), url) || url;
// Set the URL
if (replace) {

@@ -308,5 +277,5 @@ this.locationStrategy.replaceState(state, '', url, '');

}
this.cacheState();
return this; // getter
return this;
// getter
} else {

@@ -316,16 +285,12 @@ return this.platformLocation.href;

}
cacheState() {
// This should be the only place in $browser where `history.state` is read.
this.cachedState = this.platformLocation.getState();
if (typeof this.cachedState === 'undefined') {
this.cachedState = null;
} // Prevent callbacks fo fire twice if both hashchange & popstate were fired.
}
// Prevent callbacks fo fire twice if both hashchange & popstate were fired.
if (deepEqual(this.cachedState, this.lastCachedState)) {
this.cachedState = this.lastCachedState;
}
this.lastCachedState = this.cachedState;

@@ -338,8 +303,5 @@ this.lastHistoryState = this.cachedState;

*/
browserState() {
return this.cachedState;
}
stripBaseUrl(base, url) {

@@ -349,6 +311,4 @@ if (url.startsWith(base)) {

}
return undefined;
}
getServerBase() {

@@ -364,3 +324,2 @@ const {

}
parseAppUrl(url) {

@@ -370,20 +329,15 @@ if (DOUBLE_SLASH_REGEX.test(url)) {

}
let prefixed = url.charAt(0) !== '/';
if (prefixed) {
url = '/' + url;
}
let match = this.urlCodec.parse(url, this.getServerBase());
if (typeof match === 'string') {
throw new Error(`Bad URL - Cannot parse URL: ${url}`);
}
let path = prefixed && match.pathname.charAt(0) === '/' ? match.pathname.substring(1) : match.pathname;
this.$$path = this.urlCodec.decodePath(path);
this.$$search = this.urlCodec.decodeSearch(match.search);
this.$$hash = this.urlCodec.decodeHash(match.hash); // make sure path starts with '/';
this.$$hash = this.urlCodec.decodeHash(match.hash);
// make sure path starts with '/';
if (this.$$path && this.$$path.charAt(0) !== '/') {

@@ -406,4 +360,2 @@ this.$$path = '/' + this.$$path;

*/
onChange(fn, err = e => {}) {

@@ -413,4 +365,2 @@ this.$$changeListeners.push([fn, err]);

/** @internal */
$$notifyChangeListeners(url = '', state, oldUrl = '', oldState) {

@@ -430,7 +380,4 @@ this.$$changeListeners.forEach(([fn, err]) => {

*/
$$parse(url) {
let pathUrl;
if (url.startsWith('/')) {

@@ -442,13 +389,9 @@ pathUrl = url;

}
if (typeof pathUrl === 'undefined') {
throw new Error(`Invalid url "${url}", missing path prefix "${this.getServerBase()}".`);
}
this.parseAppUrl(pathUrl);
if (!this.$$path) {
this.$$path = '/';
}
this.composeUrls();

@@ -462,4 +405,2 @@ }

*/
$$parseLinkUrl(url, relHref) {

@@ -471,6 +412,4 @@ // When relHref is passed, it should be a hash and is handled separately

}
let rewrittenUrl;
let appUrl = this.stripBaseUrl(this.getServerBase(), url);
if (typeof appUrl !== 'undefined') {

@@ -480,21 +419,17 @@ rewrittenUrl = this.getServerBase() + appUrl;

rewrittenUrl = this.getServerBase();
} // Set the URL
}
// Set the URL
if (rewrittenUrl) {
this.$$parse(rewrittenUrl);
}
return !!rewrittenUrl;
}
setBrowserUrlWithFallback(url, replace, state) {
const oldUrl = this.url();
const oldState = this.$$state;
try {
this.browserUrl(url, replace, state); // Make sure $location.state() returns referentially identical (not just deeply equal)
this.browserUrl(url, replace, state);
// Make sure $location.state() returns referentially identical (not just deeply equal)
// state object; this makes possible quick checking if the state changed in the digest
// loop. Checking deep equality would be too expensive.
this.$$state = this.browserState();

@@ -508,7 +443,5 @@ } catch (e) {

}
composeUrls() {
this.$$url = this.urlCodec.normalize(this.$$path, this.$$search, this.$$hash);
this.$$absUrl = this.getServerBase() + this.$$url.slice(1); // remove '/' from front of URL
this.updateBrowser = true;

@@ -528,8 +461,5 @@ }

*/
absUrl() {
return this.$$absUrl;
}
url(url) {

@@ -540,3 +470,2 @@ if (typeof url === 'string') {

}
const match = PATH_MATCH.exec(url);

@@ -546,7 +475,6 @@ if (!match) return this;

if (match[2] || match[1] || url === '') this.search(match[3] || '');
this.hash(match[5] || ''); // Chainable method
this.hash(match[5] || '');
// Chainable method
return this;
}
return this.$$url;

@@ -563,4 +491,2 @@ }

*/
protocol() {

@@ -588,4 +514,2 @@ return this.$$protocol;

*/
host() {

@@ -603,14 +527,10 @@ return this.$$host;

*/
port() {
return this.$$port;
}
path(path) {
if (typeof path === 'undefined') {
return this.$$path;
} // null path converts to empty string. Prepend with "/" if needed.
}
// null path converts to empty string. Prepend with "/" if needed.
path = path !== null ? path.toString() : '';

@@ -622,3 +542,2 @@ path = path.charAt(0) === '/' ? path : '/' + path;

}
search(search, paramValue) {

@@ -628,3 +547,2 @@ switch (arguments.length) {

return this.$$search;
case 1:

@@ -635,9 +553,9 @@ if (typeof search === 'string' || typeof search === 'number') {

// Copy the object so it's never mutated
search = { ...search
}; // remove object undefined or null properties
search = {
...search
};
// remove object undefined or null properties
for (const key in search) {
if (search[key] == null) delete search[key];
}
this.$$search = search;

@@ -647,9 +565,6 @@ } else {

}
break;
default:
if (typeof search === 'string') {
const currentSearch = this.search();
if (typeof paramValue === 'undefined' || paramValue === null) {

@@ -663,9 +578,6 @@ delete currentSearch[search];

}
}
this.composeUrls();
return this;
}
hash(hash) {

@@ -675,3 +587,2 @@ if (typeof hash === 'undefined') {

}
this.$$hash = hash !== null ? hash.toString() : '';

@@ -685,4 +596,2 @@ this.composeUrls();

*/
replace() {

@@ -692,3 +601,2 @@ this.$$replace = true;

}
state(state) {

@@ -698,7 +606,5 @@ if (typeof state === 'undefined') {

}
this.$$state = state;
return this;
}
} exports('$locationShim', $locationShim);

@@ -711,4 +617,2 @@ /**

*/
class $locationShimProvider {

@@ -725,4 +629,2 @@ constructor(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

*/
$get() {

@@ -735,4 +637,2 @@ return new $locationShim(this.ngUpgrade.$injector, this.location, this.platformLocation, this.urlCodec, this.locationStrategy);

*/
hashPrefix(prefix) {

@@ -745,16 +645,6 @@ throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');

*/
html5Mode(mode) {
throw new Error('Configure LocationUpgrade through LocationUpgradeModule.config method.');
}
} exports('$locationShimProvider', $locationShimProvider);
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -766,4 +656,2 @@ /**

**/
class UrlCodec {} exports('UrlCodec', UrlCodec);

@@ -776,4 +664,2 @@ /**

*/
class AngularJSUrlCodec {

@@ -784,3 +670,2 @@ // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L15

let i = segments.length;
while (i--) {

@@ -790,8 +675,6 @@ // decode forward slashes to prevent them from being double encoded

}
path = segments.join('/');
return _stripIndexHtml((path && path[0] !== '/' && '/' || '') + path);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L42
encodeSearch(search) {

@@ -801,21 +684,16 @@ if (typeof search === 'string') {

}
search = toKeyValue(search);
return search ? '?' + search : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
encodeHash(hash) {
hash = encodeUriSegment(hash);
return hash ? '#' + hash : '';
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
decodePath(path, html5Mode = true) {
const segments = path.split('/');
let i = segments.length;
while (i--) {
segments[i] = decodeURIComponent(segments[i]);
if (html5Mode) {

@@ -826,12 +704,9 @@ // encode forward slashes to prevent them from being mistaken for path separators

}
return segments.join('/');
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
decodeSearch(search) {
return parseKeyValue(search);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
decodeHash(hash) {

@@ -841,11 +716,8 @@ hash = decodeURIComponent(hash);

}
normalize(pathOrHref, search, hash, baseUrl) {
if (arguments.length === 1) {
const parsed = this.parse(pathOrHref, baseUrl);
if (typeof parsed === 'string') {
return parsed;
}
const serverUrl = `${parsed.protocol}://${parsed.hostname}${parsed.port ? ':' + parsed.port : ''}`;

@@ -858,16 +730,12 @@ return this.normalize(this.decodePath(parsed.pathname), this.decodeSearch(parsed.search), this.decodeHash(parsed.hash), serverUrl);

let joinedPath = (baseUrl || '') + encPath;
if (!joinedPath.length || joinedPath[0] !== '/') {
joinedPath = '/' + joinedPath;
}
return joinedPath + encSearch + encHash;
}
}
areEqual(valA, valB) {
return this.normalize(valA) === this.normalize(valB);
} // https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
parse(url, base) {

@@ -891,5 +759,3 @@ try {

}
} exports('AngularJSUrlCodec', AngularJSUrlCodec);
function _stripIndexHtml(url) {

@@ -904,4 +770,2 @@ return url.replace(/\/index.html$/, '');

*/
function tryDecodeURIComponent(value) {

@@ -919,4 +783,2 @@ try {

*/
function parseKeyValue(keyValue) {

@@ -926,7 +788,5 @@ const obj = {};

let splitPoint, key, val;
if (keyValue) {
key = keyValue = keyValue.replace(/\+/g, '%20');
splitPoint = keyValue.indexOf('=');
if (splitPoint !== -1) {

@@ -936,8 +796,5 @@ key = keyValue.substring(0, splitPoint);

}
key = tryDecodeURIComponent(key);
if (typeof key !== 'undefined') {
val = typeof val !== 'undefined' ? tryDecodeURIComponent(val) : true;
if (!obj.hasOwnProperty(key)) {

@@ -959,10 +816,6 @@ obj[key] = val;

*/
function toKeyValue(obj) {
const parts = [];
for (const key in obj) {
let value = obj[key];
if (Array.isArray(value)) {

@@ -976,3 +829,2 @@ value.forEach(arrayValue => {

}
return parts.length ? parts.join('&') : '';

@@ -993,4 +845,2 @@ }

*/
function encodeUriSegment(val) {

@@ -1012,14 +862,5 @@ return encodeUriQuery(val, true).replace(/%26/g, '&').replace(/%3D/gi, '=').replace(/%2B/gi, '+');

*/
function encodeUriQuery(val, pctEncodeSpaces = false) {
return encodeURIComponent(val).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%3B/gi, ';').replace(/%20/g, pctEncodeSpaces ? '%20' : '+');
}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

@@ -1031,4 +872,2 @@ /**

*/
const LOCATION_UPGRADE_CONFIGURATION = exports('LOCATION_UPGRADE_CONFIGURATION', new InjectionToken('LOCATION_UPGRADE_CONFIGURATION'));

@@ -1043,3 +882,2 @@ const APP_BASE_HREF_RESOLVED = new InjectionToken('APP_BASE_HREF_RESOLVED');

*/
class LocationUpgradeModule {

@@ -1071,9 +909,6 @@ static config(config) {

}
} exports('LocationUpgradeModule', LocationUpgradeModule);
LocationUpgradeModule.ɵfac = function LocationUpgradeModule_Factory(t) {
return new (t || LocationUpgradeModule)();
};
LocationUpgradeModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({

@@ -1085,3 +920,2 @@ type: LocationUpgradeModule

});
(function () {

@@ -1095,3 +929,2 @@ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocationUpgradeModule, [{

})();
function provideAppBaseHref(config, appBaseHref) {

@@ -1103,6 +936,4 @@ if (config && config.appBaseHref != null) {

}
return '';
}
function provideUrlCodec(config) {

@@ -1112,7 +943,5 @@ const codec = config && config.urlCodec || AngularJSUrlCodec;

}
function provideLocationStrategy(platformLocation, baseHref, options = {}) {
return options.useHash ? new HashLocationStrategy(platformLocation, baseHref) : new PathLocationStrategy(platformLocation, baseHref);
}
function provide$location(ngUpgrade, location, platformLocation, urlCodec, locationStrategy) {

@@ -1119,0 +948,0 @@ const $locationProvider = new $locationShimProvider(ngUpgrade, location, platformLocation, urlCodec, locationStrategy);

@@ -1,3 +0,3 @@

/* esm-bundle - @angular/common/upgrade@15.0.4 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
/* esm-bundle - @angular/common/upgrade@15.1.0 - Ivy - system format - es2020 - Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license */
System.register(["rxjs","@angular/common","@angular/core","@angular/upgrade/static"],(function(t){"use strict";var e,r,s,i,a,h,o,n,c,l,$,p,u;return{setters:[function(t){e=t.ReplaySubject},function(t){r=t.CommonModule,s=t.Location,i=t.PlatformLocation,a=t.LocationStrategy,h=t.APP_BASE_HREF,o=t.HashLocationStrategy,n=t.PathLocationStrategy},function(t){c=t.InjectionToken,l=t,t.NgModule,$=t.Inject,p=t.Optional},function(t){u=t.UpgradeModule}],execute:function(){const d=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,g=/^\s*[\\/]{2,}/,f=/^\s*(javascript|mailto):/i,S={"http:":80,"https:":443,"ftp:":21};class U{constructor(t,r,s,i,a){this.location=r,this.platformLocation=s,this.urlCodec=i,this.locationStrategy=a,this.initializing=!0,this.updateBrowser=!1,this.$$absUrl="",this.$$url="",this.$$host="",this.$$replace=!1,this.$$path="",this.$$search="",this.$$hash="",this.$$changeListeners=[],this.cachedState=null,this.urlChanges=new e(1),this.lastBrowserUrl="",this.lastCachedState=null;const h=this.browserUrl();let o=this.urlCodec.parse(h);if("string"==typeof o)throw"Invalid URL";var n;this.$$protocol=o.protocol,this.$$host=o.hostname,this.$$port=parseInt(o.port)||S[o.protocol]||null,this.$$parseLinkUrl(h,h),this.cacheState(),this.$$state=this.browserState(),this.location.onUrlChange(((t,e)=>{this.urlChanges.next({newUrl:t,newState:e})})),(n=t)&&"function"==typeof n.then?t.then((t=>this.initialize(t))):this.initialize(t)}initialize(t){const e=t.get("$rootScope"),r=t.get("$rootElement");r.on("click",(t=>{if(t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let s=t.target;for(;s&&"a"!==s.nodeName.toLowerCase();)if(s===r[0]||!(s=s.parentNode))return;if(void 0===s.href)return;const i=s.href,a=s.getAttribute("href");f.test(i)||!i||s.getAttribute("target")||t.isDefaultPrevented()||this.$$parseLinkUrl(i,a)&&(t.preventDefault(),this.absUrl()!==this.browserUrl()&&e.$apply())})),this.urlChanges.subscribe((({newUrl:t,newState:r})=>{const s=this.absUrl(),i=this.$$state;this.$$parse(t),t=this.absUrl(),this.$$state=r;const a=e.$broadcast("$locationChangeStart",t,s,r,i).defaultPrevented;this.absUrl()===t&&(a?(this.$$parse(s),this.state(i),this.setBrowserUrlWithFallback(s,!1,i),this.$$notifyChangeListeners(this.url(),this.$$state,s,i)):(this.initializing=!1,e.$broadcast("$locationChangeSuccess",t,s,r,i),this.resetBrowserUpdate()),e.$$phase||e.$digest())})),e.$watch((()=>{if(this.initializing||this.updateBrowser){this.updateBrowser=!1;const t=this.browserUrl(),r=this.absUrl(),s=this.browserState();let i=this.$$replace;const a=!this.urlCodec.areEqual(t,r)||s!==this.$$state;(this.initializing||a)&&(this.initializing=!1,e.$evalAsync((()=>{const r=this.absUrl(),h=e.$broadcast("$locationChangeStart",r,t,this.$$state,s).defaultPrevented;this.absUrl()===r&&(h?(this.$$parse(t),this.$$state=s):(a&&(this.setBrowserUrlWithFallback(r,i,s===this.$$state?null:this.$$state),this.$$replace=!1),e.$broadcast("$locationChangeSuccess",r,t,this.$$state,s),a&&this.$$notifyChangeListeners(this.url(),this.$$state,t,s)))})))}this.$$replace=!1}))}resetBrowserUpdate(){this.$$replace=!1,this.$$state=this.browserState(),this.updateBrowser=!1,this.lastBrowserUrl=this.browserUrl()}browserUrl(t,e,r){if(void 0===r&&(r=null),t){let s=this.lastHistoryState===r;return t=this.urlCodec.parse(t).href,this.lastBrowserUrl===t&&s?this:(this.lastBrowserUrl=t,this.lastHistoryState=r,t=this.stripBaseUrl(this.getServerBase(),t)||t,e?this.locationStrategy.replaceState(r,"",t,""):this.locationStrategy.pushState(r,"",t,""),this.cacheState(),this)}return this.platformLocation.href}cacheState(){this.cachedState=this.platformLocation.getState(),void 0===this.cachedState&&(this.cachedState=null),function(t,e){if(t===e)return!0;if(!t||!e)return!1;try{return!(t.prototype!==e.prototype||Array.isArray(t)&&Array.isArray(e))&&JSON.stringify(t)===JSON.stringify(e)}catch(t){return!1}}(this.cachedState,this.lastCachedState)&&(this.cachedState=this.lastCachedState),this.lastCachedState=this.cachedState,this.lastHistoryState=this.cachedState}browserState(){return this.cachedState}stripBaseUrl(t,e){if(e.startsWith(t))return e.slice(t.length)}getServerBase(){const{protocol:t,hostname:e,port:r}=this.platformLocation;let s=`${t}//${e}${r?":"+r:""}${this.locationStrategy.getBaseHref()||"/"}`;return s.endsWith("/")?s:s+"/"}parseAppUrl(t){if(g.test(t))throw new Error(`Bad Path - URL cannot start with double slashes: ${t}`);let e="/"!==t.charAt(0);e&&(t="/"+t);let r=this.urlCodec.parse(t,this.getServerBase());if("string"==typeof r)throw new Error(`Bad URL - Cannot parse URL: ${t}`);let s=e&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;this.$$path=this.urlCodec.decodePath(s),this.$$search=this.urlCodec.decodeSearch(r.search),this.$$hash=this.urlCodec.decodeHash(r.hash),this.$$path&&"/"!==this.$$path.charAt(0)&&(this.$$path="/"+this.$$path)}onChange(t,e=(t=>{})){this.$$changeListeners.push([t,e])}$$notifyChangeListeners(t="",e,r="",s){this.$$changeListeners.forEach((([i,a])=>{try{i(t,e,r,s)}catch(t){a(t)}}))}$$parse(t){let e;if(e=t.startsWith("/")?t:this.stripBaseUrl(this.getServerBase(),t),void 0===e)throw new Error(`Invalid url "${t}", missing path prefix "${this.getServerBase()}".`);this.parseAppUrl(e),this.$$path||(this.$$path="/"),this.composeUrls()}$$parseLinkUrl(t,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;let r,s=this.stripBaseUrl(this.getServerBase(),t);return void 0!==s?r=this.getServerBase()+s:this.getServerBase()===t+"/"&&(r=this.getServerBase()),r&&this.$$parse(r),!!r}setBrowserUrlWithFallback(t,e,r){const s=this.url(),i=this.$$state;try{this.browserUrl(t,e,r),this.$$state=this.browserState()}catch(t){throw this.url(s),this.$$state=i,t}}composeUrls(){this.$$url=this.urlCodec.normalize(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.getServerBase()+this.$$url.slice(1),this.updateBrowser=!0}absUrl(){return this.$$absUrl}url(t){if("string"==typeof t){t.length||(t="/");const e=d.exec(t);return e?((e[1]||""===t)&&this.path(this.urlCodec.decodePath(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this):this}return this.$$url}protocol(){return this.$$protocol}host(){return this.$$host}port(){return this.$$port}path(t){return void 0===t?this.$$path:(t="/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t,this.$$path=t,this.composeUrls(),this)}search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if("string"==typeof t||"number"==typeof t)this.$$search=this.urlCodec.decodeSearch(t.toString());else{if("object"!=typeof t||null===t)throw new Error("LocationProvider.search(): First argument must be a string or an object.");t={...t};for(const e in t)null==t[e]&&delete t[e];this.$$search=t}break;default:if("string"==typeof t){const r=this.search();return null==e?(delete r[t],this.search(r)):(r[t]=e,this.search(r))}}return this.composeUrls(),this}hash(t){return void 0===t?this.$$hash:(this.$$hash=null!==t?t.toString():"",this.composeUrls(),this)}replace(){return this.$$replace=!0,this}state(t){return void 0===t?this.$$state:(this.$$state=t,this)}}t("$locationShim",U);class w{constructor(t,e,r,s,i){this.ngUpgrade=t,this.location=e,this.platformLocation=r,this.urlCodec=s,this.locationStrategy=i}$get(){return new U(this.ngUpgrade.$injector,this.location,this.platformLocation,this.urlCodec,this.locationStrategy)}hashPrefix(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}html5Mode(t){throw new Error("Configure LocationUpgrade through LocationUpgradeModule.config method.")}}t("$locationShimProvider",w);class m{}t("UrlCodec",m);class y{encodePath(t){const e=t.split("/");let r=e.length;for(;r--;)e[r]=v(e[r].replace(/%2F/g,"/"));return t=e.join("/"),((t&&"/"!==t[0]?"/":"")+t).replace(/\/index.html$/,"")}encodeSearch(t){return"string"==typeof t&&(t=C(t)),(t=function(t){const e=[];for(const r in t){let s=t[r];Array.isArray(s)?s.forEach((t=>{e.push(B(r,!0)+(!0===t?"":"="+B(t,!0)))})):e.push(B(r,!0)+(!0===s?"":"="+B(s,!0)))}return e.length?e.join("&"):""}(t))?"?"+t:""}encodeHash(t){return(t=v(t))?"#"+t:""}decodePath(t,e=!0){const r=t.split("/");let s=r.length;for(;s--;)r[s]=decodeURIComponent(r[s]),e&&(r[s]=r[s].replace(/\//g,"%2F"));return r.join("/")}decodeSearch(t){return C(t)}decodeHash(t){return"#"===(t=decodeURIComponent(t))[0]?t.substring(1):t}normalize(t,e,r,s){if(1===arguments.length){const e=this.parse(t,s);if("string"==typeof e)return e;const r=`${e.protocol}://${e.hostname}${e.port?":"+e.port:""}`;return this.normalize(this.decodePath(e.pathname),this.decodeSearch(e.search),this.decodeHash(e.hash),r)}{const i=this.encodePath(t),a=e&&this.encodeSearch(e)||"",h=r&&this.encodeHash(r)||"";let o=(s||"")+i;return o.length&&"/"===o[0]||(o="/"+o),o+a+h}}areEqual(t,e){return this.normalize(t)===this.normalize(e)}parse(t,e){try{const r=e?new URL(t,e):new URL(t);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}catch(r){throw new Error(`Invalid URL (${t}) with base (${e})`)}}}function b(t){try{return decodeURIComponent(t)}catch(t){return}}function C(t){const e={};return(t||"").split("&").forEach((t=>{let r,s,i;t&&(s=t=t.replace(/\+/g,"%20"),r=t.indexOf("="),-1!==r&&(s=t.substring(0,r),i=t.substring(r+1)),s=b(s),void 0!==s&&(i=void 0===i||b(i),e.hasOwnProperty(s)?Array.isArray(e[s])?e[s].push(i):e[s]=[e[s],i]:e[s]=i))})),e}function v(t){return B(t,!0).replace(/%26/g,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function B(t,e=!1){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}t("AngularJSUrlCodec",y);const L=t("LOCATION_UPGRADE_CONFIGURATION",new c("LOCATION_UPGRADE_CONFIGURATION")),A=new c("APP_BASE_HREF_RESOLVED");class P{static config(t){return{ngModule:P,providers:[s,{provide:U,useFactory:H,deps:[u,s,i,m,a]},{provide:L,useValue:t||{}},{provide:m,useFactory:R,deps:[L]},{provide:A,useFactory:E,deps:[L,[new $(h),new p]]},{provide:a,useFactory:I,deps:[i,A,L]}]}}}function E(t,e){return t&&null!=t.appBaseHref?t.appBaseHref:null!=e?e:""}function R(t){return new(t&&t.urlCodec||y)}function I(t,e,r={}){return r.useHash?new o(t,e):new n(t,e)}function H(t,e,r,s,i){return new w(t,e,r,s,i).$get()}t("LocationUpgradeModule",P),P.ɵfac=function(t){return new(t||P)},P.ɵmod=l.ɵɵdefineNgModule({type:P}),P.ɵinj=l.ɵɵdefineInjector({imports:[r]})}}}));
//# sourceMappingURL=angular-upgrade.min.js.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc