ezux 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/EzContextMenu-9STA_8UL.cjs +1 -0
- package/dist/EzContextMenu-vcwZjlYv.js +288 -0
- package/dist/EzErrorBoundary-C7R4h7QH.cjs +1 -0
- package/dist/EzErrorBoundary-b-fGQvjw.js +74 -0
- package/dist/EzEventModal-C1ItJBxp.cjs +1 -0
- package/dist/EzEventModal-MDtx4Gwd.js +720 -0
- package/dist/EzFlow-B3oi5QvJ.js +2533 -0
- package/dist/EzFlow-BeiFmX7h.cjs +5 -0
- package/dist/EzGroupingPanel-B1B2B3Sc.js +107 -0
- package/dist/EzGroupingPanel-BGHywLsj.cjs +1 -0
- package/dist/EzKanban-CEPmBCZV.js +1589 -0
- package/dist/EzKanban-CsnJ80LW.cjs +2 -0
- package/dist/EzLayout-DYRKNOrI.cjs +1 -0
- package/dist/EzLayout-DyMI9A92.js +6986 -0
- package/dist/EzProvider-Df2qgeDn.js +975 -0
- package/dist/EzProvider-DntSad5M.cjs +1 -0
- package/dist/EzScheduler-CTYXyOG8.js +2737 -0
- package/dist/EzScheduler-CzL68fTe.cjs +1 -0
- package/dist/EzSchedulerQuickAdd-CPSPAjdk.cjs +1 -0
- package/dist/EzSchedulerQuickAdd-wXGn1L1c.js +124 -0
- package/dist/EzSchedulerToolbar-B5iXsdn2.cjs +1 -0
- package/dist/EzSchedulerToolbar-NdKzGgMo.js +306 -0
- package/dist/EzSignature-Bg9jJvHp.cjs +1 -0
- package/dist/EzSignature-CZk-iAb3.js +375 -0
- package/dist/EzTable-Bde5BUoE.cjs +3 -0
- package/dist/EzTable-CaCyWXNv.js +4291 -0
- package/dist/EzTableEditDialog-5CJ-i5FI.js +84 -0
- package/dist/EzTableEditDialog-DAPhmWxI.cjs +1 -0
- package/dist/EzTableFooter-B347PRkZ.js +35 -0
- package/dist/EzTableFooter-ZqHoQKYB.cjs +1 -0
- package/dist/EzTableToolbar-D4Qw-fwb.js +161 -0
- package/dist/EzTableToolbar-DNxAgMdI.cjs +1 -0
- package/dist/EzTreeView-ChsTltti.js +819 -0
- package/dist/EzTreeView-D8k-Wmxa.cjs +1 -0
- package/dist/HighlightText-BZ_1jMaA.js +56 -0
- package/dist/HighlightText-V5NgtV18.cjs +1 -0
- package/dist/KanbanBoard-BzIhmn-2.cjs +1 -0
- package/dist/KanbanBoard-DTsy_GAc.js +1698 -0
- package/dist/NotificationPanel-B0pVgPcO.js +55 -0
- package/dist/NotificationPanel-ulIs4r-0.cjs +1 -0
- package/dist/TooltipWrapper-66yWxRSD.js +44 -0
- package/dist/TooltipWrapper-QRc3qTIG.cjs +1 -0
- package/dist/advanced.cjs +10 -0
- package/dist/advanced.d.ts +2616 -0
- package/dist/advanced.es.js +401 -0
- package/dist/avatar-DOjSWi4R.js +24 -0
- package/dist/avatar-hWg4zkh7.cjs +1 -0
- package/dist/button-BN0DK137.js +42 -0
- package/dist/button-CfngAt_5.cjs +1 -0
- package/dist/calendar-DEtDSI0W.js +112 -0
- package/dist/calendar-DroJGSPS.cjs +1 -0
- package/dist/card-CswobLmE.cjs +1 -0
- package/dist/card-vtDNxeL3.js +50 -0
- package/dist/checkbox-BpxQa4HQ.cjs +1 -0
- package/dist/checkbox-CS_BOaA6.js +22 -0
- package/dist/chunk-D-qHiVGv.cjs +1 -0
- package/dist/date-time-picker-C6i4TdP7.js +127 -0
- package/dist/date-time-picker-CfHnqJDm.cjs +1 -0
- package/dist/dropdown-menu-HrOgNiFv.js +78 -0
- package/dist/dropdown-menu-Xjuk1Xa-.cjs +1 -0
- package/dist/ezux.css +2 -1
- package/dist/flow.cjs +1 -0
- package/dist/flow.d.ts +539 -0
- package/dist/flow.es.js +2 -0
- package/dist/index.cjs +3 -12
- package/dist/index.d.ts +385 -1368
- package/dist/index.es.js +230 -1041
- package/dist/input-BE8Mmo8X.js +13 -0
- package/dist/input-DPWRzn7K.cjs +1 -0
- package/dist/kanban.cjs +1 -1
- package/dist/kanban.es.js +4 -17
- package/dist/label-4cHst7uN.cjs +1 -0
- package/dist/label-BLMeK8-Z.js +14 -0
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +4 -0
- package/dist/layout.es.js +2 -20
- package/dist/mock-services.cjs +1 -0
- package/dist/mock-services.d.ts +273 -0
- package/dist/mock-services.es.js +161 -0
- package/dist/popover--Cf3FJ0g.cjs +1 -0
- package/dist/popover-CbakOivq.js +15 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/scheduler.cjs +1 -1
- package/dist/scheduler.d.ts +78 -3
- package/dist/scheduler.es.js +2 -11
- package/dist/scroll-area-CBllCk9n.js +35 -0
- package/dist/scroll-area-COOakfzY.cjs +1 -0
- package/dist/select-1vYIUsge.cjs +1 -0
- package/dist/select-Bes3Q6zL.js +43 -0
- package/dist/signature.cjs +1 -1
- package/dist/signature.es.js +2 -4
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +78 -24
- package/dist/table.es.js +2 -17
- package/dist/theme-vars.css +143 -135
- package/dist/tooltip-BRCnO0kH.cjs +1 -0
- package/dist/tooltip-CrhCAu6_.js +14 -0
- package/dist/treeview.cjs +1 -1
- package/dist/treeview.es.js +2 -954
- package/dist/useComponentState-CYR9x36s.js +57 -0
- package/dist/useComponentState-DqA-gi3-.cjs +1 -0
- package/dist/useImperativeAPI-CPRA9SCj.js +7 -0
- package/dist/useImperativeAPI-KOlk1Cvt.cjs +1 -0
- package/dist/useInitCoreServices-CRq0kPGA.cjs +1 -0
- package/dist/useInitCoreServices-lkTv2its.js +40 -0
- package/dist/useService-BkqWkhiU.js +10 -0
- package/dist/useService-CKITee_1.cjs +1 -0
- package/dist/useServiceState-BDTGXKyx.cjs +1 -0
- package/dist/useServiceState-CInpkGt2.js +21 -0
- package/dist/utils-DyS9jpam.cjs +1 -0
- package/dist/utils-hFRduYmq.js +8 -0
- package/package.json +42 -16
- package/dist/EzContextMenu-B6HBUjWv.cjs +0 -5
- package/dist/EzContextMenu-BSA_B6Pr.js +0 -3500
- package/dist/EzErrorBoundary-CEdz_hDo.cjs +0 -41
- package/dist/EzErrorBoundary-D4NBadES.js +0 -3727
- package/dist/EzEventModal-BUMp_BFi.js +0 -689
- package/dist/EzEventModal-xzHfzi0O.cjs +0 -1
- package/dist/EzGroupingPanel-BUsIYDRi.js +0 -143
- package/dist/EzGroupingPanel-D0HdSomF.cjs +0 -1
- package/dist/EzSchedulerQuickAdd-C653LTGh.js +0 -118
- package/dist/EzSchedulerQuickAdd-UnOWCpJd.cjs +0 -1
- package/dist/EzSchedulerToolbar-C-5OdRY6.cjs +0 -1
- package/dist/EzSchedulerToolbar-CO5jjDQg.js +0 -240
- package/dist/EzSignature-BaNesxwC.cjs +0 -1
- package/dist/EzSignature-D4EYwo9W.js +0 -419
- package/dist/EzTableEditDialog-Cd948V1C.js +0 -63
- package/dist/EzTableEditDialog-NiOubaMT.cjs +0 -1
- package/dist/EzTableFooter-CWjfGCjL.cjs +0 -1
- package/dist/EzTableFooter-DveD12RC.js +0 -54
- package/dist/EzTableToolbar-Bz8UWv6j.js +0 -246
- package/dist/EzTableToolbar-DHE7Bb1R.cjs +0 -1
- package/dist/HighlightText-8D6KEyBw.js +0 -68
- package/dist/HighlightText-LtZmzCle.cjs +0 -1
- package/dist/NotificationPanel-D2Y-_ahk.js +0 -68
- package/dist/NotificationPanel-zLxrtTGf.cjs +0 -1
- package/dist/TooltipWrapper-BrRTi5EJ.js +0 -2021
- package/dist/TooltipWrapper-DWts4bAI.cjs +0 -1
- package/dist/avatar-BeK0E4mn.js +0 -41
- package/dist/avatar-DZAaTK2f.cjs +0 -1
- package/dist/bell-DAz8P0BR.js +0 -14
- package/dist/bell-DOX2y38e.cjs +0 -1
- package/dist/calendar-BMZ8ddOf.cjs +0 -1
- package/dist/calendar-Dy3rVMW2.js +0 -90
- package/dist/checkbox-B0lGHUyy.cjs +0 -1
- package/dist/checkbox-boJRxICT.js +0 -46
- package/dist/chevron-down-C3s8jU6B.js +0 -5
- package/dist/chevron-down-DZVL7VHW.cjs +0 -1
- package/dist/chevron-left-BFr8XZyF.js +0 -5
- package/dist/chevron-left-HWhRo6IH.cjs +0 -1
- package/dist/circle-alert-77QqFR-z.cjs +0 -1
- package/dist/circle-alert-B2AMDd8N.js +0 -9
- package/dist/circle-x-Cv7bfIC_.js +0 -9
- package/dist/circle-x-DwVXxhXr.cjs +0 -1
- package/dist/date-time-picker-DTxHdPgQ.cjs +0 -1
- package/dist/date-time-picker-Dj2eftJI.js +0 -1636
- package/dist/download-0ZhO2XaW.cjs +0 -1
- package/dist/download-panVHmk6.js +0 -9
- package/dist/ellipsis-CuqNthAj.js +0 -9
- package/dist/ellipsis-CzlqJf-i.cjs +0 -1
- package/dist/grip-vertical-CSyDKBul.js +0 -12
- package/dist/grip-vertical-DZNBW1Dn.cjs +0 -1
- package/dist/index-B3ipEEhH.cjs +0 -2
- package/dist/index-BPPb7bcs.js +0 -3220
- package/dist/index-BQKw_Vho.js +0 -9604
- package/dist/index-C5STgBSy.js +0 -5203
- package/dist/index-C6NfgycP.js +0 -4644
- package/dist/index-D4f2ZdrG.cjs +0 -2
- package/dist/index-DUY1SqMo.cjs +0 -1
- package/dist/index-c1Zg--dt.cjs +0 -7
- package/dist/input-BgM_la4k.cjs +0 -1
- package/dist/input-jYQ5VKNR.js +0 -21
- package/dist/isBefore-C3Y_wbk3.js +0 -15
- package/dist/isBefore-Cp1ttk6q.cjs +0 -1
- package/dist/label-ClOW9UCt.js +0 -55
- package/dist/label-Dx6oDB-X.cjs +0 -1
- package/dist/layers-BA4i1fYX.js +0 -27
- package/dist/layers-xSPd-hz3.cjs +0 -1
- package/dist/popover-BJq1CKmi.cjs +0 -1
- package/dist/popover-Cmlb7w3R.js +0 -341
- package/dist/scroll-area-9fwpVNxT.js +0 -573
- package/dist/scroll-area-CwwZSSA4.cjs +0 -1
- package/dist/select-GxA46anr.cjs +0 -1
- package/dist/select-mDCun_IR.js +0 -35
- package/dist/settings-CvyjK75A.js +0 -31
- package/dist/settings-DKPknrt8.cjs +0 -1
- package/dist/sortable.esm-CsRPuXyD.cjs +0 -1
- package/dist/sortable.esm-CzMCDPet.js +0 -477
- package/dist/tooltip-B41iztKT.cjs +0 -1
- package/dist/tooltip-BCtrEe0z.js +0 -490
- package/dist/useComponentState-C87xXa5d.js +0 -64
- package/dist/useComponentState-DDgGbBXv.cjs +0 -1
- package/dist/useImperativeAPI-DXmCQvPL.js +0 -7
- package/dist/useImperativeAPI-DbZ3owSV.cjs +0 -1
- package/dist/useInitCoreServices-CwXv2p4S.cjs +0 -1
- package/dist/useInitCoreServices-D1WaWlaI.js +0 -3929
- package/dist/useService-8OoezWr8.cjs +0 -1
- package/dist/useService-BUi3uAqE.js +0 -10
- package/dist/useServiceState-BjpCjUn2.cjs +0 -1
- package/dist/useServiceState-VE-viK8b.js +0 -24
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";const $=require("react"),b=require("react/jsx-runtime"),Cn=require("react-dom");function En(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=En($),Sn=En(Cn);function Yt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function xe(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Yt(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Yt(e[o],null)}}}}function V(...e){return a.useCallback(xe(...e),e)}const Rn=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const qr=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Zr=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase());const Xt=e=>{const t=Zr(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Qr={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Jr=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const eo=$.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:c,...s},d)=>$.createElement("svg",{ref:d,...Qr,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Rn("lucide",o),...!i&&!Jr(s)&&{"aria-hidden":"true"},...s},[...c.map(([l,f])=>$.createElement(l,f)),...Array.isArray(i)?i:[i]]));const de=(e,t)=>{const n=$.forwardRef(({className:r,...o},i)=>$.createElement(eo,{ref:i,iconNode:t,className:Rn(`lucide-${qr(Xt(e))}`,`lucide-${e}`,r),...o}));return n.displayName=Xt(e),n};const to=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],no=de("check",to);const ro=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],oo=de("chevron-right",ro);const io=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],so=de("circle",io);const co=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ao=de("loader-circle",co);const lo=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],An=de("refresh-cw",lo);const uo=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Pn=de("triangle-alert",uo),fo=(e,t,n)=>{let r=e.get(t);return r||(r=n(),e.register(t,r)),r},po=(e,t)=>{Object.entries(t).forEach(([n,r])=>{e.get(n)||e.register(n,r())})};function T(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function mo(e,t){const n=a.createContext(t),r=i=>{const{children:c,...s}=i,d=a.useMemo(()=>s,Object.values(s));return b.jsx(n.Provider,{value:d,children:c})};r.displayName=e+"Provider";function o(i){const c=a.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Ie(e,t=[]){let n=[];function r(i,c){const s=a.createContext(c),d=n.length;n=[...n,c];const l=u=>{const{scope:m,children:h,...g}=u,p=m?.[e]?.[d]||s,v=a.useMemo(()=>g,Object.values(g));return b.jsx(p.Provider,{value:v,children:h})};l.displayName=i+"Provider";function f(u,m){const h=m?.[e]?.[d]||s,g=a.useContext(h);if(g)return g;if(c!==void 0)return c;throw new Error(`\`${u}\` must be used within \`${i}\``)}return[l,f]}const o=()=>{const i=n.map(c=>a.createContext(c));return function(s){const d=s?.[e]||i;return a.useMemo(()=>({[`__scope${e}`]:{...s,[e]:d}}),[s,d])}};return o.scopeName=e,[r,ho(o,...t)]}function ho(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=r.reduce((s,{useScope:d,scopeName:l})=>{const u=d(i)[`__scope${l}`];return{...s,...u}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}var ne=globalThis?.document?a.useLayoutEffect:()=>{},vo=a[" useInsertionEffect ".trim().toString()]||ne;function On({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,c]=go({defaultProp:t,onChange:n}),s=e!==void 0,d=s?e:o;{const f=a.useRef(e!==void 0);a.useEffect(()=>{const u=f.current;u!==s&&console.warn(`${r} is changing from ${u?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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.`),f.current=s},[s,r])}const l=a.useCallback(f=>{if(s){const u=yo(f)?f(e):f;u!==e&&c.current?.(u)}else i(f)},[s,e,i,c]);return[d,l]}function go({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return vo(()=>{i.current=t},[t]),a.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function yo(e){return typeof e=="function"}function wo(e){const t=xo(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),d=s.find(Co);if(d){const l=d.props.children,f=s.map(u=>u===d?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:u);return b.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return b.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function xo(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=So(o),s=Eo(i,o.props);return o.type!==a.Fragment&&(s.ref=r?xe(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bo=Symbol("radix.slottable");function Co(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bo}function Eo(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const d=i(...s);return o(...s),d}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function So(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ro=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],U=Ro.reduce((e,t)=>{const n=wo(`Primitive.${t}`),r=a.forwardRef((o,i)=>{const{asChild:c,...s}=o,d=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(d,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Mn(e,t){e&&Sn.flushSync(()=>e.dispatchEvent(t))}function qt(e){const t=Ao(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),d=s.find(Oo);if(d){const l=d.props.children,f=s.map(u=>u===d?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:u);return b.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return b.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Ao(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=To(o),s=Mo(i,o.props);return o.type!==a.Fragment&&(s.ref=r?xe(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Po=Symbol("radix.slottable");function Oo(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Po}function Mo(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const d=i(...s);return o(...s),d}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function To(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Tn(e){const t=e+"CollectionProvider",[n,r]=Ie(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=p=>{const{scope:v,children:y}=p,C=$.useRef(null),x=$.useRef(new Map).current;return b.jsx(o,{scope:v,itemMap:x,collectionRef:C,children:y})};c.displayName=t;const s=e+"CollectionSlot",d=qt(s),l=$.forwardRef((p,v)=>{const{scope:y,children:C}=p,x=i(s,y),w=V(v,x.collectionRef);return b.jsx(d,{ref:w,children:C})});l.displayName=s;const f=e+"CollectionItemSlot",u="data-radix-collection-item",m=qt(f),h=$.forwardRef((p,v)=>{const{scope:y,children:C,...x}=p,w=$.useRef(null),S=V(v,w),A=i(f,y);return $.useEffect(()=>(A.itemMap.set(w,{ref:w,...x}),()=>{A.itemMap.delete(w)})),b.jsx(m,{[u]:"",ref:S,children:C})});h.displayName=f;function g(p){const v=i(e+"CollectionConsumer",p);return $.useCallback(()=>{const C=v.collectionRef.current;if(!C)return[];const x=Array.from(C.querySelectorAll(`[${u}]`));return Array.from(v.itemMap.values()).sort((A,E)=>x.indexOf(A.ref.current)-x.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:c,Slot:l,ItemSlot:h},g,r]}var Io=a.createContext(void 0);function St(e){const t=a.useContext(Io);return e||t||"ltr"}function z(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...n)=>t.current?.(...n),[])}function _o(e,t=globalThis?.document){const n=z(e);a.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var No="DismissableLayer",gt="dismissableLayer.update",Do="dismissableLayer.pointerDownOutside",Lo="dismissableLayer.focusOutside",Zt,In=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rt=a.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:s,...d}=e,l=a.useContext(In),[f,u]=a.useState(null),m=f?.ownerDocument??globalThis?.document,[,h]=a.useState({}),g=V(t,E=>u(E)),p=Array.from(l.layers),[v]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(v),C=f?p.indexOf(f):-1,x=l.layersWithOutsidePointerEventsDisabled.size>0,w=C>=y,S=jo(E=>{const P=E.target,_=[...l.branches].some(M=>M.contains(P));!w||_||(o?.(E),c?.(E),E.defaultPrevented||s?.())},m),A=$o(E=>{const P=E.target;[...l.branches].some(M=>M.contains(P))||(i?.(E),c?.(E),E.defaultPrevented||s?.())},m);return _o(E=>{C===l.layers.size-1&&(r?.(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))},m),a.useEffect(()=>{if(f)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Zt=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(f)),l.layers.add(f),Qt(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Zt)}},[f,m,n,l]),a.useEffect(()=>()=>{f&&(l.layers.delete(f),l.layersWithOutsidePointerEventsDisabled.delete(f),Qt())},[f,l]),a.useEffect(()=>{const E=()=>h({});return document.addEventListener(gt,E),()=>document.removeEventListener(gt,E)},[]),b.jsx(U.div,{...d,ref:g,style:{pointerEvents:x?w?"auto":"none":void 0,...e.style},onFocusCapture:T(e.onFocusCapture,A.onFocusCapture),onBlurCapture:T(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,S.onPointerDownCapture)})});Rt.displayName=No;var Fo="DismissableLayerBranch",ko=a.forwardRef((e,t)=>{const n=a.useContext(In),r=a.useRef(null),o=V(t,r);return a.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),b.jsx(U.div,{...e,ref:o})});ko.displayName=Fo;function jo(e,t=globalThis?.document){const n=z(e),r=a.useRef(!1),o=a.useRef(()=>{});return a.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let d=function(){_n(Do,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}else t.removeEventListener("click",o.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function $o(e,t=globalThis?.document){const n=z(e),r=a.useRef(!1);return a.useEffect(()=>{const o=i=>{i.target&&!r.current&&_n(Lo,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Qt(){const e=new CustomEvent(gt);document.dispatchEvent(e)}function _n(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Mn(o,i):o.dispatchEvent(i)}var ct=0;function Nn(){a.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Jt()),document.body.insertAdjacentElement("beforeend",e[1]??Jt()),ct++,()=>{ct===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ct--}},[])}function Jt(){const 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}var at="focusScope.autoFocusOnMount",lt="focusScope.autoFocusOnUnmount",en={bubbles:!1,cancelable:!0},Wo="FocusScope",At=a.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=e,[s,d]=a.useState(null),l=z(o),f=z(i),u=a.useRef(null),m=V(t,p=>d(p)),h=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let p=function(x){if(h.paused||!s)return;const w=x.target;s.contains(w)?u.current=w:ie(u.current,{select:!0})},v=function(x){if(h.paused||!s)return;const w=x.relatedTarget;w!==null&&(s.contains(w)||ie(u.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&ie(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",v);const C=new MutationObserver(y);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),C.disconnect()}}},[r,s,h.paused]),a.useEffect(()=>{if(s){nn.add(h);const p=document.activeElement;if(!s.contains(p)){const y=new CustomEvent(at,en);s.addEventListener(at,l),s.dispatchEvent(y),y.defaultPrevented||(Bo(Go(Dn(s)),{select:!0}),document.activeElement===p&&ie(s))}return()=>{s.removeEventListener(at,l),setTimeout(()=>{const y=new CustomEvent(lt,en);s.addEventListener(lt,f),s.dispatchEvent(y),y.defaultPrevented||ie(p??document.body,{select:!0}),s.removeEventListener(lt,f),nn.remove(h)},0)}}},[s,l,f,h]);const g=a.useCallback(p=>{if(!n&&!r||h.paused)return;const v=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(v&&y){const C=p.currentTarget,[x,w]=Vo(C);x&&w?!p.shiftKey&&y===w?(p.preventDefault(),n&&ie(x,{select:!0})):p.shiftKey&&y===x&&(p.preventDefault(),n&&ie(w,{select:!0})):y===C&&p.preventDefault()}},[n,r,h.paused]);return b.jsx(U.div,{tabIndex:-1,...c,ref:m,onKeyDown:g})});At.displayName=Wo;function Bo(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ie(r,{select:t}),document.activeElement!==n)return}function Vo(e){const t=Dn(e),n=tn(t,e),r=tn(t.reverse(),e);return[n,r]}function Dn(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tn(e,t){for(const n of e)if(!Uo(n,{upTo:t}))return n}function Uo(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ho(e){return e instanceof HTMLInputElement&&"select"in e}function ie(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ho(e)&&t&&e.select()}}var nn=Ko();function Ko(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=rn(e,t),e.unshift(t)},remove(t){e=rn(e,t),e[0]?.resume()}}}function rn(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Go(e){return e.filter(t=>t.tagName!=="A")}var zo=a[" useId ".trim().toString()]||(()=>{}),Yo=0;function Ye(e){const[t,n]=a.useState(zo());return ne(()=>{n(r=>r??String(Yo++))},[e]),e||(t?`radix-${t}`:"")}const Xo=["top","right","bottom","left"],se=Math.min,H=Math.max,Xe=Math.round,$e=Math.floor,J=e=>({x:e,y:e}),qo={left:"right",right:"left",bottom:"top",top:"bottom"},Zo={start:"end",end:"start"};function yt(e,t,n){return H(e,se(t,n))}function re(e,t){return typeof e=="function"?e(t):e}function oe(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function Pt(e){return e==="x"?"y":"x"}function Ot(e){return e==="y"?"height":"width"}const Qo=new Set(["top","bottom"]);function Q(e){return Qo.has(oe(e))?"y":"x"}function Mt(e){return Pt(Q(e))}function Jo(e,t,n){n===void 0&&(n=!1);const r=be(e),o=Mt(e),i=Ot(o);let c=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=qe(c)),[c,qe(c)]}function ei(e){const t=qe(e);return[wt(e),t,wt(t)]}function wt(e){return e.replace(/start|end/g,t=>Zo[t])}const on=["left","right"],sn=["right","left"],ti=["top","bottom"],ni=["bottom","top"];function ri(e,t,n){switch(e){case"top":case"bottom":return n?t?sn:on:t?on:sn;case"left":case"right":return t?ti:ni;default:return[]}}function oi(e,t,n,r){const o=be(e);let i=ri(oe(e),n==="start",r);return o&&(i=i.map(c=>c+"-"+o),t&&(i=i.concat(i.map(wt)))),i}function qe(e){return e.replace(/left|right|bottom|top/g,t=>qo[t])}function ii(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ln(e){return typeof e!="number"?ii(e):{top:e,right:e,bottom:e,left:e}}function Ze(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function cn(e,t,n){let{reference:r,floating:o}=e;const i=Q(t),c=Mt(t),s=Ot(c),d=oe(t),l=i==="y",f=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let h;switch(d){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-o.width,y:u};break;default:h={x:r.x,y:r.y}}switch(be(t)){case"start":h[c]-=m*(n&&l?-1:1);break;case"end":h[c]+=m*(n&&l?-1:1);break}return h}async function si(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:c,elements:s,strategy:d}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=re(t,e),g=Ln(h),v=s[m?u==="floating"?"reference":"floating":u],y=Ze(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:d})),C=u==="floating"?{x:r,y:o,width:c.floating.width,height:c.floating.height}:c.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),w=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Ze(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:C,offsetParent:x,strategy:d}):C);return{top:(y.top-S.top+g.top)/w.y,bottom:(S.bottom-y.bottom+g.bottom)/w.y,left:(y.left-S.left+g.left)/w.x,right:(S.right-y.right+g.right)/w.x}}const ci=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:c}=n,s=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(t));let l=await c.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=cn(l,r,d),m=r,h={},g=0;for(let v=0;v<s.length;v++){var p;const{name:y,fn:C}=s[v],{x,y:w,data:S,reset:A}=await C({x:f,y:u,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:l,platform:{...c,detectOverflow:(p=c.detectOverflow)!=null?p:si},elements:{reference:e,floating:t}});f=x??f,u=w??u,h={...h,[y]:{...h[y],...S}},A&&g<=50&&(g++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(l=A.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:o}):A.rects),{x:f,y:u}=cn(l,m,d)),v=-1)}return{x:f,y:u,placement:m,strategy:o,middlewareData:h}},ai=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:c,elements:s,middlewareData:d}=t,{element:l,padding:f=0}=re(e,t)||{};if(l==null)return{};const u=Ln(f),m={x:n,y:r},h=Mt(o),g=Ot(h),p=await c.getDimensions(l),v=h==="y",y=v?"top":"left",C=v?"bottom":"right",x=v?"clientHeight":"clientWidth",w=i.reference[g]+i.reference[h]-m[h]-i.floating[g],S=m[h]-i.reference[h],A=await(c.getOffsetParent==null?void 0:c.getOffsetParent(l));let E=A?A[x]:0;(!E||!await(c.isElement==null?void 0:c.isElement(A)))&&(E=s.floating[x]||i.floating[g]);const P=w/2-S/2,_=E/2-p[g]/2-1,M=se(u[y],_),N=se(u[C],_),L=M,F=E-p[g]-N,D=E/2-p[g]/2+P,W=yt(L,D,F),I=!d.arrow&&be(o)!=null&&D!==W&&i.reference[g]/2-(D<L?M:N)-p[g]/2<0,k=I?D<L?D-L:D-F:0;return{[h]:m[h]+k,data:{[h]:W,centerOffset:D-W-k,...I&&{alignmentOffset:k}},reset:I}}}),li=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:c,initialPlacement:s,platform:d,elements:l}=t,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:p=!0,...v}=re(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=oe(o),C=Q(s),x=oe(s)===s,w=await(d.isRTL==null?void 0:d.isRTL(l.floating)),S=m||(x||!p?[qe(s)]:ei(s)),A=g!=="none";!m&&A&&S.push(...oi(s,p,g,w));const E=[s,...S],P=await d.detectOverflow(t,v),_=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&_.push(P[y]),u){const D=Jo(o,c,w);_.push(P[D[0]],P[D[1]])}if(M=[...M,{placement:o,overflows:_}],!_.every(D=>D<=0)){var N,L;const D=(((N=i.flip)==null?void 0:N.index)||0)+1,W=E[D];if(W&&(!(u==="alignment"?C!==Q(W):!1)||M.every(O=>Q(O.placement)===C?O.overflows[0]>0:!0)))return{data:{index:D,overflows:M},reset:{placement:W}};let I=(L=M.filter(k=>k.overflows[0]<=0).sort((k,O)=>k.overflows[1]-O.overflows[1])[0])==null?void 0:L.placement;if(!I)switch(h){case"bestFit":{var F;const k=(F=M.filter(O=>{if(A){const R=Q(O.placement);return R===C||R==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(R=>R>0).reduce((R,B)=>R+B,0)]).sort((O,R)=>O[1]-R[1])[0])==null?void 0:F[0];k&&(I=k);break}case"initialPlacement":I=s;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function an(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ln(e){return Xo.some(t=>e[t]>=0)}const ui=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=re(e,t);switch(o){case"referenceHidden":{const c=await r.detectOverflow(t,{...i,elementContext:"reference"}),s=an(c,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:ln(s)}}}case"escaped":{const c=await r.detectOverflow(t,{...i,altBoundary:!0}),s=an(c,n.floating);return{data:{escapedOffsets:s,escaped:ln(s)}}}default:return{}}}}},Fn=new Set(["left","top"]);async function fi(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),c=oe(n),s=be(n),d=Q(n)==="y",l=Fn.has(c)?-1:1,f=i&&d?-1:1,u=re(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),d?{x:h*f,y:m*l}:{x:m*l,y:h*f}}const di=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:c,middlewareData:s}=t,d=await fi(t,e);return c===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:c}}}}},pi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:c=!0,crossAxis:s=!1,limiter:d={fn:y=>{let{x:C,y:x}=y;return{x:C,y:x}}},...l}=re(e,t),f={x:n,y:r},u=await i.detectOverflow(t,l),m=Q(oe(o)),h=Pt(m);let g=f[h],p=f[m];if(c){const y=h==="y"?"top":"left",C=h==="y"?"bottom":"right",x=g+u[y],w=g-u[C];g=yt(x,g,w)}if(s){const y=m==="y"?"top":"left",C=m==="y"?"bottom":"right",x=p+u[y],w=p-u[C];p=yt(x,p,w)}const v=d.fn({...t,[h]:g,[m]:p});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:c,[m]:s}}}}}},mi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:c}=t,{offset:s=0,mainAxis:d=!0,crossAxis:l=!0}=re(e,t),f={x:n,y:r},u=Q(o),m=Pt(u);let h=f[m],g=f[u];const p=re(s,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(d){const x=m==="y"?"height":"width",w=i.reference[m]-i.floating[x]+v.mainAxis,S=i.reference[m]+i.reference[x]-v.mainAxis;h<w?h=w:h>S&&(h=S)}if(l){var y,C;const x=m==="y"?"width":"height",w=Fn.has(oe(o)),S=i.reference[u]-i.floating[x]+(w&&((y=c.offset)==null?void 0:y[u])||0)+(w?0:v.crossAxis),A=i.reference[u]+i.reference[x]+(w?0:((C=c.offset)==null?void 0:C[u])||0)-(w?v.crossAxis:0);g<S?g=S:g>A&&(g=A)}return{[m]:h,[u]:g}}}},hi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:c,elements:s}=t,{apply:d=()=>{},...l}=re(e,t),f=await c.detectOverflow(t,l),u=oe(o),m=be(o),h=Q(o)==="y",{width:g,height:p}=i.floating;let v,y;u==="top"||u==="bottom"?(v=u,y=m===(await(c.isRTL==null?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(y=u,v=m==="end"?"top":"bottom");const C=p-f.top-f.bottom,x=g-f.left-f.right,w=se(p-f[v],C),S=se(g-f[y],x),A=!t.middlewareData.shift;let E=w,P=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=C),A&&!m){const M=H(f.left,0),N=H(f.right,0),L=H(f.top,0),F=H(f.bottom,0);h?P=g-2*(M!==0||N!==0?M+N:H(f.left,f.right)):E=p-2*(L!==0||F!==0?L+F:H(f.top,f.bottom))}await d({...t,availableWidth:P,availableHeight:E});const _=await c.getDimensions(s.floating);return g!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function tt(){return typeof window<"u"}function Ce(e){return kn(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function te(e){var t;return(t=(kn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function kn(e){return tt()?e instanceof Node||e instanceof K(e).Node:!1}function Y(e){return tt()?e instanceof Element||e instanceof K(e).Element:!1}function ee(e){return tt()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function un(e){return!tt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}const vi=new Set(["inline","contents"]);function _e(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vi.has(o)}const gi=new Set(["table","td","th"]);function yi(e){return gi.has(Ce(e))}const wi=[":popover-open",":modal"];function nt(e){return wi.some(t=>{try{return e.matches(t)}catch{return!1}})}const xi=["transform","translate","scale","rotate","perspective"],bi=["transform","translate","scale","rotate","perspective","filter"],Ci=["paint","layout","strict","content"];function Tt(e){const t=It(),n=Y(e)?X(e):e;return xi.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||bi.some(r=>(n.willChange||"").includes(r))||Ci.some(r=>(n.contain||"").includes(r))}function Ei(e){let t=ce(e);for(;ee(t)&&!we(t);){if(Tt(t))return t;if(nt(t))return null;t=ce(t)}return null}function It(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Si=new Set(["html","body","#document"]);function we(e){return Si.has(Ce(e))}function X(e){return K(e).getComputedStyle(e)}function rt(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ce(e){if(Ce(e)==="html")return e;const t=e.assignedSlot||e.parentNode||un(e)&&e.host||te(e);return un(t)?t.host:t}function jn(e){const t=ce(e);return we(t)?e.ownerDocument?e.ownerDocument.body:e.body:ee(t)&&_e(t)?t:jn(t)}function Oe(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=jn(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),c=K(o);if(i){const s=xt(c);return t.concat(c,c.visualViewport||[],_e(o)?o:[],s&&n?Oe(s):[])}return t.concat(o,Oe(o,[],n))}function xt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $n(e){const t=X(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ee(e),i=o?e.offsetWidth:n,c=o?e.offsetHeight:r,s=Xe(n)!==i||Xe(r)!==c;return s&&(n=i,r=c),{width:n,height:r,$:s}}function _t(e){return Y(e)?e:e.contextElement}function ge(e){const t=_t(e);if(!ee(t))return J(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=$n(t);let c=(i?Xe(n.width):n.width)/r,s=(i?Xe(n.height):n.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}const Ri=J(0);function Wn(e){const t=K(e);return!It()||!t.visualViewport?Ri:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ai(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function fe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=_t(e);let c=J(1);t&&(r?Y(r)&&(c=ge(r)):c=ge(e));const s=Ai(i,n,r)?Wn(i):J(0);let d=(o.left+s.x)/c.x,l=(o.top+s.y)/c.y,f=o.width/c.x,u=o.height/c.y;if(i){const m=K(i),h=r&&Y(r)?K(r):r;let g=m,p=xt(g);for(;p&&r&&h!==g;){const v=ge(p),y=p.getBoundingClientRect(),C=X(p),x=y.left+(p.clientLeft+parseFloat(C.paddingLeft))*v.x,w=y.top+(p.clientTop+parseFloat(C.paddingTop))*v.y;d*=v.x,l*=v.y,f*=v.x,u*=v.y,d+=x,l+=w,g=K(p),p=xt(g)}}return Ze({width:f,height:u,x:d,y:l})}function ot(e,t){const n=rt(e).scrollLeft;return t?t.left+n:fe(te(e)).left+n}function Bn(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ot(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Pi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",c=te(r),s=t?nt(t.floating):!1;if(r===c||s&&i)return n;let d={scrollLeft:0,scrollTop:0},l=J(1);const f=J(0),u=ee(r);if((u||!u&&!i)&&((Ce(r)!=="body"||_e(c))&&(d=rt(r)),ee(r))){const h=fe(r);l=ge(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const m=c&&!u&&!i?Bn(c,d):J(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-d.scrollLeft*l.x+f.x+m.x,y:n.y*l.y-d.scrollTop*l.y+f.y+m.y}}function Oi(e){return Array.from(e.getClientRects())}function Mi(e){const t=te(e),n=rt(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let c=-n.scrollLeft+ot(e);const s=-n.scrollTop;return X(r).direction==="rtl"&&(c+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:c,y:s}}const fn=25;function Ti(e,t){const n=K(e),r=te(e),o=n.visualViewport;let i=r.clientWidth,c=r.clientHeight,s=0,d=0;if(o){i=o.width,c=o.height;const f=It();(!f||f&&t==="fixed")&&(s=o.offsetLeft,d=o.offsetTop)}const l=ot(r);if(l<=0){const f=r.ownerDocument,u=f.body,m=getComputedStyle(u),h=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(r.clientWidth-u.clientWidth-h);g<=fn&&(i-=g)}else l<=fn&&(i+=l);return{width:i,height:c,x:s,y:d}}const Ii=new Set(["absolute","fixed"]);function _i(e,t){const n=fe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ee(e)?ge(e):J(1),c=e.clientWidth*i.x,s=e.clientHeight*i.y,d=o*i.x,l=r*i.y;return{width:c,height:s,x:d,y:l}}function dn(e,t,n){let r;if(t==="viewport")r=Ti(e,n);else if(t==="document")r=Mi(te(e));else if(Y(t))r=_i(t,n);else{const o=Wn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ze(r)}function Vn(e,t){const n=ce(e);return n===t||!Y(n)||we(n)?!1:X(n).position==="fixed"||Vn(n,t)}function Ni(e,t){const n=t.get(e);if(n)return n;let r=Oe(e,[],!1).filter(s=>Y(s)&&Ce(s)!=="body"),o=null;const i=X(e).position==="fixed";let c=i?ce(e):e;for(;Y(c)&&!we(c);){const s=X(c),d=Tt(c);!d&&s.position==="fixed"&&(o=null),(i?!d&&!o:!d&&s.position==="static"&&!!o&&Ii.has(o.position)||_e(c)&&!d&&Vn(e,c))?r=r.filter(f=>f!==c):o=s,c=ce(c)}return t.set(e,r),r}function Di(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const c=[...n==="clippingAncestors"?nt(t)?[]:Ni(t,this._c):[].concat(n),r],s=c[0],d=c.reduce((l,f)=>{const u=dn(t,f,o);return l.top=H(u.top,l.top),l.right=se(u.right,l.right),l.bottom=se(u.bottom,l.bottom),l.left=H(u.left,l.left),l},dn(t,s,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Li(e){const{width:t,height:n}=$n(e);return{width:t,height:n}}function Fi(e,t,n){const r=ee(t),o=te(t),i=n==="fixed",c=fe(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const d=J(0);function l(){d.x=ot(o)}if(r||!r&&!i)if((Ce(t)!=="body"||_e(o))&&(s=rt(t)),r){const h=fe(t,!0,i,t);d.x=h.x+t.clientLeft,d.y=h.y+t.clientTop}else o&&l();i&&!r&&o&&l();const f=o&&!r&&!i?Bn(o,s):J(0),u=c.left+s.scrollLeft-d.x-f.x,m=c.top+s.scrollTop-d.y-f.y;return{x:u,y:m,width:c.width,height:c.height}}function ut(e){return X(e).position==="static"}function pn(e,t){if(!ee(e)||X(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return te(e)===n&&(n=n.ownerDocument.body),n}function Un(e,t){const n=K(e);if(nt(e))return n;if(!ee(e)){let o=ce(e);for(;o&&!we(o);){if(Y(o)&&!ut(o))return o;o=ce(o)}return n}let r=pn(e,t);for(;r&&yi(r)&&ut(r);)r=pn(r,t);return r&&we(r)&&ut(r)&&!Tt(r)?n:r||Ei(e)||n}const ki=async function(e){const t=this.getOffsetParent||Un,n=this.getDimensions,r=await n(e.floating);return{reference:Fi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ji(e){return X(e).direction==="rtl"}const $i={convertOffsetParentRelativeRectToViewportRelativeRect:Pi,getDocumentElement:te,getClippingRect:Di,getOffsetParent:Un,getElementRects:ki,getClientRects:Oi,getDimensions:Li,getScale:ge,isElement:Y,isRTL:ji};function Hn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wi(e,t){let n=null,r;const o=te(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function c(s,d){s===void 0&&(s=!1),d===void 0&&(d=1),i();const l=e.getBoundingClientRect(),{left:f,top:u,width:m,height:h}=l;if(s||t(),!m||!h)return;const g=$e(u),p=$e(o.clientWidth-(f+m)),v=$e(o.clientHeight-(u+h)),y=$e(f),x={rootMargin:-g+"px "+-p+"px "+-v+"px "+-y+"px",threshold:H(0,se(1,d))||1};let w=!0;function S(A){const E=A[0].intersectionRatio;if(E!==d){if(!w)return c();E?c(!1,E):r=setTimeout(()=>{c(!1,1e-7)},1e3)}E===1&&!Hn(l,e.getBoundingClientRect())&&c(),w=!1}try{n=new IntersectionObserver(S,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return c(!0),i}function Bi(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,l=_t(e),f=o||i?[...l?Oe(l):[],...Oe(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const u=l&&s?Wi(l,n):null;let m=-1,h=null;c&&(h=new ResizeObserver(y=>{let[C]=y;C&&C.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),l&&!d&&h.observe(l),h.observe(t));let g,p=d?fe(e):null;d&&v();function v(){const y=fe(e);p&&!Hn(p,y)&&n(),p=y,g=requestAnimationFrame(v)}return n(),()=>{var y;f.forEach(C=>{o&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),u?.(),(y=h)==null||y.disconnect(),h=null,d&&cancelAnimationFrame(g)}}const Vi=di,Ui=pi,Hi=li,Ki=hi,Gi=ui,mn=ai,zi=mi,Yi=(e,t,n)=>{const r=new Map,o={platform:$i,...n},i={...o.platform,_c:r};return ci(e,t,{...o,platform:i})};var Xi=typeof document<"u",qi=function(){},Ke=Xi?$.useLayoutEffect:qi;function Qe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Qe(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Qe(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Kn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hn(e,t){const n=Kn(e);return Math.round(t*n)/n}function ft(e){const t=a.useRef(e);return Ke(()=>{t.current=e}),t}function Zi(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:c}={},transform:s=!0,whileElementsMounted:d,open:l}=e,[f,u]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=a.useState(r);Qe(m,r)||h(r);const[g,p]=a.useState(null),[v,y]=a.useState(null),C=a.useCallback(O=>{O!==A.current&&(A.current=O,p(O))},[]),x=a.useCallback(O=>{O!==E.current&&(E.current=O,y(O))},[]),w=i||g,S=c||v,A=a.useRef(null),E=a.useRef(null),P=a.useRef(f),_=d!=null,M=ft(d),N=ft(o),L=ft(l),F=a.useCallback(()=>{if(!A.current||!E.current)return;const O={placement:t,strategy:n,middleware:m};N.current&&(O.platform=N.current),Yi(A.current,E.current,O).then(R=>{const B={...R,isPositioned:L.current!==!1};D.current&&!Qe(P.current,B)&&(P.current=B,Sn.flushSync(()=>{u(B)}))})},[m,t,n,N,L]);Ke(()=>{l===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,u(O=>({...O,isPositioned:!1})))},[l]);const D=a.useRef(!1);Ke(()=>(D.current=!0,()=>{D.current=!1}),[]),Ke(()=>{if(w&&(A.current=w),S&&(E.current=S),w&&S){if(M.current)return M.current(w,S,F);F()}},[w,S,F,M,_]);const W=a.useMemo(()=>({reference:A,floating:E,setReference:C,setFloating:x}),[C,x]),I=a.useMemo(()=>({reference:w,floating:S}),[w,S]),k=a.useMemo(()=>{const O={position:n,left:0,top:0};if(!I.floating)return O;const R=hn(I.floating,f.x),B=hn(I.floating,f.y);return s?{...O,transform:"translate("+R+"px, "+B+"px)",...Kn(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:B}},[n,s,I.floating,f.x,f.y]);return a.useMemo(()=>({...f,update:F,refs:W,elements:I,floatingStyles:k}),[f,F,W,I,k])}const Qi=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?mn({element:r.current,padding:o}).fn(n):{}:r?mn({element:r,padding:o}).fn(n):{}}}},Ji=(e,t)=>({...Vi(e),options:[e,t]}),es=(e,t)=>({...Ui(e),options:[e,t]}),ts=(e,t)=>({...zi(e),options:[e,t]}),ns=(e,t)=>({...Hi(e),options:[e,t]}),rs=(e,t)=>({...Ki(e),options:[e,t]}),os=(e,t)=>({...Gi(e),options:[e,t]}),is=(e,t)=>({...Qi(e),options:[e,t]});var ss="Arrow",Gn=a.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return b.jsx(U.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});Gn.displayName=ss;var cs=Gn;function zn(e){const[t,n]=a.useState(void 0);return ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,s;if("borderBoxSize"in i){const d=i.borderBoxSize,l=Array.isArray(d)?d[0]:d;c=l.inlineSize,s=l.blockSize}else c=e.offsetWidth,s=e.offsetHeight;n({width:c,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Nt="Popper",[Yn,Dt]=Ie(Nt),[as,Xn]=Yn(Nt),qn=e=>{const{__scopePopper:t,children:n}=e,[r,o]=a.useState(null);return b.jsx(as,{scope:t,anchor:r,onAnchorChange:o,children:n})};qn.displayName=Nt;var Zn="PopperAnchor",Qn=a.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Xn(Zn,n),c=a.useRef(null),s=V(t,c),d=a.useRef(null);return a.useEffect(()=>{const l=d.current;d.current=r?.current||c.current,l!==d.current&&i.onAnchorChange(d.current)}),r?null:b.jsx(U.div,{...o,ref:s})});Qn.displayName=Zn;var Lt="PopperContent",[ls,us]=Yn(Lt),Jn=a.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:s=0,avoidCollisions:d=!0,collisionBoundary:l=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:h="optimized",onPlaced:g,...p}=e,v=Xn(Lt,n),[y,C]=a.useState(null),x=V(t,j=>C(j)),[w,S]=a.useState(null),A=zn(w),E=A?.width??0,P=A?.height??0,_=r+(i!=="center"?"-"+i:""),M=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},N=Array.isArray(l)?l:[l],L=N.length>0,F={padding:M,boundary:N.filter(ds),altBoundary:L},{refs:D,floatingStyles:W,placement:I,isPositioned:k,middlewareData:O}=Zi({strategy:"fixed",placement:_,whileElementsMounted:(...j)=>Bi(...j,{animationFrame:h==="always"}),elements:{reference:v.anchor},middleware:[Ji({mainAxis:o+P,alignmentAxis:c}),d&&es({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?ts():void 0,...F}),d&&ns({...F}),rs({...F,apply:({elements:j,rects:Ae,availableWidth:Gr,availableHeight:zr})=>{const{width:Yr,height:Xr}=Ae.reference,je=j.floating.style;je.setProperty("--radix-popper-available-width",`${Gr}px`),je.setProperty("--radix-popper-available-height",`${zr}px`),je.setProperty("--radix-popper-anchor-width",`${Yr}px`),je.setProperty("--radix-popper-anchor-height",`${Xr}px`)}}),w&&is({element:w,padding:s}),ps({arrowWidth:E,arrowHeight:P}),m&&os({strategy:"referenceHidden",...F})]}),[R,B]=nr(I),q=z(g);ne(()=>{k&&q?.()},[k,q]);const le=O.arrow?.x,Se=O.arrow?.y,Re=O.arrow?.centerOffset!==0,[ke,ue]=a.useState();return ne(()=>{y&&ue(window.getComputedStyle(y).zIndex)},[y]),b.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:k?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,"--radix-popper-transform-origin":[O.transformOrigin?.x,O.transformOrigin?.y].join(" "),...O.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(ls,{scope:n,placedSide:R,onArrowChange:S,arrowX:le,arrowY:Se,shouldHideArrow:Re,children:b.jsx(U.div,{"data-side":R,"data-align":B,...p,ref:x,style:{...p.style,animation:k?void 0:"none"}})})})});Jn.displayName=Lt;var er="PopperArrow",fs={top:"bottom",right:"left",bottom:"top",left:"right"},tr=a.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=us(er,r),c=fs[i.placedSide];return b.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:b.jsx(cs,{...o,ref:n,style:{...o.style,display:"block"}})})});tr.displayName=er;function ds(e){return e!==null}var ps=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,c=o.arrow?.centerOffset!==0,s=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[l,f]=nr(n),u={start:"0%",center:"50%",end:"100%"}[f],m=(o.arrow?.x??0)+s/2,h=(o.arrow?.y??0)+d/2;let g="",p="";return l==="bottom"?(g=c?u:`${m}px`,p=`${-d}px`):l==="top"?(g=c?u:`${m}px`,p=`${r.floating.height+d}px`):l==="right"?(g=`${-d}px`,p=c?u:`${h}px`):l==="left"&&(g=`${r.floating.width+d}px`,p=c?u:`${h}px`),{data:{x:g,y:p}}}});function nr(e){const[t,n="center"]=e.split("-");return[t,n]}var Ft=qn,rr=Qn,or=Jn,ir=tr,ms="Portal",kt=a.forwardRef((e,t)=>{const{container:n,...r}=e,[o,i]=a.useState(!1);ne(()=>i(!0),[]);const c=n||o&&globalThis?.document?.body;return c?Cn.createPortal(b.jsx(U.div,{...r,ref:t}),c):null});kt.displayName=ms;function hs(e,t){return a.useReducer((n,r)=>t[n][r]??n,e)}var Ee=e=>{const{present:t,children:n}=e,r=vs(t),o=typeof n=="function"?n({present:r.isPresent}):a.Children.only(n),i=V(r.ref,gs(o));return typeof n=="function"||r.isPresent?a.cloneElement(o,{ref:i}):null};Ee.displayName="Presence";function vs(e){const[t,n]=a.useState(),r=a.useRef(null),o=a.useRef(e),i=a.useRef("none"),c=e?"mounted":"unmounted",[s,d]=hs(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const l=We(r.current);i.current=s==="mounted"?l:"none"},[s]),ne(()=>{const l=r.current,f=o.current;if(f!==e){const m=i.current,h=We(l);e?d("MOUNT"):h==="none"||l?.display==="none"?d("UNMOUNT"):d(f&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,d]),ne(()=>{if(t){let l;const f=t.ownerDocument.defaultView??window,u=h=>{const p=We(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&p&&(d("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",l=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},m=h=>{h.target===t&&(i.current=We(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{f.clearTimeout(l),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:a.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function We(e){return e?.animationName||"none"}function gs(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var dt="rovingFocusGroup.onEntryFocus",ys={bubbles:!1,cancelable:!0},Ne="RovingFocusGroup",[bt,sr,ws]=Tn(Ne),[xs,jt]=Ie(Ne,[ws]),[bs,Cs]=xs(Ne),cr=a.forwardRef((e,t)=>b.jsx(bt.Provider,{scope:e.__scopeRovingFocusGroup,children:b.jsx(bt.Slot,{scope:e.__scopeRovingFocusGroup,children:b.jsx(Es,{...e,ref:t})})}));cr.displayName=Ne;var Es=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:d,onEntryFocus:l,preventScrollOnEntryFocus:f=!1,...u}=e,m=a.useRef(null),h=V(t,m),g=St(i),[p,v]=On({prop:c,defaultProp:s??null,onChange:d,caller:Ne}),[y,C]=a.useState(!1),x=z(l),w=sr(n),S=a.useRef(!1),[A,E]=a.useState(0);return a.useEffect(()=>{const P=m.current;if(P)return P.addEventListener(dt,x),()=>P.removeEventListener(dt,x)},[x]),b.jsx(bs,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:p,onItemFocus:a.useCallback(P=>v(P),[v]),onItemShiftTab:a.useCallback(()=>C(!0),[]),onFocusableItemAdd:a.useCallback(()=>E(P=>P+1),[]),onFocusableItemRemove:a.useCallback(()=>E(P=>P-1),[]),children:b.jsx(U.div,{tabIndex:y||A===0?-1:0,"data-orientation":r,...u,ref:h,style:{outline:"none",...e.style},onMouseDown:T(e.onMouseDown,()=>{S.current=!0}),onFocus:T(e.onFocus,P=>{const _=!S.current;if(P.target===P.currentTarget&&_&&!y){const M=new CustomEvent(dt,ys);if(P.currentTarget.dispatchEvent(M),!M.defaultPrevented){const N=w().filter(I=>I.focusable),L=N.find(I=>I.active),F=N.find(I=>I.id===p),W=[L,F,...N].filter(Boolean).map(I=>I.ref.current);ur(W,f)}}S.current=!1}),onBlur:T(e.onBlur,()=>C(!1))})})}),ar="RovingFocusGroupItem",lr=a.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:c,...s}=e,d=Ye(),l=i||d,f=Cs(ar,n),u=f.currentTabStopId===l,m=sr(n),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:p}=f;return a.useEffect(()=>{if(r)return h(),()=>g()},[r,h,g]),b.jsx(bt.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:b.jsx(U.span,{tabIndex:u?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:T(e.onMouseDown,v=>{r?f.onItemFocus(l):v.preventDefault()}),onFocus:T(e.onFocus,()=>f.onItemFocus(l)),onKeyDown:T(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){f.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const y=As(v,f.orientation,f.dir);if(y!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let x=m().filter(w=>w.focusable).map(w=>w.ref.current);if(y==="last")x.reverse();else if(y==="prev"||y==="next"){y==="prev"&&x.reverse();const w=x.indexOf(v.currentTarget);x=f.loop?Ps(x,w+1):x.slice(w+1)}setTimeout(()=>ur(x))}}),children:typeof c=="function"?c({isCurrentTabStop:u,hasTabStop:p!=null}):c})})});lr.displayName=ar;var Ss={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Rs(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function As(e,t,n){const r=Rs(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Ss[r]}function ur(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Ps(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var fr=cr,dr=lr;function Os(e){const t=Ms(e),n=a.forwardRef((r,o)=>{const{children:i,...c}=r,s=a.Children.toArray(i),d=s.find(Is);if(d){const l=d.props.children,f=s.map(u=>u===d?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:u);return b.jsx(t,{...c,ref:o,children:a.isValidElement(l)?a.cloneElement(l,void 0,f):null})}return b.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Ms(e){const t=a.forwardRef((n,r)=>{const{children:o,...i}=n;if(a.isValidElement(o)){const c=Ns(o),s=_s(i,o.props);return o.type!==a.Fragment&&(s.ref=r?xe(r,c):c),a.cloneElement(o,s)}return a.Children.count(o)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ts=Symbol("radix.slottable");function Is(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ts}function _s(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const d=i(...s);return o(...s),d}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Ns(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ds=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},me=new WeakMap,Be=new WeakMap,Ve={},pt=0,pr=function(e){return e&&(e.host||pr(e.parentNode))},Ls=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=pr(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Fs=function(e,t,n,r){var o=Ls(t,Array.isArray(e)?e:[e]);Ve[n]||(Ve[n]=new WeakMap);var i=Ve[n],c=[],s=new Set,d=new Set(o),l=function(u){!u||s.has(u)||(s.add(u),l(u.parentNode))};o.forEach(l);var f=function(u){!u||d.has(u)||Array.prototype.forEach.call(u.children,function(m){if(s.has(m))f(m);else try{var h=m.getAttribute(r),g=h!==null&&h!=="false",p=(me.get(m)||0)+1,v=(i.get(m)||0)+1;me.set(m,p),i.set(m,v),c.push(m),p===1&&g&&Be.set(m,!0),v===1&&m.setAttribute(n,"true"),g||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return f(t),s.clear(),pt++,function(){c.forEach(function(u){var m=me.get(u)-1,h=i.get(u)-1;me.set(u,m),i.set(u,h),m||(Be.has(u)||u.removeAttribute(r),Be.delete(u)),h||u.removeAttribute(n)}),pt--,pt||(me=new WeakMap,me=new WeakMap,Be=new WeakMap,Ve={})}},mr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Ds(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Fs(r,o,n,"aria-hidden")):function(){return null}},Z=function(){return Z=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Z.apply(this,arguments)};function hr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function ks(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Ge="right-scroll-bar-position",ze="width-before-scroll-bar",js="with-scroll-bars-hidden",$s="--removed-body-scroll-bar-size";function mt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ws(e,t){var n=$.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Bs=typeof window<"u"?a.useLayoutEffect:a.useEffect,vn=new WeakMap;function Vs(e,t){var n=Ws(null,function(r){return e.forEach(function(o){return mt(o,r)})});return Bs(function(){var r=vn.get(n);if(r){var o=new Set(r),i=new Set(e),c=n.current;o.forEach(function(s){i.has(s)||mt(s,null)}),i.forEach(function(s){o.has(s)||mt(s,c)})}vn.set(n,e)},[e]),n}function Us(e){return e}function Hs(e,t){t===void 0&&(t=Us);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var c=t(i,r);return n.push(c),function(){n=n.filter(function(s){return s!==c})}},assignSyncMedium:function(i){for(r=!0;n.length;){var c=n;n=[],c.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var c=[];if(n.length){var s=n;n=[],s.forEach(i),c=n}var d=function(){var f=c;c=[],f.forEach(i)},l=function(){return Promise.resolve().then(d)};l(),n={push:function(f){c.push(f),l()},filter:function(f){return c=c.filter(f),n}}}};return o}function Ks(e){e===void 0&&(e={});var t=Hs(null);return t.options=Z({async:!0,ssr:!1},e),t}var vr=function(e){var t=e.sideCar,n=hr(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,Z({},n))};vr.isSideCarExport=!0;function Gs(e,t){return e.useMedium(t),vr}var gr=Ks(),ht=function(){},it=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:ht,onWheelCapture:ht,onTouchMoveCapture:ht}),o=r[0],i=r[1],c=e.forwardProps,s=e.children,d=e.className,l=e.removeScrollBar,f=e.enabled,u=e.shards,m=e.sideCar,h=e.noRelative,g=e.noIsolation,p=e.inert,v=e.allowPinchZoom,y=e.as,C=y===void 0?"div":y,x=e.gapMode,w=hr(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=m,A=Vs([n,t]),E=Z(Z({},w),o);return a.createElement(a.Fragment,null,f&&a.createElement(S,{sideCar:gr,removeScrollBar:l,shards:u,noRelative:h,noIsolation:g,inert:p,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:x}),c?a.cloneElement(a.Children.only(s),Z(Z({},E),{ref:A})):a.createElement(C,Z({},E,{className:d,ref:A}),s))});it.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};it.classNames={fullWidth:ze,zeroRight:Ge};var zs=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ys(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=zs();return t&&e.setAttribute("nonce",t),e}function Xs(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function qs(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Zs=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ys())&&(Xs(t,n),qs(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Qs=function(){var e=Zs();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},yr=function(){var e=Qs(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Js={left:0,top:0,right:0,gap:0},vt=function(e){return parseInt(e||"",10)||0},ec=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[vt(n),vt(r),vt(o)]},tc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Js;var t=ec(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])}},nc=yr(),ye="data-scroll-locked",rc=function(e,t,n,r){var o=e.left,i=e.top,c=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
-
.`.concat(js,` {
|
|
3
|
-
overflow: hidden `).concat(r,`;
|
|
4
|
-
padding-right: `).concat(s,"px ").concat(r,`;
|
|
5
|
-
}
|
|
6
|
-
body[`).concat(ye,`] {
|
|
7
|
-
overflow: hidden `).concat(r,`;
|
|
8
|
-
overscroll-behavior: contain;
|
|
9
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
10
|
-
padding-left: `.concat(o,`px;
|
|
11
|
-
padding-top: `).concat(i,`px;
|
|
12
|
-
padding-right: `).concat(c,`px;
|
|
13
|
-
margin-left:0;
|
|
14
|
-
margin-top:0;
|
|
15
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
16
|
-
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.`).concat(Ge,` {
|
|
20
|
-
right: `).concat(s,"px ").concat(r,`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.`).concat(ze,` {
|
|
24
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.`).concat(Ge," .").concat(Ge,` {
|
|
28
|
-
right: 0 `).concat(r,`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.`).concat(ze," .").concat(ze,` {
|
|
32
|
-
margin-right: 0 `).concat(r,`;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
body[`).concat(ye,`] {
|
|
36
|
-
`).concat($s,": ").concat(s,`px;
|
|
37
|
-
}
|
|
38
|
-
`)},gn=function(){var e=parseInt(document.body.getAttribute(ye)||"0",10);return isFinite(e)?e:0},oc=function(){a.useEffect(function(){return document.body.setAttribute(ye,(gn()+1).toString()),function(){var e=gn()-1;e<=0?document.body.removeAttribute(ye):document.body.setAttribute(ye,e.toString())}},[])},ic=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;oc();var i=a.useMemo(function(){return tc(o)},[o]);return a.createElement(nc,{styles:rc(i,!t,o,n?"":"!important")})},Ct=!1;if(typeof window<"u")try{var Ue=Object.defineProperty({},"passive",{get:function(){return Ct=!0,!0}});window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue)}catch{Ct=!1}var he=Ct?{passive:!1}:!1,sc=function(e){return e.tagName==="TEXTAREA"},wr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!sc(e)&&n[t]==="visible")},cc=function(e){return wr(e,"overflowY")},ac=function(e){return wr(e,"overflowX")},yn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=xr(e,r);if(o){var i=br(e,r),c=i[1],s=i[2];if(c>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},lc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},uc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},xr=function(e,t){return e==="v"?cc(t):ac(t)},br=function(e,t){return e==="v"?lc(t):uc(t)},fc=function(e,t){return e==="h"&&t==="rtl"?-1:1},dc=function(e,t,n,r,o){var i=fc(e,window.getComputedStyle(t).direction),c=i*r,s=n.target,d=t.contains(s),l=!1,f=c>0,u=0,m=0;do{if(!s)break;var h=br(e,s),g=h[0],p=h[1],v=h[2],y=p-v-i*g;(g||y)&&xr(e,s)&&(u+=y,m+=g);var C=s.parentNode;s=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!d&&s!==document.body||d&&(t.contains(s)||t===s));return(f&&Math.abs(u)<1||!f&&Math.abs(m)<1)&&(l=!0),l},He=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wn=function(e){return[e.deltaX,e.deltaY]},xn=function(e){return e&&"current"in e?e.current:e},pc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},mc=function(e){return`
|
|
39
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},hc=0,ve=[];function vc(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(hc++)[0],i=a.useState(yr)[0],c=a.useRef(e);a.useEffect(function(){c.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=ks([e.lockRef.current],(e.shards||[]).map(xn),!0).filter(Boolean);return p.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=a.useCallback(function(p,v){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!c.current.allowPinchZoom;var y=He(p),C=n.current,x="deltaX"in p?p.deltaX:C[0]-y[0],w="deltaY"in p?p.deltaY:C[1]-y[1],S,A=p.target,E=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in p&&E==="h"&&A.type==="range")return!1;var P=window.getSelection(),_=P&&P.anchorNode,M=_?_===A||_.contains(A):!1;if(M)return!1;var N=yn(E,A);if(!N)return!0;if(N?S=E:(S=E==="v"?"h":"v",N=yn(E,A)),!N)return!1;if(!r.current&&"changedTouches"in p&&(x||w)&&(r.current=S),!S)return!0;var L=r.current||S;return dc(L,v,p,L==="h"?x:w)},[]),d=a.useCallback(function(p){var v=p;if(!(!ve.length||ve[ve.length-1]!==i)){var y="deltaY"in v?wn(v):He(v),C=t.current.filter(function(S){return S.name===v.type&&(S.target===v.target||v.target===S.shadowParent)&&pc(S.delta,y)})[0];if(C&&C.should){v.cancelable&&v.preventDefault();return}if(!C){var x=(c.current.shards||[]).map(xn).filter(Boolean).filter(function(S){return S.contains(v.target)}),w=x.length>0?s(v,x[0]):!c.current.noIsolation;w&&v.cancelable&&v.preventDefault()}}},[]),l=a.useCallback(function(p,v,y,C){var x={name:p,delta:v,target:y,should:C,shadowParent:gc(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),f=a.useCallback(function(p){n.current=He(p),r.current=void 0},[]),u=a.useCallback(function(p){l(p.type,wn(p),p.target,s(p,e.lockRef.current))},[]),m=a.useCallback(function(p){l(p.type,He(p),p.target,s(p,e.lockRef.current))},[]);a.useEffect(function(){return ve.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:m}),document.addEventListener("wheel",d,he),document.addEventListener("touchmove",d,he),document.addEventListener("touchstart",f,he),function(){ve=ve.filter(function(p){return p!==i}),document.removeEventListener("wheel",d,he),document.removeEventListener("touchmove",d,he),document.removeEventListener("touchstart",f,he)}},[]);var h=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(i,{styles:mc(o)}):null,h?a.createElement(ic,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function gc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yc=Gs(gr,vc);var $t=a.forwardRef(function(e,t){return a.createElement(it,Z({},e,{ref:t,sideCar:yc}))});$t.classNames=it.classNames;var Et=["Enter"," "],wc=["ArrowDown","PageUp","Home"],Cr=["ArrowUp","PageDown","End"],xc=[...wc,...Cr],bc={ltr:[...Et,"ArrowRight"],rtl:[...Et,"ArrowLeft"]},Cc={ltr:["ArrowLeft"],rtl:["ArrowRight"]},De="Menu",[Me,Ec,Sc]=Tn(De),[pe,Rc]=Ie(De,[Sc,Dt,jt]),Le=Dt(),Er=jt(),[Sr,ae]=pe(De),[Ac,Fe]=pe(De),Rr=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:c=!0}=e,s=Le(t),[d,l]=a.useState(null),f=a.useRef(!1),u=z(i),m=St(o);return a.useEffect(()=>{const h=()=>{f.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>f.current=!1;return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),b.jsx(Ft,{...s,children:b.jsx(Sr,{scope:t,open:n,onOpenChange:u,content:d,onContentChange:l,children:b.jsx(Ac,{scope:t,onClose:a.useCallback(()=>u(!1),[u]),isUsingKeyboardRef:f,dir:m,modal:c,children:r})})})};Rr.displayName=De;var Pc="MenuAnchor",Wt=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Le(n);return b.jsx(rr,{...o,...r,ref:t})});Wt.displayName=Pc;var Bt="MenuPortal",[Oc,Ar]=pe(Bt,{forceMount:void 0}),Pr=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=ae(Bt,t);return b.jsx(Oc,{scope:t,forceMount:n,children:b.jsx(Ee,{present:n||i.open,children:b.jsx(kt,{asChild:!0,container:o,children:r})})})};Pr.displayName=Bt;var G="MenuContent",[Mc,Vt]=pe(G),Or=a.forwardRef((e,t)=>{const n=Ar(G,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ae(G,e.__scopeMenu),c=Fe(G,e.__scopeMenu);return b.jsx(Me.Provider,{scope:e.__scopeMenu,children:b.jsx(Ee,{present:r||i.open,children:b.jsx(Me.Slot,{scope:e.__scopeMenu,children:c.modal?b.jsx(Tc,{...o,ref:t}):b.jsx(Ic,{...o,ref:t})})})})}),Tc=a.forwardRef((e,t)=>{const n=ae(G,e.__scopeMenu),r=a.useRef(null),o=V(t,r);return a.useEffect(()=>{const i=r.current;if(i)return mr(i)},[]),b.jsx(Ut,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:T(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Ic=a.forwardRef((e,t)=>{const n=ae(G,e.__scopeMenu);return b.jsx(Ut,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),_c=Os("MenuContent.ScrollLock"),Ut=a.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:d,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:u,onInteractOutside:m,onDismiss:h,disableOutsideScroll:g,...p}=e,v=ae(G,n),y=Fe(G,n),C=Le(n),x=Er(n),w=Ec(n),[S,A]=a.useState(null),E=a.useRef(null),P=V(t,E,v.onContentChange),_=a.useRef(0),M=a.useRef(""),N=a.useRef(0),L=a.useRef(null),F=a.useRef("right"),D=a.useRef(0),W=g?$t:a.Fragment,I=g?{as:_c,allowPinchZoom:!0}:void 0,k=R=>{const B=M.current+R,q=w().filter(j=>!j.disabled),le=document.activeElement,Se=q.find(j=>j.ref.current===le)?.textValue,Re=q.map(j=>j.textValue),ke=Hc(Re,B,Se),ue=q.find(j=>j.textValue===ke)?.ref.current;(function j(Ae){M.current=Ae,window.clearTimeout(_.current),Ae!==""&&(_.current=window.setTimeout(()=>j(""),1e3))})(B),ue&&setTimeout(()=>ue.focus())};a.useEffect(()=>()=>window.clearTimeout(_.current),[]),Nn();const O=a.useCallback(R=>F.current===L.current?.side&&Gc(R,L.current?.area),[]);return b.jsx(Mc,{scope:n,searchRef:M,onItemEnter:a.useCallback(R=>{O(R)&&R.preventDefault()},[O]),onItemLeave:a.useCallback(R=>{O(R)||(E.current?.focus(),A(null))},[O]),onTriggerLeave:a.useCallback(R=>{O(R)&&R.preventDefault()},[O]),pointerGraceTimerRef:N,onPointerGraceIntentChange:a.useCallback(R=>{L.current=R},[]),children:b.jsx(W,{...I,children:b.jsx(At,{asChild:!0,trapped:o,onMountAutoFocus:T(i,R=>{R.preventDefault(),E.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:b.jsx(Rt,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:u,onInteractOutside:m,onDismiss:h,children:b.jsx(fr,{asChild:!0,...x,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:A,onEntryFocus:T(d,R=>{y.isUsingKeyboardRef.current||R.preventDefault()}),preventScrollOnEntryFocus:!0,children:b.jsx(or,{role:"menu","aria-orientation":"vertical","data-state":Kr(v.open),"data-radix-menu-content":"",dir:y.dir,...C,...p,ref:P,style:{outline:"none",...p.style},onKeyDown:T(p.onKeyDown,R=>{const q=R.target.closest("[data-radix-menu-content]")===R.currentTarget,le=R.ctrlKey||R.altKey||R.metaKey,Se=R.key.length===1;q&&(R.key==="Tab"&&R.preventDefault(),!le&&Se&&k(R.key));const Re=E.current;if(R.target!==Re||!xc.includes(R.key))return;R.preventDefault();const ue=w().filter(j=>!j.disabled).map(j=>j.ref.current);Cr.includes(R.key)&&ue.reverse(),Vc(ue)}),onBlur:T(e.onBlur,R=>{R.currentTarget.contains(R.target)||(window.clearTimeout(_.current),M.current="")}),onPointerMove:T(e.onPointerMove,Te(R=>{const B=R.target,q=D.current!==R.clientX;if(R.currentTarget.contains(B)&&q){const le=R.clientX>D.current?"right":"left";F.current=le,D.current=R.clientX}}))})})})})})})});Or.displayName=G;var Nc="MenuGroup",Ht=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return b.jsx(U.div,{role:"group",...r,ref:t})});Ht.displayName=Nc;var Dc="MenuLabel",Mr=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return b.jsx(U.div,{...r,ref:t})});Mr.displayName=Dc;var Je="MenuItem",bn="menu.itemSelect",st=a.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=a.useRef(null),c=Fe(Je,e.__scopeMenu),s=Vt(Je,e.__scopeMenu),d=V(t,i),l=a.useRef(!1),f=()=>{const u=i.current;if(!n&&u){const m=new CustomEvent(bn,{bubbles:!0,cancelable:!0});u.addEventListener(bn,h=>r?.(h),{once:!0}),Mn(u,m),m.defaultPrevented?l.current=!1:c.onClose()}};return b.jsx(Tr,{...o,ref:d,disabled:n,onClick:T(e.onClick,f),onPointerDown:u=>{e.onPointerDown?.(u),l.current=!0},onPointerUp:T(e.onPointerUp,u=>{l.current||u.currentTarget?.click()}),onKeyDown:T(e.onKeyDown,u=>{const m=s.searchRef.current!=="";n||m&&u.key===" "||Et.includes(u.key)&&(u.currentTarget.click(),u.preventDefault())})})});st.displayName=Je;var Tr=a.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,c=Vt(Je,n),s=Er(n),d=a.useRef(null),l=V(t,d),[f,u]=a.useState(!1),[m,h]=a.useState("");return a.useEffect(()=>{const g=d.current;g&&h((g.textContent??"").trim())},[i.children]),b.jsx(Me.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:b.jsx(dr,{asChild:!0,...s,focusable:!r,children:b.jsx(U.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:l,onPointerMove:T(e.onPointerMove,Te(g=>{r?c.onItemLeave(g):(c.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:T(e.onPointerLeave,Te(g=>c.onItemLeave(g))),onFocus:T(e.onFocus,()=>u(!0)),onBlur:T(e.onBlur,()=>u(!1))})})})}),Lc="MenuCheckboxItem",Ir=a.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return b.jsx(Fr,{scope:e.__scopeMenu,checked:n,children:b.jsx(st,{role:"menuitemcheckbox","aria-checked":et(n)?"mixed":n,...o,ref:t,"data-state":zt(n),onSelect:T(o.onSelect,()=>r?.(et(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ir.displayName=Lc;var _r="MenuRadioGroup",[Fc,kc]=pe(_r,{value:void 0,onValueChange:()=>{}}),Nr=a.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=z(r);return b.jsx(Fc,{scope:e.__scopeMenu,value:n,onValueChange:i,children:b.jsx(Ht,{...o,ref:t})})});Nr.displayName=_r;var Dr="MenuRadioItem",Lr=a.forwardRef((e,t)=>{const{value:n,...r}=e,o=kc(Dr,e.__scopeMenu),i=n===o.value;return b.jsx(Fr,{scope:e.__scopeMenu,checked:i,children:b.jsx(st,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":zt(i),onSelect:T(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Lr.displayName=Dr;var Kt="MenuItemIndicator",[Fr,jc]=pe(Kt,{checked:!1}),kr=a.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=jc(Kt,n);return b.jsx(Ee,{present:r||et(i.checked)||i.checked===!0,children:b.jsx(U.span,{...o,ref:t,"data-state":zt(i.checked)})})});kr.displayName=Kt;var $c="MenuSeparator",jr=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return b.jsx(U.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});jr.displayName=$c;var Wc="MenuArrow",$r=a.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Le(n);return b.jsx(ir,{...o,...r,ref:t})});$r.displayName=Wc;var Gt="MenuSub",[Bc,Wr]=pe(Gt),Br=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=ae(Gt,t),c=Le(t),[s,d]=a.useState(null),[l,f]=a.useState(null),u=z(o);return a.useEffect(()=>(i.open===!1&&u(!1),()=>u(!1)),[i.open,u]),b.jsx(Ft,{...c,children:b.jsx(Sr,{scope:t,open:r,onOpenChange:u,content:l,onContentChange:f,children:b.jsx(Bc,{scope:t,contentId:Ye(),triggerId:Ye(),trigger:s,onTriggerChange:d,children:n})})})};Br.displayName=Gt;var Pe="MenuSubTrigger",Vr=a.forwardRef((e,t)=>{const n=ae(Pe,e.__scopeMenu),r=Fe(Pe,e.__scopeMenu),o=Wr(Pe,e.__scopeMenu),i=Vt(Pe,e.__scopeMenu),c=a.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:d}=i,l={__scopeMenu:e.__scopeMenu},f=a.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return a.useEffect(()=>f,[f]),a.useEffect(()=>{const u=s.current;return()=>{window.clearTimeout(u),d(null)}},[s,d]),b.jsx(Wt,{asChild:!0,...l,children:b.jsx(Tr,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":Kr(n.open),...e,ref:xe(t,o.onTriggerChange),onClick:u=>{e.onClick?.(u),!(e.disabled||u.defaultPrevented)&&(u.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:T(e.onPointerMove,Te(u=>{i.onItemEnter(u),!u.defaultPrevented&&!e.disabled&&!n.open&&!c.current&&(i.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:T(e.onPointerLeave,Te(u=>{f();const m=n.content?.getBoundingClientRect();if(m){const h=n.content?.dataset.side,g=h==="right",p=g?-5:5,v=m[g?"left":"right"],y=m[g?"right":"left"];i.onPointerGraceIntentChange({area:[{x:u.clientX+p,y:u.clientY},{x:v,y:m.top},{x:y,y:m.top},{x:y,y:m.bottom},{x:v,y:m.bottom}],side:h}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(u),u.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:T(e.onKeyDown,u=>{const m=i.searchRef.current!=="";e.disabled||m&&u.key===" "||bc[r.dir].includes(u.key)&&(n.onOpenChange(!0),n.content?.focus(),u.preventDefault())})})})});Vr.displayName=Pe;var Ur="MenuSubContent",Hr=a.forwardRef((e,t)=>{const n=Ar(G,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ae(G,e.__scopeMenu),c=Fe(G,e.__scopeMenu),s=Wr(Ur,e.__scopeMenu),d=a.useRef(null),l=V(t,d);return b.jsx(Me.Provider,{scope:e.__scopeMenu,children:b.jsx(Ee,{present:r||i.open,children:b.jsx(Me.Slot,{scope:e.__scopeMenu,children:b.jsx(Ut,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:l,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{c.isUsingKeyboardRef.current&&d.current?.focus(),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:T(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:T(e.onEscapeKeyDown,f=>{c.onClose(),f.preventDefault()}),onKeyDown:T(e.onKeyDown,f=>{const u=f.currentTarget.contains(f.target),m=Cc[c.dir].includes(f.key);u&&m&&(i.onOpenChange(!1),s.trigger?.focus(),f.preventDefault())})})})})})});Hr.displayName=Ur;function Kr(e){return e?"open":"closed"}function et(e){return e==="indeterminate"}function zt(e){return et(e)?"indeterminate":e?"checked":"unchecked"}function Vc(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Uc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Hc(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let c=Uc(e,Math.max(i,0));o.length===1&&(c=c.filter(l=>l!==n));const d=c.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return d!==n?d:void 0}function Kc(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,c=t.length-1;i<t.length;c=i++){const s=t[i],d=t[c],l=s.x,f=s.y,u=d.x,m=d.y;f>r!=m>r&&n<(u-l)*(r-f)/(m-f)+l&&(o=!o)}return o}function Gc(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Kc(n,t)}function Te(e){return t=>t.pointerType==="mouse"?e(t):void 0}var zc=Rr,Yc=Wt,Xc=Pr,qc=Or,Zc=Ht,Qc=Mr,Jc=st,ea=Ir,ta=Nr,na=Lr,ra=kr,oa=jr,ia=$r,sa=Br,ca=Vr,aa=Hr;const la=(e,t,n)=>{const r=$.useMemo(()=>t,[t,n]);$.useImperativeHandle(e,()=>r,[r])};class ua extends $.Component{constructor(t){super(t),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t,errorInfo:null}}componentDidCatch(t,n){console.error("Error caught by ErrorBoundary:",t,n),this.setState({errorInfo:n})}handleReset=()=>{this.setState({hasError:!1,error:null,errorInfo:null})};render(){return this.state.hasError?this.props.fallback?this.props.fallback:b.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen p-4",children:b.jsxs("div",{className:"flex flex-col items-center gap-4 max-w-md w-full",children:[b.jsx("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-destructive/10",children:b.jsx(Pn,{className:"w-8 h-8 text-destructive"})}),b.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[b.jsx("h2",{className:"text-lg font-semibold",children:"Something went wrong"}),b.jsx("p",{className:"text-sm text-muted-foreground",children:"An unexpected error occurred. Please try again."})]}),b.jsxs("button",{onClick:this.handleReset,className:"flex items-center gap-2 px-4 py-2 text-sm font-medium text-primary hover:bg-primary/10 rounded-md transition-colors",children:[b.jsx(An,{className:"w-4 h-4"}),"Try Again"]})]})}):this.props.children}}exports.Anchor=rr;exports.Anchor2=Yc;exports.Arrow=ir;exports.Arrow2=ia;exports.Check=no;exports.CheckboxItem=ea;exports.ChevronRight=oo;exports.Circle=so;exports.Content=or;exports.Content2=qc;exports.DismissableLayer=Rt;exports.EzErrorBoundary=ua;exports.FocusScope=At;exports.Group=Zc;exports.Item=dr;exports.Item2=Jc;exports.ItemIndicator=ra;exports.Label=Qc;exports.LoaderCircle=ao;exports.Portal=Xc;exports.Portal$1=kt;exports.Presence=Ee;exports.Primitive=U;exports.RadioGroup=ta;exports.RadioItem=na;exports.ReactRemoveScroll=$t;exports.RefreshCw=An;exports.Root=fr;exports.Root2=Ft;exports.Root3=zc;exports.Separator=oa;exports.Sub=sa;exports.SubContent=aa;exports.SubTrigger=ca;exports.TriangleAlert=Pn;exports.composeEventHandlers=T;exports.composeRefs=xe;exports.createContext2=mo;exports.createContextScope=Ie;exports.createLucideIcon=de;exports.createMenuScope=Rc;exports.createPopperScope=Dt;exports.createRovingFocusGroupScope=jt;exports.ensureServices=po;exports.getOrRegisterService=fo;exports.hideOthers=mr;exports.useCallbackRef=z;exports.useComponentImperativeAPI=la;exports.useComposedRefs=V;exports.useControllableState=On;exports.useDirection=St;exports.useFocusGuards=Nn;exports.useId=Ye;exports.useLayoutEffect2=ne;exports.useSize=zn;
|