PageSourceSearch

https://useotto.xyz/_next/static/chunks/173-281cad622076a695.js?dpl=dpl_4QhMdhuCuJMCqmvJftFE97Zk4aar

js useotto.xyz collected 2026-09-30 18:31:44 UTC 22,401 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[173],{39033:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(212115);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},54416:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(819946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},63540:(e,t,r)=>{r.d(t,{sG:()=>u,hO:()=>c});var n=r(212115),s=r(447650),i=r(406101),a=r(695155),o=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...s}=e;if(n.isValidElement(r)){var a;let e,o,l=(a=r,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...e)=>{let t=i(...e);return s(...e),t}:s&&(r[n]=s):"style"===n?r[n]={...s,...i}:"className"===n&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:s,...i}=e,o=n.Children.toArray(s),u=o.find(l);if(u){let e=u.props.children,s=o.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,s):null})}return(0,a.jsx)(t,{...i,ref:r,children:s})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),s=n.forwardRef((e,n)=>{let{asChild:s,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s?r:t,{...i,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function c(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}},135695:(e,t,r)=>{var n=r(118999);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},185185:(e,t,r)=>{r.d(t,{mK:()=>s});var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},202564:(e,t,r)=>{r.d(t,{bL:()=>l,s6:()=>o});var n=r(212115),s=r(63540),i=r(695155),a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),o=n.forwardRef((e,t)=>(0,i.jsx)(s.sG.span,{...e,ref:t,style:{...a,...e.style}}));o.displayName="VisuallyHidden";var l=o},328905:(e,t,r)=>{r.d(t,{C:()=>a});var n=r(212115),s=r(406101),i=r(952712),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[s,a]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=o(l.current);c.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,s=o(t);e?h("MOUNT"):"none"===s||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):r&&n!==s?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,i.N)(()=>{if(s){var e;let t,r=null!=(e=s.ownerDocument.defaultView)?e:window,n=e=>{let n=o(l.current).includes(CSS.escape(e.animationName));if(e.target===s&&n&&(h("ANIMATION_END"),!u.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},i=e=>{e.target===s&&(c.current=o(l.current))};return s.addEventListener("animationstart",i),s.addEventListener("animationcancel",n),s.addEventListener("animationend",n),()=>{r.clearTimeout(t),s.removeEventListener("animationstart",i),s.removeEventListener("animationcancel",n),s.removeEventListener("animationend",n)}}h("ANIMATION_END")},[s,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(t),l="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),u=(0,s.s)(a.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,s=n&&"isReactWarning"in n&&n.isReactWarning;return s?e.ref:(s=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof r||a.isPresent?n.cloneElement(l,{ref:u}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},374466:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(752596);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let i=s(t)||s(n);return a[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>
1{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...u}[t]):({...o,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},406101:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>i});var n=r(212115);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},519178:(e,t,r)=>{r.d(t,{lg:()=>y,qW:()=>h,bL:()=>v});var n,s=r(212115),i=r(185185),a=r(63540),o=r(406101),l=r(39033),u=r(695155),c="dismissableLayer.update",d=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=s.forwardRef((e,t)=>{var r,h;let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:g,onDismiss:w,...E}=e,C=s.useContext(d),[S,O]=s.useState(null),N=null!=(h=null==S?void 0:S.ownerDocument)?h:null==(r=globalThis)?void 0:r.document,[,T]=s.useState({}),P=(0,o.s)(t,e=>O(e)),R=Array.from(C.layers),[A]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),D=R.indexOf(A),L=S?R.indexOf(S):-1,k=C.layersWithOutsidePointerEventsDisabled.size>0,M=L>=D,F=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,l.c)(e),i=s.useRef(!1),a=s.useRef(()=>{});return s.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){p("dismissableLayer.pointerDownOutside",n,s,{discrete:!0})},s={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",a.current),a.current=t,r.addEventListener("click",a.current,{once:!0})):t()}else r.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",a.current)}},[r,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...C.branches].some(e=>e.contains(t));M&&!r&&(null==y||y(e),null==g||g(e),e.defaultPrevented||null==w||w())},N),U=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,l.c)(e),i=s.useRef(!1);return s.useEffect(()=>{let e=e=>{e.target&&!i.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==b||b(e),null==g||g(e),e.defaultPrevented||null==w||w())},N);return!function(e,t=globalThis?.document){let r=(0,l.c)(e);s.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{L===C.layers.size-1&&(null==v||v(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},N),s.useEffect(()=>{if(S)return f&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(n=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(S)),C.layers.add(S),m(),()=>{f&&1===C.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=n)}},[S,N,f,C]),s.useEffect(()=>()=>{S&&(C.layers.delete(S),C.layersWithOutsidePointerEventsDisabled.delete(S),m())},[S,C]),s.useEffect(()=>{let e=()=>T({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...E,ref:P,style:{pointerEvents:k?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,U.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,F.onPointerDownCapture)})});h.displayName="DismissableLayer";var f=s.forwardRef((e,t)=>
1{let r=s.useContext(d),n=s.useRef(null),i=(0,o.s)(t,n);return s.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(a.sG.div,{...e,ref:i})});function m(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,r,n){let{discrete:s}=n,i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),s?(0,a.hO)(i,o):i.dispatchEvent(o)}f.displayName="DismissableLayerBranch";var v=h,y=f},534378:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(212115),s=r(447650),i=r(63540),a=r(952712),o=r(695155),l=n.forwardRef((e,t)=>{var r,l;let{container:u,...c}=e,[d,h]=n.useState(!1);(0,a.N)(()=>h(!0),[]);let f=u||d&&(null==(l=globalThis)||null==(r=l.document)?void 0:r.body);return f?s.createPortal((0,o.jsx)(i.sG.div,{...c,ref:t}),f):null});l.displayName="Portal"},539853:(e,t,r)=>{r.d(t,{X:()=>o,k:()=>l});var n=r(152020),s=r(107165),i=r(306784),a=r(857948),o=class extends a.k{#e;#t;#r;#n;#s;#i;#a;constructor(e){super(),this.#a=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#r=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=c(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#i,...e},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.#e=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#r.remove(this)}setData(e,t){let r=(0,n.pl)(this.state.data,e,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(n.lQ).catch(n.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>!1!==(0,n.Eh)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,n.d2)(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,n.j3)(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.#r.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.#a?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#s?.status()!=="rejected"){if(void 0!==this.state.data&&t?.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 r=new AbortController,s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#a=!0,r.signal)})},a=()=>{let e=(0,n.ZM)(this.options,t),r=(()=>{let e={client:this.#n,queryKey:this.queryKey,meta:this.meta};return s(e),e})();return(this.#a=!1,this.options.persister)?this.options.persister(e,r,this):e(r)},o=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:a};return s(e),e})();this.options.behavior?.onFetch(o,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta}),this.#s=(0,i.II)({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:e=>{e instanceof i.cc&&e.revert&&this.setState({...this.#t,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.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.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof i.cc){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.#o({type:"error",error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#o(e){this.state=(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,...l(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.#t=e.manual?r:void 0,r;case"error":let n=e.error;
1return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),s.jG.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.v_)(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,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}},646081:(e,t,r)=>{r.d(t,{A:()=>a,q:()=>i});var n=r(212115),s=r(695155);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,a=n.useMemo(()=>i,Object.values(i));return(0,s.jsx)(r.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(s){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${s}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),o=r.length;r=[...r,i];let l=t=>{let{scope:r,children:i,...l}=t,u=r?.[e]?.[o]||a,c=n.useMemo(()=>l,Object.values(l));return(0,s.jsx)(u.Provider,{value:c,children:i})};return l.displayName=t+"Provider",[l,function(r,s){let l=s?.[e]?.[o]||a,u=n.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(i,...t)]}},705845:(e,t,r)=>{r.d(t,{i:()=>o});var n,s=r(212115),i=r(952712),a=(n||(n=r.t(s,2)))[" useInsertionEffect ".trim().toString()]||i.N;function o({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,o,l]=function({defaultProp:e,onChange:t}){let[r,n]=s.useState(e),i=s.useRef(r),o=s.useRef(t);return a(()=>{o.current=t},[t]),s.useEffect(()=>{i.current!==r&&(o.current?.(r),i.current=r)},[r,i]),[r,n,o]}({defaultProp:t,onChange:r}),u=void 0!==e,c=u?e:i;{let t=s.useRef(void 0!==e);s.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,n])}return[c,s.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else o(t)},[u,e,o,l])]}Symbol("RADIX:SYNC_STATE")},751362:(e,t,r)=>{r.d(t,{D:()=>u,N:()=>c});var n=r(212115),s=(e,t,r,n,s,i,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,n=r&&i?s.map(e=>i[e]||e):s;r?(l.classList.remove(...n),l.classList.add(i&&i[t]?i[t]:t)):l.setAttribute(e,t)}),r=t,o&&u.includes(r)&&(l.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},i=["light","dark"],a="(prefers-color-scheme: dark)",o=n.createContext(void 0),l={setTheme:e=>{},themes:[]},u=()=>{var e;return null!=(e=n.useContext(o))?e:l},c=e=>n.useContext(o)?n.createElement(n.Fragment,null,e.children):n.createElement(h,{...e}),d=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:s=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:c=d,defaultTheme:h=s?"system":"light",attribute:y="data-theme",value:b,children:g,nonce:w,scriptProps:E}=e,[C,S]=n.useState(()=>m(u,h)),[O,N]=n.useState(()=>"system"===C?v():C),T=b?Object.values(b):c,P=n.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=v());let n=b?b[t]:t,a=r?p(w):null,o=document.documentElement,u=e=>{"class"===e?(o.classList.remove(...T),n&&o.classList.add(n)):e.startsWith("data-")&&(n?o.setAttribute(e,n):o.removeAttribute(e))};
1if(Array.isArray(y)?y.forEach(u):u(y),l){let e=i.includes(h)?h:null,r=i.includes(t)?t:e;o.style.colorScheme=r}null==a||a()},[w]),R=n.useCallback(e=>{let t="function"==typeof e?e(C):e;S(t);try{localStorage.setItem(u,t)}catch(e){}},[C]),A=n.useCallback(e=>{N(v(e)),"system"===C&&s&&!t&&P("system")},[C,t]);n.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),n.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?S(e.newValue):R(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[R]),n.useEffect(()=>{P(null!=t?t:C)},[t,C]);let D=n.useMemo(()=>({theme:C,setTheme:R,forcedTheme:t,resolvedTheme:"system"===C?O:C,themes:s?[...c,"system"]:c,systemTheme:s?O:void 0}),[C,R,t,O,s,c]);return n.createElement(o.Provider,{value:D},n.createElement(f,{forcedTheme:t,storageKey:u,attribute:y,enableSystem:s,enableColorScheme:l,defaultTheme:h,value:b,themes:c,nonce:w,scriptProps:E}),g)},f=n.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:i,enableSystem:a,enableColorScheme:o,defaultTheme:l,value:u,themes:c,nonce:d,scriptProps:h}=e,f=JSON.stringify([i,r,l,t,c,u,a,o]).slice(1,-1);return n.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(s.toString(),")(").concat(f,")")}})}),m=(e,t)=>{let r;try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t},p=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)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},952712:(e,t,r)=>{r.d(t,{N:()=>s});var n=r(212115),s=globalThis?.document?n.useLayoutEffect:()=>{}}}]);

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.