addin dev folder

This commit is contained in:
chrisbell committed 2025-03-04 02:25:35 +00:00
1 parent 8d352cc634
commit 982d7340f3
20 files changed
+15813

No files matched your search

@@ -0,0 +1,8 @@
var pr=Object.defineProperty,mr=Object.defineProperties;var gr=Object.getOwnPropertyDescriptors;var l6=Object.getOwnPropertySymbols;var yr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable;var d6=(e,t,n)=>t in e?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})yr.call(t,n)&&d6(e,n,t[n]);if(l6)for(var n of l6(t))vr.call(t,n)&&d6(e,n,t[n]);return e},j=(e,t)=>mr(e,gr(t));var b2=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function f6(e,t){return Object.is(e,t)}var q=null,w3=!1,v4=1,j1=Symbol("SIGNAL");function k(e){let t=q;return q=e,t}function h6(){return q}var E3={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function p6(e){if(w3)throw new Error("");if(q===null)return;q.consumerOnSignalRead(e);let t=q.nextProducerIndex++;if(C3(q),t<q.producerNode.length&&q.producerNode[t]!==e&&M2(q)){let n=q.producerNode[t];I3(n,q.producerIndexOfThis[t])}q.producerNode[t]!==e&&(q.producerNode[t]=e,q.producerIndexOfThis[t]=M2(q)?v6(e,q,t):0),q.producerLastReadVersion[t]=e.version}function Dr(){v4++}function m6(e){if(!(M2(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===v4)){if(!e.producerMustRecompute(e)&&!w4(e)){y4(e);return}e.producerRecomputeValue(e),y4(e)}}function g6(e){if(e.liveConsumerNode===void 0)return;let t=w3;w3=!0;try{for(let n of e.liveConsumerNode)n.dirty||Er(n)}finally{w3=t}}function wr(){return q?.consumerAllowSignalWrites!==!1}function Er(e){e.dirty=!0,g6(e),e.consumerMarkedDirty?.(e)}function y4(e){e.dirty=!1,e.lastCleanEpoch=v4}function D4(e){return e&&(e.nextProducerIndex=0),k(e)}function y6(e,t){if(k(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(M2(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)I3(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function w4(e){C3(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(m6(n),r!==n.version))return!0}return!1}function E4(e){if(C3(e),M2(e))for(let t=0;t<e.producerNode.length;t++)I3(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function v6(e,t,n){if(D6(e),e.liveConsumerNode.length===0&&w6(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=v6(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function I3(e,t){if(D6(e),e.liveConsumerNode.length===1&&w6(e))for(let r=0;r<e.producerNode.length;r++)I3(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];C3(o),o.producerIndexOfThis[r]=t}}function M2(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function C3(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function D6(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function w6(e){return e.producerNode!==void 0}function Ir(){throw new Error}var E6=Ir;function Cr(){E6()}function I6(e){E6=e}var br=null;function C6(e,t){wr()||Cr(),e.equal(e.value,t)||(e.value=t,Mr(e))}var b6=j(g({},E3),{equal:f6,value:void 0});function Mr(e){e.version++,Dr(),g6(e),br?.()}function M(e){return typeof e=="function"}function V1(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var b3=V1(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function S2(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof b3?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{M6(i)}catch(s){t=t??[],s instanceof b3?t=[...t,...s.errors]:t.push(s)}}if(t)throw new b3(t)}}add(t){var n;if(t&&t!==this)if(this.closed)M6(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&S2(n,t)}remove(t){let{_finalizers:n}=this;n&&S2(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var I4=$.EMPTY;function M3(e){return e instanceof $||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function M6(e){M(e)?e():e.unsubscribe()}var I0={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var B1={setTimeout(e,t,...n){let{delegate:r}=B1;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=B1;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function S3(e){B1.setTimeout(()=>{let{onUnhandledError:t}=I0;if(t)t(e);else throw e})}function T2(){}var S6=C4("C",void 0,void 0);function T6(e){return C4("E",void 0,e)}function _6(e){return C4("N",e,void 0)}function C4(e,t,n){return{kind:e,value:t,error:n}}var y1=null;function U1(e){if(I0.useDeprecatedSynchronousErrorHandling){let t=!y1;if(t&&(y1={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=y1;if(y1=null,n)throw r}}else e()}function N6(e){I0.useDeprecatedSynchronousErrorHandling&&y1&&(y1.errorThrown=!0,y1.error=e)}var v1=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,M3(t)&&t.add(this)):this.destination=_r}static create(t,n,r){return new $1(t,n,r)}next(t){this.isStopped?M4(_6(t),this):this._next(t)}error(t){this.isStopped?M4(T6(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?M4(S6,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Sr=Function.prototype.bind;function b4(e,t){return Sr.call(e,t)}var S4=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){T3(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){T3(r)}else T3(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){T3(n)}}},$1=class extends v1{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&I0.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&b4(t.next,i),error:t.error&&b4(t.error,i),complete:t.complete&&b4(t.complete,i)}):o=t}this.destination=new S4(o)}};function T3(e){I0.useDeprecatedSynchronousErrorHandling?N6(e):S3(e)}function Tr(e){throw e}function M4(e,t){let{onStoppedNotification:n}=I0;n&&B1.setTimeout(()=>n(e,t))}var _r={closed:!0,next:T2,error:Tr,complete:T2};var H1=typeof Symbol=="function"&&Symbol.observable||"@@observable";function l0(e){return e}function T4(...e){return _4(e)}function _4(e){return e.length===0?l0:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=xr(n)?n:new $1(n,r,o);return U1(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=x6(r),new r((o,i)=>{let s=new $1({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[H1](){return this}pipe(...n){return _4(n)(this)}toPromise(n){return n=x6(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function x6(e){var t;return(t=e??I0.Promise)!==null&&t!==void 0?t:Promise}function Nr(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function xr(e){return e&&eLine truncated
`);return n===-1?t:t.substring(0,n)}function X6(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Zr=L({__forward_ref__:L});function F7(e){return e.__forward_ref__=F7,e.toString=function(){return s0(this())},e}function D0(e){return L7(e)?e():e}function L7(e){return typeof e=="function"&&e.hasOwnProperty(Zr)&&e.__forward_ref__===F7}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function V2(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ee(e){return e7(e,V7)||e7(e,B7)}function j7(e){return Ee(e)!==null}function e7(e,t){return e.hasOwnProperty(t)?e[t]:null}function Yr(e){let t=e&&(e[V7]||e[B7]);return t||null}function t7(e){return e&&(e.hasOwnProperty(n7)||e.hasOwnProperty(Qr))?e[n7]:null}var V7=L({\u0275prov:L}),n7=L({\u0275inj:L}),B7=L({ngInjectableDef:L}),Qr=L({ngInjectorDef:L}),E=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function U7(e){return e&&!!e.\u0275providers}var Kr=L({\u0275cmp:L}),Jr=L({\u0275dir:L}),Xr=L({\u0275pipe:L}),eo=L({\u0275mod:L}),Q3=L({\u0275fac:L}),x2=L({__NG_ELEMENT_ID__:L}),r7=L({__NG_ENV_ID__:L});function K3(e){return typeof e=="string"?e:e==null?"":String(e)}function to(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():K3(e)}function no(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,e)}function S5(e,t){throw new w(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),q4;function $7(){return q4}function v0(e){let t=q4;return q4=e,t}function H7(e,t,n){let r=Ee(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;S5(e,"Injector")}var ro={},A2=ro,oo="__NG_DI_FLAG__",J3="ngTempTokenPath",io="ngTokenPath",so=/\n/gm,ao="\u0275",o7="__source",X1;function co(){return X1}function K0(e){let t=X1;return X1=e,t}function uo(e,t=_.Default){if(X1===void 0)throw new w(-203,!1);return X1===null?H7(e,void 0,t):X1.get(e,t&_.Optional?null:void 0,t)}function b(e,t=_.Default){return($7()||uo)(D0(e),t)}function p(e,t=_.Default){return b(e,Ie(t))}function Ie(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function G4(e){let t=[];for(let n=0;n<e.length;n++){let r=D0(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=_.Default;for(let s=0;s<r.length;s++){let a=r[s],c=lo(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function lo(e){return e[oo]}function fo(e,t,n,r){let o=e[J3];throw t[o7]&&o.unshift(t[o7]),e.message=ho(`
`+e.message,o,n,r),e[io]=o,e[J3]=null,e}function ho(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==ao?e.slice(2):e;let o=s0(t);if(Array.isArray(t))o=t.map(s0).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):s0(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(so,`
`)}`}function t2(e,t){let n=e.hasOwnProperty(Q3);return n?e[Q3]:null}function T5(e,t){e.forEach(n=>Array.isArray(n)?T5(n,t):t(n))}function q7(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function X3(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var R2={},x0=[],n2=new E(""),G7=new E("",-1),W7=new E(""),ee=class{get(t,n=A2){if(n===A2){let r=new Error(`NullInjectorError: No provider for ${s0(t)}!`);throw r.name="NullInjectorError",r}return n}};function Z7(e,t){let n=e[eo]||null;if(!n&&t===!0)throw new Error(`Type ${s0(e)} does not have '\u0275mod' property.`);return n}function C1(e){return e[Kr]||null}function Y7(e){return e[Jr]||null}function Q7(e){return e[Xr]||null}function K7(e){let t=C1(e)||Y7(e)||Q7(e);return t!==null?t.standalone:!1}function c2(e){return{\u0275providers:e}}function po(...e){return{\u0275providers:J7(!0,e),\u0275fromNgModule:!0}}function J7(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return T5(t,s=>{let a=s;W4(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&X7(o,i),n}function X7(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];_5(o,i=>{t(i,r)})}}function W4(e,t,n,r){if(e=D0(e),!e)return!1;let o=null,i=t7(e),s=!i&&C1(e);if(!i&&!s){let c=e.ngModule;if(i=t7(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)W4(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{T5(i.imports,l=>{W4(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&X7(u,t)}if(!a){let u=t2(o)||(()=>new o);t({provide:o,useFactory:u,deps:x0},o),t({provide:W7,useValue:o,multi:!0},o),t({provide:n2,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;_5(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function _5(e,t){for(let n of e)U7(n)&&(n=n.\u0275providers),Array.isArray(n)?_5(n,t):t(n)}var mo=L({provide:String,useValue:L});function en(e){return e!==null&&typeof e=="object"&&mo in e}function go(e){return!!(e&&e.useExisting)}function yo(e){return!!(e&&e.useFactory)}function Z4(e){return typeof e=="function"}var Ce=new E(""),q3={},vo={},L4;function N5(){return L4===void 0&&(L4=new ee),L4}var a0=class{},z2=class extends a0{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Q4(t,s=>this.processProvider(s)),this.records.set(G7,Q1(void 0,this)),o.has("environment")&&this.records.set(a0,Q1(void 0,this));let i=this.records.get(Ce);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(W7,x0,_.Self))}destroy(){_2(this),this._destroyed=!0;let t=k(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),k(t)}}onDestroy(t){return _2(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){_2(this);let n=K0(this),r=v0(void 0),o;try{return t()}finally{K0(n),v0(r)}}get(t,n=A2,r=_.Default){if(_2(this),t.hasOwnProperty(r7))return t[r7](this);r=Ie(r);let o,i=K0(this),s=v0(void 0);try{if(!(r&_.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=bo(t)&&Ee(t);u&&this.injectableDefInScope(u)?c=Q1(Y4(t),q3):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&_.Self?N5():this.parent;return n=r&_.Optional&&n===A2?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[J3]=a[J3]||[]).unshift(s0(t)),i)throw a;return fo(a,t,"R3InjectorError",this.source)}else throw a}finally{v0(s),K0(i)}}resolveInjectorInitializers(){let t=k(null),n=K0(this),r=v0(void 0),o;try{let i=this.get(n2,x0,_.Self);for(let s of i)s()}finally{K0(n),v0(r),k(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(s0(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=D0(t);let n=Z4(t)?t:D0(t&&t.provide),r=wo(t);if(!Z4(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Q1(void 0,q3,!0),o.factory=()=>G4(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=k(null);try{return n.value===q3&&(n.value=vo,n.value=n.factory()),typeof n.value=="object"&&n.value&&Co(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{k(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=D0(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Y4(e){let t=Ee(e),n=t!==null?t.factory:t2(e);if(n!==null)return n;if(e instanceof E)throw new w(204,!1);if(e instanceof Function)return Do(e);throw new w(204,!1)}function Do(e){if(e.length>0)throw new w(204,!1);let n=Yr(e);return n!==null?()=>n.factory(e):()=>new e}function wo(e){if(en(Line truncated
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?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(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var ht=class{encodeKey(t){return o9(t)}encodeValue(t){return o9(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function vc(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Dc=/%(\d[a-f0-9])/gi,wc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function o9(e){return encodeURIComponent(e).replace(Dc,(t,n)=>wc[n]??t)}function He(e){return`${e}`}var p1=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ht,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=vc(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(He):[He(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(He(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(He(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var pt=class{map=new Map;set(t,n){return this.map.set(t,n),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(){retu Line truncated