PageSourceSearch

https://digg.com/_next/static/chunks/1cn3o5gu111ul.js?dpl=dpl_7KizRMkS8hiaeq9KCJTqcosxwVbT

js digg.com collected 2026-09-24 07:01:19 UTC 39,496 bytes, 6 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d0df-a6c4-7f80-89c7-d1e713ce3901")}catch(e){}}();;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="fa9abc7d-7510-ea91-8404-ad72780a9576")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,878835,e=>{"use strict";var t=e.i(947500),r=e.i(78829),s=e.i(237355),i=e.i(711926),n=e.i(165542),a=e.i(102550),o=e.i(543836),l=Object.defineProperty,u=(e,t)=>l(e,"name",{value:t,configurable:!0}),[c,h]=(0,i.createContextScope)("AlertDialog",[a.createDialogScope]),d=(0,a.createDialogScope)(),f=u(e=>{let{__scopeAlertDialog:r,...s}=e,i=d(r);return(0,t.jsx)(a.Root,{...i,...s,modal:!0})},"AlertDialog"),p=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,n=d(s);return(0,t.jsx)(a.Trigger,{...n,...i,ref:r})},"AlertDialogTrigger")),m=u(e=>{let{__scopeAlertDialog:r,...s}=e,i=d(r);return(0,t.jsx)(a.Portal,{...i,...s})},"AlertDialogPortal"),y=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,n=d(s);return(0,t.jsx)(a.Overlay,{...n,...i,ref:r})},"AlertDialogOverlay")),[g,v]=c("AlertDialogContent"),b=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:i,children:l,...u}=e,c=d(i),h=s.useRef(null),f=(0,n.useComposedRefs)(r,h),p=s.useRef(null);return(0,t.jsx)(g,{scope:i,cancelRef:p,children:(0,t.jsx)(a.Content,{role:"alertdialog",...c,...u,ref:f,onOpenAutoFocus:(0,o.composeEventHandlers)(u.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})},"AlertDialogContent")),S=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,n=d(s);return(0,t.jsx)(a.Title,{...n,...i,ref:r})},"AlertDialogTitle")),R=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,n=d(s);return(0,t.jsx)(a.Description,{...n,...i,ref:r})},"AlertDialogDescription")),T=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,n=d(s);return(0,t.jsx)(a.Close,{...n,...i,ref:r})},"AlertDialogAction")),w=s.forwardRef(u(function(e,r){let{__scopeAlertDialog:s,...i}=e,{cancelRef:o}=v("AlertDialogCancel",s),l=d(s),u=(0,n.useComposedRefs)(r,o);return(0,t.jsx)(a.Close,{...l,...i,ref:u})},"AlertDialogCancel"));e.s(["Action",0,T,"AlertDialog",0,f,"AlertDialogAction",0,T,"AlertDialogCancel",0,w,"AlertDialogContent",0,b,"AlertDialogDescription",0,R,"AlertDialogOverlay",0,y,"AlertDialogPortal",0,m,"AlertDialogTitle",0,S,"AlertDialogTrigger",0,p,"Cancel",0,w,"Content",0,b,"Description",0,R,"Overlay",0,y,"Portal",0,m,"Root",0,f,"Title",0,S,"Trigger",0,p,"createAlertDialogScope",0,h],735784);var C=e.i(735784),C=C,O=e.i(466691);let x=({...e})=>(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e}),j=({className:e,...s})=>(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,r.cn)("fixed inset-0 z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...s});e.s(["AlertDialog",0,({...e})=>(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e}),"AlertDialogAction",0,({className:e,variant:s="default",size:i="default",...n})=>(0,t.jsx)(O.Button,{variant:s,size:i,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,r.cn)(e),...n})}),"AlertDialogCancel",0,({className:e,variant:s="outline",size:i="default",...n})=>(0,t.jsx)(O.Button,{variant:s,size:i,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,r.cn)(e),...n})}),"AlertDialogContent",0,({className:e,size:s="default",...i})=>(0,t.jsxs)(x,{children:[(0,t.jsx)(j,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":s,className:(0,r.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-6 rounded-4xl bg-popover p-6 text-popover-foreground ring-1 ring-foreground
2/5 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i})]}),"AlertDialogDescription",0,({className:e,...s})=>(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,r.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...s}),"AlertDialogFooter",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...s}),"AlertDialogHeader",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,r.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...s}),"AlertDialogMedia",0,({className:e,...s})=>(0,t.jsx)("div",{"data-slot":"alert-dialog-media",className:(0,r.cn)("mb-2 inline-flex size-16 items-center justify-center rounded-full bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8",e),...s}),"AlertDialogOverlay",0,j,"AlertDialogPortal",0,x,"AlertDialogTitle",0,({className:e,...s})=>(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,r.cn)("font-heading text-lg font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...s}),"AlertDialogTrigger",0,({...e})=>(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})],878835)},49102,e=>{"use strict";var t=e.i(494117);e.s(["ChevronDown",()=>t.default])},821957,e=>{"use strict";var t=e.i(237355),r=(e,t,r,s,i,n,a,o)=>{let l=document.documentElement,u=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,s=r&&n?i.map(e=>n[e]||e):i;r?(l.classList.remove(...s),l.classList.add(n&&n[t]?n[t]:t)):l.setAttribute(e,t)}),r=t,o&&u.includes(r)&&(l.style.colorScheme=r)}if(s)c(s);else try{let e=localStorage.getItem(t)||r,s=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(s)}catch(e){}},s=["light","dark"],i="(prefers-color-scheme: dark)",n="u"<typeof window,a=t.createContext(void 0),o={setTheme:e=>{},themes:[]},l=["light","dark"],u=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:u="theme",themes:p=l,defaultTheme:m=n?"system":"light",attribute:y="data-theme",value:g,children:v,nonce:b,scriptProps:S})=>{let[R,T]=t.useState(()=>h(u,m)),[w,C]=t.useState(()=>"system"===R?f():R),O=g?Object.values(g):p,x=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&n&&(t=f());let i=g?g[t]:t,a=r?d(b):null,l=document.documentElement,u=e=>{"class"===e?(l.classList.remove(...O),i&&l.classList.add(i)):e.startsWith("data-")&&(i?l.setAttribute(e,i):l.removeAttribute(e))};if(Array.isArray(y)?y.forEach(u):u(y),o){let e=s.includes(m)?m:null,r=s.includes(t)?t:e;l.style.colorScheme=r}null==a||a()},[b]),j=t.useCallback(e=>{let t="function"==typeof e?e(R):e;T(t);try{localStorage.setItem(u,t)}catch(e){}},[R]),E=t.useCallback(t=>{C(f(t)),"system"===R&&n&&!e&&x("system")},[R,e]);t.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),t.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?T(e.newValue):j(m))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[j]),t.useEffect(()=>{x(null!=e?e:R)},[e,R]);let D=t.useMemo(()=>({theme:R,setTheme:j,forcedTheme:e,resolvedTheme:"system"===R?w:R,themes:n?[...p,"system"]:p,systemTheme:n?w:void 0}),[R,j,e,w,n,p]);return t.createElement(a.Provider,{value:D},t.createElement(c,{forcedTheme:e,storageKey:u,attribute:y,enableSystem:n,enableColorScheme:o,defaultTheme:m,value:g,themes:p,nonce:b,scriptProps:S}),v)},c=t.memo(({forcedTheme:e,storageKey:s,attribute:i,enableSystem:n,enableColorScheme:a,defaultTheme:o,value:l,themes:u,nonce:c,scriptProps:h})=>{let d=JSON.stringify([i,s,o,e,u,l,n,a]).slice(1,-1);return t.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${d})`}})}),h=(e,t)=>{let r;if(!n){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},d=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},f=e=>
2(e||(e=window.matchMedia(i)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(a)?t.createElement(t.Fragment,null,e.children):t.createElement(u,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(a))?e:o}])},7012,e=>{"use strict";var t=e.i(947500),r=e.i(821957),s=e.i(360112),i=e.i(844447),i=i,n=e.i(540796);let a=(0,n.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),o=(0,n.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),l=(0,n.default)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var u=e.i(636165);e.s(["Toaster",0,({...e})=>{let{theme:n="system"}=(0,r.useTheme)();return(0,t.jsx)(s.Toaster,{theme:n,className:"toaster group",icons:{success:(0,t.jsx)(i.default,{className:"size-4"}),info:(0,t.jsx)(a,{className:"size-4"}),warning:(0,t.jsx)(o,{className:"size-4"}),error:(0,t.jsx)(l,{className:"size-4"}),loading:(0,t.jsx)(u.Loader2Icon,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},toastOptions:{classNames:{toast:"cn-toast"}},...e})}],7012)},898797,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let s=e.r(945612);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},692384,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let s=e.r(947500),i=e.r(649687),n=e.r(799673),a=e.r(858034),o=e.r(713075);function l({moduleIds:e}){if("u">typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let s=t.reactLoadableManifest;for(let t of e){if(!s[t])continue;let e=s[t].files;r.push(...e)}}if(0===r.length)return null;let u=(0,o.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},252164,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let s=e.r(947500),i=e.r(237355),n=e.r(898797),a=e.r(692384);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},r=(0,i.lazy)(()=>t.loader().then(o)),u=t.loading;function c(e){let o=u?(0,s.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?i.Suspense:i.Fragment,h=t.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,s.jsx)(r,{...e})]}):(0,s.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(r,{...e})});return(0,s.jsx)(c,{...l?{fallback:o}:{},children:h})}return c.displayName="LoadableComponent",c}},568254,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let s=e.r(481258)._(e.r(252164));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,s.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53443,e=>{"use strict";var t=e.i(947500),r=e.i(237355),s=e.i(568254),i=e.i(66170),n=e.i(983390),a=e.i(7012);let o=(0,s.default)(()=>e.A(41805).then(e=>e.StoryEditorController),{loadableGenerated:{modules:[714867]},ssr:!1}),l=(0,r.createContext)(null),u=({onChange:e})=>{let t=(0,i.usePathname)();return(0,r.useEffect)(()=>e(t),[e,t]),null},c=(0,r.createContext)(!0);e.s(["StoryEditorProvider",0,({children:e})=>{let[s,i]=(0,r.useState)(""),[c,h]=(0,r.useState)(null);return(0,t.jsxs)(n.StoryImageProvider,{scope:s,children:[(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(u,{onChange:i})}),(0,t.jsxs)(l.Provider,{value:h,children:[e,(0,t.jsx)(a.Toaster,{id:"story-editor"}),c?(0,t.jsx)(o,{target:c,onClose:()=>h(e=>e===c?null:e)},`${c.storyUrl}:${c.intent}:${c.addPostOperationId??""}`):null]})]})},"isAdminFetchMoreEnabled",0,()=>!0,"useOpenStoryEditor",0,()=>(0,r.useContext)(l),"useStoryAdminScope",0,()=>(0,r.useContext)(c)])},348786,208009,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],208009);var r=new class extends t{#e;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&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,r],348786)},202945,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{#s=t;#i=!1;setTimeoutProvider(e){this.#s=e}setTimeout(e,t){return this.#s.setTimeout(e,t)}clearTimeout(e){this.#s.clearTimeout(e)}setInterval(e,t){return this.#s.setInterval(e,t)}clearInterval(e){this.#s.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,r])},504701,e=>{"use strict";var t=e.i(202945),r="u"<typeof window||"Deno"in globalThis;function s(e,t){return(t?.queryKeyHashFn||i)(e)}function i(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function n(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>n(e[r],t[r]))}var a=Object.prototype.hasOwnProperty;function o(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!u(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!u(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}var c=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,r){let s,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),i||(i=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e},"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!==c?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,i,"hashQueryKeyByOptions",0,s,"isServer",0,r,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"matchMutation",0,function(e,t){let{exact:r,status:s,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(i(t.options.mutationKey)!==i(o))return!1}
2else if(!n(t.options.mutationKey,o))return!1}return(!s||t.state.status===s)&&(!a||!!a(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:i,fetchStatus:a,predicate:o,queryKey:l,stale:u}=e;if(l){if(i){if(t.queryHash!==s(l,t.options))return!1}else if(!n(t.queryKey,l))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(!a||a===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,n,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r,s=0){if(t===r)return t;if(s>500)return r;let i=o(t)&&o(r);if(!i&&!(l(t)&&l(r)))return r;let n=(i?t:Object.keys(t)).length,u=i?r:Object.keys(r),c=u.length,h=i?Array(c):{},d=0;for(let o=0;o<c;o++){let l=i?o:u[o],c=t[l],f=r[l];if(c===f){h[l]=c,(i?o<n:a.call(t,l))&&d++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){h[l]=f;continue}let p=e(c,f,s+1);h[l]=p,p===c&&d++}return n===c&&d===n?t:h}(e,t):t},"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,c,"sleep",0,function(e){return new Promise(r=>{t.timeoutManager.setTimeout(r,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}])},649125,e=>{"use strict";let t;var r=e.i(504701),s=(t=()=>r.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,s])},10070,e=>{"use strict";let t,r,s,i,n,a;var o=e.i(202945).systemSetTimeoutZero,l=(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,l])},900879,295165,e=>{"use strict";var t=e.i(208009),r=new class extends t.Subscribable{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&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))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};e.s(["onlineManager",0,r],900879),e.i(504701),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}],295165)},742753,e=>{"use strict";var t=e.i(348786),r=e.i(900879),s=e.i(295165),i=e.i(649125),n=e.i(504701);function a(e){return Math.min(1e3*2**e,3e4)}function o(e){return(e??"online")!=="online"||r.onlineManager.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,l,"canFetch",0,o,"createRetryer",0,function(e){let u,c=!1,h=0,d=(0,s.pendingThenable)(),f=()=>t.focusManager.isFocused()&&("always"===e.networkMode||r.onlineManager.isOnline())&&e.canRun(),p=()=>o(e.networkMode)&&e.canRun(),m=e=>{"pending"===d.status&&(u?.(),d.resolve(e))},y=e=>{"pending"===d.status&&(u?.(),d.reject(e))},g=()=>new Promise(t=>{u=e=>{("pending"!==d.status||f())&&t(e)},e.onPause?.()}).then(()=>{u=void 0,"pending"===d.status&&e.onContinue?.()}),v=()=>{let t;if("pending"!==d.status)return;let r=0===h?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch(t=>{if("pending"!==d.status)return;let r=e.retry??3*!i.environmentManager.isServer(),s=e.retryDelay??a,o="function"==typeof s?s(h,t):s,l=!0===r||"number"==typeof r&&h<r||"function"==typeof r&&r(h,t);c||!l?y(t):(h++,e.onFail?.(h,t),(0,n.sleep)(o).then(()=>f()?void 0:g()).then(()=>{c?y(t):v()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let r=new l(t);y(r),e.onCancel?.(r)}},continue:()=>(u?.(),d),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:p,start:()=>(p()?v():g().then(v),d)}}])},133207,e=>{"use strict";
2var t=e.i(202945),r=e.i(649125),s=e.i(504701),i=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,s.isValidTimeout)(this.gcTime)&&(this.#a=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){this.#a&&(t.timeoutManager.clearTimeout(this.#a),this.#a=void 0)}};e.s(["Removable",0,i])},268314,e=>{"use strict";var t=e.i(504701),r=e.i(10070),s=e.i(742753),i=e.i(133207),n=class extends i.Removable{#o;#l;#u;#c;#h;#d;#f;constructor(e){super(),this.#f=!1,this.#d=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#u=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=l(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=l(this.options);void 0!==e.data&&(this.setState(o(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,r){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#p({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let r=this.#h?.promise;return this.#h?.cancel(e),r?r.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#o}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.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,t.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.#u.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.#f||this.#m()?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#m(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,r){let i;if("idle"!==this.state.fetchStatus&&this.#h?.status()!=="rejected"){if(void 0!==this.state.data&&r?.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 n=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,n.signal)})},o=()=>{let e,s=(0,t.ensureQueryFn)(this.options,r),i=(a(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#f=!1,this.options.persister)?this.options.persister(s,i,this):s(i)},l=(a(i={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:o}),i);this.options.behavior?.onFetch(l,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#p({type:"fetch",meta:l.fetchOptions?.meta}),this.#h=(0,s.createRetryer)({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof s.CancelledError&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.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.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof s.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.#p({type:"error",error:e}),this.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(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,...a(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...o(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":let s=e.error;
2return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),r.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:e})})}};function a(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,s.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function o(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,s=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,n,"fetchState",0,a])},888352,e=>{"use strict";var t=e.i(237355),r=e.i(947500),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}])},479069,e=>{"use strict";let t;var r=e.i(348786),s=e.i(649125),i=e.i(10070),n=e.i(268314),a=e.i(208009),o=e.i(295165),l=e.i(504701),u=e.i(202945),c=class extends a.Subscribable{constructor(e,t){super(),this.options=t,this.#c=e,this.#y=null,this.#g=(0,o.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#c;#v=void 0;#b=void 0;#S=void 0;#R;#T;#g;#y;#w;#C;#O;#x;#j;#E;#D=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#v.addObserver(this),h(this.#v,this.options)?this.#A():this.updateResult(),this.#P())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#v,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#v,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#F(),this.#I(),this.#v.removeObserver(this)}setOptions(e){let t=this.options,r=this.#v;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,l.resolveEnabled)(this.options.enabled,this.#v))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#Q(),this.#v.setOptions(this.options),t._defaulted&&!(0,l.shallowEqualObjects)(this.options,t)&&this.#c.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#v,observer:this});let s=this.hasListeners();s&&f(this.#v,r,this.options,t)&&this.#A(),this.updateResult(),s&&(this.#v!==r||(0,l.resolveEnabled)(this.options.enabled,this.#v)!==(0,l.resolveEnabled)(t.enabled,this.#v)||(0,l.resolveStaleTime)(this.options.staleTime,this.#v)!==(0,l.resolveStaleTime)(t.staleTime,this.#v))&&this.#M();let i=this.#k();s&&(this.#v!==r||(0,l.resolveEnabled)(this.options.enabled,this.#v)!==(0,l.resolveEnabled)(t.enabled,this.#v)||i!==this.#E)&&this.#U(i)}getOptimisticResult(e){var t,r;let s=this.#c.getQueryCache().build(this.#c,e),i=this.createResult(s,e);return t=this,r=i,(0,l.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#S=i,this.#T=this.options,this.#R=this.#v.state),i}getCurrentResult(){return this.#S}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.#g.status||this.#g.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#D.add(e)}getCurrentQuery(){return this.#v}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.#A({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#S))}#A(e){this.#Q();let t=this.#v.fetch(this.options,e);return e?.throwOnError||(t=t.catch(l.noop)),t}#M(){this.#F();let e=(0,l.resolveStaleTime)(this.options.staleTime,this.#v);if(s.environmentManager.isServer()||this.#S.isStale||!(0,l.isValidTimeout)(e))return;let t=(0,l.timeUntilStale)(this.#S.dataUpdatedAt,e);this.#x=u.timeoutManager.setTimeout(()=>{this.#S.isStale||this.updateResult()},t+1)}#k(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#v):this.options.refetchInterval)??!1}#U(e){this.#I(),this.#E=e,!s.environmentManager.isServer()&&!1!==(0,l.resolveEnabled)(this.options.enabled,this.#v)&&(0,l.isValidTimeout)(this.#E)&&0!==this.#E&&(this.#j=u.timeoutManager.setInterval(()=>
2{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#A()},this.#E))}#P(){this.#M(),this.#U(this.#k())}#F(){this.#x&&(u.timeoutManager.clearTimeout(this.#x),this.#x=void 0)}#I(){this.#j&&(u.timeoutManager.clearInterval(this.#j),this.#j=void 0)}createResult(e,t){let r,s=this.#v,i=this.options,a=this.#S,u=this.#R,c=this.#T,d=e!==s?e.state:this.#b,{state:m}=e,y={...m},g=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&h(e,t),o=r&&f(e,s,t,i);(a||o)&&(y={...y,...(0,n.fetchState)(m.data,e.options)}),"isRestoring"===t._optimisticResults&&(y.fetchStatus="idle")}let{error:v,errorUpdatedAt:b,status:S}=y;r=y.data;let R=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===S){let e;a?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=a.data,R=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#O?.state.data,this.#O):t.placeholderData,void 0!==e&&(S="success",r=(0,l.replaceData)(a?.data,e,t),g=!0)}if(t.select&&void 0!==r&&!R)if(a&&r===u?.data&&t.select===this.#w)r=this.#C;else try{this.#w=t.select,r=t.select(r),r=(0,l.replaceData)(a?.data,r,t),this.#C=r,this.#y=null}catch(e){this.#y=e}this.#y&&(v=this.#y,r=this.#C,b=Date.now(),S="error");let T="fetching"===y.fetchStatus,w="pending"===S,C="error"===S,O=w&&T,x=void 0!==r,j={status:S,fetchStatus:y.fetchStatus,isPending:w,isSuccess:"success"===S,isError:C,isInitialLoading:O,isLoading:O,data:r,dataUpdatedAt:y.dataUpdatedAt,error:v,errorUpdatedAt:b,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:y.dataUpdateCount>d.dataUpdateCount||y.errorUpdateCount>d.errorUpdateCount,isFetching:T,isRefetching:T&&!w,isLoadingError:C&&!x,isPaused:"paused"===y.fetchStatus,isPlaceholderData:g,isRefetchError:C&&x,isStale:p(e,t),refetch:this.refetch,promise:this.#g,isEnabled:!1!==(0,l.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==j.data,r="error"===j.status&&!t,i=e=>{r?e.reject(j.error):t&&e.resolve(j.data)},n=()=>{i(this.#g=j.promise=(0,o.pendingThenable)())},a=this.#g;switch(a.status){case"pending":e.queryHash===s.queryHash&&i(a);break;case"fulfilled":(r||j.data!==a.value)&&n();break;case"rejected":r&&j.error===a.reason||n()}}return j}updateResult(){let e=this.#S,t=this.createResult(this.#v,this.options);if(this.#R=this.#v.state,this.#T=this.options,void 0!==this.#R.data&&(this.#O=this.#v),(0,l.shallowEqualObjects)(t,e))return;this.#S=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#D.size)return!0;let s=new Set(r??this.#D);return this.options.throwOnError&&s.add("error"),Object.keys(this.#S).some(t=>this.#S[t]!==e[t]&&s.has(t))};this.#q({listeners:r()})}#Q(){let e=this.#c.getQueryCache().build(this.#c,this.options);if(e===this.#v)return;let t=this.#v;this.#v=e,this.#b=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#P()}#q(e){i.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#S)}),this.#c.getQueryCache().notify({query:this.#v,type:"observerResultsUpdated"})})}};function h(e,t){return!1!==(0,l.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==(0,l.resolveEnabled)(t.enabled,e)&&"static"!==(0,l.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&p(e,t)}return!1}function f(e,t,r,s){return(e!==t||!1===(0,l.resolveEnabled)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&p(e,r)}function p(e,t){return!1!==(0,l.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,l.resolveStaleTime)(t.staleTime,e))}e.i(668390);var m=e.i(237355),y=e.i(888352);e.i(947500);var g=m.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),v=m.createContext(!1);v.Provider;var b=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["useQuery",0,function(e,t){return function(e,t,r){let n,a=m.useContext(v),o=m.useContext(g),u=(0,y.useQueryClient)(r),c=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(c);let h=u.getQueryCache().get(c.queryHash);if(c._optimisticResults=a?"isRestoring":"optimistic",c.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=c.staleTime;c.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof c.gcTime&&(c.gcTime=Math.max(c.gcTime,1e3))}n=h?.state.error&&"function"==typeof c.throwOnError?(0,l.shouldThrowError)(c.throwOnError,[h.state.error,h]):c.throwOnError,(c.suspense||c.experimental_prefetchInRender||n)&&!o.isReset()&&(c.retryOnMount=!1),m.useEffect(()=>{o.clearReset()},[o]);let d=!u.getQueryCache().get(c.queryHash),[f]=m.useState(()=>new t(u,c)),p=f.getOptimisticResult(c),S=!a&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=S?f.subscribe(i.notifyManager.batchCalls(e)):l.noop;return f.updateResult(),t},[f,S]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),m.useEffect(()=>{f.setOptions(c)},[c,f]),c?.suspense&&p.isPending)throw b(c,f,o);if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,l.shouldThrowError)(r,[e.error,s])))({result:p,errorResetBoundary:o,throwOnError:c.throwOnError,query:h,suspense:c.suspense}))throw p.error;if(u.getDefaultOptions().queries?._experimental_afterQuery?.(c,p),c.experimental_prefetchInRender&&!s.environmentManager.isServer()&&p.isLoading&&p.isFetching&&!a){let e=d?b(c,f,o):h?.promise;e?.catch(l.noop).finally(()=>{f.updateResult()})}return c.notifyOnChangeProps?p:f.trackResult(p)}(e,c,t)}],479069)}]);
3
4//# debugId=fa9abc7d-7510-ea91-8404-ad72780a9576
5//# sourceMappingURL=329h1yk6gosnj.js.map
6//# chunkId=01a0d0df-a6c4-7f80-89c7-d1e713ce3901

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.