vendor: 4,204 bytes, line 1
1var bs=t=>{throw TypeError(t)};var Mt=(t,e,s)=>e.has(t)||bs("Cannot "+s);var a=(t,e,s)=>(Mt(t,e,"read from private field"),s?s.call(t):e.get(t)),E=(t,e,s)=>e.has(t)?bs("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),b=(t,e,s,r)=>(Mt(t,e,"write to private field"),r?r.call(t,s):e.set(t,s),s),C=(t,e,s)=>(Mt(t,e,"access private method"),s);var wt=(t,e,s,r)=>({set _(n){b(t,e,n,s)},get _(){return a(t,e,r)}});import{r as k,g as Lr}from"./vendor-CHCeBm6R.js";var rt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},jr={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},be,rs,$s,kr=($s=class{constructor(){E(this,be,jr);E(this,rs,!1)}setTimeoutProvider(t){b(this,be,t)}setTimeout(t,e){return a(this,be).setTimeout(t,e)}clearTimeout(t){a(this,be).clearTimeout(t)}setInterval(t,e){return a(this,be).setInterval(t,e)}clearInterval(t){a(this,be).clearInterval(t)}},be=new WeakMap,rs=new WeakMap,$s),Ae=new kr;function qr(t){setTimeout(t,0)}var qe=typeof window>"u"||"Deno"in globalThis;function H(){}function Br(t,e){return typeof t=="function"?t(e):t}function kt(t){return typeof t=="number"&&t>=0&&t!==1/0}function sr(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Te(t,e){return typeof t=="function"?t(e):t}function Z(t,e){return typeof t=="function"?t(e):t}function gs(t,e){const{type:s="all",exact:r,fetchStatus:n,predicate:i,queryKey:o,stale:u}=t;if(o){if(r){if(e.queryHash!==ns(o,e.options))return!1}else if(!at(e.queryKey,o))return!1}if(s!=="all"){const d=e.isActive();if(s==="active"&&!d||s==="inactive"&&d)return!1}return!(typeof u=="boolean"&&e.isStale()!==u||n&&n!==e.state.fetchStatus||i&&!i(e))}function ws(t,e){const{exact:s,status:r,predicate:n,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(s){if(Be(e.options.mutationKey)!==Be(i))return!1}else if(!at(e.options.mutationKey,i))return!1}return!(r&&e.state.status!==r||n&&!n(e))}function ns(t,e){return((e==null?void 0:e.queryKeyHashFn)||Be)(t)}function Be(t){return JSON.stringify(t,(e,s)=>qt(s)?Object.keys(s).sort().reduce((r,n)=>(r[n]=s[n],r),{}):s)}function at(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(s=>at(t[s],e[s])):!1}var Qr=Object.prototype.hasOwnProperty;function rr(t,e,s=0){if(t===e)return t;if(s>500)return e;const r=Rs(t)&&Rs(e);if(!r&&!(qt(t)&&qt(e)))return e;const i=(r?t:Object.keys(t)).length,o=r?e:Object.keys(e),u=o.length,d=r?new Array(u):{};let h=0;for(let l=0;l<u;l++){const p=r?l:o[l],R=t[p],w=e[p];if(R===w){d[p]=R,(r?l<i:Qr.call(t,p))&&h++;continue}if(R===null||w===null||typeof R!="object"||typeof w!="object"){d[p]=w;continue}const f=rr(R,w,s+1);d[p]=f,f===R&&h++}return i===u&&h===i?t:d}function Tt(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function Rs(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function qt(t){if(!Es(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!Es(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Es(t){return Object.prototype.toString.call(t)==="[object Object]"}function Hr(t){return new Promise(e=>{Ae.setTimeout(e,t)})}function Bt(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?rr(t,e):e}function Gi(t){return t}function Kr(t,e,s=0){const r=[...t,e];return s&&r.length>s?r.slice(1):r}function $r(t,e,s=0){const r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var is=Symbol();function nr(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===is?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function os(t,e){return typeof t=="function"?t(...e):!!t}function zr(t,e,s){let r=!1,n;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>
vendor: 5,330 bytes, line 1
1(n??(n=e()),r||(r=!0,n.aborted?s():n.addEventListener("abort",s,{once:!0})),n)}),t}var xe,ge,Ke,zs,Jr=(zs=class extends rt{constructor(){super();E(this,xe);E(this,ge);E(this,Ke);b(this,Ke,e=>{if(!qe&&window.addEventListener){const s=()=>e();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){a(this,ge)||this.setEventListener(a(this,Ke))}onUnsubscribe(){var e;this.hasListeners()||((e=a(this,ge))==null||e.call(this),b(this,ge,void 0))}setEventListener(e){var s;b(this,Ke,e),(s=a(this,ge))==null||s.call(this),b(this,ge,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){a(this,xe)!==e&&(b(this,xe,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(s=>{s(e)})}isFocused(){var e;return typeof a(this,xe)=="boolean"?a(this,xe):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},xe=new WeakMap,ge=new WeakMap,Ke=new WeakMap,zs),as=new Jr;function Qt(){let t,e;const s=new Promise((n,i)=>{t=n,e=i});s.status="pending",s.catch(()=>{});function r(n){Object.assign(s,n),delete s.resolve,delete s.reject}return s.resolve=n=>{r({status:"fulfilled",value:n}),t(n)},s.reject=n=>{r({status:"rejected",reason:n}),e(n)},s}var Vr=qr;function Wr(){let t=[],e=0,s=u=>{u()},r=u=>{u()},n=Vr;const i=u=>{e?t.push(u):n(()=>{s(u)})},o=()=>{const u=t;t=[],u.length&&n(()=>{r(()=>{u.forEach(d=>{s(d)})})})};return{batch:u=>{let d;e++;try{d=u()}finally{e--,e||o()}return d},batchCalls:u=>(...d)=>{i(()=>{u(...d)})},schedule:i,setNotifyFunction:u=>{s=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{n=u}}}var I=Wr(),$e,we,ze,Js,Gr=(Js=class extends rt{constructor(){super();E(this,$e,!0);E(this,we);E(this,ze);b(this,ze,e=>{if(!qe&&window.addEventListener){const s=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",r)}}})}onSubscribe(){a(this,we)||this.setEventListener(a(this,ze))}onUnsubscribe(){var e;this.hasListeners()||((e=a(this,we))==null||e.call(this),b(this,we,void 0))}setEventListener(e){var s;b(this,ze,e),(s=a(this,we))==null||s.call(this),b(this,we,e(this.setOnline.bind(this)))}setOnline(e){a(this,$e)!==e&&(b(this,$e,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return a(this,$e)}},$e=new WeakMap,we=new WeakMap,ze=new WeakMap,Js),Pt=new Gr;function Xr(t){return Math.min(1e3*2**t,3e4)}function ir(t){return(t??"online")==="online"?Pt.isOnline():!0}var Ht=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function or(t){let e=!1,s=0,r;const n=Qt(),i=()=>n.status!=="pending",o=y=>{var m;if(!i()){const O=new Ht(y);R(O),(m=t.onCancel)==null||m.call(t,O)}},u=()=>{e=!0},d=()=>{e=!1},h=()=>as.isFocused()&&(t.networkMode==="always"||Pt.isOnline())&&t.canRun(),l=()=>ir(t.networkMode)&&t.canRun(),p=y=>{i()||(r==null||r(),n.resolve(y))},R=y=>{i()||(r==null||r(),n.reject(y))},w=()=>new Promise(y=>{var m;r=O=>{(i()||h())&&y(O)},(m=t.onPause)==null||m.call(t)}).then(()=>{var y;r=void 0,i()||(y=t.onContinue)==null||y.call(t)}),f=()=>{if(i())return;let y;const m=s===0?t.initialPromise:void 0;try{y=m??t.fn()}catch(O){y=Promise.reject(O)}Promise.resolve(y).then(p).catch(O=>{var _;if(i())return;const P=t.retry??(qe?0:3),v=t.retryDelay??Xr,g=typeof v=="function"?v(s,O):v,A=P===!0||typeof P=="number"&&s<P||typeof P=="function"&&P(s,O);if(e||!A){R(O);return}s++,(_=t.onFail)==null||_.call(t,s,O),Hr(g).then(()=>h()?void 0:w()).then(()=>{e?R(O):f()})})};return{promise:n,status:()=>n.status,cancel:o,continue:()=>(r==null||r(),n),cancelRetry:u,continueRetry:d,canStart:l,start:()=>(l()?f():w().then(f),n)}}var De,Vs,ar=(Vs=class{constructor(){E(this,De)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kt(this.gcTime)&&b(this,De,Ae.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(qe?1/0:5*60*1e3))}clearGcTimeout(){a(this,De)&&(Ae.clearTimeout(a(this,De)),b(this,De,void 0))}},De=new WeakMap,Vs),_e,Je,X,Ue,j,ut,Ne,ee,ae,Ws,Zr=(Ws=class extends ar{constructor(e){super();E(this,ee);E(this,_e);E(this,Je);E(this,X);E(this,Ue);E(this,j);E(this,ut);E(this,Ne);b(this,Ne,!1),b(this,ut,e.defaultOptions),this.setOptions(e.options),this.observers=[],b(this,Ue,e.client),b(this,X,a(this,Ue).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,b(this,_e,Os(this.options)),this.state=e.state??a(this,_e),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=a(this,j))==null?void 0:e.promise}setOptions(e){if(this.options={...a(this,ut),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Os(this.options);s.data!==void 0&&(this.setState(Ss(s.data,s.dataUpdatedAt)),b(this,_e,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&a(this,X).remove(this)}setData(e,s){const r=Bt(this.state.data,e,this.options);return C(this,ee,ae).call(this,{data:r,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),r}setState(e,s){C(this,ee,ae).call(this,{type:"setState",state:e,setStateOptions:s})}cancel(e){var r,n;const s=(r=a(this,j))==null?void 0:r.promise;
vendor: 4,546 bytes, line 1
1return(n=a(this,j))==null||n.cancel(e),s?s.then(H).catch(H):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(a(this,_e))}isActive(){return this.observers.some(e=>Z(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===is||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Te(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!sr(this.state.dataUpdatedAt,e)}onFocus(){var s;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(s=a(this,j))==null||s.continue()}onOnline(){var s;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(s=a(this,j))==null||s.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),a(this,X).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(s=>s!==e),this.observers.length||(a(this,j)&&(a(this,Ne)?a(this,j).cancel({revert:!0}):a(this,j).cancelRetry()),this.scheduleGc()),a(this,X).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||C(this,ee,ae).call(this,{type:"invalidate"})}async fetch(e,s){var d,h,l,p,R,w,f,y,m,O,P,v;if(this.state.fetchStatus!=="idle"&&((d=a(this,j))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(a(this,j))return a(this,j).continueRetry(),a(this,j).promise}if(e&&this.setOptions(e),!this.options.queryFn){const g=this.observers.find(A=>A.options.queryFn);g&&this.setOptions(g.options)}const r=new AbortController,n=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(b(this,Ne,!0),r.signal)})},i=()=>{const g=nr(this.options,s),_=(()=>{const N={client:a(this,Ue),queryKey:this.queryKey,meta:this.meta};return n(N),N})();return b(this,Ne,!1),this.options.persister?this.options.persister(g,_,this):g(_)},u=(()=>{const g={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:a(this,Ue),state:this.state,fetchFn:i};return n(g),g})();(h=this.options.behavior)==null||h.onFetch(u,this),b(this,Je,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=u.fetchOptions)==null?void 0:l.meta))&&C(this,ee,ae).call(this,{type:"fetch",meta:(p=u.fetchOptions)==null?void 0:p.meta}),b(this,j,or({initialPromise:s==null?void 0:s.initialPromise,fn:u.fetchFn,onCancel:g=>{g instanceof Ht&&g.revert&&this.setState({...a(this,Je),fetchStatus:"idle"}),r.abort()},onFail:(g,A)=>{C(this,ee,ae).call(this,{type:"failed",failureCount:g,error:A})},onPause:()=>{C(this,ee,ae).call(this,{type:"pause"})},onContinue:()=>{C(this,ee,ae).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0}));try{const g=await a(this,j).start();if(g===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(g),(w=(R=a(this,X).config).onSuccess)==null||w.call(R,g,this),(y=(f=a(this,X).config).onSettled)==null||y.call(f,g,this.state.error,this),g}catch(g){if(g instanceof Ht){if(g.silent)return a(this,j).promise;if(g.revert){if(this.state.data===void 0)throw g;return this.state.data}}throw C(this,ee,ae).call(this,{type:"error",error:g}),(O=(m=a(this,X).config).onError)==null||O.call(m,g,this),(v=(P=a(this,X).config).onSettled)==null||v.call(P,this.state.data,g,this),g}finally{this.scheduleGc()}}},_e=new WeakMap,Je=new WeakMap,X=new WeakMap,Ue=new WeakMap,j=new WeakMap,ut=new WeakMap,Ne=new WeakMap,ee=new WeakSet,ae=function(e){const s=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ur(r.data,this.options),fetchMeta:e.meta??null};case"success":const n={...r,...Ss(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return b(this,Je,e.manual?n:void 0),n;case"error":const i=e.error;
vendor: 10,566 bytes, line 1
1return{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=s(this.state),I.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),a(this,X).notify({query:this,type:"updated",action:e})})},Ws);function ur(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ir(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Ss(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Os(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var $,T,ct,Q,Me,Ve,ue,Re,lt,We,Ge,Ie,Le,Ee,Xe,x,ot,Kt,$t,zt,Jt,Vt,Wt,Gt,cr,Gs,Yr=(Gs=class extends rt{constructor(e,s){super();E(this,x);E(this,$);E(this,T);E(this,ct);E(this,Q);E(this,Me);E(this,Ve);E(this,ue);E(this,Re);E(this,lt);E(this,We);E(this,Ge);E(this,Ie);E(this,Le);E(this,Ee);E(this,Xe,new Set);this.options=s,b(this,$,e),b(this,Re,null),b(this,ue,Qt()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(a(this,T).addObserver(this),vs(a(this,T),this.options)?C(this,x,ot).call(this):this.updateResult(),C(this,x,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Xt(a(this,T),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Xt(a(this,T),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,C(this,x,Vt).call(this),C(this,x,Wt).call(this),a(this,T).removeObserver(this)}setOptions(e){const s=this.options,r=a(this,T);if(this.options=a(this,$).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Z(this.options.enabled,a(this,T))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");C(this,x,Gt).call(this),a(this,T).setOptions(this.options),s._defaulted&&!Tt(this.options,s)&&a(this,$).getQueryCache().notify({type:"observerOptionsUpdated",query:a(this,T),observer:this});const n=this.hasListeners();n&&Cs(a(this,T),r,this.options,s)&&C(this,x,ot).call(this),this.updateResult(),n&&(a(this,T)!==r||Z(this.options.enabled,a(this,T))!==Z(s.enabled,a(this,T))||Te(this.options.staleTime,a(this,T))!==Te(s.staleTime,a(this,T)))&&C(this,x,Kt).call(this);const i=C(this,x,$t).call(this);n&&(a(this,T)!==r||Z(this.options.enabled,a(this,T))!==Z(s.enabled,a(this,T))||i!==a(this,Ee))&&C(this,x,zt).call(this,i)}getOptimisticResult(e){const s=a(this,$).getQueryCache().build(a(this,$),e),r=this.createResult(s,e);return tn(this,r)&&(b(this,Q,r),b(this,Ve,this.options),b(this,Me,a(this,T).state)),r}getCurrentResult(){return a(this,Q)}trackResult(e,s){return new Proxy(e,{get:(r,n)=>(this.trackProp(n),s==null||s(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&a(this,ue).status==="pending"&&a(this,ue).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,n))})}trackProp(e){a(this,Xe).add(e)}getCurrentQuery(){return a(this,T)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=a(this,$).defaultQueryOptions(e),r=a(this,$).getQueryCache().build(a(this,$),s);return r.fetch().then(()=>this.createResult(r,s))}fetch(e){return C(this,x,ot).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),a(this,Q)))}createResult(e,s){var D;const r=a(this,T),n=this.options,i=a(this,Q),o=a(this,Me),u=a(this,Ve),h=e!==r?e.state:a(this,ct),{state:l}=e;let p={...l},R=!1,w;if(s._optimisticResults){const L=this.hasListeners(),Y=!L&&vs(e,s),oe=L&&Cs(e,r,s,n);(Y||oe)&&(p={...p,...ur(l.data,e.options)}),s._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:f,errorUpdatedAt:y,status:m}=p;w=p.data;let O=!1;if(s.placeholderData!==void 0&&w===void 0&&m==="pending"){let L;i!=null&&i.isPlaceholderData&&s.placeholderData===(u==null?void 0:u.placeholderData)?(L=i.data,O=!0):L=typeof s.placeholderData=="function"?s.placeholderData((D=a(this,Ge))==null?void 0:D.state.data,a(this,Ge)):s.placeholderData,L!==void 0&&(m="success",w=Bt(i==null?void 0:i.data,L,s),R=!0)}if(s.select&&w!==void 0&&!O)if(i&&w===(o==null?void 0:o.data)&&s.select===a(this,lt))w=a(this,We);else try{b(this,lt,s.select),w=s.select(w),w=Bt(i==null?void 0:i.data,w,s),b(this,We,w),b(this,Re,null)}catch(L){b(this,Re,L)}a(this,Re)&&(f=a(this,Re),w=a(this,We),y=Date.now(),m="error");const P=p.fetchStatus==="fetching",v=m==="pending",g=m==="error",A=v&&P,_=w!==void 0,F={status:m,fetchStatus:p.fetchStatus,isPending:v,isSuccess:m==="success",isError:g,isInitialLoading:A,isLoading:A,data:w,dataUpdatedAt:p.dataUpdatedAt,error:f,errorUpdatedAt:y,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>h.dataUpdateCount||p.errorUpdateCount>h.errorUpdateCount,isFetching:P,isRefetching:P&&!v,isLoadingError:g&&!_,isPaused:p.fetchStatus==="paused",isPlaceholderData:R,isRefetchError:g&&_,isStale:us(e,s),refetch:this.refetch,promise:a(this,ue),isEnabled:Z(s.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const L=F.data!==void 0,Y=F.status==="error"&&!L,oe=Pe=>{Y?Pe.reject(F.error):L&&Pe.resolve(F.data)},de=()=>{const Pe=b(this,ue,F.promise=Qt());oe(Pe)},W=a(this,ue);switch(W.status){case"pending":e.queryHash===r.queryHash&&oe(W);break;case"fulfilled":(Y||F.data!==W.value)&&de();break;case"rejected":(!Y||F.error!==W.reason)&&de();break}}return F}updateResult(){const e=a(this,Q),s=this.createResult(a(this,T),this.options);if(b(this,Me,a(this,T).state),b(this,Ve,this.options),a(this,Me).data!==void 0&&b(this,Ge,a(this,T)),Tt(s,e))return;b(this,Q,s);const r=()=>{if(!e)return!0;const{notifyOnChangeProps:n}=this.options,i=typeof n=="function"?n():n;if(i==="all"||!i&&!a(this,Xe).size)return!0;const o=new Set(i??a(this,Xe));return this.options.throwOnError&&o.add("error"),Object.keys(a(this,Q)).some(u=>{const d=u;return a(this,Q)[d]!==e[d]&&o.has(d)})};C(this,x,cr).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&C(this,x,Jt).call(this)}},$=new WeakMap,T=new WeakMap,ct=new WeakMap,Q=new WeakMap,Me=new WeakMap,Ve=new WeakMap,ue=new WeakMap,Re=new WeakMap,lt=new WeakMap,We=new WeakMap,Ge=new WeakMap,Ie=new WeakMap,Le=new WeakMap,Ee=new WeakMap,Xe=new WeakMap,x=new WeakSet,ot=function(e){C(this,x,Gt).call(this);let s=a(this,T).fetch(this.options,e);return e!=null&&e.throwOnError||(s=s.catch(H)),s},Kt=function(){C(this,x,Vt).call(this);const e=Te(this.options.staleTime,a(this,T));if(qe||a(this,Q).isStale||!kt(e))return;const r=sr(a(this,Q).dataUpdatedAt,e)+1;b(this,Ie,Ae.setTimeout(()=>{a(this,Q).isStale||this.updateResult()},r))},$t=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(a(this,T)):this.options.refetchInterval)??!1},zt=function(e){C(this,x,Wt).call(this),b(this,Ee,e),!(qe||Z(this.options.enabled,a(this,T))===!1||!kt(a(this,Ee))||a(this,Ee)===0)&&b(this,Le,Ae.setInterval(()=>{(this.options.refetchIntervalInBackground||as.isFocused())&&C(this,x,ot).call(this)},a(this,Ee)))},Jt=function(){C(this,x,Kt).call(this),C(this,x,zt).call(this,C(this,x,$t).call(this))},Vt=function(){a(this,Ie)&&(Ae.clearTimeout(a(this,Ie)),b(this,Ie,void 0))},Wt=function(){a(this,Le)&&(Ae.clearInterval(a(this,Le)),b(this,Le,void 0))},Gt=function(){const e=a(this,$).getQueryCache().build(a(this,$),this.options);if(e===a(this,T))return;const s=a(this,T);b(this,T,e),b(this,ct,e.state),this.hasListeners()&&(s==null||s.removeObserver(this),e.addObserver(this))},cr=function(e){I.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(a(this,Q))}),a(this,$).getQueryCache().notify({query:a(this,T),type:"observerResultsUpdated"})})},Gs);function en(t,e){return Z(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function vs(t,e){return en(t,e)||t.state.data!==void 0&&Xt(t,e,e.refetchOnMount)}function Xt(t,e,s){if(Z(e.enabled,t)!==!1&&Te(e.staleTime,t)!=="static"){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&&us(t,e)}return!1}function Cs(t,e,s,r){return(t!==e||Z(r.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&us(t,s)}function us(t,e){return Z(e.enabled,t)!==!1&&t.isStaleByTime(Te(e.staleTime,t))}function tn(t,e){return!Tt(t.getCurrentResult(),e)}function Ts(t){return{onFetch:(e,s)=>{var l,p,R,w,f;const r=e.options,n=(R=(p=(l=e.fetchOptions)==null?void 0:l.meta)==null?void 0:p.fetchMore)==null?void 0:R.direction,i=((w=e.state.data)==null?void 0:w.pages)||[],o=((f=e.state.data)==null?void 0:f.pageParams)||[];let u={pages:[],pageParams:[]},d=0;const h=async()=>{let y=!1;const m=v=>{zr(v,()=>e.signal,()=>y=!0)},O=nr(e.options,e.fetchOptions),P=async(v,g,A)=>{if(y)return Promise.reject();if(g==null&&v.pages.length)return Promise.resolve(v);const N=(()=>{const Y={client:e.client,queryKey:e.queryKey,pageParam:g,direction:A?"backward":"forward",meta:e.options.meta};return m(Y),Y})(),F=await O(N),{maxPages:D}=e.options,L=A?$r:Kr;return{pages:L(v.pages,F,D),pageParams:L(v.pageParams,g,D)}};if(n&&i.length){const v=n==="backward",g=v?sn:Ps,A={pages:i,pageParams:o},_=g(r,A);u=await P(A,_,v)}else{const v=t??i.length;do{const g=d===0?o[0]??r.initialPageParam:Ps(r,u);if(d>0&&g==null)break;u=await P(u,g),d++}while(d<v)}return u};e.options.persister?e.fetchFn=()=>{var y,m;return(m=(y=e.options).persister)==null?void 0:m.call(y,h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=h}}}function Ps(t,{pages:e,pageParams:s}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function sn(t,{pages:e,pageParams:s}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,s[0],s):void 0}var ht,re,q,je,ne,ye,Xs,rn=(Xs=class extends ar{constructor(e){super();E(this,ne);E(this,ht);E(this,re);E(this,q);
vendor: 8,408 bytes, line 1
1E(this,je);b(this,ht,e.client),this.mutationId=e.mutationId,b(this,q,e.mutationCache),b(this,re,[]),this.state=e.state||lr(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){a(this,re).includes(e)||(a(this,re).push(e),this.clearGcTimeout(),a(this,q).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){b(this,re,a(this,re).filter(s=>s!==e)),this.scheduleGc(),a(this,q).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){a(this,re).length||(this.state.status==="pending"?this.scheduleGc():a(this,q).remove(this))}continue(){var e;return((e=a(this,je))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var o,u,d,h,l,p,R,w,f,y,m,O,P,v,g,A,_,N;const s=()=>{C(this,ne,ye).call(this,{type:"continue"})},r={client:a(this,ht),meta:this.options.meta,mutationKey:this.options.mutationKey};b(this,je,or({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{C(this,ne,ye).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{C(this,ne,ye).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>a(this,q).canRun(this)}));const n=this.state.status==="pending",i=!a(this,je).canStart();try{if(n)s();else{C(this,ne,ye).call(this,{type:"pending",variables:e,isPaused:i}),a(this,q).config.onMutate&&await a(this,q).config.onMutate(e,this,r);const D=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,e,r));D!==this.state.context&&C(this,ne,ye).call(this,{type:"pending",context:D,variables:e,isPaused:i})}const F=await a(this,je).start();return await((h=(d=a(this,q).config).onSuccess)==null?void 0:h.call(d,F,e,this.state.context,this,r)),await((p=(l=this.options).onSuccess)==null?void 0:p.call(l,F,e,this.state.context,r)),await((w=(R=a(this,q).config).onSettled)==null?void 0:w.call(R,F,null,this.state.variables,this.state.context,this,r)),await((y=(f=this.options).onSettled)==null?void 0:y.call(f,F,null,e,this.state.context,r)),C(this,ne,ye).call(this,{type:"success",data:F}),F}catch(F){try{await((O=(m=a(this,q).config).onError)==null?void 0:O.call(m,F,e,this.state.context,this,r))}catch(D){Promise.reject(D)}try{await((v=(P=this.options).onError)==null?void 0:v.call(P,F,e,this.state.context,r))}catch(D){Promise.reject(D)}try{await((A=(g=a(this,q).config).onSettled)==null?void 0:A.call(g,void 0,F,this.state.variables,this.state.context,this,r))}catch(D){Promise.reject(D)}try{await((N=(_=this.options).onSettled)==null?void 0:N.call(_,void 0,F,e,this.state.context,r))}catch(D){Promise.reject(D)}throw C(this,ne,ye).call(this,{type:"error",error:F}),F}finally{a(this,q).runNext(this)}}},ht=new WeakMap,re=new WeakMap,q=new WeakMap,je=new WeakMap,ne=new WeakSet,ye=function(e){const s=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),I.batch(()=>{a(this,re).forEach(r=>{r.onMutationUpdate(e)}),a(this,q).notify({mutation:this,type:"updated",action:e})})},Xs);function lr(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ce,te,ft,Zs,nn=(Zs=class extends rt{constructor(e={}){super();E(this,ce);E(this,te);E(this,ft);this.config=e,b(this,ce,new Set),b(this,te,new Map),b(this,ft,0)}build(e,s,r){const n=new rn({client:e,mutationCache:this,mutationId:++wt(this,ft)._,options:e.defaultMutationOptions(s),state:r});return this.add(n),n}add(e){a(this,ce).add(e);const s=Rt(e);if(typeof s=="string"){const r=a(this,te).get(s);r?r.push(e):a(this,te).set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(a(this,ce).delete(e)){const s=Rt(e);if(typeof s=="string"){const r=a(this,te).get(s);if(r)if(r.length>1){const n=r.indexOf(e);n!==-1&&r.splice(n,1)}else r[0]===e&&a(this,te).delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=Rt(e);if(typeof s=="string"){const r=a(this,te).get(s),n=r==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===e}else return!0}runNext(e){var r;const s=Rt(e);if(typeof s=="string"){const n=(r=a(this,te).get(s))==null?void 0:r.find(i=>i!==e&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}else return Promise.resolve()}clear(){I.batch(()=>{a(this,ce).forEach(e=>{this.notify({type:"removed",mutation:e})}),a(this,ce).clear(),a(this,te).clear()})}getAll(){return Array.from(a(this,ce))}find(e){const s={exact:!0,...e};return this.getAll().find(r=>ws(s,r))}findAll(e={}){return this.getAll().filter(s=>ws(e,s))}notify(e){I.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return I.batch(()=>Promise.all(e.map(s=>s.continue().catch(H))))}},ce=new WeakMap,te=new WeakMap,ft=new WeakMap,Zs);function Rt(t){var e;return(e=t.options.scope)==null?void 0:e.id}var le,Se,z,he,fe,St,Zt,Ys,on=(Ys=class extends rt{constructor(e,s){super();E(this,fe);E(this,le);E(this,Se);E(this,z);E(this,he);b(this,le,e),this.setOptions(s),this.bindMethods(),C(this,fe,St).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var r;const s=this.options;this.options=a(this,le).defaultMutationOptions(e),Tt(this.options,s)||a(this,le).getMutationCache().notify({type:"observerOptionsUpdated",mutation:a(this,z),observer:this}),s!=null&&s.mutationKey&&this.options.mutationKey&&Be(s.mutationKey)!==Be(this.options.mutationKey)?this.reset():((r=a(this,z))==null?void 0:r.state.status)==="pending"&&a(this,z).setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(e=a(this,z))==null||e.removeObserver(this)}onMutationUpdate(e){C(this,fe,St).call(this),C(this,fe,Zt).call(this,e)}getCurrentResult(){return a(this,Se)}reset(){var e;(e=a(this,z))==null||e.removeObserver(this),b(this,z,void 0),C(this,fe,St).call(this),C(this,fe,Zt).call(this)}mutate(e,s){var r;return b(this,he,s),(r=a(this,z))==null||r.removeObserver(this),b(this,z,a(this,le).getMutationCache().build(a(this,le),this.options)),a(this,z).addObserver(this),a(this,z).execute(e)}},le=new WeakMap,Se=new WeakMap,z=new WeakMap,he=new WeakMap,fe=new WeakSet,St=function(){var s;const e=((s=a(this,z))==null?void 0:s.state)??lr();b(this,Se,{...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset})},Zt=function(e){I.batch(()=>{var s,r,n,i,o,u,d,h;if(a(this,he)&&this.hasListeners()){const l=a(this,Se).variables,p=a(this,Se).context,R={client:a(this,le),meta:this.options.meta,mutationKey:this.options.mutationKey};if((e==null?void 0:e.type)==="success"){try{(r=(s=a(this,he)).onSuccess)==null||r.call(s,e.data,l,p,R)}catch(w){Promise.reject(w)}try{(i=(n=a(this,he)).onSettled)==null||i.call(n,e.data,null,l,p,R)}catch(w){Promise.reject(w)}}else if((e==null?void 0:e.type)==="error"){try{(u=(o=a(this,he)).onError)==null||u.call(o,e.error,l,p,R)}catch(w){Promise.reject(w)}try{(h=(d=a(this,he)).onSettled)==null||h.call(d,void 0,e.error,l,p,R)}catch(w){Promise.reject(w)}}}this.listeners.forEach(l=>{l(a(this,Se))})})},Ys),ie,er,an=(er=class extends rt{constructor(e={}){super();E(this,ie);this.config=e,b(this,ie,new Map)}build(e,s,r){const n=s.queryKey,i=s.queryHash??ns(n,s);let o=this.get(i);return o||(o=new Zr({client:e,queryKey:n,queryHash:i,options:e.defaultQueryOptions(s),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){a(this,ie).has(e.queryHash)||(a(this,ie).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=a(this,ie).get(e.queryHash);s&&(e.destroy(),s===e&&a(this,ie).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){I.batch(()=>
vendor: 4,965 bytes, line 1
1{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return a(this,ie).get(e)}getAll(){return[...a(this,ie).values()]}find(e){const s={exact:!0,...e};return this.getAll().find(r=>gs(s,r))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(r=>gs(e,r)):s}notify(e){I.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){I.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){I.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ie=new WeakMap,er),U,Oe,ve,Ze,Ye,Ce,et,tt,tr,Xi=(tr=class{constructor(t={}){E(this,U);E(this,Oe);E(this,ve);E(this,Ze);E(this,Ye);E(this,Ce);E(this,et);E(this,tt);b(this,U,t.queryCache||new an),b(this,Oe,t.mutationCache||new nn),b(this,ve,t.defaultOptions||{}),b(this,Ze,new Map),b(this,Ye,new Map),b(this,Ce,0)}mount(){wt(this,Ce)._++,a(this,Ce)===1&&(b(this,et,as.subscribe(async t=>{t&&(await this.resumePausedMutations(),a(this,U).onFocus())})),b(this,tt,Pt.subscribe(async t=>{t&&(await this.resumePausedMutations(),a(this,U).onOnline())})))}unmount(){var t,e;wt(this,Ce)._--,a(this,Ce)===0&&((t=a(this,et))==null||t.call(this),b(this,et,void 0),(e=a(this,tt))==null||e.call(this),b(this,tt,void 0))}isFetching(t){return a(this,U).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return a(this,Oe).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=a(this,U).get(e.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=a(this,U).build(this,e),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Te(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return a(this,U).findAll(t).map(({queryKey:e,state:s})=>{const r=s.data;return[e,r]})}setQueryData(t,e,s){const r=this.defaultQueryOptions({queryKey:t}),n=a(this,U).get(r.queryHash),i=n==null?void 0:n.state.data,o=Br(e,i);if(o!==void 0)return a(this,U).build(this,r).setData(o,{...s,manual:!0})}setQueriesData(t,e,s){return I.batch(()=>a(this,U).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,s)]))}getQueryState(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=a(this,U).get(e.queryHash))==null?void 0:s.state}removeQueries(t){const e=a(this,U);I.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=a(this,U);return I.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},r=I.batch(()=>a(this,U).findAll(t).map(n=>n.cancel(s)));return Promise.all(r).then(H).catch(H)}invalidateQueries(t,e={}){return I.batch(()=>(a(this,U).findAll(t).forEach(s=>{s.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},r=I.batch(()=>a(this,U).findAll(t).filter(n=>!n.isDisabled()&&!n.isStatic()).map(n=>{let i=n.fetch(void 0,s);return s.throwOnError||(i=i.catch(H)),n.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(H)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=a(this,U).build(this,e);return s.isStaleByTime(Te(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(H).catch(H)}fetchInfiniteQuery(t){return t.behavior=Ts(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(H).catch(H)}ensureInfiniteQueryData(t){return t.behavior=Ts(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Pt.isOnline()?a(this,Oe).resumePausedMutations():Promise.resolve()}getQueryCache(){return a(this,U)}getMutationCache(){return a(this,Oe)}getDefaultOptions(){return a(this,ve)}setDefaultOptions(t){b(this,ve,t)}setQueryDefaults(t,e){a(this,Ze).set(Be(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...a(this,Ze).values()],s={};return e.forEach(r=>{at(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,e){a(this,Ye).set(Be(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...a(this,Ye).values()],s={};return e.forEach(r=>{at(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...a(this,ve).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ns(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===is&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...a(this,ve).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){a(this,U).clear(),a(this,Oe).clear()}}
1,U=new WeakMap,Oe=new WeakMap,ve=new WeakMap,Ze=new WeakMap,Ye=new WeakMap,Ce=new WeakMap,et=new WeakMap,tt=new WeakMap,tr),hr=k.createContext(void 0),fr=t=>{const e=k.useContext(hr);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Zi=({client:t,children:e})=>(k.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),Lr.jsx(hr.Provider,{value:t,children:e})),dr=k.createContext(!1),un=()=>k.useContext(dr);dr.Provider;function cn(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var ln=k.createContext(cn()),hn=()=>k.useContext(ln),fn=(t,e,s)=>{const r=s!=null&&s.state.error&&typeof t.throwOnError=="function"?os(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(e.isReset()||(t.retryOnMount=!1))},dn=t=>{k.useEffect(()=>{t.clearReset()},[t])},pn=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:n})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(n&&t.data===void 0||os(s,[t.error,r])),mn=t=>{if(t.suspense){const s=n=>n==="static"?n:Math.max(n??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...n)=>s(r(...n)):s(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},yn=(t,e)=>t.isLoading&&t.isFetching&&!e,bn=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,As=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function gn(t,e,s){var R,w,f,y;const r=un(),n=hn(),i=fr(),o=i.defaultQueryOptions(t);(w=(R=i.getDefaultOptions().queries)==null?void 0:R._experimental_beforeQuery)==null||w.call(R,o);const u=i.getQueryCache().get(o.queryHash);o._optimisticResults=r?"isRestoring":"optimistic",mn(o),fn(o,n,u),dn(n);const d=!i.getQueryCache().get(o.queryHash),[h]=k.useState(()=>new e(i,o)),l=h.getOptimisticResult(o),p=!r&&t.subscribed!==!1;if(k.useSyncExternalStore(k.useCallback(m=>{const O=p?h.subscribe(I.batchCalls(m)):H;return h.updateResult(),O},[h,p]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),k.useEffect(()=>{h.setOptions(o)},[o,h]),bn(o,l))throw As(o,h,n);if(pn({result:l,errorResetBoundary:n,throwOnError:o.throwOnError,query:u,suspense:o.suspense}))throw l.error;if((y=(f=i.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||y.call(f,o,l),o.experimental_prefetchInRender&&!qe&&yn(l,r)){const m=d?As(o,h,n):u==null?void 0:u.promise;m==null||m.catch(H).finally(()=>{h.updateResult()})}return o.notifyOnChangeProps?l:h.trackResult(l)}function Yi(t,e){return gn(t,Yr)}function eo(t,e){const s=fr(),[r]=k.useState(()=>new on(s,t));k.useEffect(()=>{r.setOptions(t)},[r,t]);const n=k.useSyncExternalStore(k.useCallback(o=>r.subscribe(I.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=k.useCallback((o,u)=>{r.mutate(o,u).catch(H)},[r]);if(n.error&&os(r.options.throwOnError,[n.error]))throw n.error;return{...n,mutate:i,mutateAsync:n.mutate}}function pr(t,e){return function(){return t.apply(e,arguments)}}const{toString:wn}=Object.prototype,{getPrototypeOf:cs}=Object,{iterator:Ft,toStringTag:mr}=Symbol,xt=(t=>e=>{const s=wn.call(e);return t[s]||(t[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),se=t=>(t=t.toLowerCase(),e=>xt(e)===t),Dt=t=>e=>typeof e===t,{isArray:nt}=Array,st=Dt("undefined");function dt(t){return t!==null&&!st(t)&&t.constructor!==null&&!st(t.constructor)&&J(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const yr=se("ArrayBuffer");function Rn(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&yr(t.buffer),e}const En=Dt("string"),J=Dt("function"),br=Dt("number"),pt=t=>t!==null&&typeof t=="object",Sn=t=>t===!0||t===!1,Ot=t=>{if(xt(t)!=="object")return!1;const e=cs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(mr in t)&&!(Ft in t)},On=t=>{if(!pt(t)||dt(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},vn=se("Date"),Cn=se("File"),Tn=se("Blob"),Pn=se("FileList"),An=t=>pt(t)&&J(t.pipe),Fn=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||J(t.append)&&((e=xt(t))==="formdata"||e==="object"&&J(t.toString)&&t.toString()==="[object FormData]"))},xn=se("URLSearchParams"),[Dn,_n,Un,Nn]=["ReadableStream","Request","Response","Headers"].map(se),Mn=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function mt(t,e,{allOwnKeys:s=!1}={}){if(t===null||typeof t>"u")return;let r,n;if(typeof t!="object"&&(t=[t]),nt(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{if(dt(t))return;const i=s?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let u;for(r=0;r<o;r++)u=i[r],e.call(null,t[u],u,t)}}function gr(t,e){if(dt(t))return null;e=e.toLowerCase();const s=Object.keys(t);let r=s.length,n;for(;r-- >0;)if(n=s[r],e===n.toLowerCase())return n;return null}const Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wr=t=>!st(t)&&t!==Fe;function Yt(){const{caseless:t,skipUndefined:e}=wr(this)&&this||{},s={},r=(n,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const o=t&&gr(s,i)||i;Ot(s[o])&&Ot(n)?s[o]=Yt(s[o],n):Ot(n)?s[o]=Yt({},n):nt(n)?s[o]=n.slice():(!e||!st(n))&&(s[o]=n)};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&mt(arguments[n],r);return s}const In=(t,e,s,{allOwnKeys:r}={})=>(mt(e,(n,i)=>{s&&J(n)?Object.defineProperty(t,i,{value:pr(n,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,i,{value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),Ln=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),jn=(t,e,s,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,
vendor: 11,414 bytes, lines 1-2
1configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),s&&Object.assign(t.prototype,s)},kn=(t,e,s,r)=>{let n,i,o;const u={};if(e=e||{},t==null)return e;do{for(n=Object.getOwnPropertyNames(t),i=n.length;i-- >0;)o=n[i],(!r||r(o,t,e))&&!u[o]&&(e[o]=t[o],u[o]=!0);t=s!==!1&&cs(t)}while(t&&(!s||s(t,e))&&t!==Object.prototype);return e},qn=(t,e,s)=>{t=String(t),(s===void 0||s>t.length)&&(s=t.length),s-=e.length;const r=t.indexOf(e,s);return r!==-1&&r===s},Bn=t=>{if(!t)return null;if(nt(t))return t;let e=t.length;if(!br(e))return null;const s=new Array(e);for(;e-- >0;)s[e]=t[e];return s},Qn=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&cs(Uint8Array)),Hn=(t,e)=>{const r=(t&&t[Ft]).call(t);let n;for(;(n=r.next())&&!n.done;){const i=n.value;e.call(t,i[0],i[1])}},Kn=(t,e)=>{let s;const r=[];for(;(s=t.exec(e))!==null;)r.push(s);return r},$n=se("HTMLFormElement"),zn=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,n){return r.toUpperCase()+n}),Fs=(({hasOwnProperty:t})=>(e,s)=>t.call(e,s))(Object.prototype),Jn=se("RegExp"),Rr=(t,e)=>{const s=Object.getOwnPropertyDescriptors(t),r={};mt(s,(n,i)=>{let o;(o=e(n,i,t))!==!1&&(r[i]=o||n)}),Object.defineProperties(t,r)},Vn=t=>{Rr(t,(e,s)=>{if(J(t)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const r=t[s];if(J(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Wn=(t,e)=>{const s={},r=n=>{n.forEach(i=>{s[i]=!0})};return nt(t)?r(t):r(String(t).split(e)),s},Gn=()=>{},Xn=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Zn(t){return!!(t&&J(t.append)&&t[mr]==="FormData"&&t[Ft])}const Yn=t=>{const e=new Array(10),s=(r,n)=>{if(pt(r)){if(e.indexOf(r)>=0)return;if(dt(r))return r;if(!("toJSON"in r)){e[n]=r;const i=nt(r)?[]:{};return mt(r,(o,u)=>{const d=s(o,n+1);!st(d)&&(i[u]=d)}),e[n]=void 0,i}}return r};return s(t,0)},ei=se("AsyncFunction"),ti=t=>t&&(pt(t)||J(t))&&J(t.then)&&J(t.catch),Er=((t,e)=>t?setImmediate:e?((s,r)=>(Fe.addEventListener("message",({source:n,data:i})=>{n===Fe&&i===s&&r.length&&r.shift()()},!1),n=>{r.push(n),Fe.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",J(Fe.postMessage)),si=typeof queueMicrotask<"u"?queueMicrotask.bind(Fe):typeof process<"u"&&process.nextTick||Er,ri=t=>t!=null&&J(t[Ft]),c={isArray:nt,isArrayBuffer:yr,isBuffer:dt,isFormData:Fn,isArrayBufferView:Rn,isString:En,isNumber:br,isBoolean:Sn,isObject:pt,isPlainObject:Ot,isEmptyObject:On,isReadableStream:Dn,isRequest:_n,isResponse:Un,isHeaders:Nn,isUndefined:st,isDate:vn,isFile:Cn,isBlob:Tn,isRegExp:Jn,isFunction:J,isStream:An,isURLSearchParams:xn,isTypedArray:Qn,isFileList:Pn,forEach:mt,merge:Yt,extend:In,trim:Mn,stripBOM:Ln,inherits:jn,toFlatObject:kn,kindOf:xt,kindOfTest:se,endsWith:qn,toArray:Bn,forEachEntry:Hn,matchAll:Kn,isHTMLForm:$n,hasOwnProperty:Fs,hasOwnProp:Fs,reduceDescriptors:Rr,freezeMethods:Vn,toObjectSet:Wn,toCamelCase:zn,noop:Gn,toFiniteNumber:Xn,findKey:gr,global:Fe,isContextDefined:wr,isSpecCompliantForm:Zn,toJSONObject:Yn,isAsyncFn:ei,isThenable:ti,setImmediate:Er,asap:si,isIterable:ri};let S=class Sr extends Error{static from(e,s,r,n,i,o){const u=new Sr(e.message,s||e.code,r,n,i);return u.cause=e,u.name=e.name,o&&Object.assign(u,o),u}constructor(e,s,r,n,i){super(e),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.status}}};S.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";S.ERR_BAD_OPTION="ERR_BAD_OPTION";S.ECONNABORTED="ECONNABORTED";S.ETIMEDOUT="ETIMEDOUT";S.ERR_NETWORK="ERR_NETWORK";S.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";S.ERR_DEPRECATED="ERR_DEPRECATED";S.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";S.ERR_BAD_REQUEST="ERR_BAD_REQUEST";S.ERR_CANCELED="ERR_CANCELED";S.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";S.ERR_INVALID_URL="ERR_INVALID_URL";const ni=null;function es(t){return c.isPlainObject(t)||c.isArray(t)}function Or(t){return c.endsWith(t,"[]")?t.slice(0,-2):t}function xs(t,e,s){return t?t.concat(e).map(function(n,i){return n=Or(n),!s&&i?"["+n+"]":n}).join(s?".":""):e}function ii(t){return c.isArray(t)&&!t.some(es)}const oi=c.toFlatObject(c,{},null,function(e){return/^is[A-Z]/.test(e)});function _t(t,e,s){if(!c.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,s=c.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,m){return!c.isUndefined(m[y])});const r=s.metaTokens,n=s.visitor||l,i=s.dots,o=s.indexes,d=(s.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(e);if(!c.isFunction(n))throw new TypeError("visitor must be a function");function h(f){if(f===null)return"";if(c.isDate(f))return f.toISOString();if(c.isBoolean(f))return f.toString();if(!d&&c.isBlob(f))throw new S("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(f)||c.isTypedArray(f)?d&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,y,m){let O=f;if(f&&!m&&typeof f=="object"){if(c.endsWith(y,"{}"))y=r?y:y.slice(0,-2),f=JSON.stringify(f);else if(c.isArray(f)&&ii(f)||(c.isFileList(f)||c.endsWith(y,"[]"))&&(O=c.toArray(f)))return y=Or(y),O.forEach(function(v,g){!(c.isUndefined(v)||v===null)&&e.append(o===!0?xs([y],g,i):o===null?y:y+"[]",h(v))}),!1}return es(f)?!0:(e.append(xs(m,y,i),h(f)),!1)}const p=[],R=Object.assign(oi,{defaultVisitor:l,convertValue:h,isVisitable:es});function w(f,y){if(!c.isUndefined(f)){if(p.indexOf(f)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(f),c.forEach(f,function(O,P){(!(c.isUndefined(O)||O===null)&&n.call(e,O,c.isString(P)?P.trim():P,y,R))===!0&&w(O,y?y.concat(P):[P])}),p.pop()}}if(!c.isObject(t))throw new TypeError("data must be an object");return w(t),e}function Ds(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function ls(t,e){this._pairs=[],t&&_t(t,this,e)}const vr=ls.prototype;vr.append=function(e,s){this._pairs.push([e,s])};vr.toString=function(e){const s=e?function(r){return e.call(this,r,Ds)}:Ds;return this._pairs.map(function(n){return s(n[0])+"="+s(n[1])},"").join("&")};function ai(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Cr(t,e,s){if(!e)return t;const r=s&&s.encode||ai,n=c.isFunction(s)?{serialize:s}:s,i=n&&n.serialize;let o;if(i?o=i(e,n):o=c.isURLSearchParams(e)?e.toString():new ls(e,n).toString(r),o){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class _s{constructor(){this.handlers=[]}use(e,s,r){return this.handlers.push({fulfilled:e,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){c.forEach(this.handlers,function(r){r!==null&&e(r)})}}const hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},ui=typeof URLSearchParams<"u"?URLSearchParams:ls,ci=typeof FormData<"u"?FormData:null,li=typeof Blob<"u"?Blob:null,hi={isBrowser:!0,classes:{URLSearchParams:ui,FormData:ci,Blob:li},protocols:["http","https","file","blob","url","data"]},fs=typeof window<"u"&&typeof document<"u",ts=typeof navigator=="object"&&navigator||void 0,fi=fs&&(!ts||["ReactNative","NativeScript","NS"].indexOf(ts.product)<0),di=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",pi=fs&&window.location.href||"http://localhost",mi=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fs,hasStandardBrowserEnv:fi,hasStandardBrowserWebWorkerEnv:di,navigator:ts,origin:pi},Symbol.toStringTag,{value:"Module"})),B={...mi,...hi};function yi(t,e){return _t(t,new B.classes.URLSearchParams,{visitor:function(s,r,n,i){return B.isNode&&c.isBuffer(s)?(this.append(r,s.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...e})}function bi(t){return c.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function gi(t){const e={},s=Object.keys(t);let r;const n=s.length;let i;for(r=0;r<n;r++)i=s[r],e[i]=t[i];return e}function Tr(t){function e(s,r,n,i){let o=s[i++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),d=i>=s.length;return o=!o&&c.isArray(n)?n.length:o,d?(c.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!u):((!n[o]||!c.isObject(n[o]))&&(n[o]=[]),e(s,r,n[o],i)&&c.isArray(n[o])&&(n[o]=gi(n[o])),!u)}if(c.isFormData(t)&&c.isFunction(t.entries)){const s={};return c.forEachEntry(t,(r,n)=>{e(bi(r),n,s,0)}),s}return null}function wi(t,e,s){if(c.isString(t))try{return(e||JSON.parse)(t),c.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(t)}const yt={transitional:hs,adapter:["xhr","http","fetch"],transformRequest:[function(e,s){const r=s.getContentType()||"",n=r.indexOf("application/json")>-1,i=c.isObject(e);if(i&&c.isHTMLForm(e)&&(e=new FormData(e)),c.isFormData(e))return n?JSON.stringify(Tr(e)):e;if(c.isArrayBuffer(e)||c.isBuffer(e)||c.isStream(e)||c.isFile(e)||c.isBlob(e)||c.isReadableStream(e))return e;if(c.isArrayBufferView(e))return e.buffer;if(c.isURLSearchParams(e))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return yi(e,this.formSerializer).toString();if((u=c.isFileList(e))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return _t(u?{"files[]":e}:e,d&&new d,this.formSerializer)}}return i||n?(s.setContentType("application/json",!1),wi(e)):e}],transformResponse:[function(e){const s=this.transitional||yt.transitional,r=s&&s.forcedJSONParsing,n=this.responseType==="json";if(c.isResponse(e)||c.isReadableStream(e))return e;if(e&&c.isString(e)&&(r&&!this.responseType||n)){const o=!(s&&s.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(u){if(o)throw u.name==="SyntaxError"?S.from(u,S.ERR_BAD_RESPONSE,this,null,this.response):u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B.classes.FormData,Blob:B.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],t=>{yt.headers[t]={}});const Ri=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ei=t=>{const e={};let s,r,n;return t&&t.split(` 2`).forEach(function(o){n=o.indexOf(":"),s=o.substring(0,n).trim().toLowerCase(),r=o.substring(n+1).trim(),!(!s||e[s]&&Ri[s])&&(s==="set-cookie"?e[s]?e[s].push(r):e[s]=[r]:e[s]=e[s]?e[s]+", "+r:r)}),e},Us=Symbol("internals");function it(t){return t&&String(t).trim().toLowerCase()}function vt(t){return t===!1||t==null?t:c.isArray(t)?t.map(vt):String(t)}function Si(t){const e=Object.create(null),s=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(t);)e[r[1]]=r[2];return e}const Oi=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function It(t,e,s,r,n){if(c.isFunction(r))return r.call(this,e,s);if(n&&(e=s),!!c.isString(e)){if(c.isString(r))return e.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(e)}}function vi(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,s,r)=>s.toUpperCase()+r)}function Ci(t,e){const s=c.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+s,{value:function(n,i,o){return this[r].call(this,e,n,i,o)},configurable:!0})})}let V=class{constructor(e){e&&this.set(e)}set(e,s,r){const n=this;function i(u,d,h){const l=it(d);if(!l)throw new Error("header name must be a non-empty string");const p=c.findKey(n,l);(!p||n[p]===void 0||h===!0||h===void 0&&n[p]!==!1)&&(n[p||d]=vt(u))}const o=(u,d)=>c.forEach(u,(h,l)=>i(h,l,d));if(c.isPlainObject(e)||e instanceof this.constructor)o(e,s);else if(c.isString(e)&&(e=e.trim())&&!Oi(e))o(Ei(e),s);else if(c.isObject(e)&&c.isIterable(e)){let u={},d,h;for(const l of e){if(!c.isArray(l))throw TypeError("Object iterator must return a key-value pair");u[h=l[0]]=(d=u[h])?c.isArray(d)?[...d,l[1]]:[d,l[1]]:l[1]}o(u,s)}else e!=null&&i(s,e,r);return this}get(e,s){if(e=it(e),e){const r=c.findKey(this,e);if(r){const n=this[r];if(!s)return n;if(s===!0)return Si(n);if(c.isFunction(s))return s.call(this,n,r);if(c.isRegExp(s))return s.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,s){if(e=it(e),e){const r=c.findKey(this,e);return!!(r&&this[r]!==void 0&&(!s||It(this,this[r],r,s)))}return!1}delete(e,s){const r=this;let n=!1;function i(o){if(o=it(o),o){const u=c.findKey(r,o);u&&(!s||It(r,r[u],u,s))&&(delete r[u],n=!0)}}return c.isArray(e)?e.forEach(i):i(e),n}clear(e){const s=Object.keys(this);let r=s.length,n=!1;for(;r--;){const i=s[r];(!e||It(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){const s=this,r={};return c.forEach(this,(n,i)=>{const o=c.findKey(r,i);if(o){s[o]=vt(n),delete s[i];return}const u=e?vi(i):String(i).trim();u!==i&&delete s[i],s[u]=vt(n),r[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const s=Object.create(null);return c.forEach(this,(r,n)=>{r!=null&&r!==!1&&(s[n]=e&&c.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,s])=>e+": "+s).join(` 3`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...s){const r=new this(e);return s.forEach(n=>r.set(n)),r}static accessor(e){const r=(this[Us]=this[Us]={accessors:{}}).accessors,n=this.prototype;function i(o){const u=it(o);r[u]||(Ci(n,o),r[u]=!0)}return c.isArray(e)?e.forEach(i):i(e),this}};V.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(V.prototype,({value:t},e)=>{let s=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[s]=r}}});c.freezeMethods(V);function Lt(t,e){const s=this||yt,r=e||s,n=V.from(r.headers);let i=r.data;return c.forEach(t,function(u){i=u.call(s,i,n.normalize(),e?e.status:void 0)}),n.normalize(),i}function Pr(t){return!!(t&&t.__CANCEL__)}let bt=class extends S{constructor(e,s,r){super(e??"canceled",S.ERR_CANCELED,s,r),this.name="CanceledError",this.__CANCEL__=!0}};function Ar(t,e,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?t(s):e(new S("Request failed with status code "+s.status,[S.ERR_BAD_REQUEST,S.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Ti(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Pi(t,e){t=t||10;const s=new Array(t),r=new Array(t);let n=0,i=0,o;return e=e!==void 0?e:1e3,function(d){const h=Date.now(),l=r[i];o||(o=h),s[n]=d,r[n]=h;let p=i,R=0;for(;p!==n;)R+=s[p++],p=p%t;if(n=(n+1)%t,n===i&&(i=(i+1)%t),h-o<e)return;const w=l&&h-l;return w?Math.round(R*1e3/w):void 0}}function Ai(t,e){let s=0,r=1e3/e,n,i;const o=(h,l=Date.now())=>{s=l,n=null,i&&(clearTimeout(i),i=null),t(...h)};return[(...h)=>{const l=Date.now(),p=l-s;p>=r?o(h,l):(n=h,i||(i=setTimeout(()=>{i=null,o(n)},r-p)))},()=>n&&o(n)]}const At=(t,e,s=3)=>{let r=0;const n=Pi(50,250);return Ai(i=>{const o=i.loaded,u=i.lengthComputable?i.total:void 0,d=o-r,h=n(d),l=o<=u;r=o;const p={loaded:o,total:u,progress:u?o/u:void 0,bytes:d,rate:h||void 0,estimated:h&&u&&l?(u-o)/h:void 0,event:i,lengthComputable:u!=null,[e?"download":"upload"]:!0};t(p)},s)},Ns=(t,e)=>{const s=t!=null;return[r=>e[0]({lengthComputable:s,total:t,loaded:r}),e[1]]},Ms=t=>(...e)=>c.asap(()=>t(...e)),Fi=B.hasStandardBrowserEnv?((t,e)=>s=>(s=new URL(s,B.origin),t.protocol===s.protocol&&t.host===s.host&&(e||t.port===s.port)))(new URL(B.origin),B.navigator&&/(msie|trident)/i.test(B.navigator.userAgent)):()=>!0,xi=B.hasStandardBrowserEnv?{write(t,e,s,r,n,i,o){if(typeof document>"u")return;const u=[`${t}=${encodeURIComponent(e)}`];c.isNumber(s)&&u.push(`expires=${new Date(s).toUTCString()}`),c.isString(r)&&u.push(`path=${r}`),c.isString(n)&&u.push(`domain=${n}`),i===!0&&u.push("secure"),c.isString(o)&&u.push(`SameSite=${o}`),document.cookie=u.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Di(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function _i(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Fr(t,e,s){let r=!Di(e);return t&&(r||s==!1)?_i(t,e):e}const Is=t=>t instanceof V?{...t}:t;function Qe(t,e){e=e||{};const s={};function r(h,l,p,R){return c.isPlainObject(h)&&c.isPlainObject(l)?c.merge.call({caseless:R},h,l):c.isPlainObject(l)?c.merge({},l):c.isArray(l)?l.slice():l}function n(h,l,p,R){if(c.isUndefined(l)){if(!c.isUndefined(h))return r(void 0,h,p,R)}else return r(h,l,p,R)}function i(h,l){if(!c.isUndefined(l))return r(void 0,l)}function o(h,l){if(c.isUndefined(l)){if(!c.isUndefined(h))return r(void 0,h)}else return r(void 0,l)}function u(h,l,p){if(p in e)return r(h,l);if(p in t)return r(void 0,h)}const d={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
vendor: 12,228 bytes, lines 3-6
3dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(h,l,p)=>n(Is(h),Is(l),p,!0)};return c.forEach(Object.keys({...t,...e}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const p=c.hasOwnProp(d,l)?d[l]:n,R=p(t[l],e[l],l);c.isUndefined(R)&&p!==u||(s[l]=R)}),s}const xr=t=>{const e=Qe({},t);let{data:s,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:i,headers:o,auth:u}=e;if(e.headers=o=V.from(o),e.url=Cr(Fr(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),c.isFormData(s)){if(B.hasStandardBrowserEnv||B.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(c.isFunction(s.getHeaders)){const d=s.getHeaders(),h=["content-type","content-length"];Object.entries(d).forEach(([l,p])=>{h.includes(l.toLowerCase())&&o.set(l,p)})}}if(B.hasStandardBrowserEnv&&(r&&c.isFunction(r)&&(r=r(e)),r||r!==!1&&Fi(e.url))){const d=n&&i&&xi.read(i);d&&o.set(n,d)}return e},Ui=typeof XMLHttpRequest<"u",Ni=Ui&&function(t){return new Promise(function(s,r){const n=xr(t);let i=n.data;const o=V.from(n.headers).normalize();let{responseType:u,onUploadProgress:d,onDownloadProgress:h}=n,l,p,R,w,f;function y(){w&&w(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout;function O(){if(!m)return;const v=V.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),A={data:!u||u==="text"||u==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:v,config:t,request:m};Ar(function(N){s(N),y()},function(N){r(N),y()},A),m=null}"onloadend"in m?m.onloadend=O:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(O)},m.onabort=function(){m&&(r(new S("Request aborted",S.ECONNABORTED,t,m)),m=null)},m.onerror=function(g){const A=g&&g.message?g.message:"Network Error",_=new S(A,S.ERR_NETWORK,t,m);_.event=g||null,r(_),m=null},m.ontimeout=function(){let g=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const A=n.transitional||hs;n.timeoutErrorMessage&&(g=n.timeoutErrorMessage),r(new S(g,A.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,t,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&c.forEach(o.toJSON(),function(g,A){m.setRequestHeader(A,g)}),c.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),u&&u!=="json"&&(m.responseType=n.responseType),h&&([R,f]=At(h,!0),m.addEventListener("progress",R)),d&&m.upload&&([p,w]=At(d),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",w)),(n.cancelToken||n.signal)&&(l=v=>{m&&(r(!v||v.type?new bt(null,t,m):v),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const P=Ti(n.url);if(P&&B.protocols.indexOf(P)===-1){r(new S("Unsupported protocol "+P+":",S.ERR_BAD_REQUEST,t));return}m.send(i||null)})},Mi=(t,e)=>{const{length:s}=t=t?t.filter(Boolean):[];if(e||s){let r=new AbortController,n;const i=function(h){if(!n){n=!0,u();const l=h instanceof Error?h:this.reason;r.abort(l instanceof S?l:new bt(l instanceof Error?l.message:l))}};let o=e&&setTimeout(()=>{o=null,i(new S(`timeout of ${e}ms exceeded`,S.ETIMEDOUT))},e);const u=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(h=>{h.unsubscribe?h.unsubscribe(i):h.removeEventListener("abort",i)}),t=null)};t.forEach(h=>h.addEventListener("abort",i));const{signal:d}=r;return d.unsubscribe=()=>c.asap(u),d}},Ii=function*(t,e){let s=t.byteLength;if(s<e){yield t;return}let r=0,n;for(;r<s;)n=r+e,yield t.slice(r,n),r=n},Li=async function*(t,e){for await(const s of ji(t))yield*Ii(s,e)},ji=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:s,value:r}=await e.read();if(s)break;yield r}}finally{await e.cancel()}},Ls=(t,e,s,r)=>{const n=Li(t,e);let i=0,o,u=d=>{o||(o=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:h,value:l}=await n.next();if(h){u(),d.close();return}let p=l.byteLength;if(s){let R=i+=p;s(R)}d.enqueue(new Uint8Array(l))}catch(h){throw u(h),h}},cancel(d){return u(d),n.return()}},{highWaterMark:2})},js=64*1024,{isFunction:Et}=c,ki=(({Request:t,Response:e})=>({Request:t,Response:e}))(c.global),{ReadableStream:ks,TextEncoder:qs}=c.global,Bs=(t,...e)=>{try{return!!t(...e)}catch{return!1}},qi=t=>{t=c.merge.call({skipUndefined:!0},ki,t);const{fetch:e,Request:s,Response:r}=t,n=e?Et(e):typeof fetch=="function",i=Et(s),o=Et(r);if(!n)return!1;const u=n&&Et(ks),d=n&&(typeof qs=="function"?(f=>y=>f.encode(y))(new qs):async f=>new Uint8Array(await new s(f).arrayBuffer())),h=i&&u&&Bs(()=>{let f=!1;const y=new s(B.origin,{body:new ks,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!y}),l=o&&u&&Bs(()=>c.isReadableStream(new r("").body)),p={stream:l&&(f=>f.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!p[f]&&(p[f]=(y,m)=>{let O=y&&y[f];if(O)return O.call(y);throw new S(`Response type '${f}' is not supported`,S.ERR_NOT_SUPPORT,m)})});const R=async f=>{if(f==null)return 0;if(c.isBlob(f))return f.size;if(c.isSpecCompliantForm(f))return(await new s(B.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(c.isArrayBufferView(f)||c.isArrayBuffer(f))return f.byteLength;if(c.isURLSearchParams(f)&&(f=f+""),c.isString(f))return(await d(f)).byteLength},w=async(f,y)=>{const m=c.toFiniteNumber(f.getContentLength());return m??R(y)};return async f=>{let{url:y,method:m,data:O,signal:P,cancelToken:v,timeout:g,onDownloadProgress:A,onUploadProgress:_,responseType:N,headers:F,withCredentials:D="same-origin",fetchOptions:L}=xr(f),Y=e||fetch;N=N?(N+"").toLowerCase():"text";let oe=Mi([P,v&&v.toAbortSignal()],g),de=null;const W=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let Pe;try{if(_&&h&&m!=="get"&&m!=="head"&&(Pe=await w(F,O))!==0){let me=new s(y,{method:"POST",body:O,duplex:"half"}),He;if(c.isFormData(O)&&(He=me.headers.get("content-type"))&&F.setContentType(He),me.body){const[Nt,gt]=Ns(Pe,At(Ms(_)));O=Ls(me.body,js,Nt,gt)}}c.isString(D)||(D=D?"include":"omit");const K=i&&"credentials"in s.prototype,ps={...L,signal:oe,method:m.toUpperCase(),headers:F.normalize().toJSON(),body:O,duplex:"half",credentials:K?D:void 0};de=i&&new s(y,ps);let pe=await(i?Y(de,L):Y(y,ps));const ms=l&&(N==="stream"||N==="response");if(l&&(A||ms&&W)){const me={};["status","statusText","headers"].forEach(ys=>{me[ys]=pe[ys]});const He=c.toFiniteNumber(pe.headers.get("content-length")),[Nt,gt]=A&&Ns(He,At(Ms(A),!0))||[];pe=new r(Ls(pe.body,js,Nt,()=>{gt&>(),W&&W()}),me)}N=N||"text";let Ir=await p[c.findKey(p,N)||"text"](pe,f);return!ms&&W&&W(),await new Promise((me,He)=>{Ar(me,He,{data:Ir,headers:V.from(pe.headers),status:pe.status,statusText:pe.statusText,config:f,request:de})})}catch(K){throw W&&W(),K&&K.name==="TypeError"&&/Load failed|fetch/i.test(K.message)?Object.assign(new S("Network Error",S.ERR_NETWORK,f,de,K&&K.response),{cause:K.cause||K}):S.from(K,K&&K.code,f,de,K&&K.response)}}},Bi=new Map,Dr=t=>{let e=t&&t.env||{};const{fetch:s,Request:r,Response:n}=e,i=[r,n,s];let o=i.length,u=o,d,h,l=Bi;for(;u--;)d=i[u],h=l.get(d),h===void 0&&l.set(d,h=u?new Map:qi(e)),l=h;return h};Dr();const ds={http:ni,xhr:Ni,fetch:{get:Dr}};c.forEach(ds,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Qs=t=>`- ${t}`,Qi=t=>c.isFunction(t)||t===null||t===!1;function Hi(t,e){t=c.isArray(t)?t:[t];const{length:s}=t;let r,n;const i={};for(let o=0;o<s;o++){r=t[o];let u;if(n=r,!Qi(r)&&(n=ds[(u=String(r)).toLowerCase()],n===void 0))throw new S(`Unknown adapter '${u}'`);if(n&&(c.isFunction(n)||(n=n.get(e))))break;i[u||"#"+o]=n}if(!n){const o=Object.entries(i).map(([d,h])=>`adapter ${d} `+(h===!1?"is not supported by the environment":"is not available in the build"));let u=s?o.length>1?`since : 4`+o.map(Qs).join(` 5`):" "+Qs(o[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return n}const _r={getAdapter:Hi,adapters:ds};function jt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new bt(null,t)}function Hs(t){return jt(t),t.headers=V.from(t.headers),t.data=Lt.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),_r.getAdapter(t.adapter||yt.adapter,t)(t).then(function(r){return jt(t),r.data=Lt.call(t,t.transformResponse,r),r.headers=V.from(r.headers),r},function(r){return Pr(r)||(jt(t),r&&r.response&&(r.response.data=Lt.call(t,t.transformResponse,r.response),r.response.headers=V.from(r.response.headers))),Promise.reject(r)})}const Ur="1.13.5",Ut={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ut[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Ks={};Ut.transitional=function(e,s,r){function n(i,o){return"[Axios v"+Ur+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,u)=>{if(e===!1)throw new S(n(o," has been removed"+(s?" in "+s:"")),S.ERR_DEPRECATED);return s&&!Ks[o]&&(Ks[o]=!0,console.warn(n(o," has been deprecated since v"+s+" and will be removed in the near future"))),e?e(i,o,u):!0}};Ut.spelling=function(e){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Ki(t,e,s){if(typeof t!="object")throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let n=r.length;for(;n-- >0;){const i=r[n],o=e[i];if(o){const u=t[i],d=u===void 0||o(u,i,t);if(d!==!0)throw new S("option "+i+" must be "+d,S.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new S("Unknown option "+i,S.ERR_BAD_OPTION)}}const Ct={assertOptions:Ki,validators:Ut},G=Ct.validators;let ke=class{constructor(e){this.defaults=e||{},this.interceptors={request:new _s,response:new _s}}async request(e,s){try{return await this._request(e,s)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const i=n.stack?n.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` 6`+i):r.stack=i}catch{}}throw r}}_request(e,s){typeof e=="string"?(s=s||{},s.url=e):s=e||{},s=Qe(this.defaults,s);const{transitional:r,paramsSerializer:n,headers:i}=s;r!==void 0&&Ct.assertOptions(r,{silentJSONParsing:G.transitional(G.boolean),forcedJSONParsing:G.transitional(G.boolean),clarifyTimeoutError:G.transitional(G.boolean),legacyInterceptorReqResOrdering:G.transitional(G.boolean)},!1),n!=null&&(c.isFunction(n)?s.paramsSerializer={serialize:n}:Ct.assertOptions(n,{encode:G.function,serialize:G.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Ct.assertOptions(s,{baseUrl:G.spelling("baseURL"),withXsrfToken:G.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let o=i&&c.merge(i.common,i[s.method]);i&&c.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),s.headers=V.concat(o,i);const u=[];let d=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(s)===!1)return;d=d&&y.synchronous;const m=s.transitional||hs;m&&m.legacyInterceptorReqResOrdering?u.unshift(y.fulfilled,y.rejected):u.push(y.fulfilled,y.rejected)});const h=[];this.interceptors.response.forEach(function(y){h.push(y.fulfilled,y.rejected)});let l,p=0,R;if(!d){const f=[Hs.bind(this),void 0];for(f.unshift(...u),f.push(...h),R=f.length,l=Promise.resolve(s);p<R;)l=l.then(f[p++],f[p++]);return l}R=u.length;let w=s;for(;p<R;){const f=u[p++],y=u[p++];try{w=f(w)}catch(m){y.call(this,m);break}}try{l=Hs.call(this,w)}catch(f){return Promise.reject(f)}for(p=0,R=h.length;p<R;)l=l.then(h[p++],h[p++]);return l}getUri(e){e=Qe(this.defaults,e);const s=Fr(e.baseURL,e.url,e.allowAbsoluteUrls);return Cr(s,e.params,e.paramsSerializer)}};
vendor: 1,665 bytes, line 6
6c.forEach(["delete","get","head","options"],function(e){ke.prototype[e]=function(s,r){return this.request(Qe(r||{},{method:e,url:s,data:(r||{}).data}))}});c.forEach(["post","put","patch"],function(e){function s(r){return function(i,o,u){return this.request(Qe(u||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}ke.prototype[e]=s(),ke.prototype[e+"Form"]=s(!0)});let $i=class Nr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(i){s=i});const r=this;this.promise.then(n=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const o=new Promise(u=>{r.subscribe(u),i=u}).then(n);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,u){r.reason||(r.reason=new bt(i,o,u),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const s=this._listeners.indexOf(e);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const e=new AbortController,s=r=>{e.abort(r)};return this.subscribe(s),e.signal.unsubscribe=()=>this.unsubscribe(s),e.signal}static source(){let e;return{token:new Nr(function(n){e=n}),cancel:e}}};function zi(t){return function(s){return t.apply(null,s)}}function Ji(t){return c.isObject(t)&&t.isAxiosError===!0}const ss={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
vendor: 2,098 bytes, lines 6-7
6alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ss).forEach(([t,e])=>{ss[e]=t});function Mr(t){const e=new ke(t),s=pr(ke.prototype.request,e);return c.extend(s,ke.prototype,e,{allOwnKeys:!0}),c.extend(s,e,null,{allOwnKeys:!0}),s.create=function(n){return Mr(Qe(t,n))},s}const M=Mr(yt);M.Axios=ke;M.CanceledError=bt;M.CancelToken=$i;M.isCancel=Pr;M.VERSION=Ur;M.toFormData=_t;M.AxiosError=S;M.Cancel=M.CanceledError;M.all=function(e){return Promise.all(e)};M.spread=zi;M.isAxiosError=Ji;M.mergeConfig=Qe;M.AxiosHeaders=V;M.formToJSON=t=>Tr(c.isHTMLForm(t)?new FormData(t):t);M.getAdapter=_r.getAdapter;M.HttpStatusCode=ss;M.default=M;const{Axios:no,AxiosError:io,CanceledError:oo,isCancel:ao,CancelToken:uo,VERSION:co,all:lo,Cancel:ho,isAxiosError:fo,spread:po,toFormData:mo,AxiosHeaders:yo,HttpStatusCode:bo,formToJSON:go,getAdapter:wo,mergeConfig:Ro}=M;export{Xi as Q,M as a,fr as b,eo as c,Zi as d,Gi as k,Yi as u}; 7//# sourceMappingURL=vendor-data-DR7EPs97.js.map
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.