PageSourceSearch

https://www.tripsapien.com/_next/static/chunks/7799-59c578e33ebd9097.js?dpl=dpl_Fhz2dNL9msyHLQsJgCJvNhatqbYg

js tripsapien.com collected 2026-10-02 00:01:50 UTC 90,297 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7799],{1987:(e,t,n)=>{n.d(t,{e0:()=>p,qW:()=>d});var r,o=n(12115),i=n(92556),l=n(97602),a=n(94446),u=n(70222),c=n(95155),s="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),d=o.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,deferPointerDownOutside:g=!1,onEscapeKeyDown:y,onPointerDownOutside:w,onFocusOutside:b,onInteractOutside:x,onDismiss:E,...R}=e,C=o.useContext(f),[S,A]=o.useState(null),M=null!=(d=null==S?void 0:S.ownerDocument)?d:null==(n=globalThis)?void 0:n.document,[,P]=o.useState({}),T=(0,a.s)(t,A),N=Array.from(C.layers),[L]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),O=L?N.indexOf(L):-1,k=S?N.indexOf(S):-1,j=C.layersWithOutsidePointerEventsDisabled.size>0,D=k>=O,_=o.useRef(!1),I=function(e,t){var n;let{ownerDocument:r=null==(n=globalThis)?void 0:n.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:l,dismissableSurfaces:a,shouldHandlePointerDownOutside:c=h}=t,s=(0,u.c)(e),f=o.useRef(!1),d=o.useRef(!1),p=o.useRef(new Map),m=o.useRef(()=>{});return o.useEffect(()=>{function e(){d.current=!1,l.current=!1,p.current.clear()}function t(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||p.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&m.current()},0)}function n(e){d.current&&p.current.set(e.type,!1)}let o=t=>{if(t.target&&!f.current){let n=function(){r.removeEventListener("click",m.current);let t=Array.from(p.current.values()).some(Boolean);e(),t||v("dismissableLayer.pointerDownOutside",s,o,{discrete:!0})};if(!c(t.target)){r.removeEventListener("click",m.current),e(),f.current=!1;return}let o={originalEvent:t};d.current=!0,l.current=i&&0===t.button,p.current.clear(),i&&0===t.button?(r.removeEventListener("click",m.current),m.current=n,r.addEventListener("click",m.current,{once:!0})):n()}else r.removeEventListener("click",m.current),e();f.current=!1},u=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of u)r.addEventListener(e,t,!0),r.addEventListener(e,n);let h=window.setTimeout(()=>{r.addEventListener("pointerdown",o)},0);return()=>{for(let e of(window.clearTimeout(h),r.removeEventListener("pointerdown",o),r.removeEventListener("click",m.current),u))r.removeEventListener(e,t,!0),r.removeEventListener(e,n)}},[r,s,i,l,a,c]),{onPointerDownCapture:()=>f.current=!0}}(e=>{null==w||w(e),null==x||x(e),e.defaultPrevented||null==E||E()},{ownerDocument:M,deferPointerDownOutside:g,isDeferredPointerDownOutsideRef:_,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return D&&!t},[C.branches,D])}),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&v("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{if(g&&_.current)return;let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==b||b(e),null==x||x(e),e.defaultPrevented||null==E||E())},M),K=!!S&&k===N.length-1,W=(0,u.c)(e=>{"Escape"===e.key&&(null==y||y(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))});return o.useEffect(()=>{if(K)return M.addEventListener("keydown",W,{capture:!0}),()=>M.removeEventListener("keydown",W,{capture:!0})},[M,K,W]),o.useEffect(()=>{if(S)return p&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=M.body.style.pointerEvents,M.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(S)),C.layers.add(S),m(),()=>{p&&(C.layersWithOutsidePointerEventsDisabled.delete(S),0===C.layersWithOutsidePointerEventsDisabled.size&&(M.body.style.pointerEvents=r))}},[S,M,p,C]),o.useEffect(()=>()=>{S&&(C.layers.delete(S),C.layersWithOutsidePointerEventsDisabled.delete(S),m())},[S,C]),o.useEffect(()=>{let e=()=>P({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(l.sG.div,{...R,ref:T,style:{pointerEvents:j?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,I.onPointerDownCapture)})});function p(){let e=o.useContext(f),[t,n]=o.useState(null);return o.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}d.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(f),r=o.useRef(null),i=(0,a.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(l.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var h=()=>!0;function m(){let e=new CustomEvent(s);document.dispatchEvent(e)}function v(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.hO)(i,a):i.dispatchEvent(a)}},3468:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(12115),o=n(95155);function i(e,t=[]){let n=[],l=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return l.scopeName=e,[function(t,i){let l=r.createContext(i);l.displayName=t+"Context";let a=n.length;n=[...n,i];let u=t=>{let{scope:n,children:i,...u}=t,c=n?.[e]?.[a]||l,s=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(c.Provider,{value:s,children:i})};return u.displayName=t+"Provider",[u,function(n,o,u={}){let{optional:c=!1}=u,s=o?.[e]?.[a]||l,f=r.useContext(s);if(f)return f;if(void 0!==i)return i;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(l,...t)]}},4129:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(12115),o=globalThis?.document?r.useLayoutEffect:()=>{}},5917:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5121).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},14432:(e,t,n)=>{n.d(t,{A:()=>H});var r,o,i=n(71450),l=n(12115),a="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,f=new WeakMap;function d(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=d),n=[],r=!1,{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]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},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 o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(i)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}});return o.options=(0,i.Cl)({async:!0,ssr:!1},e),o}(),h=function(){},m=l.forwardRef(function(e,t){var n,r,o,a,u=l.useRef(null),d=l.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),m=d[0],v=d[1],g=e.forwardProps,y=e.children,w=e.className,b=e.removeScrollBar,x=e.enabled,E=e.shards,R=e.sideCar,C=e.noRelative,S=e.noIsolation,A=e.inert,M=e.allowPinchZoom,P=e.as,T=e.gapMode,N=(0,i.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(n=[u,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,s(function(){var e=f.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}f.set(a,n)},[n]),a),O=(0,i.Cl)((0,i.Cl)({},N),m);return l.createElement(l.Fragment,null,x&&l.createElement(R,{sideCar:p,removeScrollBar:b,shards:E,noRelative:C,noIsolation:S,inert:A,setCallbacks:v,allowPinchZoom:!!M,lockRef:u,gapMode:T}),g?l.cloneElement(l.Children.only(y),(0,i.Cl)((0,i.Cl)({},O),{ref:L}
1)):l.createElement(void 0===P?"div":P,(0,i.Cl)({},O,{className:w,ref:L}),y))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:a};var v=function(e){var t=e.sideCar,n=(0,i.Tt)(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 l.createElement(r,(0,i.Cl)({},n))};v.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,l;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=g();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},b={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},E=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},R=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return b;var t=E(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])}},C=w(),S="data-scroll-locked",A=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(S,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(a," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(u," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(a," .").concat(a," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(u," .").concat(u," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(S,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},M=function(){var e=parseInt(document.body.getAttribute(S)||"0",10);return isFinite(e)?e:0},P=function(){l.useEffect(function(){return document.body.setAttribute(S,(M()+1).toString()),function(){var e=M()-1;e<=0?document.body.removeAttribute(S):document.body.setAttribute(S,e.toString())}},[])},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;P();var i=l.useMemo(function(){return R(o)},[o]);return l.createElement(C,{styles:A(i,!t,o,n?"":"!important")})},N=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){N=!1}var O=!!N&&{passive:!1},k=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},j=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),D(e,r)){var o=_(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},D=function(e,t){return"v"===e?k(t,"overflowY"):k(t,"overflowX")},_=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},I=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,f=
1a>0,d=0,p=0;do{if(!u)break;var h=_(e,u),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&D(e,u)&&(d+=v,p+=m);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return f&&(o&&1>Math.abs(d)||!o&&a>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},W=function(e){return e&&"current"in e?e.current:e},B=0,U=[];let z=(r=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(B++)[0],a=l.useState(w)[0],u=l.useRef(e);l.useEffect(function(){u.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,i.fX)([e.lockRef.current],(e.shards||[]).map(W),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=F(e),l=n.current,a="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var h=j(f,s);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=j(f,s)),!h)return!1;if(!r.current&&"changedTouches"in e&&(a||c)&&(r.current=o),!o)return!0;var m=r.current||o;return I(m,t,e,"h"===m?a:c,!0)},[]),s=l.useCallback(function(e){if(U.length&&U[U.length-1]===a){var n="deltaY"in e?K(e):F(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(W).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),f=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=F(e),r.current=void 0},[]),p=l.useCallback(function(t){f(t.type,K(t),t.target,c(t,e.lockRef.current))},[]),h=l.useCallback(function(t){f(t.type,F(t),t.target,c(t,e.lockRef.current))},[]);l.useEffect(function(){return U.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",s,O),document.addEventListener("touchmove",s,O),document.addEventListener("touchstart",d,O),function(){U=U.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,O),document.removeEventListener("touchmove",s,O),document.removeEventListener("touchstart",d,O)}},[]);var m=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?l.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},p.useMedium(r),v);var G=l.forwardRef(function(e,t){return l.createElement(m,(0,i.Cl)({},e,{ref:t,sideCar:z}))});G.classNames=m.classNames;let H=G},17045:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},19526:(e,t,n)=>{n.d(t,{Oh:()=>l});var r=n(12115),o=0,i=null;function l(){r.useEffect(()=>{i||(i={start:a(),end:a()});let{start:e,end:t}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(null==i||i.start.remove(),null==i||i.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}},20063:(e,t,n)=>{var r=n(47260);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},23558:(e,t,n)=>{n.d(t,{i:()=>a});var r,o=n(12115),i=n(4129),l=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,u]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return l(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}({defaultProp:t,onChange:n}),c=void 0!==e,s=c?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,r])}return[s,o.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else a(t)},[c,e,a,u])]}Symbol("RADIX:SYNC_STATE")},27937:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5121).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},33078:(e,t)=>{function n(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function r(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[n,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(n,r(e));else t.set(n,r(o));return t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(let t of n){for(let n of t.keys())e.delete(n);for(let[n,r]of t.entries())e.append(n,r)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},47670:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return a},urlObjectKeys:function(){return l}});let r=n(49417)._(n(33078)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",l=e.pathname||"",a=e.hash||"",u=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:n&&(c=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=String(r.urlQueryToSearchParams(u)));let s=e.search||u&&"?"+u||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==c?(c="//"+(c||""),l&&"/"!==l[0]&&(l="/"+l)):c||(c=""),a&&"#"!==a[0]&&(a="#"+a),s&&"?"!==s[0]&&(s="?"+s),""+i+c+(l=l.replace(/[?#]/g,encodeURIComponent))+(s=s.replace("#","%23"))+a}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return i(e)}},49972:(e,t,n)=>{function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function o(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function i(e,t,n){var o=r(e,t,"set");if(o.set)o.set.call(e,n);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=n}return n}n.d(t,{N:()=>d});var l,a=n(12115),u=n(3468),c=n(94446),s=n(32467),f=n(95155);function d(e){let t=e+"CollectionProvider",[n,r]=(0,u.A)(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=a.useRef(null),i=a.useRef(new Map).current;return(0,f.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};l.displayName=t;let d=e+"CollectionSlot",p=(0,s.TL)(d),h=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=i(d,n),l=(0,c.s)(t,o.collectionRef);return(0,f.jsx)(p,{ref:l,children:r})});h.displayName=d;let m=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,s.TL)(m),y=a.forwardRef((e,t)=>
1{let{scope:n,children:r,...o}=e,l=a.useRef(null),u=(0,c.s)(t,l),s=i(m,n);return a.useEffect(()=>(s.itemMap.set(l,{ref:l,...o}),()=>void s.itemMap.delete(l))),(0,f.jsx)(g,{...{[v]:""},ref:u,children:r})});return y.displayName=m,[{Provider:l,Slot:h,ItemSlot:y},function(t){let n=i(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var p=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=m(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return -1===n?void 0:e[n]}function m(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return p.get(this)&&(this.has(e)?o(this,l)[o(this,l).indexOf(e)]=e:o(this,l).push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=o(this,l).length,u=m(e),c=u>=0?u:a+u,s=c<0||c>=a?-1:c;if(s===this.size||i&&s===this.size-1||-1===s)return this.set(t,n),this;let f=this.size+ +!i;u<0&&c++;let d=[...o(this,l)],p=!1;for(let e=c;e<f;e++)if(c===e){let o=d[e];d[e]===t&&(o=d[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{p||d[e-1]!==t||(p=!0);let n=d[p?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=o(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=o(this,l).indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=o(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=o(this,l).indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return i(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&o(this,l).splice(o(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=h(o(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=h(o(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return o(this,l).indexOf(e)}keyAt(e){return h(o(this,l),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=0,l=null!=o?o:this.at(0);for(let e of this)l=0===i&&1===t.length?e:Reflect.apply(r,this,[l,e,i,this]),i++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);i=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[i,n,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...this.entries()];return o.splice(...n),new e(o)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,l,{writable:!0,value:void 0}),i(this,l,[...super.keys()]),p.set(this,!0)}}},52619:(e,t,n)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},useLinkStatus:function(){return y}});let r=n(49417),o=n(95155),i=r._(n(12115)),l=n(47670),a=n(46752),u=n(83011),c=n(62296),s=n(96058);n(94781);let f=n(63499),d=n(58607),p=n(11807);n(17045);let h=n(66048);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function v(e){var t;let n,r,l,[v,y]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),w=(0,i.useRef)(null),{href:b,as:x,children:E,prefetch:R=null,passHref:C,replace:S,shallow:A,scroll:M,onClick:P,onMouseEnter:T,onTouchStart:N,legacyBehavior:L=!1,onNavigate:O,ref:k,unstable_dynamicOnHover:j,...D}=e;n=E,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let _=i.default.useContext(a.AppRouterContext),I=!1!==R,F=!1!==R?null===(t=R)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:K,as:W}=i.default.useMemo(()=>{let e=m(b);return{href:e,as:x?m(x):e}},[b,x]);L&&(r=i.default.Children.only(n));let B=L?r&&"object"==typeof r&&r.ref:k,U=i.default.useCallback(e=>(null!==_&&(w.current=(0,f.mountLinkInstance)(e,K,_,F,I,y)),()=>{w.current&&((0,f.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,f.unmountPrefetchableInstance)(e)}),[I,K,_,F,y]),z={ref:(0,u.useMergedRef)(U,B),onClick(e){L||"function"!=typeof P||P(e),L&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),_&&(e.defaultPrevented||function(e,t,n,r,o,l,a){let{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}i.default.startTransition(()=>{(0,p.dispatchNavigateAction)(n||t,o?"replace":"push",null==l||l,r.current)})}}(e,K,W,w,S,M,O))},onMouseEnter(e){L||"function"!=typeof T||T(e),L&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),_&&I&&(0,f.onNavigationIntent)(e.currentTarget,!0===j)},onTouchStart:function(e){L||"function"!=typeof N||N(e),L&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),_&&I&&(0,f.onNavigationIntent)(e.currentTarget,!0===j)}};return(0,c.isAbsoluteUrl)(W)?z.href=W:L&&!C&&("a"!==r.type||"href"in r.props)||(z.href=(0,s.addBasePath)(W)),l=L?i.default.cloneElement(r,z):(0,o.jsx)("a",{...D,...z,children:n}),(0,o.jsx)(g.Provider,{value:v,children:l})}let g=(0,i.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,i.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57641:(e,t,n)=>{let r;n.d(t,{Mz:()=>e$,i3:()=>eq,UC:()=>eY,bL:()=>eX,Bk:()=>eL});var o=n(12115);let i=["top","right","bottom","left"],l=Math.min,a=Math.max,u=Math.round,c=Math.floor,s=e=>({x:e,y:e}
1),f={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],b=["right","left"],x=["top","bottom"],E=["bottom","top"];function R(e){let t=p(e);return f[t]+e.slice(t.length)}function C(e){var t,n,r,o;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function A(e,t,n){let r,{reference:o,floating:i}=e,l=g(t),a=m(g(t)),u=v(a),c=p(t),s=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[u]/2-i[u]/2;switch(c){case"top":r={x:s,y:o.y-i.height};break;case"bottom":r={x:s,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}let y=h(t);return y&&(r[a]+=d*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function M(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=C(h),v=a[p?"floating"===f?"reference":"floating":f],g=S(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),y="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=S(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+m.top)/b.y,bottom:(x.bottom-g.bottom+m.bottom)/b.y,left:(g.left-x.left+m.left)/b.x,right:(x.right-g.right+m.right)/b.x}}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:M},u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=A(c,r,u),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:v,fn:g}=m,{x:y,y:w,data:b,reset:x}=await g({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=w?w:f,h[v]={...h[v],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:s,y:f}=A(c,d,u)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:h}};function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return i.some(t=>e[t]>=0)}let L=new Set(["left","top"]);async function O(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=p(n),a=h(n),u="y"===g(n),c=L.has(l)?-1:1,s=i&&u?-1:1,f=d(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),u?{x:v*s,y:m*c}:{x:m*c,y:v*s}}function k(){return"undefined"!=typeof window}function j(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!k()&&(e instanceof Node||e instanceof D(e).Node)}function F(e){return!!k()&&(e instanceof Element||e instanceof D(e).Element)}function K(e){return!!k()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function W(e){return!!k()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}function B(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function U(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let z=/transform|translate|scale|rotate|perspective|filter/,G=/paint|layout|strict|content/,H=e=>!!e&&"none"!==e;function V(e){let t=F(e)?Y(e):e;return H(t.transform)||H(t.translate)||H(t.scale)||H(t.rotate)||H(t.perspective)||!X()&&(H(t.backdropFilter)||H(t.filter))||z.test(t.willChange||"")||G.test(t.contain||"")}function X(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function $(e){return/^(html|body|#document)$/.test(j(e))}function Y(e){return D(e).getComputedStyle(e)}function q(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||_(e);return W(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=Z(t);return $(n)?(t.ownerDocument||t).body:K(n)&&B(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=D(o);if(!i)return t.concat(o,Q(o,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],B(o)?o:[],e&&n?Q(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=K(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=u(n)!==i||u(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function et(e){return F(e)?e:e.contextElement}function en(e){let t=et(e);if(!K(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ee(t),l=(i?u(n.width):n.width)/r,a=(i?u(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let er=s(0);function eo(e){let t=D(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function ei(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=et(e),a=s(1);t&&(r?F(r)&&(a=en(r)):a=en(e));let u=(void 0===(o=n)&&(o=!1),r&&o&&r===D(l))?eo(l):s(0),c=(i.left+u.x)/a.x,f=(i.top+u.y)/a.y,d=i.width/a.x,p=i.height/a.y;if(l&&r){let e=D(l),t=F(r)?D(r):r,n=e,o=J(n);for(;o&&t!==n;){let e=en(o),t=o.getBoundingClientRect(),r=Y(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=i,f+=l,o=J(n=D(o))}}return S({width:d,height:p,x:c,y:f})}function el(e,t){let n=q(e).scrollLeft;return t?t.left+n:ei(_(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function eu(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=D(e),i=_(e),l=o.visualViewport,a=i.clientWidth,u=i.clientHeight,c=0,s=0;if(l){let e=!X()||"fixed"===t;r?e||(c=-l.offsetLeft,s=-l.offsetTop):(a=l.width,u=l.height,e&&(c=l.offsetLeft,s=l.offsetTop))}if(0>=el(i)){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;l<=25&&(a-=l)}return{width:a,height:u,x:c,y:s}}(e,n,t);else if("document"===t)r=function(e){let t=q(e),n=e.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=a(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+el(e),l=-t.scrollTop;return"rtl"===Y(n).direction&&(i+=a(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:l}}(_(e));else if(F(t))r=function(e,t){let n=ei(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=en(e),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=eo(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(r)}function ec(e){return"static"===Y(e).position}function es(e,t){if(!K(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=D(e);if(U(e))return r;if(!K(e)){let t=Z(e);for(;t&&!$(t);){if(F(t)&&!ec(t))return t;t=Z(t)}return r}let o=es(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(j(n)))&&ec(o);)o=es(o,t);return o&&$(o)&&ec(o)&&!V(o)?r:o||function(e){let t=Z(e);for(;K(t)&&!$(t);){if(V(t))return t;if(U(t))break;t=Z(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=K(t),o=_(t),i="fixed"===n,l=ei(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=s(0);if((r||!i)&&(("body"!==j(t)||B(o))&&(a=q(t)),r)){let e=ei(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!r&&o&&(u.x=el(o));let c=!o||r||i?s(0):ea(o,a);return{x:l.left+a.scrollLeft-u.x-c.x,y:l.top+a.scrollTop-u.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=_(r),a=!!t&&U(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},c=s(1),f=s(0),d=K(r);
1if((d||!i)&&(("body"!==j(r)||B(l))&&(u=q(r)),d)){let e=ei(r);c=en(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||i?s(0):ea(l,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+p.x,y:n.y*c.y-u.scrollTop*c.y+f.y+p.y}},getDocumentElement:_,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>F(e)&&"body"!==j(e)),o=null,i="fixed"===Y(e).position,l=i?Z(e):e;for(;F(l)&&!$(l);){let e=Y(l),t=V(l),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==l),l=Z(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=eu(t,i[0],o),c=u.top,s=u.right,f=u.bottom,d=u.left;for(let e=1;e<i.length;e++){let n=eu(t,i[e],o);c=a(n.top,c),s=l(n.right,s),f=l(n.bottom,f),d=a(n.left,d)}return{width:s-d,height:f-c,x:d,y:c}},getOffsetParent:ef,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:F,isRTL:function(e){return"rtl"===Y(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:u,elements:c,middlewareData:s}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let y=C(p),w={x:n,y:r},b=m(g(o)),x=v(b),E=await u.getDimensions(f),R="y"===b,S=R?"clientHeight":"clientWidth",A=i.reference[x]+i.reference[b]-w[b]-i.floating[x],M=w[b]-i.reference[b],P=await (null==u.getOffsetParent?void 0:u.getOffsetParent(f)),T=P?P[S]:0;T&&await (null==u.isElement?void 0:u.isElement(P))||(T=c.floating[S]||i.floating[x]);let N=T/2-E[x]/2-1,L=l(y[R?"top":"left"],N),O=l(y[R?"bottom":"right"],N),k=T-E[x]-O,j=T/2-E[x]/2+(A/2-M/2),D=a(L,l(j,k)),_=!s.arrow&&null!=h(o)&&j!==D&&i.reference[x]/2-(j<L?L:O)-E[x]/2<0,I=_?j<L?j-L:j-k:0;return{[b]:w[b]+I,data:{[b]:D,centerOffset:j-D-I,..._&&{alignmentOffset:I}},reset:_}}});var ev=n(47650),eg="undefined"!=typeof document?o.useLayoutEffect:function(){};function ey(e,t){let n,r,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((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ey(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!ey(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ew(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eb(e,t){let n=ew(e);return Math.round(t*n)/n}function ex(e){let t=o.useRef(e);return eg(()=>{t.current=e}),t}var eE=n(97602),eR=n(95155),eC=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eR.jsx)(eE.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eR.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eC.displayName="Arrow";var eS=n(94446),eA=n(3468),eM=n(70222),eP=n(4129),eT="Popper",[eN,eL]=(0,eA.A)(eT),[eO,ek]=eN(eT),ej=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null),[l,a]=o.useState(void 0);return(0,eR.jsx)(eO,{scope:t,anchor:r,onAnchorChange:i,placementState:l,setPlacementState:a,children:n})};ej.displayName=eT;var eD="PopperAnchor",e_=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,l=ek(eD,n),a=o.useRef(null),u=l.onAnchorChange,c=o.useCallback(e=>{a.current=e,e&&u(e)},[u]),s=(0,eS.s)(t,c),f=o.useRef(null);o.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&u(f.current)});let d=l.placementState&&eV(l.placementState),p=null==d?void 0:d[0],h=null==d?void 0:d[1];return r?null:(0,eR.jsx)(eE.sG.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...i,ref:s})});e_.displayName=eD;var eI="PopperContent",[eF,eK]=eN(eI),eW=o.forwardRef((e,t)=>
1{var n,r,i,u,s,f,C,S;let{__scopePopper:A,side:M="bottom",sideOffset:k=0,align:j="center",alignOffset:I=0,arrowPadding:F=0,avoidCollisions:K=!0,collisionBoundary:W=[],collisionPadding:B=0,sticky:U="partial",hideWhenDetached:z=!1,updatePositionStrategy:G="optimized",onPlaced:H,...V}=e,X=ek(eI,A),[$,Y]=o.useState(null),q=(0,eS.s)(t,Y),[Z,J]=o.useState(null),ee=function(e){let[t,n]=o.useState(void 0);return(0,eP.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,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;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(Z),en=null!=(C=null==ee?void 0:ee.width)?C:0,er=null!=(S=null==ee?void 0:ee.height)?S:0,eo="number"==typeof B?B:{top:0,right:0,bottom:0,left:0,...B},el=Array.isArray(W)?W:[W],ea=el.length>0,eu={padding:eo,boundary:el.filter(eG),altBoundary:ea},{refs:ec,floatingStyles:es,placement:ef,isPositioned:ed,middlewareData:eC}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:c,open:s}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=o.useState(r);ey(p,r)||h(r);let[m,v]=o.useState(null),[g,y]=o.useState(null),w=o.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),b=o.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),x=l||m,E=a||g,R=o.useRef(null),C=o.useRef(null),S=o.useRef(f),A=null!=c,M=ex(c),T=ex(i),N=ex(s),L=o.useCallback(()=>{if(!R.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),((e,t,n)=>{let r=new Map,o=null!=n?n:{},i={...ep,...o.platform,_c:r};return P(e,t,{...o,platform:i})})(R.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};O.current&&!ey(S.current,t)&&(S.current=t,ev.flushSync(()=>{d(t)}))})},[p,t,n,T,N]);eg(()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let O=o.useRef(!1);eg(()=>(O.current=!0,()=>{O.current=!1}),[]),eg(()=>{if(x&&(R.current=x),E&&(C.current=E),x&&E){if(M.current)return M.current(x,E,L);L()}},[x,E,L,M,A]);let k=o.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:b}),[w,b]),j=o.useMemo(()=>({reference:x,floating:E}),[x,E]),D=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=eb(j.floating,f.x),r=eb(j.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...ew(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,j.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:L,refs:k,elements:j,floatingStyles:D}),[f,L,k,j,D])}({strategy:"fixed",placement:M+("center"!==j?"-"+j:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:u=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),h=i||u?[...p?Q(p):[],...t?Q(t):[]]:[];h.forEach(e=>{i&&e.addEventListener("scroll",n),u&&e.addEventListener("resize",n)});let m=p&&f?function(e,t,n){let r,o=null,i=_(e);function u(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}function s(n,f){void 0===n&&(n=!1),void 0===f&&(f=1),u();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=d;if(n||t(),!m||!v)return;let g=c(h),y=c(i.clientWidth-(p+m)),w={rootMargin:-g+"px "+-y+"px "+-c(i.clientHeight-(h+v))+"px "+-c(p)+"px",threshold:a(0,l(1,f))||1},b=!0;function x(t){let n=t[0].intersectionRatio;if(!eh(d,e.getBoundingClientRect()))return s();if(n!==f){if(!b)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{o=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(x,w)}o.observe(e)}let f=D(e),d=()=>s(n);return f.addEventListener("resize",d),s(!0),()=>{f.removeEventListener("resize",d),u()}}(p,n,u):null,v=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}
1),p&&!d&&g.observe(p),t&&g.observe(t));let y=d?ei(e):null;return d&&function t(){let r=ei(e);y&&!eh(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===G})},elements:{reference:X.anchor},middleware:[((e,t)=>{let n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await O(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:k+er,alignmentAxis:I}),K&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o,platform:i}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=d(e,t),p={x:n,y:r},h=await i.detectOverflow(t,f),v=g(o),y=m(v),w=p[y],b=p[v],x=(e,t)=>a(t+h["y"===e?"top":"left"],l(t,t-h["y"===e?"bottom":"right"]));u&&(w=x(y,w)),c&&(b=x(v,b));let E=s.fn({...t,[y]:w,[v]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[y]:u,[v]:c}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===U?((e,t)=>
1({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r,o,i;let{x:l,y:a,placement:u,rects:c,middlewareData:s}=t,{offset:f=0,mainAxis:h=!0,crossAxis:v=!0}=d(e,t),y={x:l,y:a},w=g(u),b=m(w),x=y[b],E=y[w],R=d(f,t),C="number"==typeof R?{mainAxis:R,crossAxis:0}:{mainAxis:null!=(n=R.mainAxis)?n:0,crossAxis:null!=(r=R.crossAxis)?r:0};if(h){let e="y"===b?"height":"width",t=c.reference[b]-c.floating[e]+C.mainAxis,n=c.reference[b]+c.reference[e]-C.mainAxis;x<t?x=t:x>n&&(x=n)}if(v){let e="y"===b?"width":"height",t=L.has(p(u)),n=c.reference[w]-c.floating[e]+(t&&(null==(o=s.offset)?void 0:o[w])||0)+(t?0:C.crossAxis),r=c.reference[w]+c.reference[e]+(t?0:(null==(i=s.offset)?void 0:i[w])||0)-(t?C.crossAxis:0);E<n?E=n:E>r&&(E=r)}return{[b]:x,[w]:E}}}}(e).fn,options:[e,t]}))():void 0,...eu}),K&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:f,elements:C}=t,{mainAxis:S=!0,crossAxis:A=!0,fallbackPlacements:M,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:N=!0,...L}=d(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let O=p(a),k=g(s),j=p(s)===s,D=await (null==f.isRTL?void 0:f.isRTL(C.floating)),_=M||(j||!N?[R(s)]:function(e){let t=R(e);return[y(e),t,y(t)]}(s)),I="none"!==T;!M&&I&&_.push(...function(e,t,n,r){let o=h(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:w;return t?w:b;case"left":case"right":return t?x:E;default:return[]}}(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(s,N,T,D));let F=[s,..._],K=await f.detectOverflow(t,L),W=[],B=(null==(r=u.flip)?void 0:r.overflows)||[];if(S&&W.push(K[O]),A){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),o=m(g(e)),i=v(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=R(l)),[l,R(l)]}(a,c,D);W.push(K[e[0]],K[e[1]])}if(B=[...B,{placement:a,overflows:W}],!W.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==A||k===g(t)||B.every(e=>g(e.placement)!==k||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(i=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(P){case"bestFit":{let e=null==(l=B.filter(e=>{if(I){let t=g(e.placement);return t===k||"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&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...eu}),((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:o,rects:i,platform:u,elements:c}=t,{apply:s=()=>{},...f}=d(e,t),m=await u.detectOverflow(t,f),v=p(o),y=h(o),w="y"===g(o),{width:b,height:x}=i.floating;"top"===v||"bottom"===v?(n=v,r=y===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(r=v,n="end"===y?"top":"bottom");let E=x-m.top-m.bottom,R=b-m.left-m.right,C=l(x-m[n],E),S=l(b-m[r],R),A=t.middlewareData.shift,M=!A,P=C,T=S;null!=A&&A.enabled.x&&(T=R),null!=A&&A.enabled.y&&(P=E),M&&!y&&(w?T=b-2*a(m.left,m.right):P=x-2*a(m.top,m.bottom)),await s({...t,availableWidth:T,availableHeight:P});let N=await u.getDimensions(c.floating);return b!==N.width||x!==N.height?{reset:{rects:!0}}:{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...eu,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"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"))}}),Z&&((e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?em({element:n.current,padding:r}).fn(t):{}:n?em({element:n,padding:r}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}})({element:Z,padding:F}),eH({arrowWidth:en,arrowHeight:er}),z&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=d(e,t);switch(o){case"referenceHidden":{let e=T(await r.detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=T(await r.detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}}
1)({strategy:"referenceHidden",...eu,boundary:ea?eu.boundary:void 0})]}),eA=X.setPlacementState;(0,eP.N)(()=>(eA(ef),()=>{eA(void 0)}),[ef,eA]);let[eT,eN]=eV(ef),eL=(0,eM.c)(H);(0,eP.N)(()=>{ed&&(null==eL||eL())},[ed,eL]);let eO=null==(n=eC.arrow)?void 0:n.x,ej=null==(r=eC.arrow)?void 0:r.y,eD=(null==(i=eC.arrow)?void 0:i.centerOffset)!==0,[e_,eK]=o.useState();return(0,eP.N)(()=>{$&&eK(window.getComputedStyle($).zIndex)},[$]),(0,eR.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...es,transform:ed?es.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e_,"--radix-popper-transform-origin":[null==(u=eC.transformOrigin)?void 0:u.x,null==(s=eC.transformOrigin)?void 0:s.y].join(" "),...(null==(f=eC.hide)?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eR.jsx)(eF,{scope:A,placedSide:eT,placedAlign:eN,onArrowChange:J,arrowX:eO,arrowY:ej,shouldHideArrow:eD,children:(0,eR.jsx)(eE.sG.div,{"data-side":eT,"data-align":eN,...V,ref:q,style:{...V.style,animation:ed?void 0:"none"}})})})});eW.displayName=eI;var eB="PopperArrow",eU={top:"bottom",right:"left",bottom:"top",left:"right"},ez=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eK(eB,n),i=eU[o.placedSide];return(0,eR.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,eR.jsx)(eC,{...r,ref:t,style:{...r.style,display:"block"}})})});function eG(e){return null!==e}ez.displayName=eB;var eH=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:c}=t,s=(null==(n=c.arrow)?void 0:n.centerOffset)!==0,f=s?0:e.arrowWidth,d=s?0:e.arrowHeight,[p,h]=eV(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(i=null==(r=c.arrow)?void 0:r.x)?i:0)+f/2,g=(null!=(l=null==(o=c.arrow)?void 0:o.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=s?m:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=s?m:"".concat(v,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=s?m:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=s?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function eV(e){let[t,n="center"]=e.split("-");return[t,n]}var eX=ej,e$=e_,eY=eW,eq=ez},58607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(62296),o=n(92929);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},62296:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return v},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return a},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return s},stringifyError:function(){return w}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function a(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function s(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&c(n))return r;if(!r)throw Object.defineProperty(Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return r}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},66218:(e,t,n)=>{n.d(t,{jH:()=>i});var r=n(12115);n(95155);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},67978:(e,t,n)=>{n.d(t,{H_:()=>tp,UC:()=>ts,q7:()=>td,VF:()=>tm,JU:()=>tf,ZL:()=>tc,hN:()=>th,bL:()=>ta,wv:()=>tv,G5:()=>ty,ZP:()=>tg,l9:()=>tu});var r=n(12115),o=n.t(r,2),i=n(92556),l=n(94446),a=n(3468),u=n(23558),c=n(97602),s=n(49972),f=n(66218),d=n(1987),p=n(19526),h=n(69666),m=n(68946),v=n(57641),g=n(75433),y=n(76842),w=n(70222),b=n(4129),x=!1,E=o[" useSyncExternalStore ".trim().toString()];function R(){return()=>{}}var C="function"==typeof E?function(){return E(R,()=>!0,()=>!1)}:function(){let[e,t]=r.useState(x);return r.useEffect(()=>{x||(x=!0,t(!0))},[]),e},S=n(95155),A="rovingFocusGroup.onEntryFocus",M={bubbles:!1,cancelable:!0},P="RovingFocusGroup",[T,N,L]=(0,s.N)(P),[O,k]=(0,a.A)(P,[L]),[j,D]=O(P),_=r.forwardRef((e,t)=>(0,S.jsx)(T.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,S.jsx)(T.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,S.jsx)(I,{...e,ref:t})})}));_.displayName=P;var I=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:o,loop:a=!1,dir:s,currentTabStopId:d,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:m,preventScrollOnEntryFocus:v=!1,...g}=e,y=r.useRef(null),b=(0,l.s)(t,y),x=(0,f.jH)(s),[E,R]=(0,u.i)({prop:d,defaultProp:null!=p?p:null,onChange:h,caller:P}),[C,T]=r.useState(!1),L=(0,w.c)(m),O=N(n),k=r.useRef(!1),[D,_]=r.useState(0);return r.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(A,L),()=>e.removeEventListener(A,L)},[L]),(0,S.jsx)(j,{scope:n,orientation:o,dir:x,loop:a,currentTabStopId:E,onItemFocus:r.useCallback(e=>R(e),[R]),onItemShiftTab:r.useCallback(()=>T(!0),[]),onFocusableItemAdd:r.useCallback(()=>_(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>_(e=>e-1),[]),children:(0,S.jsx)(c.sG.div,{tabIndex:C||0===D?-1:0,"data-orientation":o,...g,ref:b,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{k.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!k.current;if(e.target===e.currentTarget&&t&&!C){let t=new CustomEvent(A,M);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}k.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>T(!1))})})}),F="RovingFocusGroupItem",K=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:l=!1,tabStopId:a,children:u,...s}=e,f=(0,m.B)(),d=a||f,p=D(F,n),h=p.currentTabStopId===d,v=N(n),{onFocusableItemAdd:g,onFocusableItemRemove:y,currentTabStopId:w}=p,x=C();return(0,b.N)(()=>{if(x&&o)return g(),()=>y()},[x,o,g,y]),r.useEffect(()=>{if(!x&&o)return g(),()=>y()},[x,o,g,y]),(0,S.jsx)(T.ItemSlot,{scope:n,id:d,focusable:o,active:l,children:(0,S.jsx)(c.sG.span,{tabIndex:h?0:-1,"data-orientation":p.orientation,...s,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?p.onItemFocus(d):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>p.onItemFocus(d)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return W[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>B(n))}}),children:"function"==typeof u?u({isCurrentTabStop:h,hasTabStop:null!=w}):u})})});K.displayName=F;var W={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var U=n(32467),z=n(97745),G=n(14432),H=["Enter"," "],V=["ArrowUp","PageDown","End"],X=["ArrowDown","PageUp","Home",...V],$={ltr:[...H,"ArrowRight"],rtl:[...H,"ArrowLeft"]},Y={ltr:["ArrowLeft"],rtl:["ArrowRight"]},q="Menu",[Z,Q,J]=(0,s.N)(q),[ee,et]=(0,a.A)(q,[J,v.Bk,k]),en=(0,v.Bk)(),er=k(),[eo,ei]=ee(q),[el,ea]=ee(q),eu=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:l,modal:a=!0}=e,u=en(t),[c,s]=r.useState(null),d=r.useRef(!1),p=(0,w.c)(l),h=(0,f.jH)(i);return r.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),r.useEffect(()=>{if(!n)return;let e=()=>p(!1);return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[n,p]),(0,S.jsx)(v.bL,{...u,children:(0,S.jsx)(eo,{scope:t,open:n,onOpenChange:p,content:c,onContentChange:s,children:(0,S.jsx)(el,{scope:t,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:d,dir:h,modal:a,children:o})})})};eu.displayName=q;var ec=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=en(n);return(0,S.jsx)(v.Mz,{...o,...r,ref:t})});ec.displayName="MenuAnchor";var es="MenuPortal",[ef,ed]=ee(es,{forceMount:void 0}),ep=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=ei(es,t);return(0,S.jsx)(ef,{scope:t,forceMount:n,children:(0,S.jsx)(y.C,{present:n||i.open,children:(0,S.jsx)(g.Z,{asChild:!0,container:o,children:r})})})};ep.displayName=es;var eh="MenuContent",[em,ev]=ee(eh),eg=r.forwardRef((e,t)=>{let n=ed(eh,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ei(eh,e.__scopeMenu),l=ea(eh,e.__scopeMenu);return(0,S.jsx)(Z.Provider,{scope:e.__scopeMenu,children:(0,S.jsx)(y.C,{present:r||i.open,children:(0,S.jsx)(Z.Slot,{scope:e.__scopeMenu,children:l.modal?(0,S.jsx)(ey,{...o,ref:t}):(0,S.jsx)(ew,{...o,ref:t})})})})}),ey=r.forwardRef((e,t)=>{let n=ei(eh,e.__scopeMenu),o=r.useRef(null),a=(0,l.s)(t,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,z.Eq)(e)},[]),(0,S.jsx)(ex,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ew=r.forwardRef((e,t)=>{let n=ei(eh,e.__scopeMenu);return(0,S.jsx)(ex,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),eb=(0,U.TL)("MenuContent.ScrollLock"),ex=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:o=!1,trapFocus:a,onOpenAutoFocus:u,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:f,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,disableOutsideScroll:x,...E}=e,R=ei(eh,n),C=ea(eh,n),A=en(n),M=er(n),P=Q(n),[T,N]=r.useState(null),L=r.useRef(null),O=(0,l.s)(t,L,R.onContentChange),k=r.useRef(0),j=r.useRef(""),D=r.useRef(0),I=r.useRef(null),F=r.useRef("right"),K=r.useRef(0),W=x?G.A:r.Fragment;r.useEffect(()=>()=>window.clearTimeout(k.current),[]),(0,p.Oh)();let B=r.useCallback(e=>{var t,n;return F.current===(null==(t=I.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;
1i=e++){let l=t[e],a=t[i],u=l.x,c=l.y,s=a.x,f=a.y;c>r!=f>r&&n<(s-u)*(r-c)/(f-c)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(n=I.current)?void 0:n.area)},[]);return(0,S.jsx)(em,{scope:n,searchRef:j,onItemEnter:r.useCallback(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:r.useCallback(e=>{var t;B(e)||(null==(t=L.current)||t.focus(),N(null))},[B]),onTriggerLeave:r.useCallback(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:D,onPointerGraceIntentChange:r.useCallback(e=>{I.current=e},[]),children:(0,S.jsx)(W,{...x?{as:eb,allowPinchZoom:!0}:void 0,children:(0,S.jsx)(h.n,{asChild:!0,trapped:a,onMountAutoFocus:(0,i.mK)(u,e=>{var t;e.preventDefault(),null==(t=L.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,S.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,children:(0,S.jsx)(_,{asChild:!0,...M,dir:C.dir,orientation:"vertical",loop:o,currentTabStopId:T,onCurrentTabStopIdChange:N,onEntryFocus:(0,i.mK)(f,e=>{C.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,S.jsx)(v.UC,{role:"menu","aria-orientation":"vertical","data-state":eX(R.open),"data-radix-menu-content":"",dir:C.dir,...A,...E,ref:O,style:{outline:"none",...E.style},onKeyDown:(0,i.mK)(E.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{var t,n;let r=j.current+e,o=P().filter(e=>!e.disabled),i=document.activeElement,l=null==(t=o.find(e=>e.ref.current===i))?void 0:t.textValue,a=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,l=(r=Math.max(i,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(l=l.filter(e=>e!==n));let a=l.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,l),u=null==(n=o.find(e=>e.textValue===a))?void 0:n.ref.current;!function e(t){j.current=t,window.clearTimeout(k.current),""!==t&&(k.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())})(e.key));let o=L.current;if(e.target!==o||!X.includes(e.key))return;e.preventDefault();let i=P().filter(e=>!e.disabled).map(e=>e.ref.current);V.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,i.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),j.current="")}),onPointerMove:(0,i.mK)(e.onPointerMove,eq(e=>{let t=e.target,n=K.current!==e.clientX;e.currentTarget.contains(t)&&n&&(F.current=e.clientX>K.current?"right":"left",K.current=e.clientX)}))})})})})})})});eg.displayName=eh;var eE=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,S.jsx)(c.sG.div,{role:"group",...r,ref:t})});eE.displayName="MenuGroup";var eR=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,S.jsx)(c.sG.div,{...r,ref:t})});eR.displayName="MenuLabel";var eC="MenuItem",eS="menu.itemSelect",eA=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:o,...a}=e,u=r.useRef(null),s=ea(eC,e.__scopeMenu),f=ev(eC,e.__scopeMenu),d=(0,l.s)(t,u),p=r.useRef(!1);return(0,S.jsx)(eM,{...a,ref:d,disabled:n,onClick:(0,i.mK)(e.onClick,()=>{let e=u.current;if(!n&&e){let t=new CustomEvent(eS,{bubbles:!0,cancelable:!0});e.addEventListener(eS,e=>null==o?void 0:o(e),{once:!0}),(0,c.hO)(e,t),t.defaultPrevented?p.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),p.current=!0},onPointerUp:(0,i.mK)(e.onPointerUp,e=>{var t;p.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{!n&&e.target===e.currentTarget&&(""===f.searchRef.current||" "!==e.key)&&H.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eA.displayName=eC;var eM=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:o=!1,textValue:a,...u}=e,s=ev(eC,n),f=er(n),d=r.useRef(null),p=(0,l.s)(t,d),[h,m]=r.useState(!1),[v,g]=r.useState("");return r.useEffect(()=>{let e=d.current;if(e){var t;g((null!=(t=e.textContent)?t:"").trim())}},[u.children]),(0,S.jsx)(Z.ItemSlot,{scope:n,disabled:o,textValue:null!=a?a:v,children:(0,S.jsx)(K,{asChild:!0,...f,focusable:!o,children:(0,S.jsx)(c.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...u,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,eq(e=>{o?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,eq(e=>s.onItemLeave(e))),onFocus:(0,i.mK)(e.onFocus,()=>m(!0)),onBlur:(0,i.mK)(e.onBlur,()=>m(!1))})})})}),eP=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,S.jsx)(e_,{scope:e.__scopeMenu,checked:n,children:(0,S.jsx)(eA,{role:"menuitemcheckbox","aria-checked":e$(n)?"mixed":n,...o,ref:t,"data-state":eY(n),onSelect:(0,i.mK)(o.onSelect,()=>null==r?void 0:r(!!e$(n)||!n),{checkForDefaultPrevented:!1})})})});eP.displayName="MenuCheckboxItem";var eT="MenuRadioGroup",[eN,eL]=ee(eT,{value:void 0,onValueChange:()=>{}}),eO=r.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=(0,w.c)(r);return(0,S.jsx)(eN,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,S.jsx)(eE,{...o,ref:t})})});eO.displayName=eT;var ek="MenuRadioItem",ej=r.forwardRef((e,t)=>{let{value:n,...r}=e,o=eL(ek,e.__scopeMenu),l=n===o.value;return(0,S.jsx)(e_,{scope:e.__scopeMenu,checked:l,children:(0,S.jsx)(eA,{role:"menuitemradio","aria-checked":l,...r,ref:t,"data-state":eY(l),onSelect:(0,i.mK)(r.onSelect,()=>{var e;return null==(e=o.onValueChange)?void 0:e.call(o,n)},{checkForDefaultPrevented:!1})})})});ej.displayName=ek;var eD="MenuItemIndicator",[e_,eI]=ee(eD,{checked:!1}),eF=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=eI(eD,n);return(0,S.jsx)(y.C,{present:r||e$(i.checked)||!0===i.checked,children:(0,S.jsx)(c.sG.span,{...o,ref:t,"data-state":eY(i.checked)})})});eF.displayName=eD;var eK=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,S.jsx)(c.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});eK.displayName="MenuSeparator";var eW=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=en(n);return(0,S.jsx)(v.i3,{...o,...r,ref:t})});eW.displayName="MenuArrow";var[eB,eU]=ee("MenuSub"),ez="MenuSubTrigger",eG=r.forwardRef((e,t)=>{let n=ei(ez,e.__scopeMenu),o=ea(ez,e.__scopeMenu),a=eU(ez,e.__scopeMenu),u=ev(ez,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=u,d={__scopeMenu:e.__scopeMenu},p=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);r.useEffect(()=>p,[p]),r.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),f(null)}},[s,f]);let h=(0,l.s)(t,a.onTriggerChange);return(0,S.jsx)(ec,{asChild:!0,...d,children:(0,S.jsx)(eM,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":n.open?a.contentId:void 0,"data-state":eX(n.open),...e,ref:h,onClick:t=>{var r;null==(r=e.onClick)||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,i.mK)(e.onPointerMove,eq(t=>{u.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||c.current||(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,eq(e=>{var t,r;p();let o=null==(t=n.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(r=n.content)?void 0:r.dataset.side,i="right"===t,l=o[i?"left":"right"],a=o[i?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:l,y:o.top},{x:a,y:o.top},{x:a,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.mK)(e.onKeyDown,t=>{if(!e.disabled&&t.target===t.currentTarget&&(""===u.searchRef.current||" "!==t.key)&&$[o.dir].includes(t.key)){var r;n.onOpenChange(!0),null==(r=n.content)||r.focus(),t.preventDefault()}})})})});eG.displayName=ez;var eH="MenuSubContent",eV=r.forwardRef((e,t)=>{let n=ed(eh,e.__scopeMenu),{forceMount:o=n.forceMount,align:a="start",...u}=e,c=ei(eh,e.__scopeMenu),s=ea(eh,e.__scopeMenu),f=eU(eH,e.__scopeMenu),d=r.useRef(null),p=(0,l.s)(t,d);return(0,S.jsx)(Z.Provider,{scope:e.__scopeMenu,children:(0,S.jsx)(y.C,{present:o||c.open,children:(0,S.jsx)(Z.Slot,{scope:e.__scopeMenu,children:(0,S.jsx)(ex,{id:f.contentId,"aria-labelledby":f.triggerId,...u,ref:p,align:a,side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;
1s.isUsingKeyboardRef.current&&(null==(t=d.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>{e.target!==f.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,i.mK)(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=Y[s.dir].includes(e.key);if(t&&n){var r;c.onOpenChange(!1),null==(r=f.trigger)||r.focus(),e.preventDefault()}})})})})})});function eX(e){return e?"open":"closed"}function e$(e){return"indeterminate"===e}function eY(e){return e$(e)?"indeterminate":e?"checked":"unchecked"}function eq(e){return t=>"mouse"===t.pointerType?e(t):void 0}eV.displayName=eH;var eZ="DropdownMenu",[eQ,eJ]=(0,a.A)(eZ,[et]),e0=et(),[e1,e2]=eQ(eZ),e5=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:l,onOpenChange:a,modal:c=!0}=e,s=e0(t),f=r.useRef(null),[d,p]=(0,u.i)({prop:i,defaultProp:null!=l&&l,onChange:a,caller:eZ});return(0,S.jsx)(e1,{scope:t,triggerId:(0,m.B)(),triggerRef:f,contentId:(0,m.B)(),open:d,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:(0,S.jsx)(eu,{...s,open:d,onOpenChange:p,dir:o,modal:c,children:n})})};e5.displayName=eZ;var e9="DropdownMenuTrigger",e6=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,a=e2(e9,n),u=e0(n),s=(0,l.s)(t,a.triggerRef);return(0,S.jsx)(ec,{asChild:!0,...u,children:(0,S.jsx)(c.sG.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:s,onPointerDown:(0,i.mK)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&a.onOpenToggle(),"ArrowDown"===e.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e6.displayName=e9;var e4=e=>{let{__scopeDropdownMenu:t,...n}=e,r=e0(t);return(0,S.jsx)(ep,{...r,...n})};e4.displayName="DropdownMenuPortal";var e7="DropdownMenuContent",e3=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,l=e2(e7,n),a=e0(n),u=r.useRef(!1);return(0,S.jsx)(eg,{id:l.contentId,"aria-labelledby":l.triggerId,...a,...o,ref:t,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;u.current||null==(t=l.triggerRef.current)||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,i.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!l.modal||r)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e3.displayName=e7,r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eE,{...o,...r,ref:t})}).displayName="DropdownMenuGroup";var e8=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eR,{...o,...r,ref:t})});e8.displayName="DropdownMenuLabel";var te=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eA,{...o,...r,ref:t})});te.displayName="DropdownMenuItem";var tt=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eP,{...o,...r,ref:t})});tt.displayName="DropdownMenuCheckboxItem",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eO,{...o,...r,ref:t})}).displayName="DropdownMenuRadioGroup";var tn=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(ej,{...o,...r,ref:t})});tn.displayName="DropdownMenuRadioItem";var tr=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eF,{...o,...r,ref:t})});tr.displayName="DropdownMenuItemIndicator";var to=r.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eK,{...o,...r,ref:t})});to.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eW,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var ti=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eG,{...o,...r,ref:t})});ti.displayName="DropdownMenuSubTrigger";var tl=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e0(n);return(0,S.jsx)(eV,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tl.displayName="DropdownMenuSubContent";var ta=e5,tu=e6,tc=e4,ts=e3,tf=e8,td=te,tp=tt,th=tn,tm=tr,tv=to,tg=ti,ty=tl},68946:(e,t,n)=>{n.d(t,{B:()=>u});var r,o=n(12115),i=n(4129),l=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,n]=o.useState(l());return(0,i.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},69666:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(12115),o=n(94446),i=n(97602),l=n(70222),a=n(95155),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:f=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[w,b]=r.useState(null),x=(0,l.c)(v),E=(0,l.c)(g),R=r.useRef(null),C=(0,o.s)(t,b),S=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(f){let e=function(e){if(S.paused||!w)return;let t=e.target;w.contains(t)?R.current=t:h(R.current,{select:!0})},t=function(e){if(S.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||h(R.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&h(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[f,w,S.paused]),r.useEffect(()=>{if(w){m.add(S);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,s);w.addEventListener(u,x),w.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(d(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(w))}return()=>{w.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(c,s);w.addEventListener(c,E),w.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),w.removeEventListener(c,E),m.remove(S)},0)}}},[w,x,E,S]);let A=r.useCallback(e=>{if(!n&&!f||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=d(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(i,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,f,S.paused]);return(0,a.jsx)(i.sG.div,{tabIndex:-1,...y,ref:C,onKeyDown:A})});function d(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){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 n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var m=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=v(e,t)).unshift(t)},remove(t){var n;null==(n=(e=v(e,t))[0])||n.resume()}}}();function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}}
1,70222:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(12115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},75433:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(12115),o=n(47650),i=n(97602),l=n(4129),a=n(95155),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[f,d]=r.useState(!1);(0,l.N)(()=>d(!0),[]);let p=c||f&&(null==(u=globalThis)||null==(n=u.document)?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.sG.div,{...s,ref:t}),p):null});u.displayName="Portal"},76842:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(12115),o=n(4129),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[i,l]=r.useState(),u=r.useRef(null),c=r.useRef(e),s=r.useRef("none"),f=r.useRef(void 0),[d,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{if("mounted"===d){var e;s.current=null!=(e=f.current)?e:a(u.current),f.current=void 0}else s.current="none"},[d]),(0,o.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,o=a(t);e?(f.current=o,p("MOUNT")):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,o.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=a(u.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(p("ANIMATION_END"),!c.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(s.current=a(u.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{if(e){let t=getComputedStyle(e);u.current=t,f.current=a(t)}else u.current=null;l(e)},[])}}(t),u="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let o=r.useRef(t);return o.current=t,r.useCallback(e=>{let t=o.current,n=!1,r=t.map(t=>{let r=l(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<r.length;e++){let n=r[e];"function"==typeof n?n():l(t[e],null)}}},[])}(i.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||i.isPresent?r.cloneElement(u,{ref:c}):null};function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},83011:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(12115);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=i(e,r)),t&&(o.current=i(t,r))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92556:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement}
1,97602:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>a});var r=n(12115),o=n(47650),i=n(32467),l=n(95155),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?n:t,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},97745:(e,t,n)=>{n.d(t,{Eq:()=>c});var r=new WeakMap,o=new WeakMap,i={},l=0,a=function(e){return e&&(e.host||a(e.parentNode))},u=function(e,t,n,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=a(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var s=i[n],f=[],d=new Set,p=new Set(c),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};c.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(u),i=null!==t&&"false"!==t,l=(r.get(e)||0)+1,a=(s.get(e)||0)+1;r.set(e,l),s.set(e,a),f.push(e),1===l&&i&&o.set(e,!0),1===a&&e.setAttribute(n,"true"),i||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),l++,function(){f.forEach(function(e){var t=r.get(e)-1,i=s.get(e)-1;r.set(e,t),s.set(e,i),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),i||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},c=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),u(r,o,n,"aria-hidden")):function(){return null}}},99051:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(5121).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.