1import{Db as m,K as e,N as L,O as o,V as M,_b as t,jb as n,l as r,n as f}from"./chunk-P72ZEF2U.js";var C=(()=>{let l=class l{constructor(c){this.response=c}getHeader(c){return this.response.getHeader(c)}setHeader(c,s){return this.response&&this.response.header(c,s),this}appendHeader(c,s,i=","){if(this.response){let z=this.getHeader(c);if(!z)return this.setHeader(c,s);let N=[...z.split(i),s].filter((d,u,h)=>u===h.indexOf(d)).join(i);this.response.header(c,N)}return this}setHeaders(c){return this.response&&Object.keys(c).forEach(s=>this.setHeader(s,c[s])),this}setStatus(c,s){return this.response&&(this.response.statusCode=c,s&&(this.response.statusMessage=s)),this}setNotFound(c="not found"){return this.response&&(this.response.statusCode=404,this.response.statusMessage=c,this.setCacheNone()),this}setUnavailable(c="service unavailable",s=120){return this.response&&(this.response.statusCode=503,this.response.statusMessage=c,this.setHeader("Retry-After",String(s)),this.setCacheNone()),this}redirect(c,s=301){return this.response&&(this.response.status(s),this.response.setHeader("Location",c)),this}setUnauthorized(c="Unauthorized"){return this.response&&(this.response.statusCode=401,this.response.statusMessage=c),this}setCacheNone(){return this.response&&(this.setHeader("Cache-Control","no-cache, no-store, must-revalidate"),this.setHeader("Pragma","no-cache")),this}setError(c="internal server error"){return this.response&&(this.response.statusCode=500,this.response.statusMessage=c),this}};l.\u0275fac=function(s){return new(s||l)(L(t,8))},l.\u0275prov=e({token:l,factory:l.\u0275fac,providedIn:"root"});let a=l;return a})();var p=(()=>{let l=class l{constructor(){this.serverResponseService=o(C),this.kind=M("none"),this.is404=n(()=>this.kind()==="notFound"),this.isUnavailable=n(()=>this.kind()==="unavailable"),this.hasError=n(()=>this.kind()!=="none")}setNotFound(){this.kind.set("notFound"),this.serverResponseService.setNotFound()}setUnavailable(){this.kind.set("unavailable"),this.serverResponseService.setUnavailable()}reset(){this.kind.set("none")}};l.\u0275fac=function(s){return new(s||l)},l.\u0275prov=e({token:l,factory:l.\u0275fac,providedIn:"root"});let a=l;return a})();var S=[404,410];function b(a){if(a instanceof f)return!1;let l=a,x=a instanceof m?a.status:l?.status??l?.error?.status_code,c=l?.error?.message??l?.message;return S.includes(x)||c==="Item not found"}function D(){let a=o(p);return l=>(b(l)?a.setNotFound():a.setUnavailable(),r(null))}var R={prefix:"far",iconName:"arrow-right",icon:[448,512,[8594],"f061","M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z"]};var U={prefix:"far",iconName:"arrow-left",icon:[448,512,[8592],"f060","M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z"]};var G={prefix:"far",iconName:"chevron-right",icon:[320,512,[9002],"f054","M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z"]};export{R as a,U as b,G as c,C as d,p as e,D as f}; 2/**i18n:db316e5ae349af09ff6e5b76e7d20a8b3f336636b1037b959439616feefcace3*/
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.