1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{24232:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(24930),o=n.n(r)},47907:function(e,t,n){var r=n(15313);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},24930:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(86921);n(57437),n(2265);let o=r._(n(84795));function i(e,t){let n={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};return"function"==typeof e&&(n.loader=e),(0,o.default)({...n,...t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19721:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let r=n(99775);function o(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new r.BailoutToCSRError(t);return n}},84795:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(57437),o=n(2265),i=n(19721);function l(e){var t;return{default:null!=(t=null==e?void 0:e.default)?t:e}}let u={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},a=function(e){let t={...u,...e},n=(0,o.lazy)(()=>t.loader().then(l)),a=t.loading;function c(e){let l=a?(0,r.jsx)(a,{isLoading:!0,pastDelay:!0,error:null}):null,u=t.ssr?(0,r.jsx)(n,{...e}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(o.Suspense,{fallback:l,children:u})}return c.displayName="LoadableComponent",c}},33907:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(2265);function o(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var o,i,l,u,a,c,s,f=(void 0===(o=t)&&(o=0),i=(0,r.useRef)(!1),l=(0,r.useRef)(),u=(0,r.useRef)(e),a=(0,r.useCallback)(function(){return i.current},[]),c=(0,r.useCallback)(function(){i.current=!1,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){i.current=!0,u.current()},o)},[o]),s=(0,r.useCallback)(function(){i.current=null,l.current&&clearTimeout(l.current)},[]),(0,r.useEffect)(function(){u.current=e},[e]),(0,r.useEffect)(function(){return c(),s},[o]),[a,s,c]),d=f[0],p=f[1],m=f[2];return(0,r.useEffect)(m,n),[d,p]}},72671:function(e,t){/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var n=Symbol.for("react.element"),r=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo")),o=(Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),i=Object.assign,l={};function u(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||o}function a(){}function c(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||o}u.prototype.isReactComponent={},u.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},u.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=u.prototype;var s=c.prototype=new a;s.constructor=c,i(s,u.prototype),s.isPureReactComponent=!0;var f=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};t.createElement=function(e,t,r){var o,i={},l=null,u=null;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(l=""+t.key),t)f.call(t,o)&&!d.hasOwnProperty(o)&&(i[o]=t[o
9]);var a=arguments.length-2;if(1===a)i.children=r;else if(1<a){for(var c=Array(a),s=0;s<a;s++)c[s]=arguments[s+2];i.children=c}if(e&&e.defaultProps)for(o in a=e.defaultProps)void 0===i[o]&&(i[o]=a[o]);return{$$typeof:n,type:e,key:l,ref:u,props:i,_owner:null}},t.memo=function(e,t){return{$$typeof:r,type:e,compare:void 0===t?null:t}}},52846:function(e,t,n){e.exports=n(72671)},37709:function(e,t,n){n.d(t,{VY:function(){return tf},h4:function(){return tc},ck:function(){return ta},fC:function(){return tu},xz:function(){return ts}});var r,o,i=n(2265),l=n.t(i,2),u=n(57437),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function s(e,t=[]){let n=[];function r(t,r){let o=i.createContext(r);o.displayName=t+"Context";let l=n.length;n=[...n,r];let a=c(t=>{let{scope:n,children:r,...a}=t,c=n?.[e]?.[l]||o,s=i.useMemo(()=>a,Object.values(a));return(0,u.jsx)(c.Provider,{value:s,children:r})},"Provider");function s(n,u,a={}){let{optional:c=!1}=a,s=u?.[e]?.[l]||o,f=i.useContext(s);if(f)return f;if(void 0!==r)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return a.displayName=t+"Provider",c(s,"useContext"),[a,s]}c(r,"createContext");let o=c(()=>{let t=n.map(e=>i.createContext(e));return c(function(n){let r=n?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},"useScope")},"createScope");return o.scopeName=e,[r,f(o,...t)]}function f(...e){let t=e[0];if(1===e.length)return t;let n=c(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return c(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}function d(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function p(e,t){var n=d(e,t,"get");return n.get?n.get.call(e):n.value}function m(e,t,n){var r=d(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}c(function(e,t){let n=i.createContext(t);n.displayName=e+"Context";let r=c(e=>{let{children:t,...r}=e,o=i.useMemo(()=>r,Object.values(r));return(0,u.jsx)(n.Provider,{value:o,children:t})},"Provider");function o(r,o={}){let{optional:l=!1}=o,u=i.useContext(n);if(u)return u;if(void 0!==t)return t;if(!l)throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",c(o,"useContext"),[r,o]},"createContext"),c(s,"createContextScope"),c(f,"composeContextScopes");var h=Object.defineProperty,y=(e,t)=>h(e,"name",{value:t,configurable:!0});function v(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function b(...e){return t=>{let n=!1,r=e.map(e=>{let r=v(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():v(e[t],null)}}}}function g(...e){return i.useCallback(b(...e),e)}y(v,"setRef"),y(b,"composeRefs"),y(g,"useComposedRefs");var w=Object.defineProperty,C=(e,t)=>w(e,"name",{value:t,configurable:!0});function x(e){let t=i.forwardRef((t,n)=>{let{children:r,...o}=t,l=null,u=!1,a=[];A(r)&&"function"==typeof M&&(r=M(r._payload)),i.Children.forEach(r,e=>{if(E(e)){u=!0;let t="child"in e.props?e.props.child:e.props.children;A(t)&&"function"==typeof M&&(t=M(t._payload)),l=R(e,t),a.push(l?.props?.children)}else a.push(e)}),l?l=i.cloneElement(l,void 0,a):!u&&1===i.Children.count(r)&&i.isValidElement(r)&&(l=r);let c=l?O(l):void 0,s=g(n,c);if(!l){if(r||0===r)throw Error(u?I(e):_(e));return r}let f=j(o,l.props??{});return l.type!==i.Fragment&&(f.ref=n?s:c),i.cloneElement(l,f)});return t.displayName=`${e}.Slot`,t}C(x,"createSlot");var S=Symbol.for("radix.slottable");C(function(e){let t=C(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=S,t},"createSlottable");var R=C((e,t)=>{if("child"in e.props){let t=e.props.child;return i.isValidElement(t)?i.cloneElement(t,void 0,e.props.children(t.props.children)):null}return i.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function j(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}
9:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function E(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===S}C(j,"mergeProps"),C(O,"getElementRef"),C(E,"isSlottable");var P=Symbol.for("react.lazy");function A(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===P&&"_payload"in e&&N(e._payload)}function N(e){return"object"==typeof e&&null!==e&&"then"in e}C(A,"isLazyComponent"),C(N,"isPromiseLike");var _=C(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),I=C(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),M=l[" use ".trim().toString()],k=Object.defineProperty,T=(e,t)=>k(e,"name",{value:t,configurable:!0});function D(e){let t=e+"CollectionProvider",[n,r]=s(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=T(e=>{let{scope:t,children:n}=e,r=i.useRef(null),l=i.useRef(new Map).current;return(0,u.jsx)(o,{scope:t,itemMap:l,collectionRef:r,children:n})},"CollectionProvider");a.displayName=t;let c=e+"CollectionSlot",f=x(c),d=i.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=g(t,l(c,n).collectionRef);return(0,u.jsx)(f,{ref:o,children:r})});d.displayName=c;let p=e+"CollectionItemSlot",m="data-radix-collection-item",h=x(p),y=i.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,a=i.useRef(null),c=g(t,a),s=l(p,n);return i.useEffect(()=>(s.itemMap.set(a,{ref:a,...o}),()=>void s.itemMap.delete(a))),(0,u.jsx)(h,{[m]:"",ref:c,children:r})});function v(t){let n=l(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return y.displayName=p,T(v,"useCollection"),[{Provider:a,Slot:d,ItemSlot:y},v,r]}T(D,"createCollection");var $=new WeakMap,z=(r=new WeakMap,T(o=class e extends Map{set(e,t){return $.get(this)&&(this.has(e)?p(this,r)[p(this,r).indexOf(e)]=e:p(this,r).push(e)),super.set(e,t),this}insert(e,t,n){let o;let i=this.has(t),l=p(this,r).length,u=F(e),a=u>=0?u:l+u,c=a<0||a>=l?-1:a;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,n),this;let s=this.size+(i?0:1);u<0&&a++;let f=[...p(this,r)],d=!1;for(let e=a;e<s;e++)if(a===e){let r=f[e];f[e]===t&&(r=f[e+1]),i&&this.delete(t),o=this.get(r),this.set(t,n)}else{d||f[e-1]!==t||(d=!0);let n=f[d?e:e-1],r=o;o=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=p(this,r).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let o=p(this,r).indexOf(e);return -1===o?this:this.insert(o,t,n)}after(e){let t=p(this,r).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let o=p(this,r).indexOf(e);return -1===o?this:this.insert(o+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return m(this,r,[]),super.clear()}delete(e){let t=super.delete(e);return t&&p(this,r).splice(p(this,r).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=U(p(this,r),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=U(p(this,r),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return p(this,r).indexOf(e)}keyAt(e){return U(p(this,r),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=0,l=null!=o?o:this.at(0);for(let e of this)l=0===i&&1===t.length?e:Reflect.apply(r,this,[l,e,i,this]),i++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);i=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[i,n,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...this.entries()];return o.splice(...n),new e(o)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,r),r.set(this,{writable:!0,value:void 0}),m(this,r,[...super.keys()]),$.set(this,!0)}},"OrderedDict"),o);function U(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=L(e,t);return -1===n?void 0:e[n]}function L(e,t){let n=e.length,r=F(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function F(e){return e!=e||0===e?0:Math.trunc(e)}function W(e,t){if(e===t)return!0;
9if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function V(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function q(e,t){return e[1].element&&t[1].element?V(e[1].element,t[1].element)?-1:1:0}function B(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type){e();return}})}T(U,"at"),T(L,"toSafeIndex"),T(F,"toSafeInteger"),T(function(e){let t=e+"CollectionProvider",[n,r]=s(t),[o,l]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new z,setItemMap:T(()=>void 0,"setItemMap")}),a=T(e=>{let{state:t,...n}=e;return t?(0,u.jsx)(f,{...n,state:t}):(0,u.jsx)(c,{...n})},"CollectionProvider");a.displayName=t;let c=T(e=>{let t=b();return(0,u.jsx)(f,{...e,state:t})},"CollectionInit");c.displayName=t+"Init";let f=T(e=>{let{scope:t,children:n,state:r}=e,l=i.useRef(null),[a,c]=i.useState(null),s=g(l,c),[f,d]=r;return i.useEffect(()=>{if(!a)return;let e=B(()=>{});return e.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[a]),(0,u.jsx)(o,{scope:t,itemMap:f,setItemMap:d,collectionRef:s,collectionRefObject:l,collectionElement:a,children:n})},"CollectionProviderImpl");f.displayName=t+"Impl";let d=e+"CollectionSlot",p=x(d),m=i.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=g(t,l(d,n).collectionRef);return(0,u.jsx)(p,{ref:o,children:r})});m.displayName=d;let h=e+"CollectionItemSlot",y=x(h),v=i.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,a=i.useRef(null),[c,s]=i.useState(null),f=g(t,a,s),{setItemMap:d}=l(h,n),p=i.useRef(o);W(p.current,o)||(p.current=o);let m=p.current;return i.useEffect(()=>(d(e=>c?e.has(c)?e.set(c,{...m,element:c}).toSorted(q):(e.set(c,{...m,element:c}),e.toSorted(q)):e),()=>{d(e=>c&&e.has(c)?(e.delete(c),new z(e)):e)}),[c,m,d]),(0,u.jsx)(y,{"data-radix-collection-item":"",ref:f,children:r})});function b(){return i.useState(new z)}function w(t){let{itemMap:n}=l(e+"CollectionConsumer",t);return n}return v.displayName=h,T(b,"useInitCollection"),T(w,"useCollection"),[{Provider:a,Slot:m,ItemSlot:v},{createCollectionScope:r,useCollection:w,useInitCollection:b}]},"createCollection"),T(W,"shallowEqual"),T(V,"isElementPreceding"),T(q,"sortByDocumentPosition"),T(B,"getChildListObserver");var H=Object.defineProperty,K=(e,t)=>H(e,"name",{value:t,configurable:!0}),Y=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function Z(e,t,{checkForDefaultPrevented:n=!0}={}){return K(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function G(e){if(!Y)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function X(e){return"IFRAME"===e.tagName}K(Z,"composeEventHandlers"),K(function(e){if(!Y)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),K(G,"getOwnerDocument"),K(function e(t,n=!1){let{activeElement:r}=G(t);if(!r?.nodeName)return null;if(X(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=G(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),K(X,"isFrame");var J=globalThis?.document?i.useLayoutEffect:()=>{},Q=Object.defineProperty,ee=l[" useEffectEvent ".trim().toString()],et=l[" useInsertionEffect ".trim().toString()];function en(e){if("function"==typeof ee)return ee(e);let t=i.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof et?et(()=>{t.current=e}):J(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}Q(en,"name",{value:"useEffectEvent",configurable:!0});var er=Object.defineProperty,eo=(e,t)=>er(e,"name",{value:t,configurable:!0}),ei=l[" useInsertionEffect ".trim().toString()]||J;function el({prop:e,defaultProp:t,onChange:n=eo(()=>{},"onChange"),caller:r}){let[o,l,u]=eu({defaultProp:t,onChange:n}),a=void 0!==e;return[a?e:o,i.useCallback(t=>{if(a){let n=ea(t)?t(e):t;n!==e&&u.current?.(n)}else l(t)},[a,e,l,u])]}function eu({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),l=i.useRef(t);return ei(()=>{l.current=t},[t]),i.useEffect(()=>{o.current!==n&&(l.current?.(n),o.current=n)},[n,o]),[n,r,l]}function ea(e){return"function"==typeof e}eo(el,"useControllableState"),eo(eu,"useUncontrolledState"),eo(ea,"isFunction");var ec=Symbol("RADIX:SYNC_STATE");eo(function(e,t,n,r){let{prop:o,defaultProp:l,onChange:u,caller:a}=t,c=void 0!==o,s=en(u),f=[{...n,state:l}];r&&f.push(r);let[d,p]=i.useReducer((t,n)=>{if(n.type===ec)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&s(r.state),r},...f),m=d.state,h=i.useRef(m);i.useEffect(()=>{h.current===m||(h.current=m,c||s(m))},[m,h,c]);let y=i.useMemo(()=>void 0!==o?{...d,state:o}:d,[d,o]);return i.useEffect(()=>{c&&!Object.is(o,d.state)&&p({type:ec,state:o})},[o,d.state,c]),[y,p]},"useControllableStateReducer");var es=n(54887),ef=Object.defineProperty,ed=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
9{let n=x(`Primitive.${t}`),r=i.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});ef(function(e,t){e&&es.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var ep=Object.defineProperty,em=(e,t)=>ep(e,"name",{value:t,configurable:!0});function eh(e,t){return i.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}em(eh,"useStateMachine");var ey=em(e=>{let{present:t,children:n}=e,r=ev(t),o="function"==typeof n?n({present:r.isPresent}):i.Children.only(n),l=eg(r.ref,eC(o));return"function"==typeof n||r.isPresent?i.cloneElement(o,{ref:l}):null},"Presence");function ev(e){let[t,n]=i.useState(),r=i.useRef(null),o=i.useRef(e),l=i.useRef("none"),u=i.useRef(void 0),[a,c]=eh(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{if("mounted"===a){var e;l.current=null!==(e=u.current)&&void 0!==e?e:ew(r.current),u.current=void 0}else l.current="none"},[a]),J(()=>{let t=r.current,n=o.current;if(n!==e){let r=l.current,i=ew(t);e?(u.current=i,c("MOUNT")):"none"===i||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==i?c("ANIMATION_OUT"):c("UNMOUNT"),o.current=e}},[e,c]),J(()=>{if(t){var e;let n;let i=null!==(e=t.ownerDocument.defaultView)&&void 0!==e?e:window,u=em(e=>{let l=ew(r.current).includes(CSS.escape(e.animationName));if(e.target===t&&l&&(c("ANIMATION_END"),!o.current)){let e=t.style.animationFillMode;t.style.animationFillMode="forwards",n=i.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=e)})}},"handleAnimationEnd"),a=em(e=>{e.target===t&&(l.current=ew(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{i.clearTimeout(n),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,u.current=ew(t)}else r.current=null;n(e)},[])}}function eb(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eg(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=i.useRef(t);return r.current=t,i.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=eb(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():eb(t[e],null)}}},[])}function ew(e){return(null==e?void 0:e.animationName)||"none"}function eC(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}em(ev,"usePresence"),em(eb,"setRef"),em(eg,"useStableComposedRefs"),em(ew,"getAnimationName"),em(eC,"getElementRef");var ex=Object.defineProperty,eS=l[" useId ".trim().toString()]||(()=>void 0),eR=0;function ej(e){let[t,n]=i.useState(eS());return J(()=>{e||n(e=>e??String(eR++))},[e]),e||(t?`radix-${t}`:"")}ex(ej,"name",{value:"useId",configurable:!0});var eO=Object.defineProperty,eE=(e,t)=>eO(e,"name",{value:t,configurable:!0}),eP="Collapsible",[eA,eN]=s(eP),[e_,eI]=eA(eP),eM=i.forwardRef(eE(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:l,onOpenChange:a,...c}=e,[s,f]=el({prop:r,defaultProp:null!=o&&o,onChange:a,caller:eP});return(0,u.jsx)(e_,{scope:n,disabled:l,contentId:ej(),open:s,onOpenToggle:i.useCallback(()=>f(e=>!e),[f]),children:(0,u.jsx)(ed.div,{"data-state":ez(s),"data-disabled":l?"":void 0,...c,ref:t})})},"Collapsible")),ek=i.forwardRef(eE(function(e,t){let{__scopeCollapsible:n,...r}=e,o=eI("CollapsibleTrigger",n);return(0,u.jsx)(ed.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":ez(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Z(e.onClick,o.onOpenToggle)})},"CollapsibleTrigger")),eT="CollapsibleContent",eD=i.forwardRef(eE(function(e,t){let{forceMount:n,...r}=e,o=eI(eT,e.__scopeCollapsible);return(0,u.jsx)(ey,{present:n||o.open,children:e=>{let{present:n}=e;return(0,u.jsx)(e$,{...r,ref:t,present:n})}})},"CollapsibleContent")),e$=i.forwardRef(eE(function(e,t){let{__scopeCollapsible:n,present:r,children:o,...l}=e,a=eI(eT,n),[c,s]=i.useState(r),f=i.useRef(null),d=g(t,f),p=i.useRef(0),m=p.current,h=i.useRef(0),y=h.current,v=a.open||c,b=i.useRef(v),w=i.useRef(void 0);return i.useEffect(()=>{let e=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(e)},[]),J(()=>{let e=f.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();p.current=t.height,h.current=t.width,b.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),s(r)}},[a.open,r]),(0,u.jsx)(ed.div,{"data-state":ez(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v,...l,ref:d,style:{"--radix-collapsible-content-height":m?"".concat(m,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:v&&o})},"CollapsibleContentImpl"));function ez(e){return e?"open":"closed"}eE(ez,"getState");
9var eU=Object.defineProperty,eL=i.createContext(void 0);function eF(e){let t=i.useContext(eL);return e||t||"ltr"}eU(eF,"name",{value:"useDirection",configurable:!0});var eW=Object.defineProperty,eV=(e,t)=>eW(e,"name",{value:t,configurable:!0}),eq="Accordion",eB=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[eH,eK,eY]=D(eq),[eZ,eG]=s(eq,[eY,eN]),eX=eN(),eJ=i.forwardRef(eV(function(e,t){let{type:n,...r}=e;return(0,u.jsx)(eH.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,u.jsx)(e4,{...r,ref:t}):(0,u.jsx)(e7,{...r,ref:t})})},"Accordion")),[eQ,e0]=eZ(eq),[e1,e2]=eZ(eq,{collapsible:!1}),e7=i.forwardRef(eV(function(e,t){let{value:n,defaultValue:r,onValueChange:o=eV(()=>{},"onValueChange"),collapsible:l=!1,...a}=e,[c,s]=el({prop:n,defaultProp:null!=r?r:"",onChange:o,caller:eq});return(0,u.jsx)(eQ,{scope:e.__scopeAccordion,value:i.useMemo(()=>c?[c]:[],[c]),onItemOpen:s,onItemClose:i.useCallback(()=>l&&s(""),[l,s]),children:(0,u.jsx)(e1,{scope:e.__scopeAccordion,collapsible:l,children:(0,u.jsx)(e9,{...a,ref:t})})})},"AccordionImplSingle")),e4=i.forwardRef(eV(function(e,t){let{value:n,defaultValue:r,onValueChange:o=eV(()=>{},"onValueChange"),...l}=e,[a,c]=el({prop:n,defaultProp:null!=r?r:[],onChange:o,caller:eq}),s=i.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[c]),f=i.useCallback(e=>c(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[c]);return(0,u.jsx)(eQ,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:f,children:(0,u.jsx)(e1,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(e9,{...l,ref:t})})})},"AccordionImplMultiple")),[e3,e5]=eZ(eq),e9=i.forwardRef(eV(function(e,t){let{__scopeAccordion:n,disabled:r,dir:o,orientation:l="vertical",...a}=e,c=g(i.useRef(null),t),s=eK(n),f="ltr"===eF(o),d=Z(e.onKeyDown,e=>{var t;if(!eB.includes(e.key))return;let n=e.target,r=s().filter(e=>{var t;return!(null===(t=e.ref.current)||void 0===t?void 0:t.disabled)}),o=r.findIndex(e=>e.ref.current===n),i=r.length;if(-1===o)return;e.preventDefault();let u=o,a=i-1,c=eV(()=>{(u=o+1)>a&&(u=0)},"moveNext"),d=eV(()=>{(u=o-1)<0&&(u=a)},"movePrev");switch(e.key){case"Home":u=0;break;case"End":u=a;break;case"ArrowRight":"horizontal"===l&&(f?c():d());break;case"ArrowDown":"vertical"===l&&c();break;case"ArrowLeft":"horizontal"===l&&(f?d():c());break;case"ArrowUp":"vertical"===l&&d()}null===(t=r[u%i].ref.current)||void 0===t||t.focus()});return(0,u.jsx)(e3,{scope:n,disabled:r,direction:o,orientation:l,children:(0,u.jsx)(eH.Slot,{scope:n,children:(0,u.jsx)(ed.div,{...a,"data-orientation":l,ref:c,onKeyDown:r?void 0:d})})})},"AccordionImpl")),e6="AccordionItem",[e8,te]=eZ(e6),tt=i.forwardRef(eV(function(e,t){let{__scopeAccordion:n,value:r,...o}=e,i=e5(e6,n),l=e0(e6,n),a=eX(n),c=ej(),s=r&&l.value.includes(r)||!1,f=i.disabled||e.disabled;return(0,u.jsx)(e8,{scope:n,open:s,disabled:f,triggerId:c,children:(0,u.jsx)(eM,{"data-orientation":i.orientation,"data-state":tl(s),...a,...o,ref:t,disabled:f,open:s,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})},"AccordionItem")),tn=i.forwardRef(eV(function(e,t){let{__scopeAccordion:n,...r}=e,o=e5(eq,n),i=te("AccordionHeader",n);return(0,u.jsx)(ed.h3,{"data-orientation":o.orientation,"data-state":tl(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})},"AccordionHeader")),tr="AccordionTrigger",to=i.forwardRef(eV(function(e,t){let{__scopeAccordion:n,...r}=e,o=e5(eq,n),i=te(tr,n),l=e2(tr,n),a=eX(n);return(0,u.jsx)(eH.ItemSlot,{scope:n,children:(0,u.jsx)(ek,{"aria-disabled":i.open&&!l.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...a,...r,ref:t})})},"AccordionTrigger")),ti=i.forwardRef(eV(function(e,t){let{__scopeAccordion:n,...r}=e,o=e5(eq,n),i=te("AccordionContent",n),l=eX(n);return(0,u.jsx)(eD,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...l,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})},"AccordionContent"));function tl(e){return e?"open":"closed"}eV(tl,"getState");var tu=eJ,ta=tt,tc=tn,ts=to,tf=ti}}]);
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.