1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,618566,(e,t,r)=>{t.exports=e.r(976562)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return u}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=e.r(190809)._(e.r(998183)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,i=e.protocol||"",n=e.pathname||"",o=e.hash||"",u=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=String(s.urlQueryToSearchParams(u)));let l=e.search||u&&`?${u}`||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||a.test(i))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),l&&"?"!==l[0]&&(l="?"+l),n=n.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),`${i}${c}${n}${l}${o}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let i=e.r(271645);function n(e,t){let r=(0,i.useRef)(null),n=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=s(e,i)),t&&(n.current=s(t,i))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let i=e.r(718967),n=e.r(652817);function s(e){if(!(0,i.isAbsoluteUrl)(e))return!0;try{let t=(0,i.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return i}});let i=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return v},useLinkStatus:function(){return b}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=e.r(190809),a=e.r(843476),o=s._(e.r(271645)),u=e.r(195057),c=e.r(8372),l=e.r(818581),h=e.r(718967),f=e.r(405550);e.r(233525);let d=e.r(388540),p=e.r(91949),m=e.r(573668),y=e.r(509396);function v(t){var r,i;let n,s,v,[b,P]=(0,o.useOptimistic)(p.IDLE_LINK_STATUS),S=(0,o.useRef)(null),{href:w,as:C,children:O,prefetch:T=null,passHref:R,replace:x,shallow:E,scroll:j,onClick:F,onMouseEnter:k,onTouchStart:A,legacyBehavior:I=!1,onNavigate:L,transitionTypes:M,ref:q,unstable_dynamicOnHover:U,..._}=t;n=O,I&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let D=o.default.useContext(c.AppRouterContext),K=!1!==T,N=!1!==T?null===(i=T)||"auto"===i?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,$="string"==typeof(r=C||w)?r:(0,u.formatUrl)(r);if(I){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(n)}let B=I?s&&"object"==typeof s&&s.ref:q,z=o.default.useCallback(e=>(null!==D&&(S.current=(0,p.mountLinkInstance)(e,$,D,N,K,P)),()=>{S.current&&((0,p.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,p.unmountPrefetchableInstance)(e)}),[K,$,D,N,P]),G={ref:(0,l.useMergedRef)(z,B),onClick(t){I||"function"!=typeof F||F(t),I&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!D||t.defaultPrevented||function(t,r,i,n,s,a,u){if("u">typeof window){let c,{nodeName:l}=t.currentTarget;if("A"===l.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;
1if(!(0,m.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:h}=e.r(699781);o.default.startTransition(()=>{h(r,n?"replace":"push",!1===s?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,i.current,u)})}}(t,$,S,x,j,L,M)},onMouseEnter(e){I||"function"!=typeof k||k(e),I&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),D&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){I||"function"!=typeof A||A(e),I&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),D&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,h.isAbsoluteUrl)($)?G.href=$:I&&!R&&("a"!==s.type||"href"in s.props)||(G.href=(0,f.addBasePath)($)),v=I?o.default.cloneElement(s,G):(0,a.jsx)("a",{..._,...G,children:n}),(0,a.jsx)(g.Provider,{value:b,children:v})}e.r(284508);let g=(0,o.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(618566),i=e.i(271645),n=e.i(861745),s=e.i(247167);function a(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===s.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...i]=e.split("#"),n=i.join("#"),a=r;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return n&&(a+="#"+n),a}function l(e,t){let r,i=c(e),n=c(t);return(r=i.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(n)}function h(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function d(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function m(e){return e.includes("[")}function y(e,t){let r=e.split("/"),i=t.split("/"),n=Math.max(r.length,i.length);for(let e=0;e<n;e++){let t=r[e],n=i[e];if(!t&&n)return -1;if(t&&!n)return 1;if(t||n){if(!m(t)&&m(n))return -1;if(m(t)&&!m(n))return 1;if(!p(t)&&p(n))return -1;if(p(t)&&!p(n))return 1;if(!d(t)&&d(n))return -1;if(d(t)&&!d(n))return 1}}return 0}function v(e){return e.sort(y)}function g(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))Array.isArray(i)?i.forEach(e=>{t.append(r,String(e))}):t.set(r,String(i));return"?"+t.toString()}function b(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function P(e,t,r,i){if(!e||i===r||null==i||!t)return;let n=b(t),{name:s,...a}=e;a.path||(a.path=""!==n?n:"/");let o=`${s}=${i};`;for(let[e,t]of Object.entries(a))o+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(o+="="+t),o+=";";document.cookie=o}e.s(["getLocaleAsPrefix",0,f,"getLocalePrefix",0,h,"getLocalizedTemplate",0,u,"getSortedPathnames",0,v,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,a,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,l,"normalizeTrailingSlash",0,c,"prefixPathname",0,o,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],549092),e.s(["applyPathnamePrefix",0,function(e,t,r,i){let n,{mode:s}=r.localePrefix;if(void 0!==i)n=i;else if(a(e)){let e=r.domains?.find(e=>e.locales.includes(t)),i=e?.localePrefix||s;"always"===i?n=!0:"as-needed"===i&&(n=e?t!==e.defaultLocale:t!==r.defaultLocale)}return n?o(h(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:i,query:n}){function s(e){let s,a=i[e];return a?(s=u(a,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,i;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,i=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,i=String(t)),s=s.replace(RegExp(r,"g"),i)}),s=new URL(s=s.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):s=e,s=c(s),n&&(s+=g(n)),s}if("string"==typeof e)return s(e);{let{pathname:t,...r}=e;return{...r,pathname:s(t)}}},"getBasePath",0,b,"getRoute",0,function(e,t,r){let i=v(Object.keys(r)),n=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if(l(i,n))return t}else if(l(u(i,e,t),n))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e}
1,"serializeSearchParams",0,g],489790),e.s(["default",0,P],33165);var S=e.i(843476),w=(0,i.forwardRef)(function({href:e,locale:i,localeCookie:s,onClick:a,prefetch:o,...u},c){let l=(0,n.useLocale)(),h=null!=i&&i!==l,f=(0,r.usePathname)();return h&&(o=!1),(0,S.jsx)(t.default,{ref:c,href:e,hrefLang:h?i:void 0,onClick:function(e){P(s,f,l,i),a&&a(e)},prefetch:o,...u})});e.s(["default",0,w],77105)},160889,e=>{"use strict";e.s(["routing",0,{locales:["en","ar"],defaultLocale:"en",localePrefix:"as-needed",localeDetection:!1}],160889)},456904,e=>{"use strict";var t=e.i(618566),r=e.i(271645),i=e.i(861745),n=r["use".trim()],s=e.i(549092),a=e.i(77105),o=e.i(489790),u=e.i(843476),c=e.i(33165);let{Link:l,redirect:h,usePathname:f,useRouter:d,getPathname:p}=function(e){let{Link:l,config:h,getPathname:f,...d}=function(e,i){var c,l,h;let f={...c=i||{},localePrefix:"object"==typeof(h=c.localePrefix)?h:{mode:h||"always"},localeCookie:!!((l=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},d=f.pathnames,p=(0,r.forwardRef)(function({href:t,locale:r,...i},o){let c,l;"object"==typeof t?(c=t.pathname,l=t.params):c=t;let h=(0,s.isLocalizableHref)(t),p=e(),y=(0,s.isPromise)(p)?n(p):p,v=h?m({locale:r||y,href:null==d?c:{pathname:c,params:l},forcePrefix:null!=r||void 0}):c;return(0,u.jsx)(a.default,{ref:o,href:"object"==typeof t?{...t,pathname:v}:v,locale:r,localeCookie:f.localeCookie,...i})});function m(e){let t,{forcePrefix:r,href:i,locale:n}=e;return null==d?"object"==typeof i?(t=i.pathname,i.query&&(t+=(0,o.serializeSearchParams)(i.query))):t=i:t=(0,o.compileLocalizedPathname)({locale:n,...(0,o.normalizeNameOrNameWithParams)(i),pathnames:f.pathnames}),(0,o.applyPathnamePrefix)(t,n,f,r)}function y(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:p,redirect:y(t.redirect),permanentRedirect:y(t.permanentRedirect),getPathname:m}}(i.useLocale,e);return{...d,Link:l,usePathname:function(){let e,n,a=(e=(0,t.usePathname)(),n=(0,i.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,s.getLocalePrefix)(n,h.localePrefix);if((0,s.hasPathnamePrefixed)(r,e))t=(0,s.unprefixPathname)(e,r);else if("never"!==h.localePrefix.mode&&h.localePrefix.prefixes){let r=(0,s.getLocaleAsPrefix)(n);(0,s.hasPathnamePrefixed)(r,e)&&(t=(0,s.unprefixPathname)(e,r))}return t},[h.localePrefix,n,e])),u=(0,i.useLocale)();return(0,r.useMemo)(()=>a&&h.pathnames?(0,o.getRoute)(u,a,h.pathnames):a,[u,a])},useRouter:function(){let e=(0,t.useRouter)(),n=(0,i.useLocale)(),s=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:i,...a}=r||{},o=[f({href:t,locale:i||n,forcePrefix:null!=i||void 0})];Object.keys(a).length>0&&o.push(a),(0,c.default)(h.localeCookie,s,n,i),e(...o)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[n,s,e])},getPathname:f}}(e.i(160889).routing);e.s(["Link",0,l,"usePathname",0,f,"useRouter",0,d],456904)},286491,e=>{"use strict";e.i(247167);var t=e.i(619273),r=e.i(540143),i=e.i(936553),n=e.i(88587);function s(e,{pages:t,pageParams:r}){let i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}var a=class extends n.Removable{#e;#t;#r;#i;#n;#s;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#i=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=c(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=c(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#i.remove(this)}setData(e,r){let i=(0,t.replaceData)(this.state.data,e,this.options);return this.#u({data:i,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),i}setState(e){this.#u({type:"setState",state:e})}cancel(e){let r=this.#s?.promise;return this.#s?.cancel(e),r?r.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveQueryBoolean)(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.errorUpdate
1Count>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.#s?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#i.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.#s&&(this.#o||this.#c()?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,r){var n;let a;if("idle"!==this.state.fetchStatus&&this.#s?.status()!=="rejected"){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let o=new AbortController,u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,o.signal)})},c=()=>{let e,i=(0,t.ensureQueryFn)(this.options,r),n=(u(e={client:this.#n,queryKey:this.queryKey,meta:this.meta}),e);return(this.#o=!1,this.options.persister)?this.options.persister(i,n,this):i(n)},l=(u(a={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:c}),a),h="infinite"===this.#e?(n=this.options.pages,{onFetch:(e,r)=>{let i=e.options,a=e.fetchOptions?.meta?.fetchMore?.direction,o=e.state.data?.pages||[],u=e.state.data?.pageParams||[],c={pages:[],pageParams:[]},l=0,h=async()=>{let r=!1,h=(0,t.ensureQueryFn)(e.options,e.fetchOptions),f=async(i,n,s)=>{let a;if(r)return Promise.reject(e.signal.reason);if(null==n&&i.pages.length)return Promise.resolve(i);let o=(a={client:e.client,queryKey:e.queryKey,pageParam:n,direction:s?"backward":"forward",meta:e.options.meta},(0,t.addConsumeAwareSignal)(a,()=>e.signal,()=>r=!0),a),u=await h(o),{maxPages:c}=e.options,l=s?t.addToStart:t.addToEnd;return{pages:l(i.pages,u,c),pageParams:l(i.pageParams,n,c)}};if(a&&o.length){let e="backward"===a,t={pages:o,pageParams:u},r=(e?function(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}:s)(i,t);c=await f(t,r,e)}else{let e=n??o.length;do{let e=0===l?u[0]??i.initialPageParam:s(i,c);if(l>0&&null==e)break;c=await f(c,e),l++}while(l<e)}return c};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r):e.fetchFn=h}}):this.options.behavior;h?.onFetch(l,this),this.#r=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#u({type:"fetch",meta:l.fetchOptions?.meta}),this.#s=(0,i.createRetryer)({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof i.CancelledError&&e.revert&&this.setState({...this.#r,fetchStatus:"idle"}),o.abort()},onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#s.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#i.config.onSuccess?.(e,this),this.#i.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof i.CancelledError){if(e.silent)return this.#s.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#u({type:"error",error:e}),this.#i.config.onError?.(e,this),this.#i.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#u(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,...o(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?r:void 0,r;case"error":let i=e.error;
1return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,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.#i.notify({query:this,type:"updated",action:e})})}};function o(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(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,i=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??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,a,"fetchState",0,o],286491)},647554,e=>{"use strict";var t=e.i(229315);e.s(["activeElement",0,function(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t},"contains",0,function(e,r){if(!e||!r)return!1;let i=r.getRootNode?.();if(e.contains(r))return!0;if(i&&(0,t.isShadowRoot)(i)){let t=r;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1},"getTarget",0,function(e){return"composedPath"in e?e.composedPath()[0]:e.target}])},108868,e=>{"use strict";e.s(["ownerDocument",0,function(e){return e?.ownerDocument||document}])},626300,e=>{"use strict";var t=e.i(271645);let r=[];e.s(["useOnMount",0,function(e){t.useEffect(e,r)}])},439957,e=>{"use strict";var t=e.i(388940),r=e.i(626300);class i{static create(){return new i}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}e.s(["Timeout",0,i,"useTimeout",0,function(){let e=(0,t.useRefWithInit)(i.create).current;return(0,r.useOnMount)(e.disposeEffect),e}])},883977,e=>{"use strict";var t=e.i(271645),r=e.i(214553);let i=0,n=r.SafeReact.useId;e.s(["useId",0,function(e,r){if(void 0!==n){let t=n();return e??(r?`${r}-${t}`:t)}return function(e,r="mui"){let[n,s]=t.useState(e),a=e||n;return t.useEffect(()=>{null==n&&(i+=1,s(`${r}-${i}`))},[n,r]),a}(e,r)}])},675606,e=>{"use strict";var t=e.i(956789);e.s(["createChangeEventDetails",0,function(e,r,i,n){let s=!1,a=!1,o=n??t.EMPTY_OBJECT;return{reason:e,event:r??new Event("base-ui"),cancel(){s=!0},allowPropagation(){a=!0},get isCanceled(){return s},get isPropagationAllowed(){return a},trigger:i,...o}}])},56434,e=>{"use strict";e.s(["cancelOpen",0,"cancel-open","chipRemovePress",0,"chip-remove-press","clearPress",0,"clear-press","closePress",0,"close-press","closeWatcher",0,"close-watcher","decrementPress",0,"decrement-press","disabled",0,"disabled","drag",0,"drag","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","incrementPress",0,"increment-press","initial",0,"initial","inputBlur",0,"input-blur","inputChange",0,"input-change","inputClear",0,"input-clear","inputPaste",0,"input-paste","inputPress",0,"input-press","itemPress",0,"item-press","keyboard",0,"keyboard","linkPress",0,"link-press","listNavigation",0,"list-navigation","missing",0,"missing","none",0,"none","outsidePress",0,"outside-press","pointer",0,"pointer","scrub",0,"scrub","siblingOpen",0,"sibling-open","swipe",0,"swipe","trackPress",0,"track-press","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press","wheel",0,"wheel","windowResize",0,"window-resize"],216856);var t=e.i(216856);e.s(["REASONS",0,t],56434)},708445,e=>{"use strict";var t=e.i(388940),r=e.i(626300);let i=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r<t.length;r+=1)t[r]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};
1class n{static create(){return new n}static request(e){return i.request(e)}static cancel(e){return i.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=i.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(i.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}e.s(["AnimationFrame",0,n,"useAnimationFrame",0,function(){let e=(0,t.useRefWithInit)(n.create).current;return(0,r.useOnMount)(e.disposeEffect),e}])},223910,e=>{"use strict";var t=e.i(271645),r=e.i(146376),i=e.i(708445);e.s(["useTransitionStatus",0,function(e,n=!1,s=!1){let[a,o]=t.useState(e&&n?"idle":void 0),[u,c]=t.useState(e);return e&&!u&&(c(!0),o("starting")),e||!u||"ending"===a||s||o("ending"),e||u||"ending"!==a||o(void 0),(0,r.useIsoLayoutEffect)(()=>{if(!e&&u&&"ending"!==a&&s){let e=i.AnimationFrame.request(()=>{o("ending")});return()=>{i.AnimationFrame.cancel(e)}}},[e,u,a,s]),(0,r.useIsoLayoutEffect)(()=>{if(!e||n)return;let t=i.AnimationFrame.request(()=>{o(void 0)});return()=>{i.AnimationFrame.cancel(t)}},[n,e]),(0,r.useIsoLayoutEffect)(()=>{if(!e||!n)return;e&&u&&"idle"!==a&&o("starting");let t=i.AnimationFrame.request(()=>{o("idle")});return()=>{i.AnimationFrame.cancel(t)}},[n,e,u,a]),{mounted:u,setMounted:c,transitionStatus:a}}])},594603,e=>{"use strict";e.s(["resolveRef",0,function(e){return null==e?e:"current"in e?e.current:e}])},209407,e=>{"use strict";var t;let r=((t={}).startingStyle="data-starting-style",t.endingStyle="data-ending-style",t),i={[r.startingStyle]:""},n={[r.endingStyle]:""};e.s(["TransitionStatusDataAttributes",0,r,"transitionStatusMapping",0,{transitionStatus:e=>"starting"===e?i:"ending"===e?n:null}])},137584,222640,e=>{"use strict";var t=e.i(271645),r=e.i(667865),i=e.i(174080),n=e.i(708445),s=e.i(594603),a=e.i(209407);function o(e,t=!1,u=!0){let c=(0,n.useAnimationFrame)();return(0,r.useStableCallback)((r,n=null)=>{c.cancel();let o=(0,s.resolveRef)(e);if(null==o)return;let l=()=>{i.flushSync(r)};if("function"!=typeof o.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void r();function h(){Promise.all(o.getAnimations().map(e=>e.finished)).then(()=>{n?.aborted||l()}).catch(()=>{if(u){n?.aborted||l();return}let e=o.getAnimations();!n?.aborted&&e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&h()})}if(t){let e=a.TransitionStatusDataAttributes.startingStyle;if(!o.hasAttribute(e))return void c.request(h);let t=new MutationObserver(()=>{o.hasAttribute(e)||(t.disconnect(),h())});return t.observe(o,{attributes:!0,attributeFilter:[e]}),void n?.addEventListener("abort",()=>t.disconnect(),{once:!0})}c.request(h)})}e.s(["useAnimationsFinished",0,o],222640),e.s(["useOpenChangeComplete",0,function(e){let{enabled:i=!0,open:n,ref:s,onComplete:a}=e,u=(0,r.useStableCallback)(a),c=o(s,n,!1);t.useEffect(()=>{if(!i)return;let e=new AbortController;return c(u,e.signal),()=>{e.abort()}},[i,n,u,c])}],137584)},788015,e=>{"use strict";var t=e.i(883977);e.s(["useBaseUiId",0,function(e){return(0,t.useId)(e,"base-ui")}])},502077,e=>{"use strict";let t={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},r={...t,position:"fixed",top:0,left:0},i={...t,position:"absolute"};e.s(["visuallyHidden",0,r,"visuallyHiddenInput",0,i])},333848,e=>{"use strict";var t=e.i(229315);e.s(["ownerWindow",()=>t.getWindow])},912598,e=>{"use strict";var t=e.i(271645),r=e.i(843476),i=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:n})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(i.Provider,{value:e,children:n})),"useQueryClient",0,e=>{let r=t.useContext(i);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},180166,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{#l=t;#h=!1;setTimeoutProvider(e){this.#l=e}setTimeout(e,t){return this.#l.setTimeout(e,t)}clearTimeout(e){this.#l.clearTimeout(e)}setInterval(e,t){return this.#l.setInterval(e,t)}clearInterval(e){this.#l.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,r])},273911,619273,e=>{"use strict";let t;e.i(247167);var r=e.i(180166),i="u"<typeof window||"Deno"in globalThis;function n(e,t){return(t?.queryKeyHashFn||s)(e)}function s(e){return JSON.stringify(e,(e,t)=>c(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function a(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>a(e[r],t[r]))}var o=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function c(e){if(!l(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!l(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}var h=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,r){let i,n=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),n||(n=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)}),e},"addToEnd",0,function(e,t,r=0){let i=[...e,t];return r&&i.length>r?i.slice(1):i},"addToStart",0,function(e,t,r=0){let i=[t,...e];return r&&i.length>r?i.slice(0,-1):i},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==h?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,s,"hashQueryKeyByOptions",0,n,"isServer",0,i,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"matchMutation",0,function(e,t){let{exact:r,status:i,predicate:n,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(s(t.options.mutationKey)!==s(o))return!1}else if(!a(t.options.mutationKey,o))return!1}return(!i||t.state.status===i)&&(!n||!!n(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:i,fetchStatus:s,predicate:o,queryKey:u,stale:c}=e;if(u){if(i){if(t.queryHash!==n(u,t.options))return!1}else if(!a(t.queryKey,u))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof c||t.isStale()===c)&&(!s||s===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,a,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r,i=0){if(t===r)return t;if(i>500)return r;let n=u(t)&&u(r);
1if(!n&&!(c(t)&&c(r)))return r;let s=(n?t:Object.keys(t)).length,a=n?r:Object.keys(r),l=a.length,h=n?Array(l):{},f=0;for(let u=0;u<l;u++){let c=n?u:a[u],l=t[c],d=r[c];if(l===d){h[c]=l,(n?u<s:o.call(t,c))&&f++;continue}if(null===l||null===d||"object"!=typeof l||"object"!=typeof d){h[c]=d;continue}let p=e(l,d,i+1);h[c]=p,p===l&&f++}return s===l&&f===s?t:h}(e,t):t},"resolveQueryBoolean",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,h,"sleep",0,function(e){return new Promise(t=>{r.timeoutManager.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],619273);var f=(t=()=>i,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,f],273911)},540143,e=>{"use strict";let t,r,i,n,s,a;var o=e.i(180166).systemSetTimeoutZero,u=(t=[],r=0,i=e=>{e()},n=e=>{e()},s=o,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&s(()=>{n(()=>{e.forEach(e=>{i(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):s(()=>{i(e)})},setNotifyFunction:e=>{i=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{s=e}});e.s(["notifyManager",0,u])},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=new class extends t{#f;#d;#p;constructor(){super(),this.#p=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#d||this.setEventListener(this.#p)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(e){this.#p=e,this.#d?.(),this.#d=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#f!==e&&(this.#f=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#f?this.#f:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,r],175555)},936553,814448,793803,e=>{"use strict";var t=e.i(175555),r=e.i(915823),i=new class extends r.Subscribable{#m=!0;#d;#p;constructor(){super(),this.#p=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.#d||this.setEventListener(this.#p)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(e){this.#p=e,this.#d?.(),this.#d=e(this.setOnline.bind(this))}setOnline(e){this.#m!==e&&(this.#m=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#m}};e.s(["onlineManager",0,i],814448);var n=e.i(619273);function s(){let e,t,r=new Promise((r,i)=>{e=r,t=i});function i(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{i({status:"fulfilled",value:t}),e(t)},r.reject=e=>{i({status:"rejected",reason:e}),t(e)},r}e.s(["pendingThenable",0,s],793803);var a=e.i(273911);function o(e){return Math.min(1e3*2**e,3e4)}function u(e){return(e??"online")!=="online"||i.isOnline()}var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,c,"canFetch",0,u,"createRetryer",0,function(e){let r,l=!1,h=0,f=s(),d=()=>t.focusManager.isFocused()&&("always"===e.networkMode||i.isOnline())&&e.canRun(),p=()=>u(e.networkMode)&&e.canRun(),m=e=>{"pending"===f.status&&(r?.(),f.resolve(e))},y=e=>{"pending"===f.status&&(r?.(),f.reject(e))},v=()=>new Promise(t=>{r=e=>{("pending"!==f.status||d())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,"pending"===f.status&&e.onContinue?.()}),g=()=>{let t;if("pending"!==f.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"!==f.status)return;let r=e.retry??3*!a.environmentManager.isServer(),i=e.retryDelay??o,s="function"==typeof i?i(h,t):i,u=!0===r||"number"==typeof r&&h<r||"function"==typeof r&&r(h,t);l||!u?y(t):(h++,e.onFail?.(h,t),(0,n.sleep)(s).then(()=>d()?void 0:v()).then(()=>{l?y(t):g()}))})};return{promise:f,status:()=>f.status,cancel:t=>{if("pending"===f.status){let r=new c(t);y(r),e.onCancel?.(r)}},continue:()=>(r?.(),f),cancelRetry:()=>{l=!0},continueRetry:()=>{l=!1},canStart:p,start:()=>(p()?g():v().then(g),f)}}],936553)},88587,e=>{"use strict";var t=e.i(180166),r=e.i(273911),i=e.i(619273),n=class{#y;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.isValidTimeout)(this.gcTime)&&(this.#y=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#y&&(t.timeoutManager.clearTimeout(this.#y),this.#y=void 0)}};e.s(["Removable",0,n])},114272,e=>{"use strict";var t=e.i(540143),r=e.i(88587),i=e.i(936553),n=class extends r.Removable{#n;#v;#g;#s;constructor(e){super(),this.#n=e.client,this.mutationId=e.mutationId,this.#g=e.mutationCache,this.#v=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#v.includes(e)||(this.#v.push(e),this.clearGcTimeout(),this.#g.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#v=this.#v.filter(t=>t!==e),this.scheduleGc(),this.#g.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#v.length||("pending"===this.state.status?this.scheduleGc():this.#g.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#u({type:"continue"})},r={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=(0,i.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#u({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#u({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#g.canRun(this)});
1let n="pending"===this.state.status,s=!this.#s.canStart();try{if(n)t();else{this.#u({type:"pending",variables:e,isPaused:s}),this.#g.config.onMutate&&await this.#g.config.onMutate(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#u({type:"pending",context:t,variables:e,isPaused:s})}let i=await this.#s.start();return await this.#g.config.onSuccess?.(i,e,this.state.context,this,r),await this.options.onSuccess?.(i,e,this.state.context,r),await this.#g.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(i,null,e,this.state.context,r),this.#u({type:"success",data:i}),i}catch(t){try{await this.#g.config.onError?.(t,e,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,r)}catch(e){Promise.reject(e)}try{await this.#g.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,r)}catch(e){Promise.reject(e)}throw this.#u({type:"error",error:t}),t}finally{this.#g.runNext(this)}}#u(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#v.forEach(t=>{t.onMutationUpdate(e)}),this.#g.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,n,"getDefaultState",0,s])}]);
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.