1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82010,e=>{"use strict";var t=e.i(43476),i=e.i(71645),s=e.i(7670),r=e.i(19130),a=e.i(67239),n=e.i(40799),o=e.i(75149),l=e.i(94425),u=e.i(48106),c=e.i(42196),h=e.i(35057),d=e.i(7183),p=e.i(40672),f=e.i(19727);function y(e){return(0,f.default)("MuiAlert",e)}let m=(0,p.default)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var g=e.i(43090),v=e.i(54624);let b=(0,v.default)((0,t.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),C=(0,v.default)((0,t.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),S=(0,v.default)((0,t.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),O=(0,v.default)((0,t.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),q=(0,v.default)((0,t.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),A=(0,n.styled)(d.default,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,t[i.variant],t[`${i.variant}${(0,c.default)(i.color||i.severity)}`]]}})((0,o.default)(({theme:e})=>{let t="light"===e.palette.mode?a.darken:a.lighten,i="light"===e.palette.mode?a.lighten:a.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((0,h.default)(["light"])).map(([s])=>({props:{colorSeverity:s,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${s}Color`]:t(e.palette[s].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${s}StandardBg`]:i(e.palette[s].light,.9),[`& .${m.icon}`]:e.vars?{color:e.vars.palette.Alert[`${s}IconColor`]}:{color:e.palette[s].main}}})),...Object.entries(e.palette).filter((0,h.default)(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${i}Color`]:t(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${m.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}}})),...Object.entries(e.palette).filter((0,h.default)(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),M=(0,n.styled)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),w=(0,n.styled)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),P=(0,n.styled)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),x={success:(0,t.jsx)(b,{fontSize:"inherit"}),warning:(0,t.jsx)(C,{fontSize:"inherit"}),error:(0,t.jsx)(S,{fontSize:"inherit"}),info:(0,t.jsx)(O,{fontSize:"inherit"})},k=i.forwardRef(function(e,i){let a=(0,l.useDefaultProps)({props:e,name:"MuiAlert"}),{action:n,children:o,className:h,closeText:d="Close",color:p,components:f={},componentsProps:m={},icon:v,iconMapping:b=x,onClose:C,role:S="alert",severity:O="success",slotProps:k={},slots:Q={},variant:D="standard",...j}=a,F={...a,color:p,severity:O,variant:D,colorSeverity:p||O},I=(e=>{let{variant:t,color:i,severity:s,classes:a}=e,n={root:["root",`color${(0,c.default)(i||s)}`,`${t}${(0,c.default)(i||s)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,r.default)(n,y,a)})(F),R={slots:{closeButton:f.CloseButton,closeIcon:f.CloseIcon,...Q},slotProps:{...m,...k}},[T,B]=(0,u.default)("root",{ref:i,shouldForwardComponentProp:!0,className:(0,s.default)(I.root,h),elementType:A,externalForwardedProps:{...R,...j},ownerState:F,additionalProps:{role:S,elevation:0}}),[E,_]=(0,u.default)("icon",{className:I.icon,elementType:M,externalForwardedProps:R,ownerState:F}),[U,K]=(0,u.default)("message",{className:I.message,elementType:w,externalForwardedProps:R,ownerState:F}),[z,L]=(0,u.default)("action",{className:I.action,elementType:P,externalForwardedProps:R,ownerState:F}),[H,$]=(0,u.default)("closeButton",{elementType:g.default,externalForwardedProps:R,ownerState:F}),[N,W]=(0,u.default)("closeIcon",{elementType:q,externalForwardedProps:R,ownerState:F});
1return(0,t.jsxs)(T,{...B,children:[!1!==v?(0,t.jsx)(E,{..._,children:v||b[O]||x[O]}):null,(0,t.jsx)(U,{...K,children:o}),null!=n?(0,t.jsx)(z,{...L,children:n}):null,null==n&&C?(0,t.jsx)(z,{...L,children:(0,t.jsx)(H,{size:"small","aria-label":d,title:d,color:"inherit",onClick:C,...$,children:(0,t.jsx)(N,{fontSize:"small",...W})})}):null]})});var Q=e.i(10557),D=e.i(50967);let j=(0,i.forwardRef)(({id:e,message:i,severity:s},r)=>{let a=(0,Q.useTheme)();return(0,t.jsx)("div",{ref:r,role:"alert",children:(0,t.jsx)(k,{"data-qa":e,severity:s,sx:{".MuiAlert-icon":{marginTop:a.spacing(.5)},".MuiAlert-message":{whiteSpace:"pre-line"}},onClose:()=>{(0,D.closeSnackbar)(e)},children:i})})});j.displayName=j.name;let F={anchorOrigin:{horizontal:"center",vertical:"top"},classes:{root:"custom-snackbar-root"},Components:{standard:j},maxSnack:5,variant:"standard"};var I=e.i(91711),R=e.i(19273),T=e.i(86491),B=e.i(40143),E=e.i(15823),_=class extends E.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,i){let s=t.queryKey,r=t.queryHash??(0,R.hashQueryKeyByOptions)(s,t),a=this.get(r);return a||(a=new T.Query({client:e,queryKey:s,queryHash:r,options:e.defaultQueryOptions(t),state:i,defaultOptions:e.getQueryDefaults(s)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){B.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,R.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,R.matchQuery)(e,t)):t}notify(e){B.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){B.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){B.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},U=e.i(14272),K=E,z=class extends K.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#i=new Map,this.#s=0}#t;#i;#s;build(e,t,i){let s=new U.Mutation({client:e,mutationCache:this,mutationId:++this.#s,options:e.defaultMutationOptions(t),state:i});return this.add(s),s}add(e){this.#t.add(e);let t=L(e);if("string"==typeof t){let i=this.#i.get(t);i?i.push(e):this.#i.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=L(e);if("string"==typeof t){let i=this.#i.get(t);if(i)if(i.length>1){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}else i[0]===e&&this.#i.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=L(e);if("string"!=typeof t)return!0;{let i=this.#i.get(t),s=i?.find(e=>"pending"===e.state.status);return!s||s===e}}runNext(e){let t=L(e);if("string"!=typeof t)return Promise.resolve();{let i=this.#i.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){B.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#i.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,R.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,R.matchMutation)(e,t))}notify(e){B.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return B.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(R.noop))))}};function L(e){return e.options.scope?.id}var H=e.i(75555),$=e.i(14448),N=e.i(92571),W=class{#r;#a;#n;#o;#l;#u;#c;#h;constructor(e={}){this.#r=e.queryCache||new _,this.#a=e.mutationCache||new z,this.#n=e.defaultOptions||{},this.#o=new Map,this.#l=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=H.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#h=$.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#h?.(),this.#h=void 0)}isFetching(e){return this.#r.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#a.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),i=this.#r.build(this,t),s=i.state.data;return void 0===s?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime((0,R.resolveStaleTime)(t.staleTime,i))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return this.#r.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,i){let s=this.defaultQueryOptions({queryKey:e}),r=this.#r.get(s.queryHash),a=r?.state.data,n=(0,R.functionalUpdate)(t,a);if(void 0!==n)return this.#r.build(this,s).setData(n,{...i,manual:!0})}setQueriesData(e,t,i){return B.notifyManager.batch(()=>this.#r.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,i)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state}removeQueries(e){let t=this.#r;B.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let i=this.#r;return B.notifyManager.batch(()=>(i.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let i={revert:!0,...t};return Promise.all(B.notifyManager.batch(()=>this.#r.findAll(e).map(e=>e.cancel(i)))).then(R.noop).catch(R.noop)}invalidateQueries(e,t={}){return B.notifyManager.batch(()=>(this.#r.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let i={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(B.notifyManager.batch(()=>this.#r.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,i);return i.throwOnError||(t=t.catch(R.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(R.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let i=this.#r.build(this,t);return i.isStaleByTime((0,R.resolveStaleTime)(t.staleTime,i))?i.fetch(t):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(R.noop).catch(R.noop)}fetchInfiniteQuery(e){return e.behavior=(0,N.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(R.noop).catch(R.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,N.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $.onlineManager.isOnline()?this.#a.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#a}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#o.set((0,R.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#o.values()],i={};return t.forEach(t=>{(0,R.partialMatchKey)(e,t.queryKey)&&Object.assign(i,t.defaultOptions)}),i}setMutationDefaults(e,t){this.#l.set((0,R.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],i={};return t.forEach(t=>{(0,R.partialMatchKey)(e,t.mutationKey)&&Object.assign(i,t.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,R.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===R.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#r.clear(),this.#a.clear()}},G=e.i(12598);function V({children:e}){let s=(0,i.useRef)(new W({defaultOptions:{mutations:{retry:!1},queries:{retry:!1,staleTime:1e4}}}));return(0,t.jsx)(G.QueryClientProvider,{client:s.current,children:e})}var Z=e.i(22727);e.s(["RootProviders",0,function({children:e,initialLocale:i}){return(0,t.jsx)(Z.ThemeProvider,{children:(0,t.jsxs)(V,{children:[(0,t.jsx)(D.SnackbarProvider,{...F}
1),(0,t.jsx)(I.LocalizationProvider,{initialLocale:i,children:e})]})})}],82010)},89983,e=>{"use strict";var t=e.i(43476),i=e.i(71645),s=e.i(3303),r=e.i(64867);let a=` 2 (function overrideStyles() { 3 const iframe = document.querySelector('#iubenda-iframe'); 4 if (!iframe) return; 5 const elements = [ 6 iframe.querySelector('#purposes-content-container'), 7 iframe.querySelector('#purposes-container'), 8 iframe.querySelector('.iub-consent-buttons'), 9 ...iframe.querySelectorAll('.purposes-item-header'), 10 ]; 11 elements.forEach(function(el) { 12 if (!el) return; 13 el.removeAttribute('style'); 14 el.setAttribute('style', 'background: #d7dceb !important; box-shadow: none !important;'); 15 }); 16 })(); 17`,n=` 18{ 19 onCookiePolicyShown: function () { 20 ${a} 21 }, 22 onPreferenceExpressedOrNotNeeded: function(preference) { 23 window.dataLayer.push({ 24 iubenda_ccpa_opted_out: _iub.cs.api.isCcpaOptedOut(), 25 }); 26 if (!preference) { 27 window.dataLayer.push({ 28 event: 'iubenda_preference_not_needed', 29 }); 30 } else if (preference.consent === true) { 31 window.dataLayer.push({ 32 event: 'iubenda_consent_given', 33 }); 34 } else if (preference.consent === false) { 35 window.dataLayer.push({ 36 event: 'iubenda_consent_rejected', 37 }); 38 } else if (preference.purposes) { 39 for (var purposeId in preference.purposes) { 40 if (preference.purposes[purposeId]) { 41 window.dataLayer.push({ 42 event: 'iubenda_consent_given_purpose_' + purposeId, 43 }); 44 } 45 } 46 } 47 } 48} 49`;e.s(["Iubenda",0,function(){var e;return(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)(s.default,{dangerouslySetInnerHTML:{__html:` 50 var _iub = _iub || []; 51 _iub.csConfiguration = ${(e=r.websiteConfigBrowser.iubenda.siteId,JSON.stringify({banner:{acceptButtonColor:"#ff2d00",acceptButtonDisplay:!0,backgroundColor:"#d7dceb",content:'<p id="iubenda-cs-content-text">This website uses Cookies to keep it secure and make sure it functions properly. Weâd also like your consent to use Cookies that help us improve user experience and display content and information thatâs more relevant to you. By clicking "Accept" you agree to Noah using Cookies for the purposes outlined in our %{cookie_policy_link}</p>',customizeButtonCaptionColor:"#191919",customizeButtonColor:"#d7dceb",customizeButtonDisplay:!0,position:"float-bottom-right",rejectButtonColor:"#ff2d00",rejectButtonDisplay:!0,textColor:"#191919"},ccpaAcknowledgeOnDisplay:!0,consentOnContinuedBrowsing:!1,cookiePolicyId:r.websiteConfigBrowser.iubenda.cookiePolicyId,cookiePolicyInOtherWindow:!0,cookiePolicyUrl:"/cookie-policy",countryDetection:!0,enableCcpa:!0,floatingPreferencesButtonHover:!0,floatingPreferencesButtonIcon:!0,lang:"en-GB",perPurposeConsent:!0,privacyPolicyUrl:"/privacy-notice",siteId:e}))}; 52 _iub.csConfiguration.callback = ${n} 53 `},id:"iubenda-config"}),(0,t.jsx)(s.default,{async:!0,src:"//cdn.iubenda.com/cs/ccpa/stub.js",type:"text/javascript"},"iubenda-stub"),(0,t.jsx)(s.default,{async:!0,src:"//cdn.iubenda.com/cs/iubenda_cs.js",type:"text/javascript"},"iubenda-script")]})}])},50394,e=>{"use strict";e.s(["isUndefinedOrNull",0,function(e){return null==e}])},92571,e=>{"use strict";var t=e.i(19273);function i(e,{pages:t,pageParams:s}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,s[r],s):void 0}function s(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}e.s(["hasNextPage",0,function(e,t){return!!t&&null!=i(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=s(e,t)},"infiniteQueryBehavior",0,function(e){return{onFetch:(r,a)=>{let n=r.options,o=r.fetchOptions?.meta?.fetchMore?.direction,l=r.state.data?.pages||[],u=r.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let a=!1,d=(0,t.ensureQueryFn)(r.options,r.fetchOptions),p=async(e,i,s)=>{let n;if(a)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let o=(n={client:r.client,queryKey:r.queryKey,pageParam:i,direction:s?"backward":"forward",meta:r.options.meta},(0,t.addConsumeAwareSignal)(n,()=>r.signal,()=>
53a=!0),n),l=await d(o),{maxPages:u}=r.options,c=s?t.addToStart:t.addToEnd;return{pages:c(e.pages,l,u),pageParams:c(e.pageParams,i,u)}};if(o&&l.length){let e="backward"===o,t={pages:l,pageParams:u},r=(e?s:i)(n,t);c=await p(t,r,e)}else{let t=e??l.length;do{let e=0===h?u[0]??n.initialPageParam:i(n,c);if(h>0&&null==e)break;c=await p(c,e),h++}while(h<t)}return c};r.options.persister?r.fetchFn=()=>r.options.persister?.(d,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a):r.fetchFn=d}}}])},86491,e=>{"use strict";e.i(47167);var t=e.i(19273),i=e.i(40143),s=e.i(36553),r=e.i(88587),a=class extends r.Removable{#d;#p;#f;#y;#m;#n;#g;constructor(e){super(),this.#g=!1,this.#n=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#y=e.client,this.#f=this.#y.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#d=l(this.options),this.state=e.state??this.#d,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#m?.promise}setOptions(e){if(this.options={...this.#n,...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.#d=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#f.remove(this)}setData(e,i){let s=(0,t.replaceData)(this.state.data,e,this.options);return this.#v({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(e,t){this.#v({type:"setState",state:e,setStateOptions:t})}cancel(e){let i=this.#m?.promise;return this.#m?.cancel(e),i?i.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#d)}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.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.#m?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#m?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#f.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.#m&&(this.#g?this.#m.cancel({revert:!0}):this.#m.cancelRetry()),this.scheduleGc()),this.#f.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#v({type:"invalidate"})}async fetch(e,i){let r;if("idle"!==this.state.fetchStatus&&this.#m?.status()!=="rejected"){if(void 0!==this.state.data&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#m)return this.#m.continueRetry(),this.#m.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let a=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#g=!0,a.signal)})},o=()=>{let e,s=(0,t.ensureQueryFn)(this.options,i),r=(n(e={client:this.#y,queryKey:this.queryKey,meta:this.meta}),e);return(this.#g=!1,this.options.persister)?this.options.persister(s,r,this):s(r)},l=(n(r={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#y,state:this.state,fetchFn:o}),r);this.options.behavior?.onFetch(l,this),this.#p=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#v({type:"fetch",meta:l.fetchOptions?.meta}),this.#m=(0,s.createRetryer)({initialPromise:i?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof s.CancelledError&&e.revert&&this.setState({...this.#p,fetchStatus:"idle"}),a.abort()},onFail:(e,t)=>{this.#v({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#v({type:"pause"})},onContinue:()=>{this.#v({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#m.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#f.config.onSuccess?.(e,this),this.#f.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof s.CancelledError){if(e.silent)return this.#m.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#v({type:"error",error:e}),this.#f.config.onError?.(e,this),this.#f.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#v(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,...n(t.data,this.options),fetchMeta:e.meta??null};case"success":let i={...t,...o(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#p=e.manual?i:void 0,i;case"error":let s=e.error;
53return{...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),i.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#f.notify({query:this,type:"updated",action:e})})}};function n(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,i=void 0!==t,s=i?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,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"}}e.s(["Query",0,a,"fetchState",0,n])},1048,e=>{"use strict";let t=(0,e.i(75254).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CircleCheck",0,t],1048)}]);
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.