PageSourceSearch

https://www.aat.org.uk/csr/chunk-LU7SZU5X.js

js aat.org.uk collected 2026-10-03 21:38:34 UTC 24,324 bytes, 2 lines download raw bytes

vendor: 11,578 bytes, lines 1-2
1import{B as Ie,C as De}from"./chunk-PO2RDVKE.js";import{Aa as se,D as Te,G as Ee,Jb as Ae,Kb as _e,M as re,Ma as Ne,W as ve,_ as T,c as V,ca as x,fa as E,ga as _,ha as h,hb as Me,ia as Re,jb as Oe,ma as we,n as C,na as be,s as S,ta as ne,ua as Pe}from"./chunk-3URBZWPM.js";import{a as $,c as ge,i as te}from"./chunk-ODN5LVDJ.js";var L=class{},U=class{},P=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
2`).forEach(e=>{let n=e.indexOf(":");if(n>0){let s=e.slice(0,n),i=e.slice(n+1).trim();this.addHeaderEntry(s,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new r;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,e);let s=(t.op==="a"?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":let i=t.value;if(!i)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(c=>i.indexOf(c)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(t,e){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(t,e){let n=(Array.isArray(e)?e:[e]).map(i=>i.toString()),s=t.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(t,s)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var K=class{encodeKey(t){return ke(t)}encodeValue(t){return ke(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function qe(r,t){let e=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{let i=s.indexOf("="),[o,c]=i==-1?[t.decodeKey(s),""]:[t.decodeKey(s.slice(0,i)),t.decodeValue(s.slice(i+1))],a=e.get(o)||[];a.push(c),e.set(o,a)}),e}var Ye=/%(\d[a-f0-9])/gi,Qe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ke(r){return encodeURIComponent(r).replace(Ye,(t,e)=>Qe[e]??t)}function G(r){return`${r}`}var I=class r{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new K,t.fromString){if(t.fromObject)throw new T(2805,!1);this.map=qe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let n=t.fromObject[e],s=Array.isArray(n)?n.map(G):[G(n)];this.map.set(e,s)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(n=>{let s=t[n];Array.isArray(s)?s.forEach(i=>{e.push({param:n,value:i,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new r({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(G(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],s=n.indexOf(G(t.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var q=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Ze(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xe(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function Fe(r){return typeof Blob<"u"&&r instanceof Blob}function Le(r){return typeof FormData<"u"&&r instanceof FormData}function He(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var B="Content-Type",Y="Accept",de="X-Request-URL",Se="text/plain",Be="application/json",Xe=`${Be}, ${Se}, */*`,F=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,n,s){this.url=e,this.method=t.toUpperCase();let i;if(Ze(this.method)||s?(this.body=n!==void 0?n:null,i=s):i=n,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new T(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new P,this.context??=new q,!this.params)this.params=new I,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":c<e.length-1?"&":"";this.urlWithParams=e+a+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||xe(this.body)||Fe(this.body)||Le(this.body)||He(this.body)?this.body:this.body instanceof I?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Le(this.body)?null:Fe(this.body)?this.body.type||null:xe(this.body)?null:typeof this.body=="string"?Se:this.body instanceof I?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Be:null}clone(t={}){let e=t.method||this.method,n=t.url||this.url,s=t.responseType||this.responseType,i=t.keepalive??this.keepalive,o=t.priority||this.priority,c=t.cache||this.cache,a=t.mode||this.mode,f=t.redirect||this.redirect,y=t.credentials||this.credentials,m=t.referrer||this.referrer,v=t.integrity||this.integrity,N=t.transferCache??this.transferCache,p=t.timeout??this.timeout,O=t.body!==void 0?t.body:this.body,d=t.withCredentials??this.withCredentials,l=t.reportProgress??this.reportProgress,g=t.headers||this.headers,R=t.params||this.params,u=t.context??this.context;return t.setHeaders!==void 0&&(g=Object.keys(t.setHeaders).reduce((w,A)=>w.set(A,t.setHeaders[A]),g)),t.setParams&&(R=Object.keys(t.setParams).reduce((w,A)=>w.set(A,t.setParams[A]),R)),new r(e,n,O,{params:R,headers:g,context:u,reportProgress:l,responseType:s,withCredentials:d,transferCache:N,keepalive:i,cache:c,priority:o,timeout:p,mode:a,redirect:f,credentials:y,referrer:m,integrity:v})}},M=(function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r})(M||{}),j=class{headers;status;statusText;url;ok;type;redirected;constructor(t,e=200,n="OK"){this.headers=t.headers||new P,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},X=class r extends j{constructor(t={}){super(t)}type=M.ResponseHeader;clone(t={}){return new r({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},D=class r extends j{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=M.Response;clone(t={}){return new r({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},b=class extends j{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},le=200,et=204;function oe(r,t){return{body:t,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,credentials:r.credentials,transferCache:r.transferCache,timeout:r.timeout,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,integrity:r.integrity,referrer:r.referrer}}var ze=(()=>{class r{handler;constructor(e){this.handler=e}request(e,n,s={}){let i;if(e instanceof F)i=e;else{let a;s.headers instanceof P?a=s.headers:a=new P(s.headers);let f;s.params&&(s.params instanceof I?f=s.params:f=new I({fromObject:s.params})),i=new F(e,n,s.body!==void 0?s.body:null,{headers:a,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache,keepalive:s.keepalive,priority:s.priority,cache:s.cache,mode:s.mode,redirect:s.redirect,credentials:s.credentials,referrer:s.referrer,integrity:s.integrity,timeout:s.timeout})}let o=C(i).pipe(Ee(a=>this.handler.handle(a)));if(e instanceof F||s.observe==="events")return o;let c=o.pipe(Te(a=>a instanceof D));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(S(a=>
vendor: 1,578 bytes, line 2
2{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new T(2806,!1);return a.body}));case"blob":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new T(2807,!1);return a.body}));case"text":return c.pipe(S(a=>{if(a.body!==null&&typeof a.body!="string")throw new T(2808,!1);return a.body}));case"json":default:return c.pipe(S(a=>a.body))}case"response":return c;default:throw new T(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new I().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,s={}){return this.request("PATCH",e,oe(s,n))}post(e,n,s={}){return this.request("POST",e,oe(s,n))}put(e,n,s={}){return this.request("PUT",e,oe(s,n))}static \u0275fac=function(n){return new(n||r)(_(L))};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})(),tt=/^\)\]\}',?\n/;function Ue(r){if(r.url)return r.url;let t=de.toLocaleLowerCase();return r.headers.get(t)}var Je=new E(""),W=(()=>{class r{fetchImpl=h(ie,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(Oe);destroyRef=h(Pe);handle(e){return new V(n=>{let s=new AbortController;this.doRequest(e,s.signal,n).then(ae,o=>n.error(new b({error:o})));let i;return e.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{s.signal.aborted||s.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{i!==void 0&&clearTimeout(i),s.abort()}})}
2doRequest(e,n,s){return te(this,null,function*(){let i=this.createRequestInit(e),o;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,$({signal:n},i)));rt(p),s.next({type:M.Sent}),o=yield p}catch(p){s.error(new b({error:p,status:p.status??0,statusText:p.statusText,url:e.urlWithParams,headers:p.headers}));return}let c=new P(o.headers),a=o.statusText,f=Ue(o)??e.urlWithParams,y=o.status,m=null;if(e.reportProgress&&s.next(new X({headers:c,status:y,statusText:a,url:f})),o.body){let p=o.headers.get("content-length"),O=[],d=o.body.getReader(),l=0,g,R,u=typeof Zone<"u"&&Zone.current,w=!1;if(yield this.ngZone.runOutsideAngular(()=>te(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield d.cancel(),w=!0;break}let{done:k,value:ee}=yield d.read();if(k)break;if(O.push(ee),l+=ee.length,e.reportProgress){R=e.responseType==="text"?(R??"")+(g??=new TextDecoder).decode(ee,{stream:!0}):void 0;let me=()=>s.next({type:M.DownloadProgress,total:p?+p:void 0,loaded:l,partialText:R});u?u.run(me):me()}}})),w){s.complete();return}let A=this.concatChunks(O,l);try{let k=o.headers.get(B)??"";m=this.parseBody(e,A,k,y)}catch(k){s.error(new b({error:k,headers:new P(o.headers),status:o.status,statusText:o.statusText,url:Ue(o)??e.urlWithParams}));return}}y===0&&(y=m?le:0);let v=y>=200&&y<300,N=o.redirected;v?(s.next(new D({body:m,headers:c,status:y,statusText:a,url:f,redirected:N})),s.complete()):s.error(new b({error:m,headers:c,status:y,statusText:a,url:f,redirected:N}))})}parseBody(e,n,s,i){switch(e.responseType){case"json":let o=new TextDecoder().decode(n).replace(tt,"");if(o==="")return null;try{return JSON.parse(o)}catch(c){if(i<200||i>=300)return o;throw c}case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:s});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},s;if(s=e.credentials,e.withCredentials&&(s="include"),e.headers.forEach((i,o)=>n[i]=o.join(",")),e.headers.has(Y)||(n[Y]=Xe),!e.headers.has(B)){let i=e.detectContentTypeHeader();i!==null&&(n[B]=i)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:s,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity}}concatChunks(e,n){let s=new Uint8Array(n),i=0;for(let o of e)s.set(o,i),i+=o.length;return s}static \u0275fac=function(n){return new(n||r)};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})(),ie=class{};function ae(){}function rt(r){r.then(ae,ae)}function $e(r,t){return t(r)}function nt(r,t){return(e,n)=>t.intercept(e,{handle:s=>r(s,n)})}function st(r,t,e){return(n,s)=>be(e,()=>t(n,i=>r(i,s)))}var Ve=new E(""),H=new E(""),ue=new E(""),he=new E("",{providedIn:"root",factory:()=>!0});function ot(){let r=null;return(t,e)=>{r===null&&(r=(h(Ve,{optional:!0})??[]).reduceRight(nt,$e));let n=h(se);if(h(he)){let i=n.add();return r(t,e).pipe(re(i))}else return r(t,e)}}var Q=(()=>{class r extends L{backend;injector;chain=null;pendingTasks=h(se);contributeToStability=h(he);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(H),...this.injector.get(ue,[])]));this.chain=n.reduceRight((s,i)=>st(s,i,this.injector),$e)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(re(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(_(U),_(we))};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})(),it=0,je,at="JSONP injected script did not invoke callback.";var Z=class{};function ct(){return typeof window=="object"?window:{}}var fe=(()=>{class r{callbackMap;document;resolvedPromise=Promise.resolve();constructor(e,n){this.callbackMap=e,this.document=n}nextCallback(){return`ng_jsonp_callback_${it++}`}handle(e){if(e.method!=="JSONP")throw new T(2810,!1);if(e.responseType!=="json")throw new T(2811,!1);if(e.headers.keys().length>0)throw new T(2812,!1);return new V(n=>{let s=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),o=this.document.createElement("script");o.src=i;let c=null,a=!1;this.callbackMap[s]=v=>{delete this.callbackMap[s],c=v,a=!0};let f=()=>{o.removeEventListener("load",y),o.removeEventListener("error",m),o.remove(),delete this.callbackMap[s]},y=()=>{this.resolvedPromise.then(()=>
2{if(f(),!a){n.error(new b({url:i,status:0,statusText:"JSONP Error",error:new Error(at)}));return}n.next(new D({body:c,status:le,statusText:"OK",url:i})),n.complete()})},m=v=>{f(),n.error(new b({error:v,status:0,statusText:"JSONP Error",url:i}))};return o.addEventListener("load",y),o.addEventListener("error",m),this.document.body.appendChild(o),n.next({type:M.Sent}),()=>{a||this.removeListeners(o),f()}})}removeListeners(e){je??=this.document.implementation.createHTMLDocument(),je.adoptNode(e)}static \u0275fac=function(n){return new(n||r)(_(Z),_(ne))};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})();function dt(r,t){return r.method==="JSONP"?h(fe).handle(r):t(r)}var lt=/^\)\]\}',?\n/,ut=RegExp(`^${de}:`,"m");function ht(r){return"responseURL"in r&&r.responseURL?r.responseURL:ut.test(r.getAllResponseHeaders())?r.getResponseHeader(de):null}var ce=(()=>{class r{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new T(-2800,!1);let n=this.xhrFactory;return C(null).pipe(ve(()=>new V(i=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((d,l)=>o.setRequestHeader(d,l.join(","))),e.headers.has(Y)||o.setRequestHeader(Y,Xe),!e.headers.has(B)){let d=e.detectContentTypeHeader();d!==null&&o.setRequestHeader(B,d)}if(e.timeout&&(o.timeout=e.timeout),e.responseType){let d=e.responseType.toLowerCase();o.responseType=d!=="json"?d:"text"}let c=e.serializeBody(),a=null,f=()=>{if(a!==null)return a;let d=o.statusText||"OK",l=new P(o.getAllResponseHeaders()),g=ht(o)||e.url;return a=new X({headers:l,status:o.status,statusText:d,url:g}),a},y=()=>{let{headers:d,status:l,statusText:g,url:R}=f(),u=null;l!==et&&(u=typeof o.response>"u"?o.responseText:o.response),l===0&&(l=u?le:0);let w=l>=200&&l<300;if(e.responseType==="json"&&typeof u=="string"){let A=u;u=u.replace(lt,"");try{u=u!==""?JSON.parse(u):null}catch(k){u=A,w&&(w=!1,u={error:k,text:u})}}w?(i.next(new D({body:u,headers:d,status:l,statusText:g,url:R||void 0})),i.complete()):i.error(new b({error:u,headers:d,status:l,statusText:g,url:R||void 0}))},m=d=>{let{url:l}=f(),g=new b({error:d,status:o.status||0,statusText:o.statusText||"Unknown Error",url:l||void 0});i.error(g)},v=m;e.timeout&&(v=d=>{let{url:l}=f(),g=new b({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:l||void 0});i.error(g)});let N=!1,p=d=>{N||(i.next(f()),N=!0);let l={type:M.DownloadProgress,loaded:d.loaded};d.lengthComputable&&(l.total=d.total),e.responseType==="text"&&o.responseText&&(l.partialText=o.responseText),i.next(l)},O=d=>{let l={type:M.UploadProgress,loaded:d.loaded};d.lengthComputable&&(l.total=d.total),i.next(l)};return o.addEventListener("load",y),o.addEventListener("error",m),o.addEventListener("timeout",v),o.addEventListener("abort",m),e.reportProgress&&(o.addEventListener("progress",p),c!==null&&o.upload&&o.upload.addEventListener("progress",O)),o.send(c),i.next({type:M.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",y),o.removeEventListener("timeout",v),e.reportProgress&&(o.removeEventListener("progress",p),c!==null&&o.upload&&o.upload.removeEventListener("progress",O)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||r)(_(De))};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})(),Ge=new E(""),ft="XSRF-TOKEN",pt=new E("",{providedIn:"root",factory:()=>ft}),yt="X-XSRF-TOKEN",mt=new E("",{providedIn:"root",factory:()=>yt}),z=class{},gt=(()=>{class r{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ie(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||r)(_(ne),_(pt))};static \u0275prov=x({token:r,factory:r.\u0275fac})}return r})(),Tt=/^(?:https?:)?\/\//i;function Et(r,t){if(!h(Ge)||r.method==="GET"||r.method==="HEAD"||Tt.test(r.url))return t(r);let e=h(z).getToken(),n=h(mt);return e!=null&&!r.headers.has(n)&&(r=r.clone({headers:r.headers.set(n,e)})),t(r)}var J=(function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r})(J||{});function pe(r,t){return{\u0275kind:r,\u0275providers:t}}function vt(...r){let t=[ze,ce,Q,{provide:L,useExisting:Q},{provide:U,useFactory:()=>h(Je,{optional:!0})??h(ce)},{provide:H,useValue:Et,multi:!0},{provide:Ge,useValue:!0},{provide:z,useClass:gt}];for(let e of r)t.push(...e.\u0275providers);return Re(t)}var Ce=new E("");function Rt(){return pe(J.LegacyInterceptors,[{provide:Ce,useFactory:ot},{provide:H,useExisting:Ce,multi:!0}])}function wt(){return pe(J.JsonpSupport,[fe,{provide:Z,useFactory:ct},{provide:H,useValue:dt,multi:!0}])}function bt(){return pe(J.Fetch,[W,{provide:Je,useExisting:W},{provide:U,useExisting:W}])}var Pt=new E(""),Nt="b",Mt="h",Ot="s",At="st",_t="u",It="rt",ye=new E(""),Dt=["GET","HEAD"];function kt(r,t){let N=h(ye),{isCacheActive:e}=N,n=ge(N,["isCacheActive"]),{transferCache:s,method:i}=r;if(!e||s===!1||i==="POST"&&!n.includePostRequests&&!s||i!=="POST"&&!Dt.includes(i)||!n.includeRequestsWithAuthHeaders&&xt(r)||n.filter?.(r)===!1)return t(r);let o=h(Ne);if(h(Pt,{optional:!0}))throw new T(2803,!1);let a=r.url,f=Ft(r,a),y=o.get(f,null),m=n.includeHeaders;if(typeof s=="object"&&s.includeHeaders&&(m=s.includeHeaders),y){let{[Nt]:p,[It]:O,[Mt]:d,[Ot]:l,[At]:g,[_t]:R}=y,u=p;switch(O){case"arraybuffer":u=new TextEncoder().encode(p).buffer;break;case"blob":u=new Blob([p]);break}let w=new P(d);return C(new D({body:u,headers:w,status:l,statusText:g,url:R}))}return t(r)}function xt(r){return r.headers.has("authorization")||r.headers.has("proxy-authorization")}function We(r){return[...r.keys()].sort().map(t=>`${t}=${r.getAll(t)}`).join("&")}function Ft(r,t){let{params:e,method:n,responseType:s}=r,i=We(e),o=r.serializeBody();o instanceof URLSearchParams?o=We(o):typeof o!="string"&&(o="");let c=[n,s,t,o,i].join("|"),a=Lt(c);return a}function Lt(r){let t=0;
2for(let e of r)t=Math.imul(31,t)+e.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function Tr(r){return[{provide:ye,useFactory:()=>(Me("NgHttpTransferCache"),$({isCacheActive:!0},r))},{provide:ue,useValue:kt,multi:!0},{provide:Ae,multi:!0,useFactory:()=>{let t=h(_e),e=h(ye);return()=>{t.whenStable().then(()=>{e.isCacheActive=!1})}}}]}export{P as a,D as b,ze as c,Ve as d,fe as e,vt as f,Rt as g,wt as h,bt as i,Tr as j};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.