PageSourceSearch

https://tr.ee/_next/static/chunks/0scei9j1uz0j5.js

js tr.ee collected 2026-10-01 08:36:12 UTC 29,728 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,233525,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return s}});let s=t=>{}},718967,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return C},MissingStaticPage:function(){return O},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return y},ST:function(){return m},WEB_VITALS:function(){return n},execOnce:function(){return a},getDisplayName:function(){return l},getLocationOrigin:function(){return c},getURL:function(){return h},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return w}};for(var r in s)Object.defineProperty(i,r,{enumerable:!0,get:s[r]});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function a(t){let e,i=!1;return(...s)=>(i||(i=!0,e=t(...s)),e)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=t=>o.test(t);function c(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function h(){let{href:t}=window.location,e=c();return t.substring(e.length)}function l(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function f(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function p(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await p(e.Component,e.ctx)}:{};let s=await t.getInitialProps(e);if(i&&d(i))return s;if(!s)throw Object.defineProperty(Error(`"${l(t)}.getInitialProps()" should resolve to an object. But found "${s}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return s}let y="u">typeof performance,m=y&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class g extends Error{}class b extends Error{}class v extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class O extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class C extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(t){return JSON.stringify({message:t.message,stack:t.stack})}},998183,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={assign:function(){return u},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}};for(var r in s)Object.defineProperty(i,r,{enumerable:!0,get:s[r]});function n(t){let e={};for(let[i,s]of t.entries()){let t=e[i];void 0===t?e[i]=s:Array.isArray(t)?t.push(s):e[i]=[t,s]}return e}function a(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function o(t){let e=new URLSearchParams;for(let[i,s]of Object.entries(t))if(Array.isArray(s))for(let t of s)e.append(i,a(t));else e.set(i,a(s));return e}function u(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,s]of i.entries())t.append(e,s)}return t}},212223,t=>{"use strict";function e(t){let e={};return t&&t.split(";").forEach(t=>{let[i,s]=t.split("=",2);e[(i??"").trim()]=(s||"").trim()}),e}t.s(["cookies",0,{getAll:()=>{if(!document)throw Error("cookies.getAll can only be used on the client");return e(decodeURIComponent(document.cookie))},get:t=>{if(!document)throw Error("cookies.get can only be used on the client");return e(decodeURIComponent(document.cookie))[t]},set:(t,e,i={})=>{if(!document)throw Error("cookies.set can only be used on the client");let s=function(t,e,i={}){let s=`${t}=${encodeURIComponent(e)}`;if(i.httpOnly&&(s+="; HttpOnly"),i.expires&&(i.expires instanceof Date?s+=`; Expires=${i.expires.toUTCString()}`:s+=`; Expires=${i.expires}`),i.path&&(s+=`; Path=${i.path}`),i.domain&&(s+=`; Domain=${i.domain}`),i.secure&&(s+="; Secure"),i.sameSite){let t="boolean"==typeof i.sameSite?"true":i.sameSite;s+=`; SameSite=${t}`}return s.trim()}(t,e,i);document.cookie=s}}],212223)},253821,382508,t=>{"use strict";t.s(["DEVICE_TYPE_COOKIE_NAME",0,"client-device-type"],253821);let e=()=>"u">typeof navigator&&("maxTouchPoints"in navigator&&navigator.maxTouchPoints>0||"msMaxTouchPoints"in navigator&&navigator?.msMaxTouchPoints>0),i=()=>!!window.matchMedia?.("(pointer:coarse)")?.matches,s=()=>"orientation"in window||"ontouchstart"in window;t.s(["getBrowserLanguage",0,()=>navigator&&navigator.language?navigator.language:"en-US","getDeviceType",0,()=>{let t,r;return e()||i()||s()||(t=navigator.userAgent,/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(t)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(t))?"mobile":e()||i()||s()||(r=navigator.userAgent,/\b(iPad)\b/i.test(r))?"tablet":"desktop"}],382508)},912598,t=>{"use strict";var e=t.i(271645),i=t.i(843476),s=e.createContext(void 0);t.s(["QueryClientProvider",0,({client:t,children:r})=>(e.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,i.jsx)(s.Provider,{value:t,children:r})),"useQueryClient",0,t=>{let i=e.useContext(s);if(t)return t;if(!i)throw Error("No QueryClient set, use QueryClientProvider to set one");return i}])},619273,t=>{"use strict";var e="u"<typeof window||"Deno"in globalThis;function i(t,e){return(e?.queryKeyHashFn||s)(t)}function s(t){return JSON.stringify(t,(t,e)=>a(e)?Object.keys(e).sort().reduce((t,i)=>(t[i]=e[i],t),{}):e)}function r(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(i=>!r(t[i],e[i]))}function n(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function a(t){if(!o(t))return!1;let e=t.constructor;if(void 0===e)return!0;let i=e.prototype;return!!o(i)&&!!i.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype}function o(t){return"[object Object]"===Object.prototype.toString.call(t)}var u=Symbol();
1t.s(["addToEnd",0,function(t,e,i=0){let s=[...t,e];return i&&s.length>i?s.slice(1):s},"addToStart",0,function(t,e,i=0){let s=[e,...t];return i&&s.length>i?s.slice(0,-1):s},"ensureQueryFn",0,function(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==u?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))},"functionalUpdate",0,function(t,e){return"function"==typeof t?t(e):t},"hashKey",0,s,"hashQueryKeyByOptions",0,i,"isServer",0,e,"isValidTimeout",0,function(t){return"number"==typeof t&&t>=0&&t!==1/0},"matchMutation",0,function(t,e){let{exact:i,status:n,predicate:a,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(i){if(s(e.options.mutationKey)!==s(o))return!1}else if(!r(e.options.mutationKey,o))return!1}return(!n||e.state.status===n)&&(!a||!!a(e))},"matchQuery",0,function(t,e){let{type:s="all",exact:n,fetchStatus:a,predicate:o,queryKey:u,stale:c}=t;if(u){if(n){if(e.queryHash!==i(u,e.options))return!1}else if(!r(e.queryKey,u))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof c||e.isStale()===c)&&(!a||a===e.state.fetchStatus)&&(!o||!!o(e))},"noop",0,function(){},"partialMatchKey",0,r,"replaceData",0,function(t,e,i){return"function"==typeof i.structuralSharing?i.structuralSharing(t,e):!1!==i.structuralSharing?function t(e,i){if(e===i)return e;let s=n(e)&&n(i);if(s||a(e)&&a(i)){let r=s?e:Object.keys(e),n=r.length,a=s?i:Object.keys(i),o=a.length,u=s?[]:{},c=0;for(let n=0;n<o;n++){let o=s?n:a[n];(!s&&r.includes(o)||s)&&void 0===e[o]&&void 0===i[o]?(u[o]=void 0,c++):(u[o]=t(e[o],i[o]),u[o]===e[o]&&void 0!==e[o]&&c++)}return n===o&&c===n?e:u}return i}(t,e):e},"resolveEnabled",0,function(t,e){return"function"==typeof t?t(e):t},"resolveStaleTime",0,function(t,e){return"function"==typeof t?t(e):t},"shallowEqualObjects",0,function(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let i in t)if(t[i]!==e[i])return!1;return!0},"skipToken",0,u,"sleep",0,function(t){return new Promise(e=>{setTimeout(e,t)})},"timeUntilStale",0,function(t,e){return Math.max(t+(e||0)-Date.now(),0)}])},540143,t=>{"use strict";let e,i,s,r,n,a;var o=(e=[],i=0,s=t=>{t()},r=t=>{t()},n=t=>setTimeout(t,0),{batch:t=>{let a;i++;try{a=t()}finally{let t;--i||(t=e,e=[],t.length&&n(()=>{r(()=>{t.forEach(t=>{s(t)})})}))}return a},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a=t=>{i?e.push(t):n(()=>{s(t)})},setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{n=t}});t.s(["notifyManager",0,o])},915823,t=>{"use strict";t.s(["Subscribable",0,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(){}}])},175555,t=>{"use strict";var e=t.i(915823),i=t.i(619273),s=new class extends e.Subscribable{#t;#e;#i;constructor(){super(),this.#i=t=>{if(!i.isServer&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}};t.s(["focusManager",0,s])},286491,814448,793803,936553,88587,t=>{"use strict";t.i(247167);var e=t.i(619273),i=t.i(540143),s=t.i(175555),r=t.i(915823),n=new class extends r.Subscribable{#s=!0;#e;#i;constructor(){super(),this.#i=t=>{if(!e.isServer&&window.addEventListener){let e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#i=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}
1setOnline(t){this.#s!==t&&(this.#s=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#s}};function a(){let t,e,i=new Promise((i,s)=>{t=i,e=s});function s(t){Object.assign(i,t),delete i.resolve,delete i.reject}return i.status="pending",i.catch(()=>{}),i.resolve=e=>{s({status:"fulfilled",value:e}),t(e)},i.reject=t=>{s({status:"rejected",reason:t}),e(t)},i}function o(t){return Math.min(1e3*2**t,3e4)}function u(t){return(t??"online")!=="online"||n.isOnline()}t.s(["onlineManager",0,n],814448),t.s(["pendingThenable",0,a],793803);var c=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function h(t){return t instanceof c}function l(t){let i,r=!1,h=0,l=!1,d=a(),f=()=>s.focusManager.isFocused()&&("always"===t.networkMode||n.isOnline())&&t.canRun(),p=()=>u(t.networkMode)&&t.canRun(),y=e=>{l||(l=!0,t.onSuccess?.(e),i?.(),d.resolve(e))},m=e=>{l||(l=!0,t.onError?.(e),i?.(),d.reject(e))},g=()=>new Promise(e=>{i=t=>{(l||f())&&e(t)},t.onPause?.()}).then(()=>{i=void 0,l||t.onContinue?.()}),b=()=>{let i;if(l)return;let s=0===h?t.initialPromise:void 0;try{i=s??t.fn()}catch(t){i=Promise.reject(t)}Promise.resolve(i).then(y).catch(i=>{if(l)return;let s=t.retry??3*!e.isServer,n=t.retryDelay??o,a="function"==typeof n?n(h,i):n,u=!0===s||"number"==typeof s&&h<s||"function"==typeof s&&s(h,i);r||!u?m(i):(h++,t.onFail?.(h,i),(0,e.sleep)(a).then(()=>f()?void 0:g()).then(()=>{r?m(i):b()}))})};return{promise:d,cancel:e=>{l||(m(new c(e)),t.abort?.())},continue:()=>(i?.(),d),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:p,start:()=>(p()?b():g().then(b),d)}}t.s(["canFetch",0,u,"createRetryer",0,l,"isCancelledError",0,h],936553);var d=class{#r;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,e.isValidTimeout)(this.gcTime)&&(this.#r=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(e.isServer?1/0:3e5))}clearGcTimeout(){this.#r&&(clearTimeout(this.#r),this.#r=void 0)}};t.s(["Removable",0,d],88587);var f=class extends d{#n;#a;#o;#u;#c;#h;constructor(t){super(),this.#h=!1,this.#c=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#o=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#n=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,i=void 0!==e,s=i?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(t){this.options={...this.#c,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(t,i){let s=(0,e.replaceData)(this.state.data,t,this.options);return this.#l({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(t,e){this.#l({type:"setState",state:t,setStateOptions:e})}cancel(t){let i=this.#u?.promise;return this.#u?.cancel(t),i?i.then(e.noop).catch(e.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#n)}isActive(){return this.observers.some(t=>!1!==(0,e.resolveEnabled)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e.skipToken||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!(0,e.timeUntilStale)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#u&&(this.#h?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}fetch(t,i){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let s=new AbortController,r=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#h=!0,s.signal)}
1)},n=()=>{let t=(0,e.ensureQueryFn)(this.options,i),s={queryKey:this.queryKey,meta:this.meta};return(r(s),this.#h=!1,this.options.persister)?this.options.persister(t,s,this):t(s)},a={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:n};r(a),this.options.behavior?.onFetch(a,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:"fetch",meta:a.fetchOptions?.meta});let o=t=>{h(t)&&t.silent||this.#l({type:"error",error:t}),h(t)||(this.#o.config.onError?.(t,this),this.#o.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#u=l({initialPromise:i?.initialPromise,fn:a.fetchFn,abort:s.abort.bind(s),onSuccess:t=>{if(void 0===t)return void o(Error(`${this.queryHash} data is undefined`));try{this.setData(t)}catch(t){o(t);return}this.#o.config.onSuccess?.(t,this),this.#o.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:o,onFail:(t,e)=>{this.#l({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#u.start()}#l(t){let e=e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...p(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=t.error;if(h(i)&&i.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};return{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),i.notifyManager.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:t})})}};function p(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:u(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}t.s(["Query",0,f,"fetchState",0,p],286491)},995417,t=>{"use strict";t.s(["ONE_DAY",0,864e5,"ONE_MINUTE",0,6e4,"ONE_SECOND",0,1e3])},631783,114272,t=>{"use strict";let e;var i=t.i(619273),s=t.i(286491),r=t.i(540143),n=t.i(915823),a=class extends n.Subscribable{constructor(t={}){super(),this.config=t,this.#d=new Map}#d;build(t,e,r){let n=e.queryKey,a=e.queryHash??(0,i.hashQueryKeyByOptions)(n,e),o=this.get(a);return o||(o=new s.Query({cache:this,queryKey:n,queryHash:a,options:t.defaultQueryOptions(e),state:r,defaultOptions:t.getQueryDefaults(n)}),this.add(o)),o}add(t){this.#d.has(t.queryHash)||(this.#d.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#d.get(t.queryHash);
1e&&(t.destroy(),e===t&&this.#d.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){r.notifyManager.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#d.get(t)}getAll(){return[...this.#d.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,i.matchQuery)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,i.matchQuery)(t,e)):e}notify(t){r.notifyManager.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){r.notifyManager.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){r.notifyManager.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},o=t.i(88587),u=t.i(936553),c=class extends o.Removable{#f;#p;#u;constructor(t){super(),this.mutationId=t.mutationId,this.#p=t.mutationCache,this.#f=[],this.state=t.state||h(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#f.includes(t)||(this.#f.push(t),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#f=this.#f.filter(e=>e!==t),this.scheduleGc(),this.#p.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#p.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(t){this.#u=(0,u.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#l({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#p.canRun(this)});let e="pending"===this.state.status,i=!this.#u.canStart();try{if(!e){this.#l({type:"pending",variables:t,isPaused:i}),await this.#p.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#l({type:"pending",context:e,variables:t,isPaused:i})}let s=await this.#u.start();return await this.#p.config.onSuccess?.(s,t,this.state.context,this),await this.options.onSuccess?.(s,t,this.state.context),await this.#p.config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,t,this.state.context),this.#l({type:"success",data:s}),s}catch(e){try{throw await this.#p.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#p.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#l({type:"error",error:e})}}finally{this.#p.runNext(this)}}#l(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),r.notifyManager.batch(()=>{this.#f.forEach(e=>{e.onMutationUpdate(t)}),this.#p.notify({mutation:this,type:"updated",action:t})})}};function h(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}t.s(["Mutation",0,c,"getDefaultState",0,h],114272);var l=n,d=class extends l.Subscribable{constructor(t={}){super(),this.config=t,this.#y=new Map,this.#m=Math.round(performance.now())}#y;#m;build(t,e,i){let s=new c({mutationCache:this,mutationId:++this.#m,options:t.defaultMutationOptions(e),state:i});return this.add(s),s}add(t){let e=f(t),i=this.#y.get(e)??[];i.push(t),this.#y.set(e,i),this.notify({type:"added",mutation:t})}remove(t){let e=f(t);if(this.#y.has(e)){let i=this.#y.get(e)?.filter(e=>e!==t);i&&(0===i.length?this.#y.delete(e):this.#y.set(e,i))}this.notify({type:"removed",mutation:t})}canRun(t){let e=this.#y.get(f(t))?.find(t=>"pending"===t.state.status);return!e||e===t}runNext(t){let e=this.#y.get(f(t))?.find(e=>
1e!==t&&e.state.isPaused);return e?.continue()??Promise.resolve()}clear(){r.notifyManager.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...this.#y.values()].flat()}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,i.matchMutation)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,i.matchMutation)(t,e))}notify(t){r.notifyManager.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return r.notifyManager.batch(()=>Promise.all(t.map(t=>t.continue().catch(i.noop))))}};function f(t){return t.options.scope?.id??String(t.mutationId)}var p=t.i(175555),y=t.i(814448);function m(t){return{onFetch:(e,s)=>{let r=e.options,n=e.fetchOptions?.meta?.fetchMore?.direction,a=e.state.data?.pages||[],o=e.state.data?.pageParams||[],u={pages:[],pageParams:[]},c=0,h=async()=>{let s=!1,h=(0,i.ensureQueryFn)(e.options,e.fetchOptions),l=async(t,r,n)=>{if(s)return Promise.reject();if(null==r&&t.pages.length)return Promise.resolve(t);let a={queryKey:e.queryKey,pageParam:r,direction:n?"backward":"forward",meta:e.options.meta};Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(e.signal.aborted?s=!0:e.signal.addEventListener("abort",()=>{s=!0}),e.signal)});let o=await h(a),{maxPages:u}=e.options,c=n?i.addToStart:i.addToEnd;return{pages:c(t.pages,o,u),pageParams:c(t.pageParams,r,u)}};if(n&&a.length){let t="backward"===n,e={pages:a,pageParams:o},i=(t?function(t,{pages:e,pageParams:i}){return e.length>0?t.getPreviousPageParam?.(e[0],e,i[0],i):void 0}:g)(r,e);u=await l(e,i,t)}else{let e=t??a.length;do{let t=0===c?o[0]??r.initialPageParam:g(r,u);if(c>0&&null==t)break;u=await l(u,t),c++}while(c<e)}return u};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=h}}}function g(t,{pages:e,pageParams:i}){let s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,i[s],i):void 0}var b=class{#g;#p;#c;#b;#v;#O;#C;#w;constructor(t={}){this.#g=t.queryCache||new a,this.#p=t.mutationCache||new d,this.#c=t.defaultOptions||{},this.#b=new Map,this.#v=new Map,this.#O=0}mount(){this.#O++,1===this.#O&&(this.#C=p.focusManager.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onFocus())}),this.#w=y.onlineManager.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onOnline())}))}unmount(){this.#O--,0===this.#O&&(this.#C?.(),this.#C=void 0,this.#w?.(),this.#w=void 0)}isFetching(t){return this.#g.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#p.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.getQueryData(t.queryKey);if(void 0===e)return this.fetchQuery(t);{let s=this.defaultQueryOptions(t),r=this.#g.build(this,s);return t.revalidateIfStale&&r.isStaleByTime((0,i.resolveStaleTime)(s.staleTime,r))&&this.prefetchQuery(s),Promise.resolve(e)}}getQueriesData(t){return this.#g.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let r=this.defaultQueryOptions({queryKey:t}),n=this.#g.get(r.queryHash),a=n?.state.data,o=(0,i.functionalUpdate)(e,a);if(void 0!==o)return this.#g.build(this,r).setData(o,{...s,manual:!0})}setQueriesData(t,e,i){return r.notifyManager.batch(()=>this.#g.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,i)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state}removeQueries(t){let e=this.#g;r.notifyManager.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let i=this.#g,s={type:"active",...t};return r.notifyManager.batch(()=>(i.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(s,e)))}cancelQueries(t={},e={}){let s={revert:!0,...e};return Promise.all(r.notifyManager.batch(()=>this.#g.findAll(t).map(t=>t.cancel(s)))).then(i.noop).catch(i.noop)}invalidateQueries(t={},e={}){return r.notifyManager.batch(()=>{if(this.#g.findAll(t).forEach(t=>{t.invalidate()}),"none"===t.refetchType)return Promise.resolve();let i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){let s={...e,cancelRefetch:e?.cancelRefetch??!0};return Promise.all(r.notifyManager.batch(()=>this.#g.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,s);return s.throwOnError||(e=e.catch(i.noop)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(i.noop)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let s=this.#g.build(this,e);return s.isStaleByTime((0,i.resolveStaleTime)(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(i.noop).catch(i.noop)}fetchInfiniteQuery(t){return t.behavior=m(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(i.noop).catch(i.noop)}ensureInfiniteQueryData(t){return t.behavior=m(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return y.onlineManager.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#g}getMutationCache(){return this.#p}getDefaultOptions(){return this.#c}setDefaultOptions(t){this.#c=t}setQueryDefaults(t,e){this.#b.set((0,i.hashKey)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#b.values()],s={};
1return e.forEach(e=>{(0,i.partialMatchKey)(t,e.queryKey)&&(s={...s,...e.defaultOptions})}),s}setMutationDefaults(t,e){this.#v.set((0,i.hashKey)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#v.values()],s={};return e.forEach(e=>{(0,i.partialMatchKey)(t,e.mutationKey)&&(s={...s,...e.defaultOptions})}),s}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#c.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,i.hashQueryKeyByOptions)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),!0!==e.enabled&&e.queryFn===i.skipToken&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#c.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#g.clear(),this.#p.clear()}},v=t.i(995417);t.s(["getQueryClient",0,function(){return e||(e=new b({defaultOptions:{queries:{staleTime:v.ONE_MINUTE}}})),e}],631783)}]);

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.