PageSourceSearch

https://terac.com/_next/static/immutable/chunks/1vgqs6aqp_b6-.js

js terac.com collected 2026-10-03 23:26:21 UTC 30,903 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,820783,e=>{"use strict";var t=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let s=!1,i=e.map(e=>{let i=r(e,t);return s||"function"!=typeof i||(s=!0),i});if(s)return()=>{for(let t=0;t<i.length;t++){let s=i[t];"function"==typeof s?s():r(e[t],null)}}}}e.s(["composeRefs",0,s,"useComposedRefs",0,function(...e){return t.useCallback(s(...e),e)}])},991918,e=>{"use strict";var t=e.i(271645),r=e.i(820783),s=e.i(843476),i=Symbol.for("react.lazy"),n=t[" use ".trim().toString()];function a(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function o(e){var i;let o,u=(i=e,(o=t.forwardRef((e,s)=>{let{children:i,...o}=e;if(a(i)&&"function"==typeof n&&(i=n(i._payload)),t.isValidElement(i)){var u;let e,n,a=(u=i,(n=(e=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.ref:(n=(e=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.props.ref:u.props.ref||u.ref),l=function(e,t){let r={...t};for(let s in t){let i=e[s],n=t[s];/^on[A-Z]/.test(s)?i&&n?r[s]=(...e)=>{let t=n(...e);return i(...e),t}:i&&(r[s]=i):"style"===s?r[s]={...i,...n}:"className"===s&&(r[s]=[i,n].filter(Boolean).join(" "))}return{...e,...r}}(o,i.props);return i.type!==t.Fragment&&(l.ref=s?(0,r.composeRefs)(s,a):a),t.cloneElement(i,l)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,o),l=t.forwardRef((e,r)=>{let{children:i,...o}=e;a(i)&&"function"==typeof n&&(i=n(i._payload));let l=t.Children.toArray(i),h=l.find(c);if(h){let e=h.props.children,i=l.map(r=>r!==h?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(u,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,s.jsx)(u,{...o,ref:r,children:i})});return l.displayName=`${e}.Slot`,l}var u=o("Slot"),l=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["Slot",0,u,"createSlot",0,o])},175555,915823,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,t],915823);var r=e.i(619273),s=new class extends t{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!r.isServer&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,s],175555)},540143,e=>{"use strict";let t,r,s,i,n,a;var o=e.i(180166).systemSetTimeoutZero,u=(t=[],r=0,s=e=>{e()},i=e=>{e()},n=o,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&n(()=>{i(()=>{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,u])},88587,e=>{"use strict";var t=e.i(180166),r=e.i(619273),s=class{#s;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.isValidTimeout)(this.gcTime)&&(this.#s=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.isServer?1/0:3e5))}clearGcTimeout(){this.#s&&(t.timeoutManager.clearTimeout(this.#s),this.#s=void 0)}};e.s(["Removable",0,s])},936553,814448,e=>{"use strict";var t=e.i(175555),r=e.i(915823),s=e.i(619273),i=new class extends r.Subscribable{#i=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!s.isServer&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}
1setOnline(e){this.#i!==e&&(this.#i=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#i}};e.s(["onlineManager",0,i],814448);var n=e.i(793803);function a(e){return Math.min(1e3*2**e,3e4)}function o(e){return(e??"online")!=="online"||i.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,u,"canFetch",0,o,"createRetryer",0,function(e){let r,l=!1,c=0,h=(0,n.pendingThenable)(),d=()=>t.focusManager.isFocused()&&("always"===e.networkMode||i.isOnline())&&e.canRun(),p=()=>o(e.networkMode)&&e.canRun(),f=e=>{"pending"===h.status&&(r?.(),h.resolve(e))},y=e=>{"pending"===h.status&&(r?.(),h.reject(e))},v=()=>new Promise(t=>{r=e=>{("pending"!==h.status||d())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,"pending"===h.status&&e.onContinue?.()}),b=()=>{let t;if("pending"!==h.status)return;let r=0===c?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{if("pending"!==h.status)return;let r=e.retry??3*!s.isServer,i=e.retryDelay??a,n="function"==typeof i?i(c,t):i,o=!0===r||"number"==typeof r&&c<r||"function"==typeof r&&r(c,t);l||!o?y(t):(c++,e.onFail?.(c,t),(0,s.sleep)(n).then(()=>d()?void 0:v()).then(()=>{l?y(t):b()}))})};return{promise:h,status:()=>h.status,cancel:t=>{if("pending"===h.status){let r=new u(t);y(r),e.onCancel?.(r)}},continue:()=>(r?.(),h),cancelRetry:()=>{l=!0},continueRetry:()=>{l=!1},canStart:p,start:()=>(p()?b():v().then(b),h)}}],936553)},793803,180166,619273,e=>{"use strict";var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},r=new class{#n=t;#a=!1;setTimeoutProvider(e){this.#n=e}setTimeout(e,t){return this.#n.setTimeout(e,t)}clearTimeout(e){this.#n.clearTimeout(e)}setInterval(e,t){return this.#n.setInterval(e,t)}clearInterval(e){this.#n.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,r],180166);var s="u"<typeof window||"Deno"in globalThis;function i(){}function n(e,t){return(t?.queryKeyHashFn||a)(e)}function a(e){return JSON.stringify(e,(e,t)=>h(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function o(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>o(e[r],t[r]))}var u=Object.prototype.hasOwnProperty;function l(e,t){if(e===t)return e;let r=c(e)&&c(t);if(!r&&!(h(e)&&h(t)))return t;let s=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),n=i.length,a=r?Array(n):{},o=0;for(let c=0;c<n;c++){let n=r?c:i[c],h=e[n],d=t[n];if(h===d){a[n]=h,(r?c<s:u.call(e,n))&&o++;continue}if(null===h||null===d||"object"!=typeof h||"object"!=typeof d){a[n]=d;continue}let p=l(h,d);a[n]=p,p===h&&o++}return s===n&&o===s?e:a}function c(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function h(e){if(!d(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!d(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function d(e){return"[object Object]"===Object.prototype.toString.call(e)}var p=Symbol();e.s(["addToEnd",0,function(e,t,r=0){let s=[...e,t];return r&&s.length>r?s.slice(1):s},"addToStart",0,function(e,t,r=0){let s=[t,...e];return r&&s.length>r?s.slice(0,-1):s},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==p?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,a,"hashQueryKeyByOptions",0,n,"isServer",0,s,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"keepPreviousData",0,function(e){return e},"matchMutation",0,function(e,t){let{exact:r,status:s,predicate:i,mutationKey:n}=e;if(n){if(!t.options.mutationKey)return!1;if(r){if(a(t.options.mutationKey)!==a(n))return!1}else if(!o(t.options.mutationKey,n))return!1}return(!s||t.state.status===s)&&(!i||!!i(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:s,fetchStatus:i,predicate:a,queryKey:u,stale:l}=e;if(u){if(s){if(t.queryHash!==n(u,t.options))return!1}else if(!o(t.queryKey,u))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))},"noop",0,i,"partialMatchKey",0,o,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?l(e,t):t},"replaceEqualDeep",0,l,"resolveEnabled",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,p,"sleep",0,function(e){return new Promise(t=>{r.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],619273),e.s(["pendingThenable",0,function(){let e,t,r=new Promise((r,s)=>{e=r,t=s});function s(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{s({status:"fulfilled",value:t}),e(t)},r.reject=e=>{s({status:"rejected",reason:e}),t(e)},r},"tryResolveSync",0,function(e){let t;if(e.then(e=>(t=e,e),i)?.catch(i),void 0!==t)return{data:t}}],793803)},912598,e=>{"use strict";var t=e.i(271645),r=e.i(843476),s=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:i})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(s.Provider,{value:e,children:i})),"useQueryClient",0,e=>{let r=t.useContext(s);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},266027,286491,869230,673664,427001,381384,254440,469637,e=>{"use strict";let t;var r=e.i(175555),s=e.i(540143),i=e.i(619273),n=e.i(936553),a=e.i(88587),o=class extends a.Removable{#o;#u;#l;#c;#h;#d;#p;constructor(e){super(),this.#p=!1,this.#d=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#l=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=c(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(e){if(this.options={...this.#d,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=c(this.options);void 0!==e.data&&(this.setState(l(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,t){let r=(0,i.replaceData)(this.state.data,e,this.options);return this.#f({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#f({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#h?.promise;return this.#h?.cancel(e),t?t.then(i.noop).catch(i.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#o)}isActive(){return this.observers.some(e=>!1!==(0,i.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===i.skipToken||this.state.dataUpdateCount+this.state.errorUpdate
1Count===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,i.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,i.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#h&&(this.#p?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#f({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#h?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let s=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#p=!0,s.signal)})},o=()=>{let e,r=(0,i.ensureQueryFn)(this.options,t),s=(a(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#p=!1,this.options.persister)?this.options.persister(r,s,this):r(s)},u=(a(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:o}),r);this.options.behavior?.onFetch(u,this),this.#u=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#f({type:"fetch",meta:u.fetchOptions?.meta}),this.#h=(0,n.createRetryer)({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:e=>{e instanceof n.CancelledError&&e.revert&&this.setState({...this.#u,fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{let e=await this.#h.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof n.CancelledError){if(e.silent)return this.#h.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#f({type:"error",error:e}),this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#f(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...u(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...l(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#u=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),s.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function u(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function l(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function c(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,
1s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,o,"fetchState",0,u],286491);var h=e.i(915823),d=e.i(793803),p=e.i(180166),f=class extends h.Subscribable{constructor(e,t){super(),this.options=t,this.#c=e,this.#y=null,this.#v=(0,d.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#c;#b=void 0;#m=void 0;#g=void 0;#R;#S;#v;#y;#O;#T;#w;#C;#E;#Q;#x=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#b.addObserver(this),y(this.#b,this.options)?this.#F():this.updateResult(),this.#I())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return v(this.#b,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return v(this.#b,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#j(),this.#k(),this.#b.removeObserver(this)}setOptions(e){let t=this.options,r=this.#b;if(this.options=this.#c.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.resolveEnabled)(this.options.enabled,this.#b))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#U(),this.#b.setOptions(this.options),t._defaulted&&!(0,i.shallowEqualObjects)(this.options,t)&&this.#c.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#b,observer:this});let s=this.hasListeners();s&&b(this.#b,r,this.options,t)&&this.#F(),this.updateResult(),s&&(this.#b!==r||(0,i.resolveEnabled)(this.options.enabled,this.#b)!==(0,i.resolveEnabled)(t.enabled,this.#b)||(0,i.resolveStaleTime)(this.options.staleTime,this.#b)!==(0,i.resolveStaleTime)(t.staleTime,this.#b))&&this.#D();let n=this.#P();s&&(this.#b!==r||(0,i.resolveEnabled)(this.options.enabled,this.#b)!==(0,i.resolveEnabled)(t.enabled,this.#b)||n!==this.#Q)&&this.#q(n)}getOptimisticResult(e){var t,r;let s=this.#c.getQueryCache().build(this.#c,e),n=this.createResult(s,e);return t=this,r=n,(0,i.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#g=n,this.#S=this.options,this.#R=this.#b.state),n}getCurrentResult(){return this.#g}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#v.status||this.#v.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#x.add(e)}getCurrentQuery(){return this.#b}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#c.defaultQueryOptions(e),r=this.#c.getQueryCache().build(this.#c,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#F({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#g))}#F(e){this.#U();let t=this.#b.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.noop)),t}#D(){this.#j();let e=(0,i.resolveStaleTime)(this.options.staleTime,this.#b);if(i.isServer||this.#g.isStale||!(0,i.isValidTimeout)(e))return;let t=(0,i.timeUntilStale)(this.#g.dataUpdatedAt,e);this.#C=p.timeoutManager.setTimeout(()=>{this.#g.isStale||this.updateResult()},t+1)}#P(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#b):this.options.refetchInterval)??!1}#q(e){this.#k(),this.#Q=e,!i.isServer&&!1!==(0,i.resolveEnabled)(this.options.enabled,this.#b)&&(0,i.isValidTimeout)(this.#Q)&&0!==this.#Q&&(this.#E=p.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#F()},this.#Q))}#I(){this.#D(),this.#q(this.#P())}#j(){this.#C&&(p.timeoutManager.clearTimeout(this.#C),this.#C=void 0)}
1#k(){this.#E&&(p.timeoutManager.clearInterval(this.#E),this.#E=void 0)}createResult(e,t){let r,s=this.#b,n=this.options,a=this.#g,o=this.#R,l=this.#S,c=e!==s?e.state:this.#m,{state:h}=e,p={...h},f=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&y(e,t),a=r&&b(e,s,t,n);(i||a)&&(p={...p,...u(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(p.fetchStatus="idle")}let{error:v,errorUpdatedAt:g,status:R}=p;r=p.data;let S=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===R){let e;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(e=a.data,S=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#w?.state.data,this.#w):t.placeholderData,void 0!==e&&(R="success",r=(0,i.replaceData)(a?.data,e,t),f=!0)}if(t.select&&void 0!==r&&!S)if(a&&r===o?.data&&t.select===this.#O)r=this.#T;else try{this.#O=t.select,r=t.select(r),r=(0,i.replaceData)(a?.data,r,t),this.#T=r,this.#y=null}catch(e){this.#y=e}this.#y&&(v=this.#y,r=this.#T,g=Date.now(),R="error");let O="fetching"===p.fetchStatus,T="pending"===R,w="error"===R,C=T&&O,E=void 0!==r,Q={status:R,fetchStatus:p.fetchStatus,isPending:T,isSuccess:"success"===R,isError:w,isInitialLoading:C,isLoading:C,data:r,dataUpdatedAt:p.dataUpdatedAt,error:v,errorUpdatedAt:g,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:O,isRefetching:O&&!T,isLoadingError:w&&!E,isPaused:"paused"===p.fetchStatus,isPlaceholderData:f,isRefetchError:w&&E,isStale:m(e,t),refetch:this.refetch,promise:this.#v,isEnabled:!1!==(0,i.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===Q.status?e.reject(Q.error):void 0!==Q.data&&e.resolve(Q.data)},r=()=>{t(this.#v=Q.promise=(0,d.pendingThenable)())},i=this.#v;switch(i.status){case"pending":e.queryHash===s.queryHash&&t(i);break;case"fulfilled":("error"===Q.status||Q.data!==i.value)&&r();break;case"rejected":("error"!==Q.status||Q.error!==i.reason)&&r()}}return Q}updateResult(){let e=this.#g,t=this.createResult(this.#b,this.options);if(this.#R=this.#b.state,this.#S=this.options,void 0!==this.#R.data&&(this.#w=this.#b),(0,i.shallowEqualObjects)(t,e))return;this.#g=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#x.size)return!0;let s=new Set(r??this.#x);return this.options.throwOnError&&s.add("error"),Object.keys(this.#g).some(t=>this.#g[t]!==e[t]&&s.has(t))};this.#M({listeners:r()})}#U(){let e=this.#c.getQueryCache().build(this.#c,this.options);if(e===this.#b)return;let t=this.#b;this.#b=e,this.#m=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#I()}#M(e){s.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#g)}),this.#c.getQueryCache().notify({query:this.#b,type:"observerResultsUpdated"})})}};function y(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&v(e,t,t.refetchOnMount)}function v(e,t,r){if(!1!==(0,i.resolveEnabled)(t.enabled,e)&&"static"!==(0,i.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&m(e,t)}return!1}function b(e,t,r,s){return(e!==t||!1===(0,i.resolveEnabled)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&m(e,r)}function m(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,f],869230);var g=e.i(271645),R=e.i(912598);e.i(843476);var S=g.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),O=()=>g.useContext(S);e.s(["useQueryErrorResetBoundary",0,O],673664);var T=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},w=e=>{g.useEffect(()=>{e.clearReset()},[e])},C=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(n&&void 0===e.data||(0,i.shouldThrowError)(r,[e.error,s]));e.s(["ensurePreventErrorBoundaryRetry",0,T,"getHasError",0,C,"useClearResetErrorBoundary",0,w],427001);var E=g.createContext(!1),Q=()=>g.useContext(E);E.Provider,e.s(["useIsRestoring",0,Q],381384);var x=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},F=(e,t)=>e.isLoading&&e.isFetching&&!t,I=(e,t)=>e?.suspense&&t.isPending,j=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function k(e,t,r){let n=Q(),a=O(),o=(0,R.useQueryClient)(r),u=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(u),u._optimisticResults=n?"isRestoring":"optimistic",x(u),T(u,a),w(a);let l=!o.getQueryCache().get(u.queryHash),[c]=g.useState(()=>new t(o,u)),h=c.getOptimisticResult(u),d=!n&&!1!==e.subscribed;if(g.useSyncExternalStore(g.useCallback(e=>{let t=d?c.subscribe(s.notifyManager.batchCalls(e)):i.noop;return c.updateResult(),t},[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),g.useEffect(()=>{c.setOptions(u)},[u,c]),I(u,h))throw j(u,c,a);if(C({result:h,errorResetBoundary:a,throwOnError:u.throwOnError,query:o.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw h.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(u,h),u.experimental_prefetchInRender&&!i.isServer&&F(h,n)){let e=l?j(u,c,a):o.getQueryCache().get(u.queryHash)?.promise;e?.catch(i.noop).finally(()=>{c.updateResult()})}return u.notifyOnChangeProps?h:c.trackResult(h)}e.s(["defaultThrowOnError",0,(e,t)=>void 0===t.state.data,"ensureSuspenseTimers",0,x,"fetchOptimistic",0,j,"shouldSuspend",0,I,"willFetch",0,F],254440),e.s(["useBaseQuery",0,k],469637),e.s(["useQuery",0,function(e,t){return k(e,f,t)}],266027)},225913,e=>{"use strict";var t=e.i(207670);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=t.clsx;e.s(["cva",0,(e,t)=>i=>{var n;if((null==t?void 0:t.variants)==null)return s(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:o}=t,u=Object.keys(a).map(e=>{let t=null==i?void 0:i[e],s=null==o?void 0:o[e];if(null===t)return null;let n=r(t)||r(s);return a[e][n]}),l=i&&Object.entries(i).reduce((e,t)=>
1{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return s(e,u,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:s,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...l}[t]):({...o,...l})[t]===r})?[...e,r,s]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},207670,e=>{"use strict";function t(){for(var e,t,r=0,s="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,s,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var n=t.length;for(r=0;r<n;r++)t[r]&&(s=e(t[r]))&&(i&&(i+=" "),i+=s)}else for(s in t)t[s]&&(i&&(i+=" "),i+=s);return i}(e))&&(s&&(s+=" "),s+=t);return s}e.s(["clsx",0,t,"default",0,t])},475254,e=>{"use strict";var t=e.i(271645);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},s=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:o="",children:u,iconNode:l,...c},h)=>(0,t.createElement)("svg",{ref:h,...i,width:r,height:r,stroke:e,strokeWidth:a?24*Number(n)/Number(r):n,className:s("lucide",o),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...l.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(u)?u:[u]]));e.s(["default",0,(e,i)=>{let a=(0,t.forwardRef)(({className:a,...o},u)=>(0,t.createElement)(n,{ref:u,iconNode:i,className:s(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...o}));return a.displayName=r(e),a}],475254)},627144,e=>{"use strict";var t=e.i(843476),r=e.i(991918),s=e.i(225913),i=e.i(271645),n=e.i(690923);let a=(0,s.cva)("inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,background-color,border-color,box-shadow,opacity,scale] duration-160 ease-out active:scale-97 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 select-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90","outline-blue":"border border-blue-600 bg-transparent text-blue-600 hover:bg-blue-600/10 uppercase tracking-wider font-medium dark:border-blue-400 dark:text-blue-400 dark:hover:bg-blue-400/10",outline:"border border-input bg-background  hover:bg-accent hover:text-accent-foreground","outline-solid":"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",xl:"h-12 rounded-md px-12 text-base",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=i.forwardRef(({className:e,variant:s,size:i,asChild:o=!1,...u},l)=>{let c=o?r.Slot:"button";return(0,t.jsx)(c,{className:(0,n.cn)(a({variant:s,size:i,className:e})),ref:l,...u})});o.displayName="Button",e.s(["Button",0,o,"buttonVariants",0,a])},690923,e=>{"use strict";var t=e.i(207670),r=e.i(919056);e.s(["cn",0,function(...e){return(0,r.twMerge)((0,t.clsx)(e))}])}]);
2
3//# sourceMappingURL=0s2au4n9p_56v.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.