PageSourceSearch

https://www.kurgo.com/f357386b4b659d83c747462f1d903052e442fbdf-a1ca1f617b3894c2bed4.js

js kurgo.com collected 2026-09-26 01:03:28 UTC 76,984 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="67f2d3fa-6f68-4392-99cc-a59dd06b70f3",e._sentryDebugIdIdentifier="sentry-dbid-67f2d3fa-6f68-4392-99cc-a59dd06b70f3")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"a1914b02daa8c613ead1e27da03d97f802f0ebde"};(self.webpackChunkkurgo=self.webpackChunkkurgo||[]).push([[6750],{7576:function(t,n,r){r.d(n,{Eq:function(){return d}});var o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},i=new WeakMap,a=new WeakMap,c={},l=0,s=function(e){return e&&(e.host||s(e.parentNode))},u=function(t,n,r,o){var u=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=s(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(n,Array.isArray(t)?t:[t]);c[r]||(c[r]=new WeakMap);var d=c[r],f=[],p=new Set,h=new Set(u),m=function(e){e&&!p.has(e)&&(p.add(e),m(e.parentNode))};u.forEach(m);var v=function(t){t&&!h.has(t)&&Array.prototype.forEach.call(t.children,function(t){if(p.has(t))v(t);else try{var n=t.getAttribute(o),c=null!==n&&"false"!==n,l=(i.get(t)||0)+1,s=(d.get(t)||0)+1;i.set(t,l),d.set(t,s),f.push(t),1===l&&c&&a.set(t,!0),1===s&&t.setAttribute(r,"true"),c||t.setAttribute(o,"true")}catch(e){console.error("aria-hidden: cannot operate on ",t,e)}})};return v(n),p.clear(),l++,function(){f.forEach(function(e){var t=i.get(e)-1,n=d.get(e)-1;i.set(e,t),d.set(e,n),t||(a.has(e)||e.removeAttribute(o),a.delete(e)),n||e.removeAttribute(r)}),--l||(i=new WeakMap,i=new WeakMap,a=new WeakMap,c={})}},d=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||o(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),u(r,i,n,"aria-hidden")):function(){return null}}},12017:function(e,t,n){n.d(t,{E9:function(){return i},Mi:function(){return r},pN:function(){return o},xi:function(){return a}});var r="right-scroll-bar-position",o="width-before-scroll-bar",i="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},20687:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(14041);function o(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},22665:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(14041);function o(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},30937:function(e,t,n){n.d(t,{T0:function(){return c}});var r,o=n(14041);function i(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}var a=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=i())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c=function(){var e,t=(e=a(),function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}}},45547:function(e,t,n){n.d(t,{l6:function(){return gn},gC:function(){return Sn},s3:function(){return yn},eb:function(){return Cn},bq:function(){return bn},yv:function(){return wn}});var r=n(14041),o=n.t(r,2),i=n(53110),a=n(43144);function c(e,[t,n]){return Math.min(n,Math.max(t,e))}function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var s=n(31085);function u(e,t=[]){let n=[];const o=()=>{const t=n.map(e=>r.createContext(e));return function(n){const o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){const i=r.createContext(o),a=n.length;function c(t){const{scope:n,children:o,...c}=t,l=n?.[e][a]||i,u=r.useMemo(()=>c,Object.values(c));return(0,s.jsx)(l.Provider,{value:u,children:o})}return n=[...n,o],c.displayName=t+"Provider",[c,function(n,c){const l=c?.[e][a]||i,s=r.useContext(l);if(s)return s;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},d(o,...t)]}function d(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function f(...e){return t=>
1e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function p(...e){return r.useCallback(f(...e),e)}var h=r.forwardRef((e,t)=>{const{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(g);if(a){const e=a.props.children,n=i.map(t=>t===a?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,s.jsx)(m,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,s.jsx)(m,{...o,ref:t,children:n})});h.displayName="Slot";var m=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n);return r.cloneElement(n,{...y(o,n.props),ref:t?f(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});m.displayName="SlotClone";var v=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function g(e){return r.isValidElement(e)&&e.type===v}function y(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}var w=r.createContext(void 0);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=r.forwardRef((e,n)=>{const{asChild:r,...o}=e,i=r?h:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});var x=n(22665);var E,S="dismissableLayer.update",C="dismissableLayer.pointerDownOutside",R="dismissableLayer.focusOutside",P=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=r.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:u,...d}=e,f=r.useContext(P),[h,m]=r.useState(null),v=h?.ownerDocument??globalThis?.document,[,g]=r.useState({}),y=p(t,e=>m(e)),w=Array.from(f.layers),[T]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),L=w.indexOf(T),k=h?w.indexOf(h):-1,D=f.layersWithOutsidePointerEventsDisabled.size>0,j=k>=L,O=function(e,t=globalThis?.document){const n=(0,x.c)(e),o=r.useRef(!1),i=r.useRef(()=>{});return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){let r=function(){A(C,n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...f.branches].some(e=>e.contains(t));j&&!n&&(i?.(e),c?.(e),e.defaultPrevented||u?.())},v),M=function(e,t=globalThis?.document){const n=(0,x.c)(e),o=r.useRef(!1);return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){A(R,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...f.branches].some(e=>e.contains(t))||(a?.(e),c?.(e),e.defaultPrevented||u?.())},v);return function(e,t=globalThis?.document){const n=(0,x.c)(e);r.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k===f.layers.size-1&&(o?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},v),r.useEffect(()=>{if(h)return n&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(E=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),N(),()=>{n&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=E)}},[h,v,n,f]),r.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),N())},[h,f]),r.useEffect(()=>{const e=()=>g({});return document.addEventListener(S,e),()=>document.removeEventListener(S,e)},[]),(0,s.jsx)(b.div,{...d,ref:y,style:{pointerEvents:D?j?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,M.onFocusCapture),onBlurCapture:l(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,O.onPointerDownCapture)})});T.displayName="DismissableLayer";var L=r.forwardRef((e,t)=>
vendor: 4,427 bytes, line 1
1{const n=r.useContext(P),o=r.useRef(null),i=p(t,o);return r.useEffect(()=>{const e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(b.div,{...e,ref:i})});function N(){const e=new CustomEvent(S);document.dispatchEvent(e)}function A(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&a.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}L.displayName="DismissableLayerBranch";var k=0;function D(){r.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??j()),document.body.insertAdjacentElement("beforeend",e[1]??j()),k++,()=>{1===k&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),k--}},[])}function j(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var O="focusScope.autoFocusOnMount",M="focusScope.autoFocusOnUnmount",_={bubbles:!1,cancelable:!0},I=r.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...c}=e,[l,u]=r.useState(null),d=(0,x.c)(i),f=(0,x.c)(a),h=r.useRef(null),m=p(t,e=>u(e)),v=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(o){let e=function(e){if(v.paused||!l)return;const t=e.target;l.contains(t)?h.current=t:H(h.current,{select:!0})},t=function(e){if(v.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||H(h.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&H(l)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,l,v.paused]),r.useEffect(()=>{if(l){z.add(v);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(O,_);l.addEventListener(O,d),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(H(r,{select:t}),document.activeElement!==n)return}((e=W(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&H(l))}return()=>{l.removeEventListener(O,d),setTimeout(()=>{const e=new CustomEvent(M,_);l.addEventListener(M,f),l.dispatchEvent(e),e.defaultPrevented||H(t??document.body,{select:!0}),l.removeEventListener(M,f),z.remove(v)},0)}}var e},[l,d,f,v]);const g=r.useCallback(e=>{if(!n&&!o)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,i]=function(e){const t=W(e),n=B(t,e),r=B(t.reverse(),e);return[n,r]}(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,o,v.paused]);return(0,s.jsx)(b.div,{tabIndex:-1,...c,ref:m,onKeyDown:g})});function W(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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 B(e,t){for(const n of e)if(!F(n,{upTo:t}))return n}function F(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function H(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}I.displayName="FocusScope";var z=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=V(e,t),e.unshift(t)},remove(t){e=V(e,t),e[0]?.resume()}}}();function V(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var q=Boolean(globalThis?.document)?r.useLayoutEffect:()=>{},$=o["useId".toString()]||(()=>{}),U=0;function K(e){const[t,n]=r.useState($());return q(()=>{e||n(e=>e??String(U++))},[e]),e||(t?`radix-${t}`:"")}var Y=n(95161),X=n(51063),Z=r.forwardRef((e,t)=>
1{const{children:n,width:r=10,height:o=5,...i}=e;return(0,s.jsx)(b.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});Z.displayName="Arrow";var G=Z;var Q="Popper",[J,ee]=u(Q),[te,ne]=J(Q),re=e=>{const{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,s.jsx)(te,{scope:t,anchor:o,onAnchorChange:i,children:n})};re.displayName=Q;var oe="PopperAnchor",ie=r.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...i}=e,a=ne(oe,n),c=r.useRef(null),l=p(t,c);return r.useEffect(()=>{a.onAnchorChange(o?.current||c.current)}),o?null:(0,s.jsx)(b.div,{...i,ref:l})});ie.displayName=oe;var ae="PopperContent",[ce,le]=J(ae),se=r.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:a="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:g,...y}=e,w=ne(ae,n),[E,S]=r.useState(null),C=p(t,e=>S(e)),[R,P]=r.useState(null),T=function(e){const[t,n]=r.useState(void 0);return q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(R),L=T?.width??0,N=T?.height??0,A=o+("center"!==a?"-"+a:""),k="number"==typeof f?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(d)?d:[d],j=D.length>0,O={padding:k,boundary:D.filter(pe),altBoundary:j},{refs:M,floatingStyles:_,placement:I,isPositioned:W,middlewareData:B}=(0,Y.we)({strategy:"fixed",placement:A,whileElementsMounted:(...e)=>(0,X.ll)(...e,{animationFrame:"always"===v}),elements:{reference:w.anchor},middleware:[(0,Y.cY)({mainAxis:i+N,alignmentAxis:c}),u&&(0,Y.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?(0,Y.ER)():void 0,...O}),u&&(0,Y.UU)({...O}),(0,Y.Ej)({...O,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),R&&(0,Y.UE)({element:R,padding:l}),he({arrowWidth:L,arrowHeight:N}),m&&(0,Y.jD)({strategy:"referenceHidden",...O})]}),[F,H]=me(I),z=(0,x.c)(g);q(()=>{W&&z?.()},[W,z]);const V=B.arrow?.x,$=B.arrow?.y,U=0!==B.arrow?.centerOffset,[K,Z]=r.useState();return q(()=>{E&&Z(window.getComputedStyle(E).zIndex)},[E]),(0,s.jsx)("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:W?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(ce,{scope:n,placedSide:F,onArrowChange:P,arrowX:V,arrowY:$,shouldHideArrow:U,children:(0,s.jsx)(b.div,{"data-side":F,"data-align":H,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});se.displayName=ae;var ue="PopperArrow",de={top:"bottom",right:"left",bottom:"top",left:"right"},fe=r.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=le(ue,n),i=de[o.placedSide];return(0,s.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,s.jsx)(G,{...r,ref:t,style:{...r.style,display:"block"}})})});function pe(e){return null!==e}fe.displayName=ue;var he=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,s]=me(n),u={start:"0%",center:"50%",end:"100%"}[s],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+c/2;let p="",h="";return"bottom"===l?(p=i?u:`${d}px`,h=-c+"px"):"top"===l?(p=i?u:`${d}px`,h=`${r.floating.height+c}px`):"right"===l?(p=-c+"px",h=i?u:`${f}px`):"left"===l&&(p=`${r.floating.width+c}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}});function me(e){const[t,n="center"]=e.split("-");return[t,n]}var ve=re,ge=ie,ye=se,we=fe,be=r.forwardRef((e,t)=>
1{const{container:n,...o}=e,[i,c]=r.useState(!1);q(()=>c(!0),[]);const l=n||i&&globalThis?.document?.body;return l?a.createPortal((0,s.jsx)(b.div,{...o,ref:t}),l):null});be.displayName="Portal";function xe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,i]=function({defaultProp:e,onChange:t}){const n=r.useState(e),[o]=n,i=r.useRef(o),a=(0,x.c)(t);return r.useEffect(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,c=a?e:o,l=(0,x.c)(n);return[c,r.useCallback(t=>{if(a){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[a,e,i,l])]}var Ee=n(20687),Se=r.forwardRef((e,t)=>(0,s.jsx)(b.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}}));Se.displayName="VisuallyHidden";var Ce=n(7576),Re=n(26897),Pe=n(12017),Te=n(88404),Le=(0,n(66638).f)(),Ne=function(){},Ae=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:Ne,onWheelCapture:Ne,onTouchMoveCapture:Ne}),i=o[0],a=o[1],c=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,m=e.inert,v=e.allowPinchZoom,g=e.as,y=void 0===g?"div":g,w=e.gapMode,b=(0,Re.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,E=(0,Te.S)([n,t]),S=(0,Re.Cl)((0,Re.Cl)({},b),i);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Le,removeScrollBar:u,shards:f,noIsolation:h,inert:m,setCallbacks:a,allowPinchZoom:!!v,lockRef:n,gapMode:w}),c?r.cloneElement(r.Children.only(l),(0,Re.Cl)((0,Re.Cl)({},S),{ref:E})):r.createElement(y,(0,Re.Cl)({},S,{className:s,ref:E}),l))});Ae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ae.classNames={fullWidth:Pe.pN,zeroRight:Pe.Mi};var ke=n(94182),De=n(98143),je=n(30937),Oe=!1;if("undefined"!=typeof window)try{var Me=Object.defineProperty({},"passive",{get:function(){return Oe=!0,!0}});window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(Rn){Oe=!1}var _e=!!Oe&&{passive:!1},Ie=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},We=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Be(e,r)){var o=Fe(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Be=function(e,t){return"v"===e?function(e){return Ie(e,"overflowY")}(t):function(e){return Ie(e,"overflowX")}(t)},Fe=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},He=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ze=function(e){return[e.deltaX,e.deltaY]},Ve=function(e){return e&&"current"in e?e.current:e},qe=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},$e=0,Ue=[];function Ke(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Ye=(0,ke.m)(Le,function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState($e++)[0],a=r.useState(je.T0)[0],c=r.useRef(e);r.useEffect(function(){c.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,Re.fX)([e.lockRef.current],(e.shards||[]).map(Ve),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var r,i=He(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>
1Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=We(d,u);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=We(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(l||s)&&(o.current=r),!r)return!0;var p=o.current||r;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,c=n.target,l=t.contains(c),s=!1,u=a>0,d=0,f=0;do{var p=Fe(e,c),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&Be(e,c)&&(d+=m,f+=h),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(u&&(o&&Math.abs(d)<1||!o&&a>d)||!u&&(o&&Math.abs(f)<1||!o&&-a>f))&&(s=!0),s}(p,t,e,"h"===p?l:s,!0)},[]),s=r.useCallback(function(e){var n=e;if(Ue.length&&Ue[Ue.length-1]===a){var r="deltaY"in n?ze(n):He(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(c.current.shards||[]).map(Ve).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!c.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:Ke(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=r.useCallback(function(e){n.current=He(e),o.current=void 0},[]),f=r.useCallback(function(t){u(t.type,ze(t),t.target,l(t,e.lockRef.current))},[]),p=r.useCallback(function(t){u(t.type,He(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return Ue.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,_e),document.addEventListener("touchmove",s,_e),document.addEventListener("touchstart",d,_e),function(){Ue=Ue.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,_e),document.removeEventListener("touchmove",s,_e),document.removeEventListener("touchstart",d,_e)}},[]);var h=e.removeScrollBar,m=e.inert;return r.createElement(r.Fragment,null,m?r.createElement(a,{styles:qe(i)}):null,h?r.createElement(De.jp,{gapMode:e.gapMode}):null)}),Xe=r.forwardRef(function(e,t){return r.createElement(Ae,(0,Re.Cl)({},e,{ref:t,sideCar:Ye}))});Xe.classNames=Ae.classNames;var Ze=Xe,Ge=[" ","Enter","ArrowUp","ArrowDown"],Qe=[" ","Enter"],Je="Select",[et,tt,nt]=function(e){const t=e+"CollectionProvider",[n,o]=u(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{const{scope:t,children:n}=e,o=r.useRef(null),a=r.useRef(new Map).current;return(0,s.jsx)(i,{scope:t,itemMap:a,collectionRef:o,children:n})};c.displayName=t;const l=e+"CollectionSlot",d=r.forwardRef((e,t)=>{const{scope:n,children:r}=e,o=p(t,a(l,n).collectionRef);return(0,s.jsx)(h,{ref:o,children:r})});d.displayName=l;const f=e+"CollectionItemSlot",m="data-radix-collection-item",v=r.forwardRef((e,t)=>{const{scope:n,children:o,...i}=e,c=r.useRef(null),l=p(t,c),u=a(f,n);return r.useEffect(()=>(u.itemMap.set(c,{ref:c,...i}),()=>{u.itemMap.delete(c)})),(0,s.jsx)(h,{[m]:"",ref:l,children:o})});return v.displayName=f,[{Provider:c,Slot:d,ItemSlot:v},function(t){const n=a(e+"CollectionConsumer",t);return r.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},o]}(Je),[rt,ot]=u(Je,[nt,ee]),it=ee(),[at,ct]=rt(Je),[lt,st]=rt(Je),ut=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:i,onOpenChange:a,value:c,defaultValue:l,onValueChange:u,dir:d,name:f,autoComplete:p,disabled:h,required:m}=e,v=it(t),[g,y]=r.useState(null),[b,x]=r.useState(null),[E,S]=r.useState(!1),C=function(e){const t=r.useContext(w);return e||t||"ltr"}(d),[R=!1,P]=xe({prop:o,defaultProp:i,onChange:a}),[T,L]=xe({prop:c,defaultProp:l,onChange:u}),N=r.useRef(null),A=!g||Boolean(g.closest("form")),[k,D]=r.useState(new Set),j=Array.from(k).map(e=>e.props.value).join(";");return(0,s.jsx)(ve,{...v,children:(0,s.jsxs)(at,{required:m,scope:t,trigger:g,onTriggerChange:y,valueNode:b,onValueNodeChange:x,valueNodeHasChildren:E,onValueNodeHasChildrenChange:S,contentId:K(),value:T,onValueChange:L,open:R,onOpenChange:P,dir:C,triggerPointerDownPosRef:N,disabled:h,children:[(0,s.jsx)(et.Provider,{scope:t,children:(0,s.jsx)(lt,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{D(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),A?(0,s.jsxs)(Qt,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:p,value:T,onChange:e=>L(e.target.value),disabled:h,children:[void 0===T?(0,s.jsx)("option",{value:""}):null,Array.from(k)]},j):null]})})};ut.displayName=Je;var dt="SelectTrigger",ft=r.forwardRef((e,t)=>
1{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=it(n),a=ct(dt,n),c=a.disabled||r,u=p(t,a.onTriggerChange),d=tt(n),[f,h,m]=Jt(e=>{const t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=en(t,e,n);void 0!==r&&a.onValueChange(r.value)}),v=()=>{c||(a.onOpenChange(!0),m())};return(0,s.jsx)(ge,{asChild:!0,...i,children:(0,s.jsx)(b.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":Gt(a.value)?"":void 0,...o,ref:u,onClick:l(o.onClick,e=>{e.currentTarget.focus()}),onPointerDown:l(o.onPointerDown,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:l(o.onKeyDown,e=>{const t=""!==f.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),t&&" "===e.key||Ge.includes(e.key)&&(v(),e.preventDefault())})})})});ft.displayName=dt;var pt="SelectValue",ht=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a="",...c}=e,l=ct(pt,n),{onValueNodeHasChildrenChange:u}=l,d=void 0!==i,f=p(t,l.onValueNodeChange);return q(()=>{u(d)},[u,d]),(0,s.jsx)(b.span,{...c,ref:f,style:{pointerEvents:"none"},children:Gt(l.value)?(0,s.jsx)(s.Fragment,{children:a}):i})});ht.displayName=pt;var mt=r.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return(0,s.jsx)(b.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});mt.displayName="SelectIcon";var vt=e=>(0,s.jsx)(be,{asChild:!0,...e});vt.displayName="SelectPortal";var gt="SelectContent",yt=r.forwardRef((e,t)=>{const n=ct(gt,e.__scopeSelect),[o,i]=r.useState();if(q(()=>{i(new DocumentFragment)},[]),!n.open){const t=o;return t?a.createPortal((0,s.jsx)(bt,{scope:e.__scopeSelect,children:(0,s.jsx)(et.Slot,{scope:e.__scopeSelect,children:(0,s.jsx)("div",{children:e.children})})}),t):null}return(0,s.jsx)(Et,{...e,ref:t})});yt.displayName=gt;var wt=10,[bt,xt]=rt(gt),Et=r.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:c,side:u,sideOffset:d,align:f,alignOffset:m,arrowPadding:v,collisionBoundary:g,collisionPadding:y,sticky:w,hideWhenDetached:b,avoidCollisions:x,...E}=e,S=ct(gt,n),[C,R]=r.useState(null),[P,L]=r.useState(null),N=p(t,e=>R(e)),[A,k]=r.useState(null),[j,O]=r.useState(null),M=tt(n),[_,W]=r.useState(!1),B=r.useRef(!1);r.useEffect(()=>{if(C)return(0,Ce.Eq)(C)},[C]),D();const F=r.useCallback(e=>{const[t,...n]=M().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const i of e){if(i===o)return;if(i?.scrollIntoView({block:"nearest"}),i===t&&P&&(P.scrollTop=0),i===r&&P&&(P.scrollTop=P.scrollHeight),i?.focus(),document.activeElement!==o)return}},[M,P]),H=r.useCallback(()=>F([A,C]),[F,A,C]);r.useEffect(()=>{_&&H()},[_,H]);const{onOpenChange:z,triggerPointerDownPosRef:V}=S;r.useEffect(()=>{if(C){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(V.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(V.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():C.contains(n.target)||z(!1),document.removeEventListener("pointermove",t),V.current=null};return null!==V.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[C,z,V]),r.useEffect(()=>{const e=()=>z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);const[q,$]=Jt(e=>{const t=M().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=en(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),U=r.useCallback((e,t,n)=>{const r=!B.current&&!n;(void 0!==S.value&&S.value===t||r)&&(k(e),r&&(B.current=!0))},[S.value]),K=r.useCallback(()=>C?.focus(),[C]),Y=r.useCallback((e,t,n)=>{const r=!B.current&&!n;(void 0!==S.value&&S.value===t||r)&&O(e)},[S.value]),X="popper"===o?Ct:St,Z=X===Ct?{side:u,sideOffset:d,align:f,alignOffset:m,arrowPadding:v,collisionBoundary:g,collisionPadding:y,sticky:w,hideWhenDetached:b,avoidCollisions:x}:{};return(0,s.jsx)(bt,{scope:n,content:C,viewport:P,onViewportChange:L,itemRefCallback:U,selectedItem:A,onItemLeave:K,itemTextRefCallback:Y,focusSelectedItem:H,selectedItemText:j,position:o,isPositioned:_,searchRef:q,children:(0,s.jsx)(Ze,{as:h,allowPinchZoom:!0,children:(0,s.jsx)(I,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:l(i,e=>{S.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,s.jsx)(T,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1),children:(0,s.jsx)(X,{role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",dir:S.dir,onContextMenu:e=>e.preventDefault(),...E,...Z,onPlaced:()=>W(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:l(E.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;
vendor: 4,445 bytes, line 1
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=M().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});Et.displayName="SelectContentImpl";var St=r.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...i}=e,a=ct(gt,n),l=xt(gt,n),[u,d]=r.useState(null),[f,h]=r.useState(null),m=p(t,e=>h(e)),v=tt(n),g=r.useRef(!1),y=r.useRef(!0),{viewport:w,selectedItem:x,selectedItemText:E,focusSelectedItem:S}=l,C=r.useCallback(()=>{if(a.trigger&&a.valueNode&&u&&f&&w&&x&&E){const e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=E.getBoundingClientRect();if("rtl"!==a.dir){const o=r.left-t.left,i=n.left-o,a=e.left-i,l=e.width+a,s=Math.max(l,t.width),d=window.innerWidth-wt,f=c(i,[wt,d-s]);u.style.minWidth=l+"px",u.style.left=f+"px"}else{const o=t.right-r.right,i=window.innerWidth-n.right-o,a=window.innerWidth-e.right-i,l=e.width+a,s=Math.max(l,t.width),d=window.innerWidth-wt,f=c(i,[wt,d-s]);u.style.minWidth=l+"px",u.style.right=f+"px"}const i=v(),l=window.innerHeight-2*wt,s=w.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=p+h+s+parseInt(d.paddingBottom,10)+m,b=Math.min(5*x.offsetHeight,y),S=window.getComputedStyle(w),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),P=e.top+e.height/2-wt,T=l-P,L=x.offsetHeight/2,N=p+h+(x.offsetTop+L),A=y-N;if(N<=P){const e=x===i[i.length-1].ref.current;u.style.bottom="0px";const t=f.clientHeight-w.offsetTop-w.offsetHeight,n=N+Math.max(T,L+(e?R:0)+t+m);u.style.height=n+"px"}else{const e=x===i[0].ref.current;u.style.top="0px";const t=Math.max(P,p+w.offsetTop+(e?C:0)+L)+A;u.style.height=t+"px",w.scrollTop=N-P+w.offsetTop}u.style.margin=`${wt}px 0`,u.style.minHeight=b+"px",u.style.maxHeight=l+"px",o?.(),requestAnimationFrame(()=>g.current=!0)}},[v,a.trigger,a.valueNode,u,f,w,x,E,a.dir,o]);q(()=>C(),[C]);const[R,P]=r.useState();q(()=>{f&&P(window.getComputedStyle(f).zIndex)},[f]);const T=r.useCallback(e=>{e&&!0===y.current&&(C(),S?.(),y.current=!1)},[C,S]);return(0,s.jsx)(Rt,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:g,onScrollButtonChange:T,children:(0,s.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,s.jsx)(b.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});St.displayName="SelectItemAlignedPosition";var Ct=r.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=wt,...i}=e,a=it(n);return(0,s.jsx)(ye,{...a,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ct.displayName="SelectPopperPosition";var[Rt,Pt]=rt(gt,{}),Tt="SelectViewport",Lt=r.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...i}=e,a=xt(Tt,n),c=Pt(Tt,n),u=p(t,a.onViewportChange),d=r.useRef(0);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,s.jsx)(et.Slot,{scope:n,children:(0,s.jsx)(b.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"auto",...i.style},onScroll:l(i.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=c;if(r?.current&&n){const e=Math.abs(d.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*wt,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),c=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=c>0?c:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});Lt.displayName=Tt;var Nt="SelectGroup",[At,kt]=rt(Nt),Dt=r.forwardRef((e,t)=>
1{const{__scopeSelect:n,...r}=e,o=K();return(0,s.jsx)(At,{scope:n,id:o,children:(0,s.jsx)(b.div,{role:"group","aria-labelledby":o,...r,ref:t})})});Dt.displayName=Nt;var jt="SelectLabel",Ot=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=kt(jt,n);return(0,s.jsx)(b.div,{id:o.id,...r,ref:t})});Ot.displayName=jt;var Mt="SelectItem",[_t,It]=rt(Mt),Wt=r.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:i=!1,textValue:a,...c}=e,u=ct(Mt,n),d=xt(Mt,n),f=u.value===o,[h,m]=r.useState(a??""),[v,g]=r.useState(!1),y=p(t,e=>d.itemRefCallback?.(e,o,i)),w=K(),x=()=>{i||(u.onValueChange(o),u.onOpenChange(!1))};if(""===o)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,s.jsx)(_t,{scope:n,value:o,disabled:i,textId:w,isSelected:f,onItemTextChange:r.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,s.jsx)(et.ItemSlot,{scope:n,value:o,disabled:i,textValue:h,children:(0,s.jsx)(b.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":f&&v,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:y,onFocus:l(c.onFocus,()=>g(!0)),onBlur:l(c.onBlur,()=>g(!1)),onPointerUp:l(c.onPointerUp,x),onPointerMove:l(c.onPointerMove,e=>{i?d.onItemLeave?.():e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:l(c.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:l(c.onKeyDown,e=>{""!==d.searchRef?.current&&" "===e.key||(Qe.includes(e.key)&&x()," "===e.key&&e.preventDefault())})})})})});Wt.displayName=Mt;var Bt="SelectItemText",Ft=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:i,...c}=e,l=ct(Bt,n),u=xt(Bt,n),d=It(Bt,n),f=st(Bt,n),[h,m]=r.useState(null),v=p(t,e=>m(e),d.onItemTextChange,e=>u.itemTextRefCallback?.(e,d.value,d.disabled)),g=h?.textContent,y=r.useMemo(()=>(0,s.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:w,onNativeOptionRemove:x}=f;return q(()=>(w(y),()=>x(y)),[w,x,y]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(b.span,{id:d.textId,...c,ref:v}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?a.createPortal(c.children,l.valueNode):null]})});Ft.displayName=Bt;var Ht="SelectItemIndicator",zt=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return It(Ht,n).isSelected?(0,s.jsx)(b.span,{"aria-hidden":!0,...r,ref:t}):null});zt.displayName=Ht;var Vt="SelectScrollUpButton",qt=r.forwardRef((e,t)=>{const n=xt(Vt,e.__scopeSelect),o=Pt(Vt,e.__scopeSelect),[i,a]=r.useState(!1),c=p(t,o.onScrollButtonChange);return q(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;a(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,s.jsx)(Kt,{...e,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});qt.displayName=Vt;var $t="SelectScrollDownButton",Ut=r.forwardRef((e,t)=>{const n=xt($t,e.__scopeSelect),o=Pt($t,e.__scopeSelect),[i,a]=r.useState(!1),c=p(t,o.onScrollButtonChange);return q(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;a(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,s.jsx)(Kt,{...e,ref:c,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Ut.displayName=$t;var Kt=r.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...i}=e,a=xt("SelectScrollButton",n),c=r.useRef(null),u=tt(n),d=r.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),q(()=>{const e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,s.jsx)(b.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:l(i.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(o,50))}),onPointerMove:l(i.onPointerMove,()=>{a.onItemLeave?.(),null===c.current&&(c.current=window.setInterval(o,50))}),onPointerLeave:l(i.onPointerLeave,()=>{d()})})}),Yt=r.forwardRef((e,t)=>
1{const{__scopeSelect:n,...r}=e;return(0,s.jsx)(b.div,{"aria-hidden":!0,...r,ref:t})});Yt.displayName="SelectSeparator";var Xt="SelectArrow",Zt=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=it(n),i=ct(Xt,n),a=xt(Xt,n);return i.open&&"popper"===a.position?(0,s.jsx)(we,{...o,...r,ref:t}):null});function Gt(e){return""===e||void 0===e}Zt.displayName=Xt;var Qt=r.forwardRef((e,t)=>{const{value:n,...o}=e,i=r.useRef(null),a=p(t,i),c=(0,Ee.Z)(n);return r.useEffect(()=>{const e=i.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(c!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}},[c,n]),(0,s.jsx)(Se,{asChild:!0,children:(0,s.jsx)("select",{...o,ref:a,defaultValue:n})})});function Jt(e){const t=(0,x.c)(e),n=r.useRef(""),o=r.useRef(0),i=r.useCallback(e=>{const r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),a=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,i,a]}function en(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=(a=e,c=Math.max(o,0),a.map((e,t)=>a[(c+t)%a.length]));var a,c;1===r.length&&(i=i.filter(e=>e!==n));const l=i.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}Qt.displayName="BubbleSelect";var tn=ut,nn=ft,rn=ht,on=mt,an=vt,cn=yt,ln=Lt,sn=Dt,un=Wt,dn=Ft,fn=zt,pn=qt,hn=Ut,mn=n(13421),vn=n(42279);const gn=tn,yn=sn,wn=rn,bn=r.forwardRef(({className:e,children:t,hasError:n=!1,...o},i)=>r.createElement(nn,Object.assign({ref:i,className:(0,vn.cn)("flex h-11 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-white px-3 py-2 text-sm shadow-sm text-input-foreground ring-offset-white focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",n&&"border-destructive text-input-foreground-destructive",e)},o),t,r.createElement(on,{asChild:!0},r.createElement(mn.j1Q,{className:"h-4 w-4"})))),xn=r.forwardRef(({className:e,...t},n)=>r.createElement(pn,Object.assign({ref:n,className:(0,vn.cn)("flex cursor-default items-center justify-center py-1",e)},t),r.createElement(i.Mtm,null))),En=r.forwardRef(({className:e,...t},n)=>r.createElement(hn,Object.assign({ref:n,className:(0,vn.cn)("flex cursor-default items-center justify-center py-1",e)},t),r.createElement(i.D3D,null))),Sn=r.forwardRef(({className:e,children:t,position:n="popper",...o},i)=>r.createElement(an,null,r.createElement(cn,Object.assign({ref:i,className:(0,vn.cn)("relative z-[1700] max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n},o),r.createElement(xn,null),r.createElement(ln,{className:(0,vn.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")},t),r.createElement(En,null)))),Cn=r.forwardRef(({className:e,children:t,...n},o)=>r.createElement(un,Object.assign({ref:o,className:(0,vn.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e)},n),r.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},r.createElement(fn,null,r.createElement(i.Srz,{className:"h-4 w-4"}))),r.createElement(dn,null,t)))},51063:function(e,t,n){n.d(t,{UE:function(){return fe},RK:function(){return ce},ll:function(){return oe},rD:function(){return me},__:function(){return ie},UU:function(){return se},jD:function(){return de},mG:function(){return pe},ER:function(){return he},cY:function(){return ae},iD:function(){return ne},BN:function(){return le},Ej:function(){return ue}});const r=["top","right","bottom","left"],o=["start","end"],i=r.reduce((e,t)=>
1e.concat(t,t+"-"+o[0],t+"-"+o[1]),[]),a=Math.min,c=Math.max,l=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),s={start:"end",end:"start"};function u(e,t,n){return c(e,a(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}const v=new Set(["top","bottom"]);function g(e){return v.has(f(e))?"y":"x"}function y(e){return h(g(e))}function w(e,t,n){void 0===n&&(n=!1);const r=p(e),o=y(e),i=m(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=P(a)),[a,P(a)]}function b(e){return e.replace(/start|end/g,e=>s[e])}const x=["left","right"],E=["right","left"],S=["top","bottom"],C=["bottom","top"];function R(e,t,n,r){const o=p(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?E:x:t?x:E;case"left":case"right":return t?S:C;default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(b)))),i}function P(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function T(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function L(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function N(e,t,n){let{reference:r,floating:o}=e;const i=g(t),a=y(t),c=m(a),l=f(t),s="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[c]/2-o[c]/2;let v;switch(l){case"top":v={x:u,y:r.y-o.height};break;case"bottom":v={x:u,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:d};break;case"left":v={x:r.x-o.width,y:d};break;default:v={x:r.x,y:r.y}}switch(p(t)){case"start":v[a]-=h*(n&&s?-1:1);break;case"end":v[a]+=h*(n&&s?-1:1)}return v}async function A(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=T(h),v=c[p?"floating"===f?"reference":"floating":f],g=L(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(c.floating)),boundary:s,rootBoundary:u,strategy:l})),y="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.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=L(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:w,strategy:l}):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}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return r.some(t=>e[t]>=0)}function j(e){const t=a(...e.map(e=>e.left)),n=a(...e.map(e=>e.top));return{x:t,y:n,width:c(...e.map(e=>e.right))-t,height:c(...e.map(e=>e.bottom))-n}}const O=new Set(["left","top"]);const M=Math.min,_=Math.max,I=Math.round,W=Math.floor,B=e=>({x:e,y:e});var F=n(77531);function H(e){const t=(0,F.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,F.sb)(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=I(n)!==i||I(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function z(e){return(0,F.vq)(e)?e:e.contextElement}function V(e){const t=z(e);if(!(0,F.sb)(t))return B(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=H(t);let a=(i?I(n.width):n.width)/r,c=(i?I(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const q=B(0);function $(e){const t=(0,F.zk)(e);return(0,F.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:q}function U(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=z(e);let a=B(1);t&&(r?(0,F.vq)(r)&&(a=V(r)):a=V(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,F.zk)(e))&&t}(i,n,r)?$(i):B(0);let l=(o.left+c.x)/a.x,s=(o.top+c.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=(0,F.zk)(i),t=r&&(0,F.vq)(r)?(0,F.zk)(r):r;let n=e,o=(0,F._m)(n);for(;o&&r&&t!==n;){const e=V(o),t=o.getBoundingClientRect(),r=(0,F.L9)(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.to
1p+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,s*=e.y,u*=e.x,d*=e.y,l+=i,s+=a,n=(0,F.zk)(o),o=(0,F._m)(n)}}return L({width:u,height:d,x:l,y:s})}function K(e,t){const n=(0,F.CP)(e).scrollLeft;return t?t.left+n:U((0,F.ep)(e)).left+n}function Y(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-K(e,n),y:n.top+t.scrollTop}}const X=new Set(["absolute","fixed"]);function Z(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=(0,F.zk)(e),r=(0,F.ep)(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const e=(0,F.Tc)();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,l=o.offsetTop)}const s=K(r);if(s<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else s<=25&&(i+=s);return{width:i,height:a,x:c,y:l}}(e,n);else if("document"===t)r=function(e){const t=(0,F.ep)(e),n=(0,F.CP)(e),r=e.ownerDocument.body,o=_(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=_(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+K(e);const c=-n.scrollTop;return"rtl"===(0,F.L9)(r).direction&&(a+=_(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}((0,F.ep)(e));else if((0,F.vq)(t))r=function(e,t){const n=U(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=(0,F.sb)(e)?V(e):B(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=$(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return L(r)}function G(e,t){const n=(0,F.$4)(e);return!(n===t||!(0,F.vq)(n)||(0,F.eu)(n))&&("fixed"===(0,F.L9)(n).position||G(n,t))}function Q(e,t,n){const r=(0,F.sb)(t),o=(0,F.ep)(t),i="fixed"===n,a=U(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const l=B(0);function s(){l.x=K(o)}if(r||!r&&!i)if(("body"!==(0,F.mq)(t)||(0,F.ZU)(o))&&(c=(0,F.CP)(t)),r){const e=U(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&s();i&&!r&&o&&s();const u=!o||r||i?B(0):Y(o,c);return{x:a.left+c.scrollLeft-l.x-u.x,y:a.top+c.scrollTop-l.y-u.y,width:a.width,height:a.height}}function J(e){return"static"===(0,F.L9)(e).position}function ee(e,t){if(!(0,F.sb)(e)||"fixed"===(0,F.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,F.ep)(e)===n&&(n=n.ownerDocument.body),n}function te(e,t){const n=(0,F.zk)(e);if((0,F.Tf)(e))return n;if(!(0,F.sb)(e)){let t=(0,F.$4)(e);for(;t&&!(0,F.eu)(t);){if((0,F.vq)(t)&&!J(t))return t;t=(0,F.$4)(t)}return n}let r=ee(e,t);for(;r&&(0,F.Lv)(r)&&J(r);)r=ee(r,t);return r&&(0,F.eu)(r)&&J(r)&&!(0,F.sQ)(r)?n:r||(0,F.gJ)(e)||n}const ne={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=(0,F.ep)(r),c=!!t&&(0,F.Tf)(t.floating);if(r===a||c&&i)return n;let l={scrollLeft:0,scrollTop:0},s=B(1);const u=B(0),d=(0,F.sb)(r);if((d||!d&&!i)&&(("body"!==(0,F.mq)(r)||(0,F.ZU)(a))&&(l=(0,F.CP)(r)),(0,F.sb)(r))){const e=U(r);s=V(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||i?B(0):Y(a,l);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-l.scrollLeft*s.x+u.x+f.x,y:n.y*s.y-l.scrollTop*s.y+u.y+f.y}},getDocumentElement:F.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?(0,F.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,F.v9)(e,[],!1).filter(e=>(0,F.vq)(e)&&"body"!==(0,F.mq)(e)),o=null;const i="fixed"===(0,F.L9)(e).position;let a=i?(0,F.$4)(e):e;for(;(0,F.vq)(a)&&!(0,F.eu)(a);){const t=(0,F.L9)(a),n=(0,F.sQ)(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&X.has(o.position)||(0,F.ZU)(a)&&!n&&G(e,a))?r=r.filter(e=>e!==a):o=t,a=(0,F.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((e,n)=>{const r=Z(t,n,o);return e.top=_(r.top,e.top),e.right=M(r.right,e.right),e.bottom=M(r.bottom,e.bottom),e.left=_(r.left,e.left),e},Z(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:te,getElementRects:async function(e){const t=this.getOffsetParent||te,n=this.getDimensions,r=await n(e.floating);return{reference:Q(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=H(e);return{width:t,height:n}},getScale:V,isElement:F.vq,isRTL:function(e){return"rtl"===(0,F.L9)(e).direction}};function re(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oe(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,s=z(e),u=o||i?[...s?(0,F.v9)(s):[],...(0,F.v9)(t)]:[];
vendor: 4,791 bytes, line 1
1u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=s&&c?function(e,t){let n,r=null;const o=(0,F.ep)(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(c,l){void 0===c&&(c=!1),void 0===l&&(l=1),i();const s=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=s;if(c||t(),!f||!p)return;const h={rootMargin:-W(d)+"px "+-W(o.clientWidth-(u+f))+"px "+-W(o.clientHeight-(d+p))+"px "+-W(u)+"px",threshold:_(0,M(1,l))||1};let m=!0;function v(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||re(s,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(g){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),i}(s,n):null;let f,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),s&&!l&&h.observe(s),h.observe(t));let m=l?U(e):null;return l&&function t(){const r=U(e);m&&!re(m,r)&&n();m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const ie=A,ae=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:c}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=f(n),c=p(n),l="y"===g(n),s=O.has(a)?-1:1,u=i&&l?-1:1,h=d(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof y&&(v="end"===c?-1*y:y),l?{x:v*u,y:m*s}:{x:m*s,y:v*u}}(t,e);return a===(null==(n=c.offset)?void 0:n.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},ce=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:a,middlewareData:c,placement:l,platform:s,elements:u}=t,{crossAxis:h=!1,alignment:m,allowedPlacements:v=i,autoAlignment:g=!0,...y}=d(e,t),x=void 0!==m||v===i?function(e,t,n){return(e?[...n.filter(t=>p(t)===e),...n.filter(t=>p(t)!==e)]:n.filter(e=>f(e)===e)).filter(n=>!e||p(n)===e||!!t&&b(n)!==n)}(m||null,g,v):v,E=await s.detectOverflow(t,y),S=(null==(n=c.autoPlacement)?void 0:n.index)||0,C=x[S];if(null==C)return{};const R=w(C,a,await(null==s.isRTL?void 0:s.isRTL(u.floating)));if(l!==C)return{reset:{placement:x[0]}};const P=[E[f(C)],E[R[0]],E[R[1]]],T=[...(null==(r=c.autoPlacement)?void 0:r.overflows)||[],{placement:C,overflows:P}],L=x[S+1];if(L)return{data:{index:S+1,overflows:T},reset:{placement:L}};const N=T.map(e=>{const t=p(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),A=(null==(o=N.filter(e=>e[2].slice(0,p(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||N[0][0];return A!==l?{data:{index:S+1,overflows:T},reset:{placement:A}}:{}}}},le=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=d(e,t),p={x:n,y:r},m=await i.detectOverflow(t,s),v=g(f(o)),y=h(v);let w=p[y],b=p[v];if(a){const e="y"===y?"bottom":"right";w=u(w+m["y"===y?"top":"left"],w,w-m[e])}if(c){const e="y"===v?"bottom":"right";b=u(b+m["y"===v?"top":"left"],b,b-m[e])}const x=l.fn({...t,[y]:w,[v]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[y]:a,[v]:c}}}}}},se=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:s}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...x}=d(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const E=f(o),S=g(c),C=f(c)===c,T=await(null==l.isRTL?void 0:l.isRTL(s.floating)),L=h||(C||!y?[P(c)]:function(e){const t=P(e);return[b(e),t,b(t)]}(c)),N="none"!==v;!h&&N&&L.push(...R(c,y,v,T));const A=[c,...L],k=await l.detectOverflow(t,x),D=[];let j=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&D.push(k[E]),p){const e=w(o,a,T);D.push(k[e[0]],k[e[1]])}if(j=[...j,{placement:o,overflows:D}],!D.every(e=>e<=0)){var O,M;const e=((null==(O=i.flip)?void 0:O.index)||0)+1,t=A[e];if(t){if(!("alignment"===p&&S!==g(t))||j.every(e=>g(e.placement)!==S||e.overflows[0]>0))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(M=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>
vendor: 4,837 bytes, line 1
1e.overflows[1]-t.overflows[1])[0])?void 0:M.placement;if(!n)switch(m){case"bestFit":{var _;const e=null==(_=j.filter(e=>{if(N){const t=g(e.placement);return t===S||"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:_[0];e&&(n=e);break}case"initialPlacement":n=c}if(o!==n)return{reset:{placement:n}}}return{}}}},ue=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:l,elements:s}=t,{apply:u=()=>{},...h}=d(e,t),m=await l.detectOverflow(t,h),v=f(o),y=p(o),w="y"===g(o),{width:b,height:x}=i.floating;let E,S;"top"===v||"bottom"===v?(E=v,S=y===(await(null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(S=v,E="end"===y?"top":"bottom");const C=x-m.top-m.bottom,R=b-m.left-m.right,P=a(x-m[E],C),T=a(b-m[S],R),L=!t.middlewareData.shift;let N=P,A=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(A=R),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(N=C),L&&!y){const e=c(m.left,0),t=c(m.right,0),n=c(m.top,0),r=c(m.bottom,0);w?A=b-2*(0!==e||0!==t?e+t:c(m.left,m.right)):N=x-2*(0!==n||0!==r?n+r:c(m.top,m.bottom))}await u({...t,availableWidth:A,availableHeight:N});const k=await l.getDimensions(s.floating);return b!==k.width||x!==k.height?{reset:{rects:!0}}:{}}}},de=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=d(e,t);switch(o){case"referenceHidden":{const e=k(await r.detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{const e=k(await r.detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}},fe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:c,elements:l,middlewareData:s}=t,{element:f,padding:h=0}=d(e,t)||{};if(null==f)return{};const v=T(h),g={x:n,y:r},w=y(o),b=m(w),x=await c.getDimensions(f),E="y"===w,S=E?"top":"left",C=E?"bottom":"right",R=E?"clientHeight":"clientWidth",P=i.reference[b]+i.reference[w]-g[w]-i.floating[b],L=g[w]-i.reference[w],N=await(null==c.getOffsetParent?void 0:c.getOffsetParent(f));let A=N?N[R]:0;A&&await(null==c.isElement?void 0:c.isElement(N))||(A=l.floating[R]||i.floating[b]);const k=P/2-L/2,D=A/2-x[b]/2-1,j=a(v[S],D),O=a(v[C],D),M=j,_=A-x[b]-O,I=A/2-x[b]/2+k,W=u(M,I,_),B=!s.arrow&&null!=p(o)&&I!==W&&i.reference[b]/2-(I<M?j:O)-x[b]/2<0,F=B?I<M?I-M:I-_:0;return{[w]:g[w]+F,data:{[w]:W,centerOffset:I-W-F,...B&&{alignmentOffset:F}},reset:B}}}),pe=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:i,strategy:l}=t,{padding:s=2,x:u,y:p}=d(e,t),h=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(r.reference))||[]),m=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),n=[];let r=null;for(let o=0;o<t.length;o++){const e=t[o];!r||e.y-r.y>r.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map(e=>L(j(e)))}(h),v=L(j(h)),y=T(s);const w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=u&&null!=p)return m.find(e=>u>e.left-y.left&&u<e.right+y.right&&p>e.top-y.top&&p<e.bottom+y.bottom)||v;if(m.length>=2){if("y"===g(n)){const e=m[0],t=m[m.length-1],r="top"===f(n),o=e.top,i=t.bottom,a=r?e.left:t.left,c=r?e.right:t.right;return{top:o,bottom:i,left:a,right:c,width:c-a,height:i-o,x:a,y:o}}const e="left"===f(n),t=c(...m.map(e=>e.right)),r=a(...m.map(e=>e.left)),o=m.filter(n=>e?n.left===r:n.right===t),i=o[0].top,l=o[o.length-1].bottom;return{top:i,bottom:l,left:r,right:t,width:t-r,height:l-i,x:r,y:i}}return v}},floating:r.floating,strategy:l});return o.reference.x!==w.reference.x||o.reference.y!==w.reference.y||o.reference.width!==w.reference.width||o.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},he=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:c=0,mainAxis:l=!0,crossAxis:s=!0}=d(e,t),u={x:n,y:r},p=g(o),m=h(p);let v=u[m],y=u[p];const w=d(c,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+b.mainAxis,n=i.reference[m]+i.reference[e]-b.mainAxis;v<t?v=t:v>n&&(v=n)}if(s){var x,E;const e="y"===m?"width":"height",t=O.has(f(o)),n=i.reference[p]-i.floating[e]+(t&&(null==(x=a.offset)?void 0:x[p])||0)+(t?0:b.crossAxis),r=i.reference[p]+i.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[p])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[m]:v,[p]:y}}}},me=(e,t,n)=>{const r=new Map,o={platform:ne,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}
1=n,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=N(s,r,l),f=r,p={},h=0;for(let v=0;v<c.length;v++){var m;const{name:n,fn:i}=c[v],{x:g,y:y,data:w,reset:b}=await i({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:s,platform:{...a,detectOverflow:null!=(m=a.detectOverflow)?m:A},elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,p={...p,[n]:{...p[n],...w}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=N(s,f,l))),v=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})}},66638:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(26897);function o(e){return e}function i(e,t){void 0===t&&(t=o);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(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)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function a(e){void 0===e&&(e={});var t=i(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}},77531:function(e,t,n){function r(){return"undefined"!=typeof window}function o(e){return c(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(c(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function s(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}n.d(t,{$4:function(){return T},CP:function(){return P},L9:function(){return R},Lv:function(){return h},Tc:function(){return E},Tf:function(){return v},ZU:function(){return f},_m:function(){return A},ep:function(){return a},eu:function(){return C},gJ:function(){return x},mq:function(){return o},sQ:function(){return b},sb:function(){return s},v9:function(){return N},vq:function(){return l},zk:function(){return i}});const d=new Set(["inline","contents"]);function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!d.has(o)}const p=new Set(["table","td","th"]);function h(e){return p.has(o(e))}const m=[":popover-open",":modal"];function v(e){return m.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const g=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],w=["paint","layout","strict","content"];function b(e){const t=E(),n=l(e)?R(e):e;return g.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||y.some(e=>(n.willChange||"").includes(e))||w.some(e=>(n.contain||"").includes(e))}function x(e){let t=T(e);for(;s(t)&&!C(t);){if(b(t))return t;if(v(t))return null;t=T(t)}return null}function E(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const S=new Set(["html","body","#document"]);function C(e){return S.has(o(e))}function R(e){return i(e).getComputedStyle(e)}function P(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}function L(e){const t=T(e);return C(t)?e.ownerDocument?e.ownerDocument.body:e.body:s(t)&&f(t)?t:L(t)}function N(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=L(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),c=i(o);if(a){const e=A(c);
1return t.concat(c,c.visualViewport||[],f(o)?o:[],e&&n?N(e):[])}return t.concat(o,N(o,[],n))}function A(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},88404:function(e,t,n){n.d(t,{S:function(){return c}});var r=n(14041);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function c(e,t){var n,c,l,s=(n=t||null,c=function(t){return e.forEach(function(e){return o(e,t)})},(l=(0,r.useState)(function(){return{value:n,callback:c,facade:{get current(){return l.value},set current(e){var t=l.value;t!==e&&(l.value=e,l.callback(e,t))}}}})[0]).callback=c,l.facade);return i(function(){var t=a.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||o(e,null)}),r.forEach(function(e){n.has(e)||o(e,i)})}a.set(s,e)},[e]),s}},94182:function(e,t,n){n.d(t,{m:function(){return a}});var r=n(26897),o=n(14041),i=function(e){var t=e.sideCar,n=(0,r.Tt)(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return o.createElement(i,(0,r.Cl)({},n))};function a(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},95161:function(e,t,n){n.d(t,{BN:function(){return h},ER:function(){return m},Ej:function(){return g},RK:function(){return y},UE:function(){return x},UU:function(){return v},cY:function(){return p},jD:function(){return w},mG:function(){return b},we:function(){return d}});var r=n(51063),o=n(14041),i=n(43144),a="undefined"!=typeof document?o.useLayoutEffect:function(){};function c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!c(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){const n=l(e);return Math.round(t*n)/n}function u(e){const t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,w]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,x]=o.useState(d);c(b,d)||x(d);const[E,S]=o.useState(null),[C,R]=o.useState(null),P=o.useCallback(e=>{e!==A.current&&(A.current=e,S(e))},[]),T=o.useCallback(e=>{e!==k.current&&(k.current=e,R(e))},[]),L=p||E,N=h||C,A=o.useRef(null),k=o.useRef(null),D=o.useRef(y),j=null!=v,O=u(v),M=u(f),_=u(g),I=o.useCallback(()=>{if(!A.current||!k.current)return;const e={placement:t,strategy:n,middleware:b};M.current&&(e.platform=M.current),(0,r.rD)(A.current,k.current,e).then(e=>{const t={...e,isPositioned:!1!==_.current};W.current&&!c(D.current,t)&&(D.current=t,i.flushSync(()=>{w(t)}))})},[b,t,n,M,_]);a(()=>{!1===g&&D.current.isPositioned&&(D.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);const W=o.useRef(!1);a(()=>(W.current=!0,()=>{W.current=!1}),[]),a(()=>{if(L&&(A.current=L),N&&(k.current=N),L&&N){if(O.current)return O.current(L,N,I);I()}},[L,N,I,O,j]);const B=o.useMemo(()=>({reference:A,floating:k,setReference:P,setFloating:T}),[P,T]),F=o.useMemo(()=>({reference:L,floating:N}),[L,N]),H=o.useMemo(()=>{const e={position:n,left:0,top:0};if(!F.floating)return e;const t=s(F.floating,y.x),r=s(F.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,F.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:I,refs:B,elements:F,floatingStyles:H}),[y,I,B,F,H])}const f=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{};var i}}),p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),m=(e,t)=>
1({...(0,r.ER)(e),options:[e,t]}),v=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),y=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),w=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),b=(e,t)=>({...(0,r.mG)(e),options:[e,t]}),x=(e,t)=>({...f(e),options:[e,t]})},98143:function(e,t,n){n.d(t,{jp:function(){return p}});var r=n(14041),o=n(30937),i=n(12017),a={left:0,top:0,right:0,gap:0},c=function(e){return parseInt(e||"",10)||0},l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=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[c(n),c(r),c(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},s=(0,o.T0)(),u="data-scroll-locked",d=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(i.E9," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(u,"] {\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(a,"px;\n    padding-right: ").concat(c,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(i.Mi," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(i.pN," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(i.Mi," .").concat(i.Mi," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(i.pN," .").concat(i.pN," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(u,"] {\n    ").concat(i.xi,": ").concat(l,"px;\n  }\n")},f=function(){var e=parseInt(document.body.getAttribute(u)||"0",10);return isFinite(e)?e:0},p=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;r.useEffect(function(){return document.body.setAttribute(u,(f()+1).toString()),function(){var e=f()-1;e<=0?document.body.removeAttribute(u):document.body.setAttribute(u,e.toString())}},[]);var a=r.useMemo(function(){return l(i)},[i]);return r.createElement(s,{styles:d(a,!t,i,n?"":"!important")})}}}]);
2//# sourceMappingURL=f357386b4b659d83c747462f1d903052e442fbdf-a1ca1f617b3894c2bed4.js.map

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.