"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[716],{8369:function(e,t,r){r.d(t,{Ry:function(){return c}});var n=new WeakMap,o=new WeakMap,i={},l=0,a=function(e){return e&&(e.host||a(e.parentNode))},s=function(e,t,r,s){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=a(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[r]||(i[r]=new WeakMap);var u=i[r],d=[],f=new Set,p=new Set(c),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};c.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var t=e.getAttribute(s),i=null!==t&&"false"!==t,l=(n.get(e)||0)+1,a=(u.get(e)||0)+1;n.set(e,l),u.set(e,a),d.push(e),1===l&&i&&o.set(e,!0),1===a&&e.setAttribute(r,"true"),i||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),f.clear(),l++,function(){d.forEach(function(e){var t=n.get(e)-1,i=u.get(e)-1;n.set(e,t),u.set(e,i),t||(o.has(e)||e.removeAttribute(s),o.delete(e)),i||e.removeAttribute(r)}),--l||(n=new WeakMap,n=new WeakMap,o=new WeakMap,i={})}},c=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),s(n,o,r,"aria-hidden")):function(){return null}}},8030:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(2265);/** * @license lucide-react v0.408.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};/** * @license lucide-react v0.408.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.408.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let a=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:c="",children:u,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:r,strokeWidth:s?24*Number(a)/Number(o):a,className:i("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:s,...c}=r;return(0,n.createElement)(a,{ref:l,iconNode:t,className:i("lucide-".concat(o(e)),s),...c})});return r.displayName="".concat(e),r}},2468:function(e,t,r){r.d(t,{Z:function(){return n}});/** * @license lucide-react v0.408.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let n=(0,r(8030).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},2421:function(e,t,r){r.d(t,{Z:function(){return n}});/** * @license lucide-react v0.408.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let n=(0,r(8030).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},1823:function(e,t,r){r.d(t,{Av:function(){return l},pF:function(){return n},xv:function(){return i},zi:function(){return o}});var n="right-scroll-bar-position",o="width-before-scroll-bar",i="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size"},5973:function(e,t,r){r.d(t,{jp:function(){return h}});var n=r(2265),o=r(8039),i=r(1823),l={left:0,top:0,right:0,gap:0},a=function(e){return parseInt(e||"",10)||0},s=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[a(r),a(n),a(o)]},c=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return l;var t=s(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},u=(0,o.Ws)(),d="data-scroll-locked",f=function(e,t,r,n){var o=e.left,l=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat(i.xv," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(d,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(l,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i.pF," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(i.zi," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(i.pF," .").concat(i.pF," {\n right: 0 ").concat(n,";\n }\n \n .").concat(i.zi," .").concat(i.zi," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(d,"] {\n ").concat(i.Av,": ").concat(s,"px;\n }\n")},p=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},m=function(){n.useEffect(function(){return document.body.setAttribute(d,(p()+1).toString()),function(){var e=p()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},h=function(e){var t=e.noRelative,r=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;m();var l=n.useMemo(function(){return c(i)},[i]);return n.createElement(u,{styles:f(l,!t,i,r?"":"!important")})}},8039:function(e,t,r){r.d(t,{Ws:function(){return a}});var n,o=r(2265),i=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,l;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},l=function(){var e=i();return function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},a=function(){var e=l();return function(t){return e(t.styles,t.dynamic),null}}},8215:function(e,t,r){r.d(t,{q:function(){return a}});var n=r(2265);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,l=new WeakMap;function a(e,t){var r,a,s,c=(r=t||null,a=function(t){return e.forEach(function(e){return o(e,t)})},(s=(0,n.useState)(function(){return{value:r,callback:a,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=a,s.facade);return i(function(){var t=l.get(c);if(t){var r=new Set(t),n=new Set(e),i=c.current;r.forEach(function(e){n.has(e)||o(e,null)}),n.forEach(function(e){r.has(e)||o(e,i)})}l.set(c,e)},[e]),c}},8776:function(e,t,r){r.d(t,{L:function(){return l}});var n=r(1735),o=r(2265),i=function(e){var t=e.sideCar,r=(0,n._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return o.createElement(i,(0,n.pi)({},r))};function l(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},5411:function(e,t,r){r.d(t,{_:function(){return i}});var n=r(1735);function o(e){return e}function i(e){void 0===e&&(e={});var t,r,i,l=(void 0===t&&(t=o),r=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var n=t(e,i);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(i=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){i=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},l=function(){return Promise.resolve().then(o)};l(),r={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),r}}}});return l.options=(0,n.pi)({async:!0,ssr:!1},e),l}},8149:function(e,t,r){r.d(t,{M:function(){return n}});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},976:function(e,t,r){r.d(t,{B:function(){return s}});var n=r(2265),o=r(8324),i=r(1584),l=r(1538),a=r(7437);function s(e){let t=e+"CollectionProvider",[r,s]=(0,o.b)(t),[c,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,o=n.useRef(null),i=n.useRef(new Map).current;return(0,a.jsx)(c,{scope:t,itemMap:i,collectionRef:o,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=u(f,r),s=(0,i.e)(t,o.collectionRef);return(0,a.jsx)(l.g7,{ref:s,children:n})});p.displayName=f;let m=e+"CollectionItemSlot",h="data-radix-collection-item",g=n.forwardRef((e,t)=>{let{scope:r,children:o,...s}=e,c=n.useRef(null),d=(0,i.e)(t,c),f=u(m,r);return n.useEffect(()=>(f.itemMap.set(c,{ref:c,...s}),()=>void f.itemMap.delete(c))),(0,a.jsx)(l.g7,{[h]:"",ref:d,children:o})});return g.displayName=m,[{Provider:d,Slot:p,ItemSlot:g},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},1584:function(e,t,r){r.d(t,{F:function(){return o},e:function(){return i}});var n=r(2265);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return n.useCallback(o(...e),e)}},8324:function(e,t,r){r.d(t,{b:function(){return i}});var n=r(2265),o=r(7437);function i(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let l=n.createContext(i),a=r.length;function s(t){let{scope:r,children:i,...s}=t,c=r?.[e][a]||l,u=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(c.Provider,{value:u,children:i})}return r=[...r,i],s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e][a]||l,c=n.useContext(s);if(c)return c;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},7513:function(e,t,r){r.d(t,{gm:function(){return i}});var n=r(2265);r(7437);var o=n.createContext(void 0);function i(e){let t=n.useContext(o);return e||t||"ltr"}},1477:function(e,t,r){r.d(t,{XB:function(){return p}});var n,o=r(2265),i=r(8149),l=r(5171),a=r(1584),s=r(5137),c=r(6486),u=r(7437),d="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var r,p;let{disableOutsidePointerEvents:g=!1,onEscapeKeyDown:v,onPointerDownOutside:b,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...E}=e,k=o.useContext(f),[C,A]=o.useState(null),S=null!==(p=null==C?void 0:C.ownerDocument)&&void 0!==p?p:null===(r=globalThis)||void 0===r?void 0:r.document,[,R]=o.useState({}),L=(0,a.e)(t,e=>A(e)),O=Array.from(k.layers),[P]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),j=O.indexOf(P),z=C?O.indexOf(C):-1,T=k.layersWithOutsidePointerEventsDisabled.size>0,N=z>=j,W=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,n=(0,s.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",l.current),l.current=t,r.addEventListener("click",l.current,{once:!0})):t()}else r.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",l.current)}},[r,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...k.branches].some(e=>e.contains(t));!N||r||(null==b||b(e),null==w||w(e),e.defaultPrevented||null==x||x())},S),M=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,n=(0,s.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...k.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},S);return(0,c.e)(e=>{z!==k.layers.size-1||(null==v||v(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},S),o.useEffect(()=>{if(C)return g&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(n=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(C)),k.layers.add(C),m(),()=>{g&&1===k.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=n)}},[C,S,g,k]),o.useEffect(()=>()=>{C&&(k.layers.delete(C),k.layersWithOutsidePointerEventsDisabled.delete(C),m())},[C,k]),o.useEffect(()=>{let e=()=>R({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,u.jsx)(l.WV.div,{...E,ref:L,style:{pointerEvents:T?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,W.onPointerDownCapture)})});function m(){let e=new CustomEvent(d);document.dispatchEvent(e)}function h(e,t,r,n){let{discrete:o}=n,i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.jH)(i,a):i.dispatchEvent(a)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{let r=o.useContext(f),n=o.useRef(null),i=(0,a.e)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(l.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},467:function(e,t,r){let n;r.d(t,{M:function(){return f}});var o=r(2265),i=r(1584),l=r(5171),a=r(5137),s=r(7437),c="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=o.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:f,onUnmountAutoFocus:v,...b}=e,[y,w]=o.useState(null),x=(0,a.W)(f),E=(0,a.W)(v),k=o.useRef(null),C=(0,i.e)(t,e=>w(e)),A=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let e=function(e){if(A.paused||!y)return;let t=e.target;y.contains(t)?k.current=t:h(k.current,{select:!0})},t=function(e){if(A.paused||!y)return;let t=e.relatedTarget;null===t||y.contains(t)||h(k.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&h(y)});return y&&r.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,y,A.paused]),o.useEffect(()=>{if(y){g.add(A);let e=document.activeElement;if(!y.contains(e)){let t=new CustomEvent(c,d);y.addEventListener(c,x),y.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(h(n,{select:t}),document.activeElement!==r)return}(p(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(y))}return()=>{y.removeEventListener(c,x),setTimeout(()=>{let t=new CustomEvent(u,d);y.addEventListener(u,E),y.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),y.removeEventListener(u,E),g.remove(A)},0)}}},[y,x,E,A]);let S=o.useCallback(e=>{if(!r&&!n||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,i]=function(e){let t=p(e);return[m(t,e),m(t.reverse(),e)]}(t);n&&i?e.shiftKey||o!==i?e.shiftKey&&o===n&&(e.preventDefault(),r&&h(i,{select:!0})):(e.preventDefault(),r&&h(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,A.paused]);return(0,s.jsx)(l.WV.div,{tabIndex:-1,...b,ref:C,onKeyDown:S})});function p(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function m(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function h(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}f.displayName="FocusScope";var g=(n=[],{add(e){let t=n[0];e!==t&&(null==t||t.pause()),(n=v(n,e)).unshift(e)},remove(e){var t;null===(t=(n=v(n,e))[0])||void 0===t||t.resume()}});function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},3201:function(e,t,r){r.d(t,{M:function(){return s}});var n,o=r(2265),i=r(1336),l=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),a=0;function s(e){let[t,r]=o.useState(l());return(0,i.b)(()=>{e||r(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},7683:function(e,t,r){r.d(t,{ee:function(){return eG},Eh:function(){return eK},VY:function(){return eq},fC:function(){return e$},D7:function(){return eL}});var n=r(2265);let o=["top","right","bottom","left"],i=Math.min,l=Math.max,a=Math.round,s=Math.floor,c=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(p(e))?"y":"x"}function b(e){return e.replace(/start|end/g,e=>d[e])}function y(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function w(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function E(e,t,r){let n,{reference:o,floating:i}=e,l=v(t),a=h(v(t)),s=g(a),c=p(t),u="y"===l,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,b=o[s]/2-i[s]/2;switch(c){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-i.width,y:f};break;default:n={x:o.x,y:o.y}}switch(m(t)){case"start":n[a]-=b*(r&&u?-1:1);break;case"end":n[a]+=b*(r&&u?-1:1)}return n}let k=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:l}=r,a=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=E(c,n,s),f=n,p={},m=0;for(let r=0;re[t]>=0)}async function R(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),l=p(r),a=m(r),s="y"===v(r),c=["left","top"].includes(l)?-1:1,u=i&&s?-1:1,d=f(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:b}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof b&&(g="end"===a?-1*b:b),s?{x:g*u,y:h*c}:{x:h*c,y:g*u}}function L(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function O(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function P(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return e instanceof Node||e instanceof O(e).Node}function z(e){return e instanceof Element||e instanceof O(e).Element}function T(e){return e instanceof HTMLElement||e instanceof O(e).HTMLElement}function N(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof O(e).ShadowRoot)}function W(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=I(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function M(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function D(e){let t=F(),r=z(e)?I(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function F(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function H(e){return["html","body","#document"].includes(L(e))}function I(e){return O(e).getComputedStyle(e)}function V(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _(e){if("html"===L(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||P(e);return N(t)?t.host:t}function B(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=_(t);return H(r)?t.ownerDocument?t.ownerDocument.body:t.body:T(r)&&W(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),l=O(o);return i?t.concat(l,l.visualViewport||[],W(o)?o:[],l.frameElement&&r?B(l.frameElement):[]):t.concat(o,B(o,[],r))}function $(e){let t=I(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=T(e),i=o?e.offsetWidth:r,l=o?e.offsetHeight:n,s=a(r)!==i||a(n)!==l;return s&&(r=i,n=l),{width:r,height:n,$:s}}function G(e){return z(e)?e:e.contextElement}function q(e){let t=G(e);if(!T(t))return c(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=$(t),l=(i?a(r.width):r.width)/n,s=(i?a(r.height):r.height)/o;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let K=c(0);function Z(e){let t=O(e);return F()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:K}function Y(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),l=G(e),a=c(1);t&&(n?z(n)&&(a=q(n)):a=q(e));let s=(void 0===(o=r)&&(o=!1),n&&(!o||n===O(l))&&o)?Z(l):c(0),u=(i.left+s.x)/a.x,d=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(l){let e=O(l),t=n&&z(n)?O(n):n,r=e,o=r.frameElement;for(;o&&n&&t!==r;){let e=q(o),t=o.getBoundingClientRect(),n=I(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,d*=e.y,f*=e.x,p*=e.y,u+=i,d+=l,o=(r=O(o)).frameElement}}return x({width:f,height:p,x:u,y:d})}function X(e){return Y(P(e)).left+V(e).scrollLeft}function U(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=O(e),n=P(e),o=r.visualViewport,i=n.clientWidth,l=n.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=F();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,r);else if("document"===t)n=function(e){let t=P(e),r=V(e),n=e.ownerDocument.body,o=l(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=l(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+X(e),s=-r.scrollTop;return"rtl"===I(n).direction&&(a+=l(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}(P(e));else if(z(t))n=function(e,t){let r=Y(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=T(e)?q(e):c(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{let r=Z(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return x(n)}function J(e){return"static"===I(e).position}function Q(e,t){return T(e)&&"fixed"!==I(e).position?t?t(e):e.offsetParent:null}function ee(e,t){let r=O(e);if(M(e))return r;if(!T(e)){let t=_(e);for(;t&&!H(t);){if(z(t)&&!J(t))return t;t=_(t)}return r}let n=Q(e,t);for(;n&&["table","td","th"].includes(L(n))&&J(n);)n=Q(n,t);return n&&H(n)&&J(n)&&!D(n)?r:n||function(e){let t=_(e);for(;T(t)&&!H(t);){if(D(t))return t;if(M(t))break;t=_(t)}return null}(e)||r}let et=async function(e){let t=this.getOffsetParent||ee,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=T(t),o=P(t),i="fixed"===r,l=Y(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=c(0);if(n||!n&&!i){if(("body"!==L(t)||W(o))&&(a=V(t)),n){let e=Y(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=X(o))}return{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},er={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,l=P(n),a=!!t&&M(t.floating);if(n===l||a&&i)return r;let s={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),f=T(n);if((f||!f&&!i)&&(("body"!==L(n)||W(l))&&(s=V(n)),T(n))){let e=Y(n);u=q(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-s.scrollLeft*u.x+d.x,y:r.y*u.y-s.scrollTop*u.y+d.y}},getDocumentElement:P,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,a=[..."clippingAncestors"===r?M(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=B(e,[],!1).filter(e=>z(e)&&"body"!==L(e)),o=null,i="fixed"===I(e).position,l=i?_(e):e;for(;z(l)&&!H(l);){let t=I(l),r=D(l);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||W(l)&&!r&&function e(t,r){let n=_(t);return!(n===r||!z(n)||H(n))&&("fixed"===I(n).position||e(n,r))}(e,l))?n=n.filter(e=>e!==l):o=t,l=_(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=a[0],c=a.reduce((e,r)=>{let n=U(t,r,o);return e.top=l(n.top,e.top),e.right=i(n.right,e.right),e.bottom=i(n.bottom,e.bottom),e.left=l(n.left,e.left),e},U(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ee,getElementRects:et,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=$(e);return{width:t,height:r}},getScale:q,isElement:z,isRTL:function(e){return"rtl"===I(e).direction}},en=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:a,platform:s,elements:c,middlewareData:u}=t,{element:d,padding:p=0}=f(e,t)||{};if(null==d)return{};let b=w(p),y={x:r,y:n},x=h(v(o)),E=g(x),k=await s.getDimensions(d),C="y"===x,A=C?"clientHeight":"clientWidth",S=a.reference[E]+a.reference[x]-y[x]-a.floating[E],R=y[x]-a.reference[x],L=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),O=L?L[A]:0;O&&await (null==s.isElement?void 0:s.isElement(L))||(O=c.floating[A]||a.floating[E]);let P=O/2-k[E]/2-1,j=i(b[C?"top":"left"],P),z=i(b[C?"bottom":"right"],P),T=O-k[E]-z,N=O/2-k[E]/2+(S/2-R/2),W=l(j,i(N,T)),M=!u.arrow&&null!=m(o)&&N!==W&&a.reference[E]/2-(N{let n=new Map,o={platform:er,...r},i={...o.platform,_c:n};return k(e,t,{...o,platform:i})};var ei=r(4887),el="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function ea(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ea(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!ea(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function es(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ec(e,t){let r=es(e);return Math.round(t*r)/r}function eu(e){let t=n.useRef(e);return el(()=>{t.current=e}),t}let ed=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?en({element:r.current,padding:n}).fn(t):{}:r?en({element:r,padding:n}).fn(t):{}}}),ef=(e,t)=>{var r;return{...(void 0===(r=e)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:o,y:i,placement:l,middlewareData:a}=e,s=await R(e,r);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}),options:[e,t]}},ep=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:o}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=f(r,e),d={x:t,y:n},m=await C(e,u),g=v(p(o)),b=h(g),y=d[b],w=d[g];if(a){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",r=y+m[e],n=y-m[t];y=l(r,i(y,n))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",r=w+m[e],n=w-m[t];w=l(r,i(w,n))}let x=c.fn({...e,[b]:y,[g]:w});return{...x,data:{x:x.x-t,y:x.y-n}}}}),options:[e,t]}},em=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:o,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=f(r,e),u={x:t,y:n},d=v(o),m=h(d),g=u[m],b=u[d],y=f(a,e),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(s){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+w.mainAxis,r=i.reference[m]+i.reference[e]-w.mainAxis;gr&&(g=r)}if(c){var x,E;let e="y"===m?"width":"height",t=["top","left"].includes(p(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(x=l.offset)?void 0:x[d])||0)+(t?0:w.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[d])||0)-(t?w.crossAxis:0);bn&&(b=n)}return{[m]:g,[d]:b}}}),options:[e,t]}},eh=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"flip",options:r,async fn(e){var t,n,o,i,l;let{placement:a,middlewareData:s,rects:c,initialPlacement:u,platform:d,elements:w}=e,{mainAxis:x=!0,crossAxis:E=!0,fallbackPlacements:k,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:R=!0,...L}=f(r,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let O=p(a),P=v(u),j=p(u)===u,z=await (null==d.isRTL?void 0:d.isRTL(w.floating)),T=k||(j||!R?[y(u)]:function(e){let t=y(e);return[b(e),t,b(t)]}(u)),N="none"!==S;!k&&N&&T.push(...function(e,t,r,n){let o=m(e),i=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(b)))),i}(u,R,S,z));let W=[u,...T],M=await C(e,L),D=[],F=(null==(n=s.flip)?void 0:n.overflows)||[];if(x&&D.push(M[O]),E){let e=function(e,t,r){void 0===r&&(r=!1);let n=m(e),o=h(v(e)),i=g(o),l="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=y(l)),[l,y(l)]}(a,c,z);D.push(M[e[0]],M[e[1]])}if(F=[...F,{placement:a,overflows:D}],!D.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=W[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let r=null==(i=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(A){case"bestFit":{let e=null==(l=F.filter(e=>{if(N){let t=v(e.placement);return t===P||"y"===t}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])?void 0:l[0];e&&(r=e);break}case"initialPlacement":r=u}if(a!==r)return{reset:{placement:r}}}return{}}}),options:[e,t]}},eg=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"size",options:r,async fn(e){let t,n;let{placement:o,rects:a,platform:s,elements:c}=e,{apply:u=()=>{},...d}=f(r,e),h=await C(e,d),g=p(o),b=m(o),y="y"===v(o),{width:w,height:x}=a.floating;"top"===g||"bottom"===g?(t=g,n=b===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(n=g,t="end"===b?"top":"bottom");let E=x-h.top-h.bottom,k=w-h.left-h.right,A=i(x-h[t],E),S=i(w-h[n],k),R=!e.middlewareData.shift,L=A,O=S;if(y?O=b||R?i(S,k):k:L=b||R?i(A,E):E,R&&!b){let e=l(h.left,0),t=l(h.right,0),r=l(h.top,0),n=l(h.bottom,0);y?O=w-2*(0!==e||0!==t?e+t:l(h.left,h.right)):L=x-2*(0!==r||0!==n?r+n:l(h.top,h.bottom))}await u({...e,availableWidth:O,availableHeight:L});let P=await s.getDimensions(c.floating);return w!==P.width||x!==P.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},ev=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"hide",options:r,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...o}=f(r,e);switch(n){case"referenceHidden":{let r=A(await C(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:S(r)}}}case"escaped":{let r=A(await C(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:S(r)}}}default:return{}}}}),options:[e,t]}},eb=(e,t)=>({...ed(e),options:[e,t]});var ey=r(5171),ew=r(7437),ex=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,ew.jsx)(ey.WV.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,ew.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ex.displayName="Arrow";var eE=r(1584),ek=r(8324),eC=r(5137),eA=r(1336),eS="Popper",[eR,eL]=(0,ek.b)(eS),[eO,eP]=eR(eS),ej=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,ew.jsx)(eO,{scope:t,anchor:o,onAnchorChange:i,children:r})};ej.displayName=eS;var ez="PopperAnchor",eT=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,l=eP(ez,r),a=n.useRef(null),s=(0,eE.e)(t,a);return n.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||a.current)}),o?null:(0,ew.jsx)(ey.WV.div,{...i,ref:s})});eT.displayName=ez;var eN="PopperContent",[eW,eM]=eR(eN),eD=n.forwardRef((e,t)=>{var r,o,a,c,u,d,f,p;let{__scopePopper:m,side:h="bottom",sideOffset:g=0,align:v="center",alignOffset:b=0,arrowPadding:y=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:k="partial",hideWhenDetached:C=!1,updatePositionStrategy:A="optimized",onPlaced:S,...R}=e,L=eP(eN,m),[O,j]=n.useState(null),z=(0,eE.e)(t,e=>j(e)),[T,N]=n.useState(null),W=function(e){let[t,r]=n.useState(void 0);return(0,eA.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(T),M=null!==(f=null==W?void 0:W.width)&&void 0!==f?f:0,D=null!==(p=null==W?void 0:W.height)&&void 0!==p?p:0,F="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},H=Array.isArray(x)?x:[x],I=H.length>0,V={padding:F,boundary:H.filter(eV),altBoundary:I},{refs:_,floatingStyles:$,placement:q,isPositioned:K,middlewareData:Z}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,f]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=n.useState(o);ea(p,o)||m(o);let[h,g]=n.useState(null),[v,b]=n.useState(null),y=n.useCallback(e=>{e!==k.current&&(k.current=e,g(e))},[]),w=n.useCallback(e=>{e!==C.current&&(C.current=e,b(e))},[]),x=l||h,E=a||v,k=n.useRef(null),C=n.useRef(null),A=n.useRef(d),S=null!=c,R=eu(c),L=eu(i),O=n.useCallback(()=>{if(!k.current||!C.current)return;let e={placement:t,strategy:r,middleware:p};L.current&&(e.platform=L.current),eo(k.current,C.current,e).then(e=>{let t={...e,isPositioned:!0};P.current&&!ea(A.current,t)&&(A.current=t,ei.flushSync(()=>{f(t)}))})},[p,t,r,L]);el(()=>{!1===u&&A.current.isPositioned&&(A.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let P=n.useRef(!1);el(()=>(P.current=!0,()=>{P.current=!1}),[]),el(()=>{if(x&&(k.current=x),E&&(C.current=E),x&&E){if(R.current)return R.current(x,E,O);O()}},[x,E,O,R,S]);let j=n.useMemo(()=>({reference:k,floating:C,setReference:y,setFloating:w}),[y,w]),z=n.useMemo(()=>({reference:x,floating:E}),[x,E]),T=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!z.floating)return e;let t=ec(z.floating,d.x),n=ec(z.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...es(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,z.floating,d.x,d.y]);return n.useMemo(()=>({...d,update:O,refs:j,elements:z,floatingStyles:T}),[d,O,j,z,T])}({strategy:"fixed",placement:h+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{a&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});let h=p&&d?function(e,t){let r,n=null,o=P(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),a();let{left:f,top:p,width:m,height:h}=e.getBoundingClientRect();if(u||t(),!m||!h)return;let g=s(p),v=s(o.clientWidth-(f+m)),b={rootMargin:-g+"px "+-v+"px "+-s(o.clientHeight-(p+h))+"px "+-s(f)+"px",threshold:l(0,i(1,d))||1},y=!0;function w(e){let t=e[0].intersectionRatio;if(t!==d){if(!y)return c();t?c(!1,t):r=setTimeout(()=>{c(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(w,{...b,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(w,b)}n.observe(e)}(!0),a}(p,r):null,g=-1,v=null;u&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),p&&!f&&v.observe(p),v.observe(t));let b=f?Y(e):null;return f&&function t(){let n=Y(e);b&&(n.x!==b.x||n.y!==b.y||n.width!==b.width||n.height!==b.height)&&r(),b=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach(e=>{a&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===A})},elements:{reference:L.anchor},middleware:[ef({mainAxis:g+D,alignmentAxis:b}),w&&ep({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?em():void 0,...V}),w&&eh({...V}),eg({...V,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:i,height:l}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),T&&eb({element:T,padding:y}),e_({arrowWidth:M,arrowHeight:D}),C&&ev({strategy:"referenceHidden",...V})]}),[X,U]=eB(q),J=(0,eC.W)(S);(0,eA.b)(()=>{K&&(null==J||J())},[K,J]);let Q=null===(r=Z.arrow)||void 0===r?void 0:r.x,ee=null===(o=Z.arrow)||void 0===o?void 0:o.y,et=(null===(a=Z.arrow)||void 0===a?void 0:a.centerOffset)!==0,[er,en]=n.useState();return(0,eA.b)(()=>{O&&en(window.getComputedStyle(O).zIndex)},[O]),(0,ew.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:K?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[null===(c=Z.transformOrigin)||void 0===c?void 0:c.x,null===(u=Z.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(d=Z.hide)||void 0===d?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ew.jsx)(eW,{scope:m,placedSide:X,onArrowChange:N,arrowX:Q,arrowY:ee,shouldHideArrow:et,children:(0,ew.jsx)(ey.WV.div,{"data-side":X,"data-align":U,...R,ref:z,style:{...R.style,animation:K?void 0:"none"}})})})});eD.displayName=eN;var eF="PopperArrow",eH={top:"bottom",right:"left",bottom:"top",left:"right"},eI=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=eM(eF,r),i=eH[o.placedSide];return(0,ew.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,ew.jsx)(ex,{...n,ref:t,style:{...n.style,display:"block"}})})});function eV(e){return null!==e}eI.displayName=eF;var e_=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,l;let{placement:a,rects:s,middlewareData:c}=t,u=(null===(r=c.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=eB(a),h={start:"0%",center:"50%",end:"100%"}[m],g=(null!==(i=null===(n=c.arrow)||void 0===n?void 0:n.x)&&void 0!==i?i:0)+d/2,v=(null!==(l=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+f/2,b="",y="";return"bottom"===p?(b=u?h:"".concat(g,"px"),y="".concat(-f,"px")):"top"===p?(b=u?h:"".concat(g,"px"),y="".concat(s.floating.height+f,"px")):"right"===p?(b="".concat(-f,"px"),y=u?h:"".concat(v,"px")):"left"===p&&(b="".concat(s.floating.width+f,"px"),y=u?h:"".concat(v,"px")),{data:{x:b,y}}}});function eB(e){let[t,r="center"]=e.split("-");return[t,r]}var e$=ej,eG=eT,eq=eD,eK=eI},5171:function(e,t,r){r.d(t,{WV:function(){return a},jH:function(){return s}});var n=r(2265),o=r(4887),i=r(1538),l=r(7437),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...o}=e,a=n?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function s(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},1538:function(e,t,r){r.d(t,{g7:function(){return l}});var n=r(2265),o=r(1584),i=r(7437),l=n.forwardRef((e,t)=>{let{children:r,...o}=e,l=n.Children.toArray(r),s=l.find(c);if(s){let e=s.props.children,r=l.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(a,{...o,ref:t,children:r})});l.displayName="Slot";var a=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e,l;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,o.F)(t,a):a})}return n.Children.count(r)>1?n.Children.only(null):null});a.displayName="SlotClone";var s=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===s}},5137:function(e,t,r){r.d(t,{W:function(){return o}});var n=r(2265);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},1715:function(e,t,r){r.d(t,{T:function(){return i}});var n=r(2265),o=r(5137);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,l]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,l=n.useRef(i),a=(0,o.W)(t);return n.useEffect(()=>{l.current!==i&&(a(i),l.current=i)},[i,l,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,s=a?e:i,c=(0,o.W)(r);return[s,n.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else l(t)},[a,e,l,c])]}},6486:function(e,t,r){r.d(t,{e:function(){return i}});var n=r(2265),o=r(5137);function i(e,t=globalThis?.document){let r=(0,o.W)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}},1336:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(2265),o=globalThis?.document?n.useLayoutEffect:()=>{}},7250:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(2265);function o(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},1725:function(e,t,r){r.d(t,{T:function(){return l},f:function(){return a}});var n=r(2265),o=r(5171),i=r(7437),l=n.forwardRef((e,t)=>(0,i.jsx)(o.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));l.displayName="VisuallyHidden";var a=l},2218:function(e,t,r){r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";rr=>{var i;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:l,defaultVariants:a}=t,s=Object.keys(l).map(e=>{let t=null==r?void 0:r[e],o=null==a?void 0:a[e];if(null===t)return null;let i=n(t)||n(o);return l[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},4839:function(e,t,r){r.d(t,{W:function(){return n}});function n(){for(var e,t,r=0,n="",o=arguments.length;r{let t=a(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),o(r,t)||l(e)},getConflictingClassGroupIds:(e,t)=>{let o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),i=n?o(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;let l=e.join("-");return t.validators.find(({validator:e})=>e(l))?.classGroupId},i=/^\[(.+)\]$/,l=e=>{if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},a=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),r).forEach(([e,r])=>{s(r,n,e,t)}),n},s=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:c(t,e)).classGroupId=r;return}if("function"==typeof e){if(u(e)){s(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,o])=>{s(o,c(t,e),r,n)})})},c=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},u=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,f=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},p=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,l=e=>{let r;let l=[],a=0,s=0;for(let c=0;cs?r-s:void 0}};return r?e=>r({className:e,parseClassName:l}):l},m=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},h=e=>({cache:f(e.cacheSize),parseClassName:p(e),...n(e)}),g=/\s+/,v=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],l=e.trim().split(g),a="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{modifiers:s,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=r(t),f=!!d,p=n(f?u.substring(0,d):u);if(!p){if(!f||!(p=n(u))){a=t+(a.length>0?" "+a:a);continue}f=!1}let h=m(s).join(":"),g=c?h+"!":h,v=g+p;if(i.includes(v))continue;i.push(v);let b=o(p,f);for(let e=0;e0?" "+a:a)}return a};function b(){let e,t,r=0,n="";for(;r{let t;if("string"==typeof e)return e;let r="";for(let n=0;n{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},x=/^\[(?:([a-z-]+):)?(.+)\]$/i,E=/^\d+\/\d+$/,k=new Set(["px","full","screen"]),C=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>j(e)||k.has(e)||E.test(e),P=e=>$(e,"length",G),j=e=>!!e&&!Number.isNaN(Number(e)),z=e=>$(e,"number",j),T=e=>!!e&&Number.isInteger(Number(e)),N=e=>e.endsWith("%")&&j(e.slice(0,-1)),W=e=>x.test(e),M=e=>C.test(e),D=new Set(["length","size","percentage"]),F=e=>$(e,D,q),H=e=>$(e,"position",q),I=new Set(["image","url"]),V=e=>$(e,I,Z),_=e=>$(e,"",K),B=()=>!0,$=(e,t,r)=>{let n=x.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},G=e=>A.test(e)&&!S.test(e),q=()=>!1,K=e=>R.test(e),Z=e=>L.test(e),Y=function(e,...t){let r,n,o;let i=function(a){return n=(r=h(t.reduce((e,t)=>t(e),e()))).cache.get,o=r.cache.set,i=l,l(a)};function l(e){let t=n(e);if(t)return t;let i=v(e,r);return o(e,i),i}return function(){return i(b.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),o=w("borderColor"),i=w("borderRadius"),l=w("borderSpacing"),a=w("borderWidth"),s=w("contrast"),c=w("grayscale"),u=w("hueRotate"),d=w("invert"),f=w("gap"),p=w("gradientColorStops"),m=w("gradientColorStopPositions"),h=w("inset"),g=w("margin"),v=w("opacity"),b=w("padding"),y=w("saturate"),x=w("scale"),E=w("sepia"),k=w("skew"),C=w("space"),A=w("translate"),S=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",W,t],D=()=>[W,t],I=()=>["",O,P],$=()=>["auto",j,W],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",W],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[j,W];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[O,P],blur:["none","",M,W],brightness:U(),borderColor:[e],borderRadius:["none","","full",M,W],borderSpacing:D(),borderWidth:I(),contrast:U(),grayscale:Y(),hueRotate:U(),invert:Y(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[N,P],inset:L(),margin:L(),opacity:U(),padding:D(),saturate:U(),scale:U(),sepia:Y(),skew:U(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),W]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,W]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",T,W]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",T,W]},W]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[T,W]},W]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",z]}],"font-family":[{font:[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",j,z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,P]}],"underline-offset":[{"underline-offset":["auto",O,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),H]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",F]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},V]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:q()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[O,W]}],"outline-w":[{outline:[O,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[O,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,_]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",M,W]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[T,W]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,P,z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},1735:function(e,t,r){r.d(t,{_T:function(){return o},ev:function(){return i},pi:function(){return n}});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function i(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o