@coffer-org/web 4.0.0 → 6.0.0
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/dist/assets/ChatWidget-qpAe26bF.js +31 -0
- package/dist/assets/{DiagnosticsPage-CGZZeXWa.js → DiagnosticsPage-7qim0xtf.js} +1 -1
- package/dist/assets/{GeoMap-DOMXVIzU.js → GeoMap-B1DFGu6_.js} +1 -1
- package/dist/assets/{MarkdownEditor-DxGJiEiq.js → MarkdownEditor-B2QcGxzl.js} +1 -1
- package/dist/assets/{NewRecordView-DpBMCorS.js → NewRecordView-X6Bro17s.js} +1 -1
- package/dist/assets/{PluginSettingsPage-B-dOMLxu.js → PluginSettingsPage-C3iGqJEb.js} +1 -1
- package/dist/assets/ScanSummary-xKGEaOS0.js +1 -0
- package/dist/assets/{SettingsForm-Zo6DJPut.js → SettingsForm-BAjKJ1MR.js} +1 -1
- package/dist/assets/SettingsPage-DbAk9URh.js +3 -0
- package/dist/assets/{ThemeSwitcher-BHyUdXsG.js → ThemeSwitcher-CADoC9xw.js} +1 -1
- package/dist/assets/arrow-left-5G0O-4HL.js +1 -0
- package/dist/assets/{auth-context-BnKHhDto.js → auth-context-CGdGFadP.js} +1 -1
- package/dist/assets/{data-size-D542cEx7.js → data-size-oPRYOwnj.js} +1 -1
- package/dist/assets/{extend-wEVjCYJU.js → extend-BTkr7oJ8.js} +1 -1
- package/dist/assets/fields-BtCN_frr.js +64 -0
- package/dist/assets/file-text-DzYzGxiY.js +1 -0
- package/dist/assets/index-CHlM3CU9.js +28 -0
- package/dist/assets/index-KdG4mu3z.css +2 -0
- package/dist/assets/{input-D_zWGMG1.js → input-DqF3I-kT.js} +1 -1
- package/dist/assets/{list-cache-BnsDWh3e.js → list-cache-D1eUf-Pp.js} +1 -1
- package/dist/assets/phone-input-CX0JAfCj.js +1 -0
- package/dist/assets/{phone-input-BlrDpvrj.js → phone-input-vooQJZf_.js} +1 -1
- package/dist/assets/{popover-D8hJnUjO.js → popover-DjWMp23y.js} +1 -1
- package/dist/assets/{react-vendor-BskHO5hY.js → react-vendor-CzSUaSLk.js} +1 -1
- package/dist/assets/settings-BfEurOH1.js +1 -0
- package/dist/assets/{shelf-BA1by9Mb.js → shelf-CRUDKiTz.js} +1 -1
- package/dist/assets/{showcase-oqu7qFaz.js → showcase-Boajqdx8.js} +1 -1
- package/dist/assets/src-54Qdjl2W.js +4 -0
- package/dist/assets/src-6lNAeDcP.js +1 -0
- package/dist/assets/{src-BaKnB63T.js → src-B3nX_MMy.js} +1 -1
- package/dist/assets/src-BRzAjJX_.js +6 -0
- package/dist/assets/src-BTv3nocd.js +1 -0
- package/dist/assets/{src-C3yNVG-m.js → src-BYHuqMQ7.js} +4 -4
- package/dist/assets/src-B_YWtyQn.js +4 -0
- package/dist/assets/src-BiJuengh.js +1 -0
- package/dist/assets/src-BinvE9sd2.js +1 -0
- package/dist/assets/src-Br4oAdCy.js +1 -0
- package/dist/assets/src-C-Xmuyui.js +1 -0
- package/dist/assets/{src-C1V7wRsu2.js → src-C4BNu6EC.js} +1 -1
- package/dist/assets/{src-BWhgGUxV.js → src-CFcpeTQ5.js} +1 -1
- package/dist/assets/src-CO3npa8j.js +1 -0
- package/dist/assets/src-CYiAjCO3.js +1 -0
- package/dist/assets/src-Cr_oHzOc.js +1 -0
- package/dist/assets/src-CustHESR.js +1 -0
- package/dist/assets/src-CzmJIKcf.js +1 -0
- package/dist/assets/src-DVO-Ghnz.js +1 -0
- package/dist/assets/src-DWgNUcSX2.js +1 -0
- package/dist/assets/src-DiE6pP9S.js +2 -0
- package/dist/assets/src-DsNlLMpF.js +6 -0
- package/dist/assets/{src-CuFBIOTb.js → src-Ys25cnOv.js} +1 -1
- package/dist/assets/ui-BgqTuhxj2.js +2 -0
- package/dist/assets/{ui-COe8a5rs.js → ui-CImMNxCk.js} +2 -2
- package/dist/assets/{ui-DqMqZAeT.js → ui-Cy5oShj4.js} +2 -2
- package/dist/assets/{ui-vendor-DMxbiC-c.js → ui-vendor-C79K_wDx.js} +1 -1
- package/dist/index.html +17 -17
- package/dist-vendor/web-ui.js +10122 -9892
- package/package.json +1 -1
- package/site.mjs +5 -3
- package/dist/assets/ChatWidget-B0cYgc--.js +0 -31
- package/dist/assets/NoMac-DLu311Th.js +0 -1
- package/dist/assets/ScanSummary-CtIkC51I.js +0 -1
- package/dist/assets/SettingsPage-bBeKUwGo.js +0 -3
- package/dist/assets/arrow-left-HC89JP7G.js +0 -1
- package/dist/assets/fields-y5U9dI_Y.js +0 -64
- package/dist/assets/file-text-toMDXSh-.js +0 -1
- package/dist/assets/index-B5P0VtoK.css +0 -2
- package/dist/assets/index-CTDNvJWx.js +0 -28
- package/dist/assets/phone-input-CaYWPwcM.js +0 -1
- package/dist/assets/settings-dNkqaT_p.js +0 -1
- package/dist/assets/src-BGDCb7l3.js +0 -1
- package/dist/assets/src-C0yjyl-f.js +0 -1
- package/dist/assets/src-C9mXCFPr.js +0 -1
- package/dist/assets/src-CDxDf0ym.js +0 -1
- package/dist/assets/src-CK4EBc7O.js +0 -4
- package/dist/assets/src-Ce_iMRXK.js +0 -1
- package/dist/assets/src-CllIFOuJ.js +0 -1
- package/dist/assets/src-CnIrsaBk2.js +0 -1
- package/dist/assets/src-D5G-COK0.js +0 -6
- package/dist/assets/src-D9W8VueC.js +0 -6
- package/dist/assets/src-DQoFOqKb.js +0 -2
- package/dist/assets/src-DbNyWMfo.js +0 -1
- package/dist/assets/src-LlR445gi.js +0 -4
- package/dist/assets/src-W4ua7zq-.js +0 -1
- package/dist/assets/src-dMbJQOTo.js +0 -1
- package/dist/assets/src-hRrcDCT9.js +0 -1
- package/dist/assets/src-hmc2-ZHB.js +0 -1
- package/dist/assets/src-iTZHe1wo.js +0 -1
- package/dist/assets/ui-x68mFh05.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,t}from"./rolldown-runtime-QTnfLwEv.js";import{a as n,n as r}from"./i18n-vendor-T6EnJ_TL.js";import{m as i}from"./react-vendor-BskHO5hY.js";import{o as a}from"./icons-BTbA1N7a.js";var o=e(n(),1);function s(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function c(...e){return t=>{let n=!1,r=e.map(e=>{let r=s(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():s(e[t],null)}}}}function l(...e){return o.useCallback(c(...e),e)}var u=e(i(),1),d=a();function f(e){let t=o.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,s=!1,c=[];b(r)&&typeof w==`function`&&(r=w(r._payload)),o.Children.forEach(r,e=>{if(v(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;b(n)&&typeof w==`function`&&(n=w(n._payload)),a=h(t,n),c.push(a?.props?.children)}else c.push(e)}),a?a=o.cloneElement(a,void 0,c):!s&&o.Children.count(r)===1&&o.isValidElement(r)&&(a=r);let u=a?_(a):void 0,d=l(n,u);if(!a){if(r||r===0)throw Error(s?C(e):S(e));return r}let f=g(i,a.props??{});return a.type!==o.Fragment&&(f.ref=n?d:u),o.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}var p=f(`Slot`),m=Symbol.for(`radix.slottable`),h=(e,t)=>{if(`child`in e.props){let t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null};function g(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function _(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 v(e){return o.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===m}var y=Symbol.for(`react.lazy`);function b(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===y&&`_payload`in e&&x(e._payload)}function x(e){return typeof e==`object`&&!!e&&`then`in e}var S=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,C=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,w=o.use;typeof window<`u`&&window.document&&window.document.createElement;function T(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)}}function E(e,t=[]){let n=[];function r(t,r){let i=o.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let s=t=>{let{scope:n,children:r,...s}=t,c=n?.[e]?.[a]||i,l=o.useMemo(()=>s,Object.values(s));return(0,d.jsx)(c.Provider,{value:l,children:r})};s.displayName=t+`Provider`;function c(n,s,c={}){let{optional:l=!1}=c,u=s?.[e]?.[a]||i,d=o.useContext(u);if(d)return d;if(r!==void 0)return r;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return[s,c]}let i=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,D(i,...t)]}function D(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}var O=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=f(`Primitive.${t}`),r=o.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,d.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function k(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}function A(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>((...e)=>t.current?.(...e)),[])}var j=`DismissableLayer`,M=`dismissableLayer.update`,N=`dismissableLayer.pointerDownOutside`,P=`dismissableLayer.focusOutside`,F,I=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),L=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:u,...f}=e,p=o.useContext(I),[m,h]=o.useState(null),g=m?.ownerDocument??globalThis?.document,[,_]=o.useState({}),v=l(t,h),y=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=b?y.indexOf(b):-1,S=m?y.indexOf(m):-1,C=p.layersWithOutsidePointerEventsDisabled.size>0,w=S>=x,E=o.useRef(!1),D=V(e=>{a?.(e),c?.(e),e.defaultPrevented||u?.()},{ownerDocument:g,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...p.branches].some(t=>t.contains(e));return w&&!t},[p.branches,w])}),k=H(e=>{if(r&&E.current)return;let t=e.target;[...p.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||u?.())},g),j=m?S===y.length-1:!1,N=A(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))});return o.useEffect(()=>{if(j)return g.addEventListener(`keydown`,N,{capture:!0}),()=>g.removeEventListener(`keydown`,N,{capture:!0})},[g,j,N]),o.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(F=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),te(),()=>{n&&(p.layersWithOutsidePointerEventsDisabled.delete(m),p.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=F))}},[m,g,n,p]),o.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),te())},[m,p]),o.useEffect(()=>{let e=()=>_({});return document.addEventListener(M,e),()=>document.removeEventListener(M,e)},[]),(0,d.jsx)(O.div,{...f,ref:v,style:{pointerEvents:C?w?`auto`:`none`:void 0,...e.style},onFocusCapture:T(e.onFocusCapture,k.onFocusCapture),onBlurCapture:T(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,D.onPointerDownCapture)})});L.displayName=j;var R=`DismissableLayerBranch`,z=o.forwardRef((e,t)=>{let n=o.useContext(I),r=o.useRef(null),i=l(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(O.div,{...e,ref:i})});z.displayName=R;function ee(){let e=o.useContext(I),[t,n]=o.useState(null);return o.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}var B=()=>!0;function V(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=B}=t,c=A(e),l=o.useRef(!1),u=o.useRef(!1),d=o.useRef(new Map),f=o.useRef(()=>{});return o.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function o(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}function p(e){u.current&&d.current.set(e.type,!1)}let m=a=>{if(a.target&&!l.current){let o=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||ne(N,c,p,{discrete:!0})};if(!s(a.target)){n.removeEventListener(`click`,f.current),e(),l.current=!1;return}let p={originalEvent:a};u.current=!0,i.current=r&&a.button===0,d.current.clear(),!r||a.button!==0?o():(n.removeEventListener(`click`,f.current),f.current=o,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();l.current=!1},h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,o,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,o,!0),n.removeEventListener(e,p)}},[n,c,r,i,a,s]),{onPointerDownCapture:()=>l.current=!0}}function H(e,t=globalThis?.document){let n=A(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&ne(P,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function te(){let e=new CustomEvent(M);document.dispatchEvent(e)}function ne(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?k(i,a):i.dispatchEvent(a)}var U=0,re=null;function ie(){o.useEffect(()=>{re||={start:ae(),end:ae()};let{start:e,end:t}=re;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),U++,()=>{U===1&&(re?.start.remove(),re?.end.remove(),re=null),U=Math.max(0,U-1)}},[])}function ae(){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}var oe=`focusScope.autoFocusOnMount`,se=`focusScope.autoFocusOnUnmount`,ce={bubbles:!1,cancelable:!0},le=`FocusScope`,ue=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,u]=o.useState(null),f=A(i),p=A(a),m=o.useRef(null),h=l(t,u),g=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(g.paused||!c)return;let t=e.target;c.contains(t)?m.current=t:_e(m.current,{select:!0})},t=function(e){if(g.paused||!c)return;let t=e.relatedTarget;t!==null&&(c.contains(t)||_e(m.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&_e(c)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,c,g.paused]),o.useEffect(()=>{if(c){ve.add(g);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(oe,ce);c.addEventListener(oe,f),c.dispatchEvent(t),t.defaultPrevented||(de(xe(pe(c)),{select:!0}),document.activeElement===e&&_e(c))}return()=>{c.removeEventListener(oe,f),setTimeout(()=>{let t=new CustomEvent(se,ce);c.addEventListener(se,p),c.dispatchEvent(t),t.defaultPrevented||_e(e??document.body,{select:!0}),c.removeEventListener(se,p),ve.remove(g)},0)}}},[c,f,p,g]);let _=o.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=fe(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&_e(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&_e(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,d.jsx)(O.div,{tabIndex:-1,...s,ref:h,onKeyDown:_})});ue.displayName=le;function de(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(_e(r,{select:t}),document.activeElement!==n)return}function fe(e){let t=pe(e);return[me(t,e),me(t.reverse(),e)]}function pe(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function me(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):he(r,{upTo:t})))return r}function he(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 ge(e){return e instanceof HTMLInputElement&&`select`in e}function _e(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ge(e)&&t&&e.select()}}var ve=ye();function ye(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=be(e,t),e.unshift(t)},remove(t){e=be(e,t),e[0]?.resume()}}}function be(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xe(e){return e.filter(e=>e.tagName!==`A`)}var Se=globalThis?.document?o.useLayoutEffect:()=>{},Ce=o.useId||(()=>void 0),we=0;function Te(e){let[t,n]=o.useState(Ce());return Se(()=>{e||n(e=>e??String(we++))},[e]),e||(t?`radix-${t}`:``)}var Ee=[`top`,`right`,`bottom`,`left`],De=Math.min,Oe=Math.max,ke=Math.round,Ae=Math.floor,je=e=>({x:e,y:e}),Me={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Ne(e,t,n){return Oe(e,De(t,n))}function Pe(e,t){return typeof e==`function`?e(t):e}function Fe(e){return e.split(`-`)[0]}function Ie(e){return e.split(`-`)[1]}function Le(e){return e===`x`?`y`:`x`}function W(e){return e===`y`?`height`:`width`}function Re(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function ze(e){return Le(Re(e))}function Be(e,t,n){n===void 0&&(n=!1);let r=Ie(e),i=ze(e),a=W(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Ye(o)),[o,Ye(o)]}function Ve(e){let t=Ye(e);return[He(e),t,He(t)]}function He(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Ue=[`left`,`right`],We=[`right`,`left`],Ge=[`top`,`bottom`],Ke=[`bottom`,`top`];function qe(e,t,n){switch(e){case`top`:case`bottom`:return n?t?We:Ue:t?Ue:We;case`left`:case`right`:return t?Ge:Ke;default:return[]}}function Je(e,t,n,r){let i=Ie(e),a=qe(Fe(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(He)))),a}function Ye(e){let t=Fe(e);return Me[t]+e.slice(t.length)}function Xe(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Ze(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Xe(e)}function Qe(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function $e(e,t,n){let{reference:r,floating:i}=e,a=Re(t),o=ze(t),s=W(o),c=Fe(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Ie(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function G(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Pe(t,e),p=Ze(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Qe(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Qe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var et=50,tt=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:G},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=$e(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<et&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=$e(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},nt=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Pe(e,t)||{};if(l==null)return{};let d=Ze(u),f={x:n,y:r},p=ze(i),m=W(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=De(d[_],T),D=De(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=Ne(E,k,O),j=!c.arrow&&Ie(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),rt=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Pe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Fe(r),_=Re(o),v=Fe(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Ye(o)]:Ve(o)),x=p!==`none`;!d&&x&&b.push(...Je(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Be(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Re(t))||T.every(e=>Re(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Re(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function it(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function at(e){return Ee.some(t=>e[t]>=0)}var ot=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Pe(e,t);switch(i){case`referenceHidden`:{let e=it(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:at(e)}}}case`escaped`:{let e=it(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:at(e)}}}default:return{}}}}},st=new Set([`left`,`top`]);async function ct(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Fe(n),s=Ie(n),c=Re(n)===`y`,l=st.has(o)?-1:1,u=a&&c?-1:1,d=Pe(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var lt=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ct(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ut=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Pe(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Re(i),p=Le(f),m=u[p],h=u[f],g=(e,t)=>Ne(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},dt=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Pe(e,t),u={x:n,y:r},d=Re(i),f=Le(d),p=u[f],m=u[d],h=Pe(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=st.has(Fe(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},ft=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Pe(e,t),c=await i.detectOverflow(t,s),l=Fe(n),u=Ie(n),d=Re(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=De(p-c[m],g),y=De(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*Oe(c.left,c.right):S=p-2*Oe(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function pt(){return typeof window<`u`}function mt(e){return _t(e)?(e.nodeName||``).toLowerCase():`#document`}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){return((_t(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function _t(e){return pt()?e instanceof Node||e instanceof ht(e).Node:!1}function vt(e){return pt()?e instanceof Element||e instanceof ht(e).Element:!1}function yt(e){return pt()?e instanceof HTMLElement||e instanceof ht(e).HTMLElement:!1}function bt(e){return!pt()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function xt(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function St(e){return/^(table|td|th)$/.test(mt(e))}function Ct(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var wt=/transform|translate|scale|rotate|perspective|filter/,Tt=/paint|layout|strict|content/,Et=e=>!!e&&e!==`none`,Dt;function Ot(e){let t=vt(e)?Mt(e):e;return Et(t.transform)||Et(t.translate)||Et(t.scale)||Et(t.rotate)||Et(t.perspective)||!At()&&(Et(t.backdropFilter)||Et(t.filter))||wt.test(t.willChange||``)||Tt.test(t.contain||``)}function kt(e){let t=Pt(e);for(;yt(t)&&!jt(t);){if(Ot(t))return t;if(Ct(t))return null;t=Pt(t)}return null}function At(){return Dt??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Dt}function jt(e){return/^(html|body|#document)$/.test(mt(e))}function Mt(e){return ht(e).getComputedStyle(e)}function Nt(e){return vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pt(e){if(mt(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||bt(e)&&e.host||gt(e);return bt(t)?t.host:t}function Ft(e){let t=Pt(e);return jt(t)?(e.ownerDocument||e).body:yt(t)&&xt(t)?t:Ft(t)}function It(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Ft(e),i=r===e.ownerDocument?.body,a=ht(r);if(i){let e=Lt(a);return t.concat(a,a.visualViewport||[],xt(r)?r:[],e&&n?It(e):[])}else return t.concat(r,It(r,[],n))}function Lt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rt(e){let t=Mt(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=yt(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ke(n)!==a||ke(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function zt(e){return vt(e)?e:e.contextElement}function Bt(e){let t=zt(e);if(!yt(t))return je(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Rt(t),o=(a?ke(n.width):n.width)/r,s=(a?ke(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Vt=je(0);function Ht(e){let t=ht(e);return!At()||!t.visualViewport?Vt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ut(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ht(e)}function Wt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=zt(e),o=je(1);t&&(r?vt(r)&&(o=Bt(r)):o=Bt(e));let s=Ut(a,n,r)?Ht(a):je(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=ht(a),t=vt(r)?ht(r):r,n=e,i=Lt(n);for(;i&&t!==n;){let e=Bt(i),t=i.getBoundingClientRect(),r=Mt(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ht(i),i=Lt(n)}}return Qe({width:u,height:d,x:c,y:l})}function Gt(e,t){let n=Nt(e).scrollLeft;return t?t.left+n:Wt(gt(e)).left+n}function Kt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Gt(e,n),y:n.top+t.scrollTop}}function qt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=gt(r),s=t?Ct(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=je(1),u=je(0),d=yt(r);if((d||!a)&&((mt(r)!==`body`||xt(o))&&(c=Nt(r)),d)){let e=Wt(r);l=Bt(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Kt(o,c):je(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Jt(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Yt(e){let t=Nt(e),n=e.ownerDocument.body,r=Oe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Oe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Gt(e),o=-t.scrollTop;return Mt(n).direction===`rtl`&&(a+=Oe(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Xt=25;function Zt(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=ht(e),a=gt(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!At()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Gt(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Xt&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Qt(e,t){let n=Wt(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Bt(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function $t(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Zt(e,n,t);else if(t===`document`)r=Yt(gt(e));else if(vt(t))r=Qt(t,n);else{let n=Ht(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Qe(r)}function en(e,t){let n=t.get(e);if(n)return n;let r=It(e,[],!1).filter(e=>vt(e)&&mt(e)!==`body`),i=null,a=Mt(e).position===`fixed`,o=a?Pt(e):e;for(;vt(o)&&!jt(o);){let e=Mt(o),t=Ot(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Pt(o)}return t.set(e,r),r}function tn(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Ct(t)?[]:en(t,this._c):[].concat(n),r],o=$t(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=$t(t,a[e],i);s=Oe(n.top,s),c=De(n.right,c),l=De(n.bottom,l),u=Oe(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function nn(e){let{width:t,height:n}=Rt(e);return{width:t,height:n}}function rn(e,t,n){let r=yt(t),i=gt(t),a=n===`fixed`,o=Wt(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=je(0);if((r||!a)&&((mt(t)!==`body`||xt(i))&&(s=Nt(t)),r)){let e=Wt(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Gt(i));let l=i&&!r&&!a?Kt(i,s):je(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function an(e){return Mt(e).position===`static`}function on(e,t){if(!yt(e)||Mt(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function sn(e,t){let n=ht(e);if(Ct(e))return n;if(!yt(e)){let t=Pt(e);for(;t&&!jt(t);){if(vt(t)&&!an(t))return t;t=Pt(t)}return n}let r=on(e,t);for(;r&&St(r)&&an(r);)r=on(r,t);return r&&jt(r)&&an(r)&&!Ot(r)?n:r||kt(e)||n}var cn=async function(e){let t=this.getOffsetParent||sn,n=this.getDimensions,r=await n(e.floating);return{reference:rn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ln(e){return Mt(e).direction===`rtl`}var un={convertOffsetParentRelativeRectToViewportRelativeRect:qt,getDocumentElement:gt,getClippingRect:tn,getOffsetParent:sn,getElementRects:cn,getClientRects:Jt,getDimensions:nn,getScale:Bt,isElement:vt,isRTL:ln};function dn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fn(e,t,n){let r=null,i,a=gt(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Ae(d),h=Ae(a.clientWidth-(u+f)),g=Ae(a.clientHeight-(d+p)),_=Ae(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Oe(0,De(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!dn(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=ht(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function pn(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=zt(e),u=i||a?[...l?It(l):[],...t?It(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?fn(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Wt(e):null;c&&g();function g(){let t=Wt(e);h&&!dn(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var mn=lt,hn=ut,gn=rt,_n=ft,vn=ot,yn=nt,bn=dt,xn=(e,t,n)=>{let r=new Map,i=n??{},a={...un,...i.platform,_c:r};return tt(e,t,{...i,platform:a})},Sn=typeof document<`u`?o.useLayoutEffect:function(){};function Cn(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,i;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(!Cn(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Cn(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function wn(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tn(e,t){let n=wn(e);return Math.round(t*n)/n}function En(e){let t=o.useRef(e);return Sn(()=>{t.current=e}),t}function Dn(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[f,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=o.useState(r);Cn(m,r)||h(r);let[g,_]=o.useState(null),[v,y]=o.useState(null),b=o.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=o.useCallback(e=>{e!==T.current&&(T.current=e,y(e))},[]),S=a||g,C=s||v,w=o.useRef(null),T=o.useRef(null),E=o.useRef(f),D=l!=null,O=En(l),k=En(i),A=En(d),j=o.useCallback(()=>{if(!w.current||!T.current)return;let e={placement:t,strategy:n,middleware:m};k.current&&(e.platform=k.current),xn(w.current,T.current,e).then(e=>{let t={...e,isPositioned:A.current!==!1};M.current&&!Cn(E.current,t)&&(E.current=t,u.flushSync(()=>{p(t)}))})},[m,t,n,k,A]);Sn(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let M=o.useRef(!1);Sn(()=>(M.current=!0,()=>{M.current=!1}),[]),Sn(()=>{if(S&&(w.current=S),C&&(T.current=C),S&&C){if(O.current)return O.current(S,C,j);j()}},[S,C,j,O,D]);let N=o.useMemo(()=>({reference:w,floating:T,setReference:b,setFloating:x}),[b,x]),P=o.useMemo(()=>({reference:S,floating:C}),[S,C]),F=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!P.floating)return e;let t=Tn(P.floating,f.x),r=Tn(P.floating,f.y);return c?{...e,transform:`translate(`+t+`px, `+r+`px)`,...wn(P.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,c,P.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:j,refs:N,elements:P,floatingStyles:F}),[f,j,N,P,F])}var On=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:yn({element:r.current,padding:i}).fn(n):r?yn({element:r,padding:i}).fn(n):{}}}},kn=(e,t)=>{let n=mn(e);return{name:n.name,fn:n.fn,options:[e,t]}},An=(e,t)=>{let n=hn(e);return{name:n.name,fn:n.fn,options:[e,t]}},jn=(e,t)=>({fn:bn(e).fn,options:[e,t]}),Mn=(e,t)=>{let n=gn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Nn=(e,t)=>{let n=_n(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pn=(e,t)=>{let n=vn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Fn=(e,t)=>{let n=On(e);return{name:n.name,fn:n.fn,options:[e,t]}},In=`Arrow`,Ln=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,d.jsx)(O.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,d.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});Ln.displayName=In;var Rn=Ln;function zn(e){let[t,n]=o.useState(void 0);return Se(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else n(void 0)},[e]),t}var Bn=`Popper`,[Vn,Hn]=E(Bn),[Un,Wn]=Vn(Bn),Gn=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null),[a,s]=o.useState(void 0);return(0,d.jsx)(Un,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:s,children:n})};Gn.displayName=Bn;var Kn=`PopperAnchor`,qn=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Wn(Kn,n),s=o.useRef(null),c=a.onAnchorChange,u=l(t,o.useCallback(e=>{s.current=e,e&&c(e)},[c])),f=o.useRef(null);o.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&c(f.current)});let p=a.placementState&&rr(a.placementState),m=p?.[0],h=p?.[1];return r?null:(0,d.jsx)(O.div,{"data-radix-popper-side":m,"data-radix-popper-align":h,...i,ref:u})});qn.displayName=Kn;var Jn=`PopperContent`,[Yn,Xn]=Vn(Jn),Zn=o.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:s=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m=`partial`,hideWhenDetached:h=!1,updatePositionStrategy:g=`optimized`,onPlaced:_,...v}=e,y=Wn(Jn,n),[b,x]=o.useState(null),S=l(t,x),[C,w]=o.useState(null),T=zn(C),E=T?.width??0,D=T?.height??0,k=r+(a===`center`?``:`-`+a),j=typeof p==`number`?p:{top:0,right:0,bottom:0,left:0,...p},M=Array.isArray(f)?f:[f],N=M.length>0,P={padding:j,boundary:M.filter(tr),altBoundary:N},{refs:F,floatingStyles:I,placement:L,isPositioned:R,middlewareData:z}=Dn({strategy:`fixed`,placement:k,whileElementsMounted:(...e)=>pn(...e,{animationFrame:g===`always`}),elements:{reference:y.anchor},middleware:[kn({mainAxis:i+D,alignmentAxis:s}),u&&An({mainAxis:!0,crossAxis:!1,limiter:m===`partial`?jn():void 0,...P}),u&&Mn({...P}),Nn({...P,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),C&&Fn({element:C,padding:c}),nr({arrowWidth:E,arrowHeight:D}),h&&Pn({strategy:`referenceHidden`,...P,boundary:N?P.boundary:void 0})]}),ee=y.setPlacementState;Se(()=>(ee(L),()=>{ee(void 0)}),[L,ee]);let[B,V]=rr(L),H=A(_);Se(()=>{R&&H?.()},[R,H]);let te=z.arrow?.x,ne=z.arrow?.y,U=z.arrow?.centerOffset!==0,[re,ie]=o.useState();return Se(()=>{b&&ie(window.getComputedStyle(b).zIndex)},[b]),(0,d.jsx)(`div`,{ref:F.setFloating,"data-radix-popper-content-wrapper":``,style:{...I,transform:R?I.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:re,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(` `),...z.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,d.jsx)(Yn,{scope:n,placedSide:B,placedAlign:V,onArrowChange:w,arrowX:te,arrowY:ne,shouldHideArrow:U,children:(0,d.jsx)(O.div,{"data-side":B,"data-align":V,...v,ref:S,style:{...v.style,animation:R?void 0:`none`}})})})});Zn.displayName=Jn;var Qn=`PopperArrow`,$n={top:`bottom`,right:`left`,bottom:`top`,left:`right`},er=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=Xn(Qn,n),a=$n[i.placedSide];return(0,d.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]: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:(0,d.jsx)(Rn,{...r,ref:t,style:{...r.style,display:`block`}})})});er.displayName=Qn;function tr(e){return e!==null}var nr=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=rr(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function rr(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var ir=Gn,ar=qn,or=Zn,sr=er,cr=`Portal`,lr=o.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=o.useState(!1);Se(()=>a(!0),[]);let s=n||i&&globalThis?.document?.body;return s?u.createPortal((0,d.jsx)(O.div,{...r,ref:t}),s):null});lr.displayName=cr;function ur(e,t){return o.useReducer((e,n)=>t[e][n]??e,e)}var dr=e=>{let{present:t,children:n}=e,r=fr(t),i=typeof n==`function`?n({present:r.isPresent}):o.Children.only(n),a=mr(r.ref,gr(i));return typeof n==`function`||r.isPresent?o.cloneElement(i,{ref:a}):null};dr.displayName=`Presence`;function fr(e){let[t,n]=o.useState(),r=o.useRef(null),i=o.useRef(e),a=o.useRef(`none`),s=o.useRef(void 0),[c,l]=ur(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return o.useEffect(()=>{c===`mounted`?(a.current=s.current??hr(r.current),s.current=void 0):a.current=`none`},[c]),Se(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=hr(t);e?(s.current=o,l(`MOUNT`)):o===`none`||t?.display===`none`?l(`UNMOUNT`):l(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,l]),Se(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=hr(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(l(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(a.current=hr(r.current))};return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else l(`ANIMATION_END`)},[t,l]),{isPresent:[`mounted`,`unmountSuspended`].includes(c),ref:o.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,s.current=hr(t)}else r.current=null;n(e)},[])}}function pr(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function mr(...e){let t=o.useRef(e);return t.current=e,o.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=pr(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():pr(n[e],null)}}},[])}function hr(e){return e?.animationName||`none`}function gr(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 _r=o.useInsertionEffect||Se;function vr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,s]=yr({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:i;{let t=o.useRef(e!==void 0);o.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`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.`),t.current=c},[c,r])}return[l,o.useCallback(t=>{if(c){let n=br(t)?t(e):t;n!==e&&s.current?.(n)}else a(t)},[c,e,a,s])]}function yr({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return _r(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function br(e){return typeof e==`function`}var xr=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Sr=new WeakMap,Cr=new WeakMap,wr={},Tr=0,Er=function(e){return e&&(e.host||Er(e.parentNode))},Dr=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Er(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Or=function(e,t,n,r){var i=Dr(t,Array.isArray(e)?e:[e]);wr[n]||(wr[n]=new WeakMap);var a=wr[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(Sr.get(e)||0)+1,l=(a.get(e)||0)+1;Sr.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Cr.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Tr++,function(){o.forEach(function(e){var t=Sr.get(e)-1,i=a.get(e)-1;Sr.set(e,t),a.set(e,i),t||(Cr.has(e)||e.removeAttribute(r),Cr.delete(e)),i||e.removeAttribute(n)}),Tr--,Tr||(Sr=new WeakMap,Sr=new WeakMap,Cr=new WeakMap,wr={})}},kr=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||xr(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Or(r,i,n,`aria-hidden`)):function(){return null}},Ar=function(){return Ar=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ar.apply(this,arguments)};function jr(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 i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Mr(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Nr=`right-scroll-bar-position`,Pr=`width-before-scroll-bar`,Fr=`with-scroll-bars-hidden`,Ir=`--removed-body-scroll-bar-size`;function Lr(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Rr(e,t){var n=(0,o.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var zr=typeof window<`u`?o.useLayoutEffect:o.useEffect,Br=new WeakMap;function Vr(e,t){var n=Rr(t||null,function(t){return e.forEach(function(e){return Lr(e,t)})});return zr(function(){var t=Br.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||Lr(e,null)}),i.forEach(function(e){r.has(e)||Lr(e,a)})}Br.set(n,e)},[e]),n}function Hr(e){return e}function Ur(e,t){t===void 0&&(t=Hr);var n=[],r=!1;return{read:function(){if(r)throw 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(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function Wr(e){e===void 0&&(e={});var t=Ur(null);return t.options=Ar({async:!0,ssr:!1},e),t}var Gr=function(e){var t=e.sideCar,n=jr(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 o.createElement(r,Ar({},n))};Gr.isSideCarExport=!0;function Kr(e,t){return e.useMedium(t),Gr}var qr=Wr(),Jr=function(){},Yr=o.forwardRef(function(e,t){var n=o.useRef(null),r=o.useState({onScrollCapture:Jr,onWheelCapture:Jr,onTouchMoveCapture:Jr}),i=r[0],a=r[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=jr(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=Vr([n,t]),w=Ar(Ar({},x),i);return o.createElement(o.Fragment,null,d&&o.createElement(S,{sideCar:qr,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),s?o.cloneElement(o.Children.only(c),Ar(Ar({},w),{ref:C})):o.createElement(y,Ar({},w,{className:l,ref:C}),c))});Yr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Yr.classNames={fullWidth:Pr,zeroRight:Nr};var Xr,Zr=function(){if(Xr)return Xr;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Qr(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Zr();return t&&e.setAttribute(`nonce`,t),e}function $r(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ei(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ti=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Qr())&&($r(t,n),ei(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ni=function(){var e=ti();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ri=function(){var e=ni();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ii={left:0,top:0,right:0,gap:0},ai=function(e){return parseInt(e||``,10)||0},oi=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[ai(n),ai(r),ai(i)]},si=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ii;var t=oi(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])}},ci=ri(),li=`data-scroll-locked`,ui=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-QTnfLwEv.js";import{a as n,n as r}from"./i18n-vendor-T6EnJ_TL.js";import{h as i}from"./react-vendor-CzSUaSLk.js";import{o as a}from"./icons-BTbA1N7a.js";var o=e(n(),1);function s(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function c(...e){return t=>{let n=!1,r=e.map(e=>{let r=s(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():s(e[t],null)}}}}function l(...e){return o.useCallback(c(...e),e)}var u=e(i(),1),d=a();function f(e){let t=o.forwardRef((t,n)=>{let{children:r,...i}=t,a=null,s=!1,c=[];b(r)&&typeof w==`function`&&(r=w(r._payload)),o.Children.forEach(r,e=>{if(v(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;b(n)&&typeof w==`function`&&(n=w(n._payload)),a=h(t,n),c.push(a?.props?.children)}else c.push(e)}),a?a=o.cloneElement(a,void 0,c):!s&&o.Children.count(r)===1&&o.isValidElement(r)&&(a=r);let u=a?_(a):void 0,d=l(n,u);if(!a){if(r||r===0)throw Error(s?C(e):S(e));return r}let f=g(i,a.props??{});return a.type!==o.Fragment&&(f.ref=n?d:u),o.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}var p=f(`Slot`),m=Symbol.for(`radix.slottable`),h=(e,t)=>{if(`child`in e.props){let t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null};function g(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function _(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 v(e){return o.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===m}var y=Symbol.for(`react.lazy`);function b(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===y&&`_payload`in e&&x(e._payload)}function x(e){return typeof e==`object`&&!!e&&`then`in e}var S=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,C=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,w=o.use;typeof window<`u`&&window.document&&window.document.createElement;function T(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)}}function E(e,t=[]){let n=[];function r(t,r){let i=o.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let s=t=>{let{scope:n,children:r,...s}=t,c=n?.[e]?.[a]||i,l=o.useMemo(()=>s,Object.values(s));return(0,d.jsx)(c.Provider,{value:l,children:r})};s.displayName=t+`Provider`;function c(n,s,c={}){let{optional:l=!1}=c,u=s?.[e]?.[a]||i,d=o.useContext(u);if(d)return d;if(r!==void 0)return r;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return[s,c]}let i=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,D(i,...t)]}function D(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}var O=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=f(`Primitive.${t}`),r=o.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,d.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function k(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}function A(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>((...e)=>t.current?.(...e)),[])}var j=`DismissableLayer`,M=`dismissableLayer.update`,N=`dismissableLayer.pointerDownOutside`,P=`dismissableLayer.focusOutside`,F,I=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),L=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:u,...f}=e,p=o.useContext(I),[m,h]=o.useState(null),g=m?.ownerDocument??globalThis?.document,[,_]=o.useState({}),v=l(t,h),y=Array.from(p.layers),[b]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=b?y.indexOf(b):-1,S=m?y.indexOf(m):-1,C=p.layersWithOutsidePointerEventsDisabled.size>0,w=S>=x,E=o.useRef(!1),D=V(e=>{a?.(e),c?.(e),e.defaultPrevented||u?.()},{ownerDocument:g,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...p.branches].some(t=>t.contains(e));return w&&!t},[p.branches,w])}),k=H(e=>{if(r&&E.current)return;let t=e.target;[...p.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||u?.())},g),j=m?S===y.length-1:!1,N=A(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))});return o.useEffect(()=>{if(j)return g.addEventListener(`keydown`,N,{capture:!0}),()=>g.removeEventListener(`keydown`,N,{capture:!0})},[g,j,N]),o.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(F=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),te(),()=>{n&&(p.layersWithOutsidePointerEventsDisabled.delete(m),p.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=F))}},[m,g,n,p]),o.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),te())},[m,p]),o.useEffect(()=>{let e=()=>_({});return document.addEventListener(M,e),()=>document.removeEventListener(M,e)},[]),(0,d.jsx)(O.div,{...f,ref:v,style:{pointerEvents:C?w?`auto`:`none`:void 0,...e.style},onFocusCapture:T(e.onFocusCapture,k.onFocusCapture),onBlurCapture:T(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:T(e.onPointerDownCapture,D.onPointerDownCapture)})});L.displayName=j;var R=`DismissableLayerBranch`,z=o.forwardRef((e,t)=>{let n=o.useContext(I),r=o.useRef(null),i=l(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(O.div,{...e,ref:i})});z.displayName=R;function ee(){let e=o.useContext(I),[t,n]=o.useState(null);return o.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}var B=()=>!0;function V(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=B}=t,c=A(e),l=o.useRef(!1),u=o.useRef(!1),d=o.useRef(new Map),f=o.useRef(()=>{});return o.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function o(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{u.current&&f.current()},0)}function p(e){u.current&&d.current.set(e.type,!1)}let m=a=>{if(a.target&&!l.current){let o=function(){n.removeEventListener(`click`,f.current);let r=t();e(),r||ne(N,c,p,{discrete:!0})};if(!s(a.target)){n.removeEventListener(`click`,f.current),e(),l.current=!1;return}let p={originalEvent:a};u.current=!0,i.current=r&&a.button===0,d.current.clear(),!r||a.button!==0?o():(n.removeEventListener(`click`,f.current),f.current=o,n.addEventListener(`click`,f.current,{once:!0}))}else n.removeEventListener(`click`,f.current),e();l.current=!1},h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,o,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,f.current);for(let e of h)n.removeEventListener(e,o,!0),n.removeEventListener(e,p)}},[n,c,r,i,a,s]),{onPointerDownCapture:()=>l.current=!0}}function H(e,t=globalThis?.document){let n=A(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&ne(P,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function te(){let e=new CustomEvent(M);document.dispatchEvent(e)}function ne(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?k(i,a):i.dispatchEvent(a)}var U=0,re=null;function ie(){o.useEffect(()=>{re||={start:ae(),end:ae()};let{start:e,end:t}=re;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),U++,()=>{U===1&&(re?.start.remove(),re?.end.remove(),re=null),U=Math.max(0,U-1)}},[])}function ae(){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}var oe=`focusScope.autoFocusOnMount`,se=`focusScope.autoFocusOnUnmount`,ce={bubbles:!1,cancelable:!0},le=`FocusScope`,ue=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,u]=o.useState(null),f=A(i),p=A(a),m=o.useRef(null),h=l(t,u),g=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(g.paused||!c)return;let t=e.target;c.contains(t)?m.current=t:_e(m.current,{select:!0})},t=function(e){if(g.paused||!c)return;let t=e.relatedTarget;t!==null&&(c.contains(t)||_e(m.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&_e(c)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,c,g.paused]),o.useEffect(()=>{if(c){ve.add(g);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(oe,ce);c.addEventListener(oe,f),c.dispatchEvent(t),t.defaultPrevented||(de(xe(pe(c)),{select:!0}),document.activeElement===e&&_e(c))}return()=>{c.removeEventListener(oe,f),setTimeout(()=>{let t=new CustomEvent(se,ce);c.addEventListener(se,p),c.dispatchEvent(t),t.defaultPrevented||_e(e??document.body,{select:!0}),c.removeEventListener(se,p),ve.remove(g)},0)}}},[c,f,p,g]);let _=o.useCallback(e=>{if(!n&&!r||g.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=fe(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&_e(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&_e(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,g.paused]);return(0,d.jsx)(O.div,{tabIndex:-1,...s,ref:h,onKeyDown:_})});ue.displayName=le;function de(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(_e(r,{select:t}),document.activeElement!==n)return}function fe(e){let t=pe(e);return[me(t,e),me(t.reverse(),e)]}function pe(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function me(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):he(r,{upTo:t})))return r}function he(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 ge(e){return e instanceof HTMLInputElement&&`select`in e}function _e(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ge(e)&&t&&e.select()}}var ve=ye();function ye(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=be(e,t),e.unshift(t)},remove(t){e=be(e,t),e[0]?.resume()}}}function be(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xe(e){return e.filter(e=>e.tagName!==`A`)}var Se=globalThis?.document?o.useLayoutEffect:()=>{},Ce=o.useId||(()=>void 0),we=0;function Te(e){let[t,n]=o.useState(Ce());return Se(()=>{e||n(e=>e??String(we++))},[e]),e||(t?`radix-${t}`:``)}var Ee=[`top`,`right`,`bottom`,`left`],De=Math.min,Oe=Math.max,ke=Math.round,Ae=Math.floor,je=e=>({x:e,y:e}),Me={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Ne(e,t,n){return Oe(e,De(t,n))}function Pe(e,t){return typeof e==`function`?e(t):e}function Fe(e){return e.split(`-`)[0]}function Ie(e){return e.split(`-`)[1]}function Le(e){return e===`x`?`y`:`x`}function W(e){return e===`y`?`height`:`width`}function Re(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function ze(e){return Le(Re(e))}function Be(e,t,n){n===void 0&&(n=!1);let r=Ie(e),i=ze(e),a=W(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Ye(o)),[o,Ye(o)]}function Ve(e){let t=Ye(e);return[He(e),t,He(t)]}function He(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Ue=[`left`,`right`],We=[`right`,`left`],Ge=[`top`,`bottom`],Ke=[`bottom`,`top`];function qe(e,t,n){switch(e){case`top`:case`bottom`:return n?t?We:Ue:t?Ue:We;case`left`:case`right`:return t?Ge:Ke;default:return[]}}function Je(e,t,n,r){let i=Ie(e),a=qe(Fe(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(He)))),a}function Ye(e){let t=Fe(e);return Me[t]+e.slice(t.length)}function Xe(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Ze(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Xe(e)}function Qe(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function $e(e,t,n){let{reference:r,floating:i}=e,a=Re(t),o=ze(t),s=W(o),c=Fe(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Ie(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function G(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Pe(t,e),p=Ze(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Qe(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Qe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var et=50,tt=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:G},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=$e(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<et&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=$e(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},nt=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Pe(e,t)||{};if(l==null)return{};let d=Ze(u),f={x:n,y:r},p=ze(i),m=W(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=De(d[_],T),D=De(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=Ne(E,k,O),j=!c.arrow&&Ie(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),rt=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Pe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Fe(r),_=Re(o),v=Fe(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Ye(o)]:Ve(o)),x=p!==`none`;!d&&x&&b.push(...Je(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Be(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Re(t))||T.every(e=>Re(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Re(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function it(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function at(e){return Ee.some(t=>e[t]>=0)}var ot=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Pe(e,t);switch(i){case`referenceHidden`:{let e=it(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:at(e)}}}case`escaped`:{let e=it(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:at(e)}}}default:return{}}}}},st=new Set([`left`,`top`]);async function ct(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Fe(n),s=Ie(n),c=Re(n)===`y`,l=st.has(o)?-1:1,u=a&&c?-1:1,d=Pe(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var lt=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ct(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ut=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Pe(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Re(i),p=Le(f),m=u[p],h=u[f],g=(e,t)=>Ne(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},dt=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Pe(e,t),u={x:n,y:r},d=Re(i),f=Le(d),p=u[f],m=u[d],h=Pe(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=st.has(Fe(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},ft=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Pe(e,t),c=await i.detectOverflow(t,s),l=Fe(n),u=Ie(n),d=Re(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=De(p-c[m],g),y=De(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*Oe(c.left,c.right):S=p-2*Oe(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function pt(){return typeof window<`u`}function mt(e){return _t(e)?(e.nodeName||``).toLowerCase():`#document`}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){return((_t(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function _t(e){return pt()?e instanceof Node||e instanceof ht(e).Node:!1}function vt(e){return pt()?e instanceof Element||e instanceof ht(e).Element:!1}function yt(e){return pt()?e instanceof HTMLElement||e instanceof ht(e).HTMLElement:!1}function bt(e){return!pt()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function xt(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Mt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function St(e){return/^(table|td|th)$/.test(mt(e))}function Ct(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var wt=/transform|translate|scale|rotate|perspective|filter/,Tt=/paint|layout|strict|content/,Et=e=>!!e&&e!==`none`,Dt;function Ot(e){let t=vt(e)?Mt(e):e;return Et(t.transform)||Et(t.translate)||Et(t.scale)||Et(t.rotate)||Et(t.perspective)||!At()&&(Et(t.backdropFilter)||Et(t.filter))||wt.test(t.willChange||``)||Tt.test(t.contain||``)}function kt(e){let t=Pt(e);for(;yt(t)&&!jt(t);){if(Ot(t))return t;if(Ct(t))return null;t=Pt(t)}return null}function At(){return Dt??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Dt}function jt(e){return/^(html|body|#document)$/.test(mt(e))}function Mt(e){return ht(e).getComputedStyle(e)}function Nt(e){return vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pt(e){if(mt(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||bt(e)&&e.host||gt(e);return bt(t)?t.host:t}function Ft(e){let t=Pt(e);return jt(t)?(e.ownerDocument||e).body:yt(t)&&xt(t)?t:Ft(t)}function It(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Ft(e),i=r===e.ownerDocument?.body,a=ht(r);if(i){let e=Lt(a);return t.concat(a,a.visualViewport||[],xt(r)?r:[],e&&n?It(e):[])}else return t.concat(r,It(r,[],n))}function Lt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rt(e){let t=Mt(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=yt(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ke(n)!==a||ke(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function zt(e){return vt(e)?e:e.contextElement}function Bt(e){let t=zt(e);if(!yt(t))return je(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Rt(t),o=(a?ke(n.width):n.width)/r,s=(a?ke(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Vt=je(0);function Ht(e){let t=ht(e);return!At()||!t.visualViewport?Vt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ut(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ht(e)}function Wt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=zt(e),o=je(1);t&&(r?vt(r)&&(o=Bt(r)):o=Bt(e));let s=Ut(a,n,r)?Ht(a):je(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=ht(a),t=vt(r)?ht(r):r,n=e,i=Lt(n);for(;i&&t!==n;){let e=Bt(i),t=i.getBoundingClientRect(),r=Mt(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ht(i),i=Lt(n)}}return Qe({width:u,height:d,x:c,y:l})}function Gt(e,t){let n=Nt(e).scrollLeft;return t?t.left+n:Wt(gt(e)).left+n}function Kt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Gt(e,n),y:n.top+t.scrollTop}}function qt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=gt(r),s=t?Ct(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=je(1),u=je(0),d=yt(r);if((d||!a)&&((mt(r)!==`body`||xt(o))&&(c=Nt(r)),d)){let e=Wt(r);l=Bt(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Kt(o,c):je(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Jt(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Yt(e){let t=Nt(e),n=e.ownerDocument.body,r=Oe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Oe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Gt(e),o=-t.scrollTop;return Mt(n).direction===`rtl`&&(a+=Oe(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Xt=25;function Zt(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=ht(e),a=gt(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!At()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Gt(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Xt&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Qt(e,t){let n=Wt(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Bt(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function $t(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Zt(e,n,t);else if(t===`document`)r=Yt(gt(e));else if(vt(t))r=Qt(t,n);else{let n=Ht(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Qe(r)}function en(e,t){let n=t.get(e);if(n)return n;let r=It(e,[],!1).filter(e=>vt(e)&&mt(e)!==`body`),i=null,a=Mt(e).position===`fixed`,o=a?Pt(e):e;for(;vt(o)&&!jt(o);){let e=Mt(o),t=Ot(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Pt(o)}return t.set(e,r),r}function tn(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Ct(t)?[]:en(t,this._c):[].concat(n),r],o=$t(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=$t(t,a[e],i);s=Oe(n.top,s),c=De(n.right,c),l=De(n.bottom,l),u=Oe(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function nn(e){let{width:t,height:n}=Rt(e);return{width:t,height:n}}function rn(e,t,n){let r=yt(t),i=gt(t),a=n===`fixed`,o=Wt(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=je(0);if((r||!a)&&((mt(t)!==`body`||xt(i))&&(s=Nt(t)),r)){let e=Wt(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Gt(i));let l=i&&!r&&!a?Kt(i,s):je(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function an(e){return Mt(e).position===`static`}function on(e,t){if(!yt(e)||Mt(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function sn(e,t){let n=ht(e);if(Ct(e))return n;if(!yt(e)){let t=Pt(e);for(;t&&!jt(t);){if(vt(t)&&!an(t))return t;t=Pt(t)}return n}let r=on(e,t);for(;r&&St(r)&&an(r);)r=on(r,t);return r&&jt(r)&&an(r)&&!Ot(r)?n:r||kt(e)||n}var cn=async function(e){let t=this.getOffsetParent||sn,n=this.getDimensions,r=await n(e.floating);return{reference:rn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ln(e){return Mt(e).direction===`rtl`}var un={convertOffsetParentRelativeRectToViewportRelativeRect:qt,getDocumentElement:gt,getClippingRect:tn,getOffsetParent:sn,getElementRects:cn,getClientRects:Jt,getDimensions:nn,getScale:Bt,isElement:vt,isRTL:ln};function dn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fn(e,t,n){let r=null,i,a=gt(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Ae(d),h=Ae(a.clientWidth-(u+f)),g=Ae(a.clientHeight-(d+p)),_=Ae(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Oe(0,De(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!dn(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=ht(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function pn(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=zt(e),u=i||a?[...l?It(l):[],...t?It(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?fn(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Wt(e):null;c&&g();function g(){let t=Wt(e);h&&!dn(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var mn=lt,hn=ut,gn=rt,_n=ft,vn=ot,yn=nt,bn=dt,xn=(e,t,n)=>{let r=new Map,i=n??{},a={...un,...i.platform,_c:r};return tt(e,t,{...i,platform:a})},Sn=typeof document<`u`?o.useLayoutEffect:function(){};function Cn(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,i;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(!Cn(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Cn(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function wn(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tn(e,t){let n=wn(e);return Math.round(t*n)/n}function En(e){let t=o.useRef(e);return Sn(()=>{t.current=e}),t}function Dn(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:s}={},transform:c=!0,whileElementsMounted:l,open:d}=e,[f,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=o.useState(r);Cn(m,r)||h(r);let[g,_]=o.useState(null),[v,y]=o.useState(null),b=o.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=o.useCallback(e=>{e!==T.current&&(T.current=e,y(e))},[]),S=a||g,C=s||v,w=o.useRef(null),T=o.useRef(null),E=o.useRef(f),D=l!=null,O=En(l),k=En(i),A=En(d),j=o.useCallback(()=>{if(!w.current||!T.current)return;let e={placement:t,strategy:n,middleware:m};k.current&&(e.platform=k.current),xn(w.current,T.current,e).then(e=>{let t={...e,isPositioned:A.current!==!1};M.current&&!Cn(E.current,t)&&(E.current=t,u.flushSync(()=>{p(t)}))})},[m,t,n,k,A]);Sn(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let M=o.useRef(!1);Sn(()=>(M.current=!0,()=>{M.current=!1}),[]),Sn(()=>{if(S&&(w.current=S),C&&(T.current=C),S&&C){if(O.current)return O.current(S,C,j);j()}},[S,C,j,O,D]);let N=o.useMemo(()=>({reference:w,floating:T,setReference:b,setFloating:x}),[b,x]),P=o.useMemo(()=>({reference:S,floating:C}),[S,C]),F=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!P.floating)return e;let t=Tn(P.floating,f.x),r=Tn(P.floating,f.y);return c?{...e,transform:`translate(`+t+`px, `+r+`px)`,...wn(P.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,c,P.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:j,refs:N,elements:P,floatingStyles:F}),[f,j,N,P,F])}var On=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:yn({element:r.current,padding:i}).fn(n):r?yn({element:r,padding:i}).fn(n):{}}}},kn=(e,t)=>{let n=mn(e);return{name:n.name,fn:n.fn,options:[e,t]}},An=(e,t)=>{let n=hn(e);return{name:n.name,fn:n.fn,options:[e,t]}},jn=(e,t)=>({fn:bn(e).fn,options:[e,t]}),Mn=(e,t)=>{let n=gn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Nn=(e,t)=>{let n=_n(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pn=(e,t)=>{let n=vn(e);return{name:n.name,fn:n.fn,options:[e,t]}},Fn=(e,t)=>{let n=On(e);return{name:n.name,fn:n.fn,options:[e,t]}},In=`Arrow`,Ln=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,d.jsx)(O.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,d.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});Ln.displayName=In;var Rn=Ln;function zn(e){let[t,n]=o.useState(void 0);return Se(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else n(void 0)},[e]),t}var Bn=`Popper`,[Vn,Hn]=E(Bn),[Un,Wn]=Vn(Bn),Gn=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null),[a,s]=o.useState(void 0);return(0,d.jsx)(Un,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:s,children:n})};Gn.displayName=Bn;var Kn=`PopperAnchor`,qn=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Wn(Kn,n),s=o.useRef(null),c=a.onAnchorChange,u=l(t,o.useCallback(e=>{s.current=e,e&&c(e)},[c])),f=o.useRef(null);o.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&c(f.current)});let p=a.placementState&&rr(a.placementState),m=p?.[0],h=p?.[1];return r?null:(0,d.jsx)(O.div,{"data-radix-popper-side":m,"data-radix-popper-align":h,...i,ref:u})});qn.displayName=Kn;var Jn=`PopperContent`,[Yn,Xn]=Vn(Jn),Zn=o.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:s=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m=`partial`,hideWhenDetached:h=!1,updatePositionStrategy:g=`optimized`,onPlaced:_,...v}=e,y=Wn(Jn,n),[b,x]=o.useState(null),S=l(t,x),[C,w]=o.useState(null),T=zn(C),E=T?.width??0,D=T?.height??0,k=r+(a===`center`?``:`-`+a),j=typeof p==`number`?p:{top:0,right:0,bottom:0,left:0,...p},M=Array.isArray(f)?f:[f],N=M.length>0,P={padding:j,boundary:M.filter(tr),altBoundary:N},{refs:F,floatingStyles:I,placement:L,isPositioned:R,middlewareData:z}=Dn({strategy:`fixed`,placement:k,whileElementsMounted:(...e)=>pn(...e,{animationFrame:g===`always`}),elements:{reference:y.anchor},middleware:[kn({mainAxis:i+D,alignmentAxis:s}),u&&An({mainAxis:!0,crossAxis:!1,limiter:m===`partial`?jn():void 0,...P}),u&&Mn({...P}),Nn({...P,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),C&&Fn({element:C,padding:c}),nr({arrowWidth:E,arrowHeight:D}),h&&Pn({strategy:`referenceHidden`,...P,boundary:N?P.boundary:void 0})]}),ee=y.setPlacementState;Se(()=>(ee(L),()=>{ee(void 0)}),[L,ee]);let[B,V]=rr(L),H=A(_);Se(()=>{R&&H?.()},[R,H]);let te=z.arrow?.x,ne=z.arrow?.y,U=z.arrow?.centerOffset!==0,[re,ie]=o.useState();return Se(()=>{b&&ie(window.getComputedStyle(b).zIndex)},[b]),(0,d.jsx)(`div`,{ref:F.setFloating,"data-radix-popper-content-wrapper":``,style:{...I,transform:R?I.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:re,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(` `),...z.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,d.jsx)(Yn,{scope:n,placedSide:B,placedAlign:V,onArrowChange:w,arrowX:te,arrowY:ne,shouldHideArrow:U,children:(0,d.jsx)(O.div,{"data-side":B,"data-align":V,...v,ref:S,style:{...v.style,animation:R?void 0:`none`}})})})});Zn.displayName=Jn;var Qn=`PopperArrow`,$n={top:`bottom`,right:`left`,bottom:`top`,left:`right`},er=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=Xn(Qn,n),a=$n[i.placedSide];return(0,d.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]: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:(0,d.jsx)(Rn,{...r,ref:t,style:{...r.style,display:`block`}})})});er.displayName=Qn;function tr(e){return e!==null}var nr=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=rr(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function rr(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var ir=Gn,ar=qn,or=Zn,sr=er,cr=`Portal`,lr=o.forwardRef((e,t)=>{let{container:n,...r}=e,[i,a]=o.useState(!1);Se(()=>a(!0),[]);let s=n||i&&globalThis?.document?.body;return s?u.createPortal((0,d.jsx)(O.div,{...r,ref:t}),s):null});lr.displayName=cr;function ur(e,t){return o.useReducer((e,n)=>t[e][n]??e,e)}var dr=e=>{let{present:t,children:n}=e,r=fr(t),i=typeof n==`function`?n({present:r.isPresent}):o.Children.only(n),a=mr(r.ref,gr(i));return typeof n==`function`||r.isPresent?o.cloneElement(i,{ref:a}):null};dr.displayName=`Presence`;function fr(e){let[t,n]=o.useState(),r=o.useRef(null),i=o.useRef(e),a=o.useRef(`none`),s=o.useRef(void 0),[c,l]=ur(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return o.useEffect(()=>{c===`mounted`?(a.current=s.current??hr(r.current),s.current=void 0):a.current=`none`},[c]),Se(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=hr(t);e?(s.current=o,l(`MOUNT`)):o===`none`||t?.display===`none`?l(`UNMOUNT`):l(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,l]),Se(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=a=>{let o=hr(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(l(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(a.current=hr(r.current))};return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}else l(`ANIMATION_END`)},[t,l]),{isPresent:[`mounted`,`unmountSuspended`].includes(c),ref:o.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,s.current=hr(t)}else r.current=null;n(e)},[])}}function pr(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function mr(...e){let t=o.useRef(e);return t.current=e,o.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=pr(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():pr(n[e],null)}}},[])}function hr(e){return e?.animationName||`none`}function gr(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 _r=o.useInsertionEffect||Se;function vr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,s]=yr({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:i;{let t=o.useRef(e!==void 0);o.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`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.`),t.current=c},[c,r])}return[l,o.useCallback(t=>{if(c){let n=br(t)?t(e):t;n!==e&&s.current?.(n)}else a(t)},[c,e,a,s])]}function yr({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return _r(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function br(e){return typeof e==`function`}var xr=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Sr=new WeakMap,Cr=new WeakMap,wr={},Tr=0,Er=function(e){return e&&(e.host||Er(e.parentNode))},Dr=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Er(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Or=function(e,t,n,r){var i=Dr(t,Array.isArray(e)?e:[e]);wr[n]||(wr[n]=new WeakMap);var a=wr[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(Sr.get(e)||0)+1,l=(a.get(e)||0)+1;Sr.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Cr.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Tr++,function(){o.forEach(function(e){var t=Sr.get(e)-1,i=a.get(e)-1;Sr.set(e,t),a.set(e,i),t||(Cr.has(e)||e.removeAttribute(r),Cr.delete(e)),i||e.removeAttribute(n)}),Tr--,Tr||(Sr=new WeakMap,Sr=new WeakMap,Cr=new WeakMap,wr={})}},kr=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||xr(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Or(r,i,n,`aria-hidden`)):function(){return null}},Ar=function(){return Ar=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ar.apply(this,arguments)};function jr(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 i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Mr(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Nr=`right-scroll-bar-position`,Pr=`width-before-scroll-bar`,Fr=`with-scroll-bars-hidden`,Ir=`--removed-body-scroll-bar-size`;function Lr(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function Rr(e,t){var n=(0,o.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var zr=typeof window<`u`?o.useLayoutEffect:o.useEffect,Br=new WeakMap;function Vr(e,t){var n=Rr(t||null,function(t){return e.forEach(function(e){return Lr(e,t)})});return zr(function(){var t=Br.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||Lr(e,null)}),i.forEach(function(e){r.has(e)||Lr(e,a)})}Br.set(n,e)},[e]),n}function Hr(e){return e}function Ur(e,t){t===void 0&&(t=Hr);var n=[],r=!1;return{read:function(){if(r)throw 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(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function Wr(e){e===void 0&&(e={});var t=Ur(null);return t.options=Ar({async:!0,ssr:!1},e),t}var Gr=function(e){var t=e.sideCar,n=jr(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 o.createElement(r,Ar({},n))};Gr.isSideCarExport=!0;function Kr(e,t){return e.useMedium(t),Gr}var qr=Wr(),Jr=function(){},Yr=o.forwardRef(function(e,t){var n=o.useRef(null),r=o.useState({onScrollCapture:Jr,onWheelCapture:Jr,onTouchMoveCapture:Jr}),i=r[0],a=r[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=jr(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=Vr([n,t]),w=Ar(Ar({},x),i);return o.createElement(o.Fragment,null,d&&o.createElement(S,{sideCar:qr,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),s?o.cloneElement(o.Children.only(c),Ar(Ar({},w),{ref:C})):o.createElement(y,Ar({},w,{className:l,ref:C}),c))});Yr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Yr.classNames={fullWidth:Pr,zeroRight:Nr};var Xr,Zr=function(){if(Xr)return Xr;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Qr(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Zr();return t&&e.setAttribute(`nonce`,t),e}function $r(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ei(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ti=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Qr())&&($r(t,n),ei(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ni=function(){var e=ti();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ri=function(){var e=ni();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ii={left:0,top:0,right:0,gap:0},ai=function(e){return parseInt(e||``,10)||0},oi=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[ai(n),ai(r),ai(i)]},si=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ii;var t=oi(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])}},ci=ri(),li=`data-scroll-locked`,ui=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
|
|
2
2
|
.${Fr} {
|
|
3
3
|
overflow: hidden ${r};
|
|
4
4
|
padding-right: ${s}px ${r};
|
package/dist/index.html
CHANGED
|
@@ -38,31 +38,31 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
</script>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-CHlM3CU9.js"></script>
|
|
42
42
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
|
|
43
43
|
<link rel="modulepreload" crossorigin href="/assets/i18n-vendor-T6EnJ_TL.js">
|
|
44
|
-
<link rel="modulepreload" crossorigin href="/assets/react-vendor-
|
|
45
|
-
<link rel="modulepreload" crossorigin href="/assets/fields-
|
|
46
|
-
<link rel="modulepreload" crossorigin href="/assets/shelf-
|
|
47
|
-
<link rel="modulepreload" crossorigin href="/assets/input-
|
|
44
|
+
<link rel="modulepreload" crossorigin href="/assets/react-vendor-CzSUaSLk.js">
|
|
45
|
+
<link rel="modulepreload" crossorigin href="/assets/fields-BtCN_frr.js">
|
|
46
|
+
<link rel="modulepreload" crossorigin href="/assets/shelf-CRUDKiTz.js">
|
|
47
|
+
<link rel="modulepreload" crossorigin href="/assets/input-DqF3I-kT.js">
|
|
48
48
|
<link rel="modulepreload" crossorigin href="/assets/icons-BTbA1N7a.js">
|
|
49
|
-
<link rel="modulepreload" crossorigin href="/assets/ui-vendor-
|
|
50
|
-
<link rel="modulepreload" crossorigin href="/assets/phone-input-
|
|
51
|
-
<link rel="modulepreload" crossorigin href="/assets/popover-
|
|
49
|
+
<link rel="modulepreload" crossorigin href="/assets/ui-vendor-C79K_wDx.js">
|
|
50
|
+
<link rel="modulepreload" crossorigin href="/assets/phone-input-vooQJZf_.js">
|
|
51
|
+
<link rel="modulepreload" crossorigin href="/assets/popover-DjWMp23y.js">
|
|
52
52
|
<link rel="modulepreload" crossorigin href="/assets/development-olQNibq5.js">
|
|
53
|
-
<link rel="modulepreload" crossorigin href="/assets/src-
|
|
53
|
+
<link rel="modulepreload" crossorigin href="/assets/src-54Qdjl2W.js">
|
|
54
54
|
<link rel="modulepreload" crossorigin href="/assets/plugin-ui-CKd6q8ec.js">
|
|
55
|
-
<link rel="modulepreload" crossorigin href="/assets/file-text-
|
|
56
|
-
<link rel="modulepreload" crossorigin href="/assets/arrow-left-
|
|
57
|
-
<link rel="modulepreload" crossorigin href="/assets/ThemeSwitcher-
|
|
55
|
+
<link rel="modulepreload" crossorigin href="/assets/file-text-DzYzGxiY.js">
|
|
56
|
+
<link rel="modulepreload" crossorigin href="/assets/arrow-left-5G0O-4HL.js">
|
|
57
|
+
<link rel="modulepreload" crossorigin href="/assets/ThemeSwitcher-CADoC9xw.js">
|
|
58
58
|
<link rel="modulepreload" crossorigin href="/assets/markdown-vendor-CtaBI5gJ.js">
|
|
59
|
-
<link rel="modulepreload" crossorigin href="/assets/extend-
|
|
59
|
+
<link rel="modulepreload" crossorigin href="/assets/extend-BTkr7oJ8.js">
|
|
60
60
|
<link rel="modulepreload" crossorigin href="/assets/plugin-CFEkHH3f.js">
|
|
61
|
-
<link rel="modulepreload" crossorigin href="/assets/list-cache-
|
|
61
|
+
<link rel="modulepreload" crossorigin href="/assets/list-cache-D1eUf-Pp.js">
|
|
62
62
|
<link rel="modulepreload" crossorigin href="/assets/api-ChM6smRq.js">
|
|
63
|
-
<link rel="modulepreload" crossorigin href="/assets/auth-context-
|
|
64
|
-
<link rel="modulepreload" crossorigin href="/assets/SettingsForm-
|
|
65
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
63
|
+
<link rel="modulepreload" crossorigin href="/assets/auth-context-CGdGFadP.js">
|
|
64
|
+
<link rel="modulepreload" crossorigin href="/assets/SettingsForm-BAjKJ1MR.js">
|
|
65
|
+
<link rel="stylesheet" crossorigin href="/assets/index-KdG4mu3z.css">
|
|
66
66
|
</head>
|
|
67
67
|
<body>
|
|
68
68
|
<div id="root"></div>
|