1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0c53e-a1e2-0000-a4ee-3b4f0c514a0c";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="6c703a55-f45b-5b25-852a-fcb0db25971a")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,635804,e=>{"use strict";var t=e.i(271645),n=e.i(934620);e.s(["useSize",0,function(e){let[r,o]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;o({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),r}])},248425,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(991918),o=e.i(843476),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),u=t.forwardRef((e,t)=>{let{asChild:r,...u}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...u,ref:t})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},981140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function u(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(u(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(u,"isFrame"),e.s(["composeEventHandlers",0,o])},30030,e=>{"use strict";var t=e.i(271645),n=e.i(843476);e.s(["createContextScope",0,function(e,r=[]){let o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let u=t.createContext(i);u.displayName=r+"Context";let s=o.length;o=[...o,i];let a=r=>{let{scope:o,children:i,...a}=r,c=o?.[e]?.[s]||u,l=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(c.Provider,{value:l,children:i})};return a.displayName=r+"Provider",[a,function(n,o,a={}){let{optional:c=!1}=a,l=o?.[e]?.[s]||u,f=t.useContext(l);if(f)return f;if(void 0!==i)return i;if(!c)throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}(i,...r)]}])},934620,e=>{"use strict";var t=e.i(271645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},705844,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},369340,e=>{"use strict";var t=e.i(271645),n=e.i(705844),r=e.i(934620),o=t[" useEffectEvent ".trim().toString()],i=t[" useInsertionEffect ".trim().toString()],u=Object.defineProperty,s=(e,t)=>u(e,"name",{value:t,configurable:!0}),a=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function c({prop:e,defaultProp:r,onChange:o=s(()=>{},"onChange"),caller:i}){let[u,a,d]=l({defaultProp:r,onChange:o}),h=void 0!==e,m=h?e:u;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==h){let t=h?"controlled":"uncontrolled";console.warn(`${i} 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.`)}n.current=h},[h,i])}return[m,t.useCallback(t=>{if(h){let n=f(t)?t(e):t;n!==e&&d.current?.(n)}else a(t)},[h,e,a,d])]}function l({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),u=t.useRef(n);return a(()=>{u.current=n},[n]),t.useEffect(()=>{i.current!==r&&(u.current?.(r),i.current=r)},[r,i]),[r,o,u]}function f(e){return"function"==typeof e}
1s(c,"useControllableState"),s(l,"useUncontrolledState"),s(f,"isFunction");var d=Symbol("RADIX:SYNC_STATE");s(function(e,u,s,a){let{prop:c,defaultProp:l,onChange:f,caller:h}=u,m=void 0!==c,p=function(e){if("function"==typeof o)return o(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof i?i(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}(f);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==c);t.useEffect(()=>{let t=e.current;if(t!==m){let e=m?"controlled":"uncontrolled";console.warn(`${h} is changing from ${t?"controlled":"uncontrolled"} to ${e}. 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.`)}e.current=m},[m,h])}let v=[{...s,state:l}];a&&v.push(a);let[y,b]=t.useReducer((t,n)=>{if(n.type===d)return{...t,state:n.state};let r=e(t,n);return m&&!Object.is(r.state,t.state)&&p(r.state),r},...v),E=y.state,g=t.useRef(E);t.useEffect(()=>{g.current!==E&&(g.current=E,m||p(E))},[E,g,m]);let w=t.useMemo(()=>void 0!==c?{...y,state:c}:y,[y,c]);return t.useEffect(()=>{m&&!Object.is(c,y.state)&&b({type:d,state:c})},[c,y.state,m]),[w,b]},"useControllableStateReducer"),e.s(["useControllableState",0,c],369340)},296626,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}o(i,"useStateMachine");var u=o(e=>{let{present:n,children:r}=e,o=s(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),u=c(o.ref,f(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:u}):null},"Presence");function s(e){let[r,u]=t.useState(),s=t.useRef(null),a=t.useRef(e),c=t.useRef("none"),f=t.useRef(void 0),[d,h]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(c.current=f.current??l(s.current),f.current=void 0):c.current="none"},[d]),(0,n.useLayoutEffect)(()=>{let t=s.current,n=a.current;if(n!==e){let r=c.current,o=l(t);e?(f.current=o,h("MOUNT")):"none"===o||t?.display==="none"?h("UNMOUNT"):n&&r!==o?h("ANIMATION_OUT"):h("UNMOUNT"),a.current=e}},[e,h]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=o(n=>{let o=l(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(h("ANIMATION_END"),!a.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),i=o(e=>{e.target===r&&(c.current=l(s.current))},"handleAnimationStart");return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,f.current=l(t)}else s.current=null;u(e)},[])}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=a(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():a(t[e],null)}}},[])}function l(e){return e?.animationName||"none"}function f(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}o(s,"usePresence"),o(a,"setRef"),o(c,"useStableComposedRefs"),o(l,"getAnimationName"),o(f,"getElementRef"),e.s(["Presence",0,u])},610772,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,u]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||u(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},30207,e=>{"use strict";var t=e.i(271645);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},726330,e=>{"use strict";var t,n=e.i(271645),r=e.i(981140),o=e.i(248425),i=e.i(820783),u=e.i(30207),s=e.i(843476),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0}),l="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),d=n.forwardRef(c(function(e,a){let{disableOutsidePointerEvents:d=!1,deferPointerDownOutside:h=!1,onEscapeKeyDown:m,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:g,onDismiss:w,...S}=e,C=n.useContext(f),[R,k]=n.useState(null),O=R?.ownerDocument??globalThis?.document,[,N]=n.useState({}),A=(0,i.useComposedRefs)(a,k),L=Array.from(C.layers),[M]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),P=M?L.indexOf(M):-1,x=R?L.indexOf(R):-1,T=C.layersWithOutsidePointerEventsDisabled.size>0,D=x>=P,I=n.useRef(!1),_=p(e=>{b?.(e),g?.(e),e.defaultPrevented||w?.()},{ownerDocument:O,deferPointerDownOutside:h,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return D&&!t},[C.branches,D])}),F=v(e=>{if(h&&I.current)return;let t=e.target;![...C.branches].some(e=>e.contains(t))&&(E?.(e),g?.(e),e.defaultPrevented||w?.())},O),W=!!R&&x===L.length-1,j=(0,u.useCallbackRef)(e=>{"Escape"===e.key&&(m?.(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))});return n.useEffect(()=>{if(W)return O.addEventListener("keydown",j,{capture:!0}),()=>O.removeEventListener("keydown",j,{capture:!0})},[O,W,j]),n.useEffect(()=>{if(R)return d&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(t=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(R)),C.layers.add(R),y(),()=>{d&&(C.layersWithOutsidePointerEventsDisabled.delete(R),0===C.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=t))}},[R,O,d,C]),n.useEffect(()=>()=>{R&&(C.layers.delete(R),C.layersWithOutsidePointerEventsDisabled.delete(R),y())},[R,C]),n.useEffect(()=>{let e=c(()=>N({}),"handleUpdate");return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,s.jsx)(o.Primitive.div,{...S,ref:A,style:{pointerEvents:T?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,_.onPointerDownCapture)})},"DismissableLayer"));function h(){let e=n.useContext(f),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}c(h,"useDismissableLayerSurface");var m=c(()=>!0,"IS_TRUE");function p(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:s,shouldHandlePointerDownOutside:a=m}=t,l=(0,u.useCallbackRef)(e),f=n.useRef(!1),d=n.useRef(!1),h=n.useRef(new Map),p=n.useRef(()=>{});return n.useEffect(()=>{function e(){d.current=!1,i.current=!1,h.current.clear()}function t(){return Array.from(h.current.values()).some(Boolean)}function n(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||h.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&p.current()},0)}function u(e){d.current&&h.current.set(e.type,!1)}c(e,"resetOutsideInteraction"),c(t,"isOutsideInteractionIntercepted"),
1c(n,"handleInteractionCapture"),c(u,"handleInteractionBubble");let m=c(n=>{if(n.target&&!f.current){let u=function(){r.removeEventListener("click",p.current);let n=t();e(),n||b("dismissableLayer.pointerDownOutside",l,s,{discrete:!0})};if(c(u,"handleAndDispatchPointerDownOutsideEvent"),!a(n.target)){r.removeEventListener("click",p.current),e(),f.current=!1;return}let s={originalEvent:n};d.current=!0,i.current=o&&0===n.button,h.current.clear(),o&&0===n.button?(r.removeEventListener("click",p.current),p.current=u,r.addEventListener("click",p.current,{once:!0})):u()}else r.removeEventListener("click",p.current),e();f.current=!1},"handlePointerDown"),v=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of v)r.addEventListener(e,n,!0),r.addEventListener(e,u);let y=window.setTimeout(()=>{r.addEventListener("pointerdown",m)},0);return()=>{for(let e of(window.clearTimeout(y),r.removeEventListener("pointerdown",m),r.removeEventListener("click",p.current),v))r.removeEventListener(e,n,!0),r.removeEventListener(e,u)}},[r,l,o,i,s,a]),{onPointerDownCapture:c(()=>f.current=!0,"onPointerDownCapture")}}function v(e,t=globalThis?.document){let r=(0,u.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=c(e=>{e.target&&!o.current&&b("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:c(()=>o.current=!0,"onFocusCapture"),onBlurCapture:c(()=>o.current=!1,"onBlurCapture")}}function y(){let e=new CustomEvent(l);document.dispatchEvent(e)}function b(e,t,n,{discrete:r}){let i=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,u):i.dispatchEvent(u)}
1c(p,"usePointerDownOutside"),c(v,"useFocusOutside"),c(y,"dispatchUpdate"),c(b,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",0,d,"useDismissableLayerSurface",0,h])},774606,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(248425),o=e.i(934620),i=e.i(843476),u=Object.defineProperty,s=t.forwardRef(u(function(e,u){let{container:s,...a}=e,[c,l]=t.useState(!1);(0,o.useLayoutEffect)(()=>l(!0),[]);let f=s||c&&globalThis?.document?.body;return f?n.createPortal((0,i.jsx)(r.Primitive.div,{...a,ref:u}),f):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,s])},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var n=t.createContext(void 0);e.s(["useDirection",0,function(e){let r=t.useContext(n);return e||r||"ltr"}])},75830,e=>{"use strict";var t=e.i(271645),n=e.i(30030),r=e.i(820783),o=e.i(991918),i=e.i(843476),u=new WeakMap;function s(e,t){var n,r;let o,i,u;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,o=n.length,(u=(i=a(r))>=0?i:o+i)<0||u>=o?-1:u);return -1===s?void 0:e[s]}function a(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),i=this.#e.length,u=a(e),s=u>=0?u:i+u,c=s<0||s>=i?-1:s;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,n),this;let l=this.size+ +!o;u<0&&s++;let f=[...this.#e],d=!1;for(let e=s;e<l;e++)if(s===e){let i=f[e];f[e]===t&&(i=f[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{d||f[e-1]!==t||(d=!0);let n=f[d?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=s(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=s(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return s(this.#e,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(...e){let[t,n]=e,r=0,o=n??this.at(0);for(let n of this)o=0===r&&1===e.length?n:Reflect.apply(t,this,[o,n,r,this]),r++;return o}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let o=this.at(n);r=n===this.size-1&&1===e.length?o:Reflect.apply(t,this,[r,o,n,this])}return r}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(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}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}}),e.s(["createCollection",0,function(e){let u=e+"CollectionProvider",[s,a]=(0,n.createContextScope)(u),[c,l]=s(u,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:n,children:r}=e,o=t.useRef(null),u=t.useRef(new Map).current;return(0,i.jsx)(c,{scope:n,itemMap:u,collectionRef:o,children:r})};f.displayName=u;let d=e+"CollectionSlot",h=(0,o.createSlot)(d),m=t.forwardRef((e,t)=>
1{let{scope:n,children:o}=e,u=l(d,n),s=(0,r.useComposedRefs)(t,u.collectionRef);return(0,i.jsx)(h,{ref:s,children:o})});m.displayName=d;let p=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,o.createSlot)(p),b=t.forwardRef((e,n)=>{let{scope:o,children:u,...s}=e,a=t.useRef(null),c=(0,r.useComposedRefs)(n,a),f=l(p,o);return t.useEffect(()=>(f.itemMap.set(a,{ref:a,...s}),()=>void f.itemMap.delete(a))),(0,i.jsx)(y,{...{[v]:""},ref:c,children:u})});return b.displayName=p,[{Provider:f,Slot:m,ItemSlot:b},function(n){let r=l(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},a]}])},765491,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(248425),o=e.i(30207),i=e.i(843476),u=Object.defineProperty,s=(e,t)=>u(e,"name",{value:t,configurable:!0}),a="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},f=t.forwardRef(s(function(e,u){let{loop:f=!1,trapped:p=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...g}=e,[w,C]=t.useState(null),R=(0,o.useCallbackRef)(v),k=(0,o.useCallbackRef)(y),O=t.useRef(null),N=(0,n.useComposedRefs)(u,C),A=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(p){let e=function(e){if(A.paused||!w)return;let t=e.target;w.contains(t)?O.current=t:b(O.current,{select:!0})},t=function(e){if(A.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||b(O.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&b(w)};s(e,"handleFocusIn"),s(t,"handleFocusOut"),s(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return w&&r.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[p,w,A.paused]),t.useEffect(()=>{if(w){E.add(A);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(a,l);w.addEventListener(a,R),w.dispatchEvent(t),t.defaultPrevented||(d(S(m(w)),{select:!0}),document.activeElement===e&&b(w))}return()=>{w.removeEventListener(a,R),setTimeout(()=>{let t=new CustomEvent(c,l);w.addEventListener(c,k),w.dispatchEvent(t),t.defaultPrevented||b(e??document.body,{select:!0}),w.removeEventListener(c,k),E.remove(A)},0)}}},[w,R,k,A]);let L=t.useCallback(e=>{if(!f&&!p||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=h(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),f&&b(o,{select:!0})):(e.preventDefault(),f&&b(r,{select:!0})):n===t&&e.preventDefault()}},[f,p,A.paused]);return(0,i.jsx)(r.Primitive.div,{tabIndex:-1,...g,ref:N,onKeyDown:L})},"FocusScope"));function d(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(b(r,{select:t}),document.activeElement!==n)return}function h(e){let t=m(e);return[p(t,e),p(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):v(r,{upTo:t})))return r}function v(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function y(e){return e instanceof HTMLInputElement&&"select"in e}function b(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&y(e)&&t&&e.select()}}s(d,"focusFirst"),s(h,"getTabbableEdges"),s(m,"getTabbableCandidates"),s(p,"findVisible"),s(v,"isHidden"),s(y,"isSelectableInput"),s(b,"focus");
1var E=g();function g(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=w(e,t)).unshift(t)},remove(t){e=w(e,t),e[0]?.resume()}}}function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}s(g,"createFocusScopesStack"),s(w,"arrayRemove"),s(S,"removeLinks"),e.s(["FocusScope",0,f])},303536,e=>{"use strict";var t=e.i(271645),n=0,r=null;function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{r||(r={start:o(),end:o()});let{start:e,end:t}=r;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),n++,()=>{1===n&&(r?.start.remove(),r?.end.remove(),r=null),n=Math.max(0,n-1)}},[])}])},985369,290571,e=>{"use strict";var t,n,r,o,i,u,s,a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function c(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function l(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>a,"__rest",0,c,"__spreadArray",0,l],290571);var f=e.i(271645),d="right-scroll-bar-position",h="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var p="u">typeof window?f.useLayoutEffect:f.useEffect,v=new WeakMap,y=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),r={push:function(e){t.push(e),u()},filter:function(e){return t=t.filter(e),r}}}}).options=a({async:!0,ssr:!1},t),i),b=function(){},E=f.forwardRef(function(e,t){var n,r,o,i,u=f.useRef(null),s=f.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=s[0],d=s[1],h=e.forwardProps,E=e.children,g=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,R=e.sideCar,k=e.noRelative,O=e.noIsolation,N=e.inert,A=e.allowPinchZoom,L=e.as,M=e.gapMode,P=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(n=[u,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,p(function(){var e=v.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}v.set(i,n)},[n]),i),T=a(a({},P),l);return f.createElement(f.Fragment,null,S&&f.createElement(R,{sideCar:y,removeScrollBar:w,shards:C,noRelative:k,noIsolation:O,inert:N,setCallbacks:d,allowPinchZoom:!!A,lockRef:u,gapMode:M}),h?f.cloneElement(f.Children.only(E),a(a({},T),{ref:x})):f.createElement(void 0===L?"div":L,a({},T,{className:g,ref:x}),E))});E.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},E.classNames={fullWidth:h,zeroRight:d};var g=function(e){var t=e.sideCar,n=c(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,a({},n))};
1g.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},S=function(){var e=w();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=S();return function(t){return e(t.styles,t.dynamic),null}},R={left:0,top:0,right:0,gap:0},k=function(e){return parseInt(e||"",10)||0},O=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[k(n),k(r),k(o)]},N=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return R;var t=O(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},A=C(),L="data-scroll-locked",M=function(e,t,n,r){var o=e.left,i=e.top,u=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(L,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(h," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(h," .").concat(h," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(L,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(L)||"0",10);return isFinite(e)?e:0},x=function(){f.useEffect(function(){return document.body.setAttribute(L,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(L):document.body.setAttribute(L,e.toString())}},[])},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;x();var i=f.useMemo(function(){return N(o)},[o]);return f.createElement(A,{styles:M(i,!t,o,n?"":"!important")})},D=!1;if("u">typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){D=!1}var _=!!D&&{passive:!1},F=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},W=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var o=z(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},j=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var i,u=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=u*r,a=n.target,c=t.contains(a),l=!1,f=s>0,d=0,h=0;do{if(!a)break;var m=z(e,a),p=m[0],v=m[1]-m[2]-u*p;(p||v)&&j(e,a)&&(d+=v,h+=p);var y=a.parentNode;a=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&a!==document.body||c&&(t.contains(a)||t===a))return f&&(o&&1>Math.abs(d)||!o&&s>d)?l=!0:!f&&(o&&1>Math.abs(h)||!o&&-s>h)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},K=0,V=[];let X=(u=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(K++)[0],i=f.useState(C)[0],u=f.useRef(e);f.useEffect(function(){u.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));
1var t=l([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=U(e),s=n.current,a="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],l=e.target,f=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===l.type)return!1;var d=window.getSelection(),h=d&&d.anchorNode;if(h&&(h===l||h.contains(l)))return!1;var m=W(f,l);if(!m)return!0;if(m?o=f:(o="v"===f?"h":"v",m=W(f,l)),!m)return!1;if(!r.current&&"changedTouches"in e&&(a||c)&&(r.current=o),!o)return!0;var p=r.current||o;return B(p,t,e,"h"===p?a:c,!0)},[]),a=f.useCallback(function(e){if(V.length&&V[V.length-1]===i){var n="deltaY"in e?$(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=f.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=f.useCallback(function(e){n.current=U(e),r.current=void 0},[]),h=f.useCallback(function(t){c(t.type,$(t),t.target,s(t,e.lockRef.current))},[]),m=f.useCallback(function(t){c(t.type,U(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return V.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",a,_),document.addEventListener("touchmove",a,_),document.addEventListener("touchstart",d,_),function(){V=V.filter(function(e){return e!==i}),document.removeEventListener("wheel",a,_),document.removeEventListener("touchmove",a,_),document.removeEventListener("touchstart",d,_)}},[]);var p=e.removeScrollBar,v=e.inert;return f.createElement(f.Fragment,null,v?f.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?f.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},y.useMedium(u),g);var Y=f.forwardRef(function(e,t){return f.createElement(E,a({},e,{ref:t,sideCar:X}))});Y.classNames=E.classNames,e.s(["RemoveScroll",0,Y],985369)},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},u=function(e,u,s,a){var c=(Array.isArray(e)?e:[e]).map(function(e){if(u.contains(e))return e;var t=i(e);return t&&u.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",u,". Doing nothing"),null)}).filter(function(e){return!!e});r[s]||(r[s]=new WeakMap);var l=r[s],f=[],d=new Set,h=new Set(c),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};c.forEach(m);var p=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))p(e);else try{var r=e.getAttribute(a),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,u=(l.get(e)||0)+1;t.set(e,i),l.set(e,u),f.push(e),1===i&&o&&n.set(e,!0),1===u&&e.setAttribute(s,"true"),o||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(u),d.clear(),o++,function(){f.forEach(function(e){var r=t.get(e)-1,o=l.get(e)-1;t.set(e,r),l.set(e,o),r||(n.has(e)||e.removeAttribute(a),n.delete(e)),o||e.removeAttribute(s)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),u(r,o,n,"aria-hidden")):function(){return null}}])}]); 2 3//# chunkId=6c703a55-f45b-5b25-852a-fcb0db25971a
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.