PageSourceSearch

https://tgs.com.vn/_next/static/chunks/5095-9240e338c61c4c5d.js

js tgs.com.vn collected 2026-10-04 06:15:37 UTC 52,488 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5095],{2368:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(77640);class i{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,i){return(0,r.P)(this,e,t,n,i)}}},3940:(e,t,n)=>{n.d(t,{BT:()=>i,Ed:()=>r,Jd:()=>u,RJ:()=>l,eR:()=>o,il:()=>s});let r="data-base-ui-focusable",i="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",o="ArrowLeft",l="ArrowRight",s="ArrowUp",u="ArrowDown"},4269:(e,t,n)=>{let r;n.d(t,{s:()=>C});var i=n(12115),o=n(92681),l=n(81456),s=n(6791),u=n(66652),a=n(2474),c=n(23068),f=n(79538),d=n(47650),p="u">typeof document?i.useLayoutEffect:function(){};function h(e,t){let n,r,i;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(!h(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!h(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function g(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function m(e,t){let n=g(e);return Math.round(t*n)/n}function y(e){let t=i.useRef(e);return p(()=>{t.current=e}),t}var v=n(35996),x=n(57134),b=n(30458);
1let w={name:(r=(0,f.jD)(void 0)).name,fn:r.fn,options:[void 0,void 0]}.fn,R={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await w(e);return{data:{referenceHidden:o.data?.referenceHidden||0===t&&0===n&&0===r&&0===i}}}};var E=n(48226);function S(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function T(e,t,n){let{rects:r,placement:i}=e;return{side:S(t,(0,o.C0)(i),n),align:(0,o.Sg)(i)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function C(e){var t,n,r,w,C,k,A,P;let M,q,L,D,{anchor:j,positionMethod:V="absolute",side:I="bottom",sideOffset:H=0,align:W="center",alignOffset:F=0,collisionBoundary:$,collisionPadding:_=5,sticky:B=!1,arrowPadding:z=5,disableAnchorTracking:K=!1,inline:J,keepMounted:N=!1,floatingRootContext:G,mounted:X,collisionAvoidance:U,shiftCrossAxis:Y=!1,nodeId:Z,adaptiveOrigin:Q,lazyFlip:ee=!1,externalTree:et}=e,[en,er]=i.useState(null);X||null===en||er(null);let ei=U.side||"flip",eo=U.align||"flip",el=U.fallbackAxisSide||"end",es="function"==typeof j?j:void 0,eu=(0,c.K)(es),ea=es?eu:j,ec=(0,a.u)(j),ef=(0,a.u)(X),ed="rtl"===(0,b.j)(),ep=en||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ed?"left":"right","inline-start":ed?"right":"left"})[I],eh="center"===W?ep:`${ep}-${W}`,eg=_,em=+("bottom"===I),ey=+("top"===I),ev=+("right"===I),ex=+("left"===I);"number"==typeof eg?eg={top:eg+em,right:eg+ex,bottom:eg+ey,left:eg+ev}:eg&&(eg={top:(eg.top||0)+em,right:(eg.right||0)+ex,bottom:(eg.bottom||0)+ey,left:(eg.left||0)+ev});let eb={boundary:"clipping-ancestors"===$?"clippingAncestors":$,padding:eg},ew=i.useRef(null),eR=(0,a.u)(H),eE=(0,a.u)(F),eS=[];J&&eS.push(J),eS.push((t=e=>{let t=T(e,I,ed),n="function"==typeof eR.current?eR.current(t):eR.current,r="function"==typeof eE.current?eE.current(t):eE.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},n=["function"!=typeof H?H:0,"function"!=typeof F?F:0,ed,I],{name:(M=(0,f.cY)(t)).name,fn:M.fn,options:[t,n]}));let eT="none"===eo&&"shift"!==ei,eC=!eT&&(B||Y||"shift"===ei),eO="none"===ei?null:(r={...eb,padding:{top:eg.top+1,right:eg.right+1,bottom:eg.bottom+1,left:eg.left+1},mainAxis:!Y&&"flip"===ei,crossAxis:"flip"===eo&&"alignment",fallbackAxisSideDirection:el},{name:(q=(0,f.UU)(r)).name,fn:q.fn,options:[r,void 0]}),ek=eT?null:(w=e=>{var t;let n=(0,l.R)(e.elements.floating).documentElement;return{...eb,rootBoundary:Y?{x:0,y:0,width:n.clientWidth,height:n.clientHeight}:void 0,mainAxis:"none"!==eo,crossAxis:eC,limiter:B||Y?void 0:(t=e=>{if(!ew.current)return{};let{width:t,height:n}=ew.current.getBoundingClientRect(),r=(0,o.TV)((0,o.C0)(e.placement)),i="y"===r?eg.left+eg.right:eg.top+eg.bottom;return{offset:("y"===r?t:n)/2+i/2}},{fn:(0,f.ER)(t).fn,options:[t,void 0]})}},C=[eb,B,Y,eg,eo],{name:(L=(0,f.BN)(w)).name,fn:L.fn,options:[w,C]});"shift"===ei||"shift"===eo||"center"===W?eS.push(ek,eO):eS.push(eO,ek),eS.push((k={...eb,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!ef.current)return;let i=e.style;i.setProperty("--available-width",`${t}px`),i.setProperty("--available-height",`${n}px`);let o=(0,s.zk)(e).devicePixelRatio||1,{x:l,y:u,width:a,height:c}=r.reference,f=(Math.round((l+a)*o)-Math.round(l*o))/o,d=(Math.round((u+c)*o)-Math.round(u*o))/o;i.setProperty("--anchor-width",`${f}px`),i.setProperty("--anchor-height",`${d}px`)}},{name:(D=(0,f.Ej)(k)).name,fn:D.fn,options:[k,void 0]}),(A=e=>({element:ew.current||(0,l.R)(e.elements.floating).createElement("div"),padding:z,offsetParent:"floating"}),P=[z],{name:"arrow",options:A,async fn(e){let{x:t,y:n,placement:r,rects:i,platform:l,elements:s,middlewareData:u}=e,{element:a,padding:c=0,offsetParent:f="real"}=(0,o._3)(A,e)||{};if(null==a)return{};let d=(0,o.nI)(c),p={x:t,y:n},h=(0,o.Dz)(r),g=(0,o.sq)(h),m=await l.getDimensions(a),y="y"===h,v=y?"clientHeight":"clientWidth",x=i.reference[g]+i.reference[h]-p[h]-i.floating[g],b=p[h]-i.reference[h],w="real"===f?await l.getOffsetParent?.(a):s.floating,R=s.floating[v]||i.floating[g];R&&await l.isElement?.(w)||(R=s.floating[v]||i.floating[g]);let E=R/2-m[g]/2-1,S=Math.min(d[y?"top":"left"],E),T=Math.min(d[y?"bottom":"right"],E),C=R-m[g]-T,O=R/2-m[g]/2+(x/2-b/2),k=(0,o.qE)(S,O,C),P=!u.arrow&&null!=(0,o.Sg)(r)&&O!==k&&i.reference[g]/2-(O<S?S:T)-m[g]/2<0,M=P?O<S?O-S:O-C:0;return{[h]:p[h]+M,data:{[h]:k,centerOffset:O-k-M,...P&&{alignmentOffset:M}},reset:P}},options:[A,P]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:r,rects:i,y:l}=e,s=(0,o.C0)(r),u=(0,o.TV)(s),a=ew.current,c=n.arrow?.x||0,f=n.arrow?.y||0,d=a?.clientWidth||0,p=a?.clientHeight||0,h=c+d/2,g=f+p/2,m=Math.abs(n.shift?.y||0),y=i.reference.height/2,v="function"==typeof H?H(T(e,I,ed)):H,x=m>v,b={top:`${h}px calc(100% + ${v}
1px)`,bottom:`${h}px ${-v}px`,left:`calc(100% + ${v}px) ${g}px`,right:`${-v}px ${g}px`}[s],w=`${h}px ${i.reference.y+y-l}px`;return t.floating.style.setProperty("--transform-origin",eC&&"y"===u&&x?w:b),{}}},R,Q),(0,u.g)(()=>{!X&&G&&G.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[X,G]);let eA=i.useMemo(()=>({elementResize:!K&&"u">typeof ResizeObserver,layoutShift:!K&&"u">typeof IntersectionObserver}),[K]),{refs:eP,elements:eM,x:eq,y:eL,middlewareData:eD,update:ej,placement:eV,context:eI,isPositioned:eH,floatingStyles:eW}=function(e={}){let{nodeId:t,externalTree:n}=e,r=(0,x.P)(e),o=e.rootContext||r,l=o.useState("referenceElement"),a=o.useState("floatingElement"),c=o.useState("domReferenceElement"),b=o.useState("open"),w=o.useState("floatingId"),[R,E]=i.useState(null),[S,T]=i.useState(void 0),[C,O]=i.useState(void 0),k=i.useRef(null),A=(0,v.cq)(n),P=i.useMemo(()=>({reference:l,floating:a,domReference:c}),[l,a,c]),M=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:s}={},transform:u=!0,whileElementsMounted:a,open:c}=e,[v,x]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,w]=i.useState(r);h(b,r)||w(r);let[R,E]=i.useState(null),[S,T]=i.useState(null),C=i.useCallback(e=>{e!==P.current&&(P.current=e,E(e))},[]),O=i.useCallback(e=>{e!==M.current&&(M.current=e,T(e))},[]),k=l||R,A=s||S,P=i.useRef(null),M=i.useRef(null),q=i.useRef(v),L=null!=a,D=y(a),j=y(o),V=y(c),I=i.useCallback(()=>{if(!P.current||!M.current)return;let e={placement:t,strategy:n,middleware:b};j.current&&(e.platform=j.current),(0,f.rD)(P.current,M.current,e).then(e=>{let t={...e,isPositioned:!1!==V.current};H.current&&!h(q.current,t)&&(q.current=t,d.flushSync(()=>{x(t)}))})},[b,t,n,j,V]);p(()=>{!1===c&&q.current.isPositioned&&(q.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[c]);let H=i.useRef(!1);p(()=>(H.current=!0,()=>{H.current=!1}),[]),p(()=>
1{if(k&&(P.current=k),A&&(M.current=A),k&&A){if(D.current)return D.current(k,A,I);I()}},[k,A,I,D,L]);let W=i.useMemo(()=>({reference:P,floating:M,setReference:C,setFloating:O}),[C,O]),F=i.useMemo(()=>({reference:k,floating:A}),[k,A]),$=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=m(F.floating,v.x),r=m(F.floating,v.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...g(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,F.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:I,refs:W,elements:F,floatingStyles:$}),[v,I,W,F,$])}({...e,elements:{...P,...R&&{reference:R}}}),q=(0,s.vq)(S)?S:null,L=void 0===C?o.state.floatingElement:C;o.useSyncedValue("referenceElement",S??null),o.useSyncedValue("domReferenceElement",void 0===S?c:q),o.useSyncedValue("floatingElement",L);let D=i.useCallback(e=>{let t=(0,s.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;E(t),M.refs.setReference(t)},[M.refs]),j=i.useCallback(e=>{((0,s.vq)(e)||null===e)&&(k.current=e,T(e)),((0,s.vq)(M.refs.reference.current)||null===M.refs.reference.current||null!==e&&!(0,s.vq)(e))&&M.refs.setReference(e)},[M.refs,T]),V=i.useCallback(e=>{O(e),M.refs.setFloating(e)},[M.refs]),I=i.useMemo(()=>({...M.refs,setReference:j,setFloating:V,setPositionReference:D,domReference:k}),[M.refs,j,V,D]),H=i.useMemo(()=>({...M.elements,domReference:c}),[M.elements,c]),W=i.useMemo(()=>({...M,dataRef:o.context.dataRef,open:b,onOpenChange:o.setOpen,events:o.context.events,floatingId:w,refs:I,elements:H,nodeId:t,rootStore:o}),[M,I,H,t,o,b,w]);return(0,u.g)(()=>{c&&(k.current=c)},[c]),(0,u.g)(()=>{o.context.dataRef.current.floatingContext=W;let e=A?.nodesRef.current.find(e=>e.id===t);e&&(e.context=W)}),i.useMemo(()=>({...M,context:W,refs:I,elements:H,rootStore:o}),[M,I,H,W,o])}({rootContext:G,open:N?X:void 0,placement:eh,middleware:eS,strategy:V,whileElementsMounted:N?void 0:(...e)=>(0,f.ll)(...e,eA),nodeId:Z,externalTree:et}),{sideX:eF,sideY:e$}=eD.adaptiveOrigin||E.j,e_=eH?V:"fixed",eB=i.useMemo(()=>{let e=Q?{position:e_,[eF]:eq,[e$]:eL}:{position:e_,...eW};return eH||(e.opacity=0),e},[Q,e_,eF,eq,e$,eL,eW,eH]),ez=i.useRef(null);(0,u.g)(()=>{if(!X)return;let e=ec.current,t="function"==typeof e?e():e,n=(O(t)?t.current:t)||null;n!==ez.current&&(eP.setPositionReference(n),ez.current=n)},[X,eP,ea,ec]),i.useEffect(()=>{if(!X)return;let e=ec.current;"function"!=typeof e&&O(e)&&e.current!==ez.current&&(eP.setPositionReference(e.current),ez.current=e.current)},[X,eP,ea,ec]),i.useEffect(()=>{if(N&&X&&eM.reference&&eM.floating)return(0,f.ll)(eM.reference,eM.floating,ej,eA)},[N,X,eM,ej,eA]);let eK=(0,o.C0)(eV),eJ=S(I,eK,ed),eN=(0,o.Sg)(eV)||"center",eG=!!eD.hide?.referenceHidden;(0,u.g)(()=>{ee&&X&&eH&&er(eK)},[ee,X,eH,eK]);let eX=i.useMemo(()=>({position:"absolute",top:eD.arrow?.y,left:eD.arrow?.x}),[eD.arrow]),eU=eD.arrow?.centerOffset!==0;return i.useMemo(()=>({positionerStyles:eB,arrowStyles:eX,arrowRef:ew,arrowUncentered:eU,side:eJ,align:eN,physicalSide:eK,anchorHidden:eG,refs:eP,context:eI,isPositioned:eH,update:ej}),[eB,eX,ew,eU,eJ,eN,eK,eG,eP,eI,eH,ej])}function O(e){return null!=e&&"current"in e}},9569:(e,t,n)=>{n.d(t,{k:()=>d});var r=n(12115),i=n(18813),o=n(64951),l=n(8994),s=n(51464),u=n(83323),a=n(17947),c=n(7049),f=n(76175);function d(e,t={}){let{enabled:n=!0,event:p="click",toggle:h=!0,ignoreMouse:g=!1,stickIfOpen:m=!0,touchOpenDelay:y=0,reason:v=f.Ui}=t,x="rootStore"in e?e.rootStore:e,b=x.context.dataRef,w=r.useRef(void 0),R=(0,i.N)(),E=(0,o.Z)(),S=r.useMemo(()=>{function e(e,t,n,r){let i=(0,c.d)(v,t,n);e&&"touch"===r&&y>0?E.start(y,()=>{x.setOpen(!0,i)}):x.setOpen(e,i)}function t(e,t,n){let r=b.current.openEvent,i=x.select("domReferenceElement")!==t;return!!e&&!!i||!e||!h||!!r&&!!m&&!n(r.type)}return{onPointerDown(e){w.current=e.pointerType},onMouseDown(n){let r=w.current,i=n.nativeEvent,o=x.select("open");if(0!==n.button||"click"===p||(0,a.Go)(r,!0)&&g)return;let l=t(o,n.currentTarget,e=>"click"===e||"mousedown"===e),c=(0,s.EW)(i);if((0,u.$u)(c))return void e(l,i,c,r);let f=n.currentTarget;R.request(()=>{e(l,i,f,r)})},onClick(n){if("mousedown-only"===p)return;let r=w.current;if("mousedown"===p&&r){w.current=void 0;return}(0,a.Go)(r,!0)&&g||e(t(x.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){w.current=void 0}}},[b,p,g,v,x,m,h,R,E,y]);return r.useMemo(()=>n?{reference:S}:l.t0,[n,S])}},12046:(e,t,n)=>{n.d(t,{g:()=>r});function r(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}},15495:(e,t,n)=>{n.d(t,{Fp:()=>i});var r=n(77450);let i="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none");i||r.ST.includes("firefox"),i||r.ST.includes("chrom")},17947:(e,t,n)=>{n.d(t,{Ev:()=>c,Go:()=>a,O_:()=>l,Pg:()=>u,YF:()=>s,jo:()=>o});var r=n(97827),i=n(48232);function o(e){e.preventDefault(),e.stopPropagation()}function l(e){return"nativeEvent"in e}function s(e){return""===e.pointerType&&!!e.isTrusted||(r.yA&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!i.I&&(!r.yA&&0===e.width&&0===e.height||r.yA&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function a(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function c(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}},20061:(e,t,n)=>{n.d(t,{d:()=>r});function r(){let e=new Map;
1return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}},34934:(e,t,n)=>{n.d(t,{XF:()=>E,vB:()=>w});var r=n(12115),i=n(47650),o=n(6791),l=n(14718),s=n(12046),u=n(47247),a=n(66652),c=n(23068),f=n(8994),d=n(66845),p=n(99226),h=n(7049),g=n(76175),m=n(74831),y=n(77054),v=n(69679),x=n(95155);let b=r.createContext(null),w=()=>r.useContext(b),R=(0,m.F)("portal"),E=r.forwardRef(function(e,t){let{render:n,className:m,style:E,children:S,container:T,renderGuards:C,...O}=e,{portalNode:k,portalSubtree:A}=function(e={}){let{ref:t,container:n,componentProps:l=f.t0,elementProps:s}=e,d=(0,u.B)(),p=w(),h=p?.portalNode,[g,m]=r.useState(null),[v,x]=r.useState(null),b=(0,c.K)(e=>{null!==e&&x(e)}),E=r.useRef(null);(0,a.g)(()=>{if(null===n){E.current&&(E.current=null,x(null),m(null));return}if(null==d)return;let e=(n&&((0,o.Ll)(n)?n:n.current))??h??document.body;if(null==e){E.current&&(E.current=null,x(null),m(null));return}E.current!==e&&(E.current=e,x(null),m(e))},[n,h,d]);let S=(0,y.o)("div",l,{ref:[t,b],props:[{id:d,[R]:""},s]});return{portalNode:v,portalSubtree:g&&S?i.createPortal(S,g):null}}({container:T,ref:t,componentProps:e,elementProps:O}),P=r.useRef(null),M=r.useRef(null),q=r.useRef(null),L=r.useRef(null),[D,j]=r.useState(null),V=r.useRef(!1),I=D?.modal,H=D?.open,W="boolean"==typeof C?C:!!D&&!D.modal&&D.open&&!!k;r.useEffect(()=>
1{if(k&&!I)return(0,s.g)((0,l.q)(k,"focusin",e,!0),(0,l.q)(k,"focusout",e,!0));function e(e){k&&e.relatedTarget&&(0,p.Qp)(e)&&("focusin"===e.type?V.current&&((0,p.yV)(k),V.current=!1):((0,p.N)(k),V.current=!0))}},[k,I]),(0,a.g)(()=>{k&&!0===H&&V.current&&((0,p.yV)(k),V.current=!1)},[H,k]);let F=r.useMemo(()=>({beforeOutsideRef:P,afterOutsideRef:M,beforeInsideRef:q,afterInsideRef:L,portalNode:k,setFocusManagerState:j}),[k]);return(0,x.jsxs)(r.Fragment,{children:[A,(0,x.jsxs)(b.Provider,{value:F,children:[W&&k&&(0,x.jsx)(d.U,{"data-type":"outside",ref:P,onFocus:e=>{if((0,p.Qp)(e,k))q.current?.focus();else{let e=D?D.domReference:null,t=(0,p.XJ)(e);t?.focus()}}}),W&&k&&(0,x.jsx)("span",{"aria-owns":k.id,style:v.z_}),k&&i.createPortal(S,k),W&&k&&(0,x.jsx)(d.U,{"data-type":"outside",ref:M,onFocus:e=>{if((0,p.Qp)(e,k))L.current?.focus();else{let t=D?D.domReference:null,n=(0,p.vF)(t);n?.focus(),D?.closeOnFocusOut&&D?.onOpenChange(!1,(0,h.d)(g.Xn,e.nativeEvent))}}})]})]})})},35996:(e,t,n)=>{n.d(t,{$c:()=>g,P6:()=>m,fI:()=>h,R1:()=>d,cq:()=>p});var r=n(12115),i=n(47247),o=n(66652),l=n(14187),s=n(20061);class u{nodesRef={current:[]};events=(0,s.d)();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}var a=n(95155);let c=r.createContext(null),f=r.createContext(null),d=()=>r.useContext(c)?.id||null,p=e=>{let t=r.useContext(f);return e??t};function h(e){let t=(0,i.B)(),n=p(e),r=d();return(0,o.g)(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function g(e){let{children:t,id:n}=e,i=d();return(0,a.jsx)(c.Provider,{value:r.useMemo(()=>({id:n,parentId:i}),[n,i]),children:t})}function m(e){let{children:t,externalTree:n}=e,r=(0,l.j)(()=>n??new u).current;return(0,a.jsx)(f.Provider,{value:r,children:t})}},40005:(e,t,n)=>{n.d(t,{K:()=>h});var r=n(78880),i=n(12115),o=n(2368),l=n(77640),s=n(23068),u=n(66652),a=n(8994);class c extends o.i{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){i.useDebugValue(e);let n=this;(0,u.g)(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;(0,u.g)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,u.g)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){i.useDebugValue(e);let n=this,r=void 0!==t;(0,u.g)(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,r){return i.useDebugValue(e),(0,l.P)(this,this.selectors[e],t,n,r)}useContextCallback(e,t){i.useDebugValue(e);let n=(0,s.K)(t??a.tE);this.context[e]=n}useStateSetter(e){let t=i.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}var f=n(20061),d=n(17947);let p={open:(0,r.M)(e=>e.open),transitionStatus:(0,r.M)(e=>e.transitionStatus),domReferenceElement:(0,r.M)(e=>e.domReferenceElement),referenceElement:(0,r.M)(e=>e.positionReference??e.referenceElement),floatingElement:(0,r.M)(e=>e.floatingElement),floatingId:(0,r.M)(e=>e.floatingId)};class h extends c{constructor(e){const{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...o}=e;super({...o,positionReference:o.referenceElement,domReferenceElement:o.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:(0,f.d)(),nested:n,triggerElements:i},p),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,d.Ev)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
1{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}},46468:(e,t,n)=>{n.d(t,{Q:()=>i,a:()=>o});let r={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},i={...r,position:"fixed",top:0,left:0},o={...r,position:"absolute"}},48226:(e,t,n)=>{n.d(t,{j:()=>l,n:()=>s});var r=n(6791),i=n(81456),o=n(92681);let l={sideX:"left",sideY:"top"},s={name:"adaptiveOrigin",async fn(e){let{x:t,y:n,rects:{floating:s},elements:{floating:u},platform:a,strategy:c,placement:f}=e,d=(0,r.zk)(u),p=d.getComputedStyle(u);if("0s"===p.transitionDuration||""===p.transitionDuration)return{x:t,y:n,data:l};let h=await a.getOffsetParent?.(u),g={width:0,height:0};if("fixed"===c&&d?.visualViewport)g={width:d.visualViewport.width,height:d.visualViewport.height};else if(h===d){let e=(0,i.R)(u);g={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await a.isElement?.(h)&&(g=await a.getDimensions(h));let m=(0,o.C0)(f),y=t,v=n;return"left"===m&&(y=g.width-(t+s.width)),"top"===m&&(v=g.height-(n+s.height)),{x:y,y:v,data:{sideX:"left"===m?"right":l.sideX,sideY:"top"===m?"bottom":l.sideY}}}}},48232:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(77450);let i=/jsdom|happydom/.test(r.ST)},52313:(e,t,n)=>{n.d(t,{Z:()=>r});class r{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}},57134:(e,t,n)=>{n.d(t,{P:()=>c});var r=n(6791),i=n(47247),o=n(66652),l=n(14187),s=n(52313),u=n(35996),a=n(40005);function c(e){let{open:t=!1,onOpenChange:n,elements:c={}}=e,f=(0,i.B)(),d=null!=(0,u.R1)(),p=(0,l.j)(()=>new a.K({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:c.reference??null,floatingElement:c.floating??null,triggerElements:new s.Z,floatingId:f,syncOnly:!1,nested:d})).current;return(0,o.g)(()=>{let e={open:t,floatingId:f};void 0!==c.reference&&(e.referenceElement=c.reference,e.domReferenceElement=(0,r.vq)(c.reference)?c.reference:null),void 0!==c.floating&&(e.floatingElement=c.floating),p.update(e)},[t,f,c.reference,c.floating,p]),p.context.onOpenChange=n,p.context.nested=d,p}},62424:(e,t,n)=>{n.d(t,{i:()=>l});var r=n(84052),i=n(77054),o=n(66761);function l(e,t,{styles:n,transitionStatus:s,props:u,refs:a,hidden:c,inert:f=!1}){let d={...n};return f&&(d.pointerEvents="none"),(0,i.o)("div",e,{state:t,ref:a,props:[{role:"presentation",hidden:c,style:d},(0,o.d)(s),u],stateAttributesMapping:r.GW})}},64951:(e,t,n)=>{n.d(t,{E:()=>o,Z:()=>l});var r=n(14187),i=n(92592);class o{static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}}function l(){let e=(0,r.j)(o.create).current;return(0,i.y)(e.disposeEffect),e}},66761:(e,t,n)=>{n.d(t,{d:()=>o});var r=n(8994),i=n(69679);function o(e){return"starting"===e?i.K2:r.t0}},66845:(e,t,n)=>{n.d(t,{U:()=>a});var r=n(12115),i=n(66652);let o=n(97827).Bt;var l=n(15495),s=n(46468),u=n(95155);let a=r.forwardRef(function(e,t){let[n,a]=r.useState();return(0,i.g)(()=>{o&&l.Fp&&a("button")},[]),(0,u.jsx)("span",{...e,ref:t,style:s.Q,"aria-hidden":!n||void 0,...{tabIndex:0,role:n},"data-base-ui-focus-guard":""})})},69679:(e,t,n)=>{n.d(t,{K2:()=>i,Kd:()=>o,Pe:()=>s,X3:()=>r,uD:()=>l,z_:()=>u});let r=500,i={style:{transition:"none"}},o="data-base-ui-click-trigger",l={fallbackAxisSide:"none"},s={fallbackAxisSide:"end"},u={clipPath:"inset(50%)",position:"fixed",top:0,left:0}},74831:(e,t,n)=>{n.d(t,{F:()=>r});function r(e){return`data-base-ui-${e}`}},77450:(e,t,n)=>{n.d(t,{JG:()=>s,RT:()=>o,ST:()=>l});let{userAgent:r,platform:i,maxTouchPoints:o}="u"<typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},l=r.toLowerCase(),s=i.toLowerCase()},77640:(e,t,n)=>{let r;n.d(t,{P:()=>u});var i=n(12115),o=n(8039),l=n(94577);let s=(0,n(39034)._)(19)?function(e,t,n,l,s){let u;if(!r){let r;return r=i.useCallback(()=>t(e.getSnapshot(),n,l,s),[e,t,n,l,s]),(0,o.useSyncExternalStore)(e.subscribe,r,r)}let a=r.syncIndex;return r.syncIndex+=1,r.didInitialize?(u=r.syncHooks[a]).store===e&&u.selector===t&&Object.is(u.a1,n)&&Object.is(u.a2,l)&&Object.is(u.a3,s)||(u.store!==e&&(r.didChangeStore=!0),u.store=e,u.selector=t,u.a1=n,u.a2=l,u.a3=s,u.value=t(e.getSnapshot(),n,l,s)):(u={store:e,selector:t,a1:n,a2:l,a3:s,value:t(e.getSnapshot(),n,l,s)},r.syncHooks.push(u)),u.value}:function(e,t,n,r,i){return(0,l.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))};function u(e,t,n,r,i){return s(e,t,n,r,i)}[].push({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,o.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}})},78880:(e,t,n)=>{n.d(t,{M:()=>i});var r=n(25803);let i=(e,t,n,i,o,l,...s)=>{let u;if(s.length>0)throw Error((0,r.A)(1));if(e&&t&&n&&i&&o&&l)u=(r,s,u,a)=>l(e(r,s,u,a),t(r,s,u,a),n(r,s,u,a),i(r,s,u,a),o(r,s,u,a),s,u,a);else if(e&&t&&n&&i&&o)u=(r,l,s,u)=>o(e(r,l,s,u),t(r,l,s,u),n(r,l,s,u),i(r,l,s,u),l,s,u);else if(e&&t&&n&&i)u=(r,o,l,s)=>i(e(r,o,l,s),t(r,o,l,s),n(r,o,l,s),o,l,s);else if(e&&t&&n)u=(r,i,o,l)=>n(e(r,i,o,l),t(r,i,o,l),i,o,l);else if(e&&t)u=(n,r,i,o)=>t(e(n,r,i,o),r,i,o);else if(e)u=e;else throw Error("Missing arguments");return u}}
vendor: 9,072 bytes, line 1
1,79538:(e,t,n)=>{n.d(t,{ll:()=>O,rD:()=>D,UU:()=>P,jD:()=>q,ER:()=>L,cY:()=>k,iD:()=>T,BN:()=>A,Ej:()=>M});var r=n(92681);function i(e,t,n){let i,{reference:o,floating:l}=e,s=(0,r.TV)(t),u=(0,r.Dz)(t),a=(0,r.sq)(u),c=(0,r.C0)(t),f=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,p=o[a]/2-l[a]/2;switch(c){case"top":i={x:f,y:o.y-l.height};break;case"bottom":i={x:f,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:d};break;case"left":i={x:o.x-l.width,y:d};break;default:i={x:o.x,y:o.y}}let h=(0,r.Sg)(t);return h&&(i[u]+=p*("end"===h?1:-1)*(n&&"y"===s?-1:1)),i}async function o(e,t){var n;void 0===t&&(t={});let{x:i,y:o,platform:l,rects:s,elements:u,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),g=(0,r.nI)(h),m=u[p?"floating"===d?"reference":"floating":d],y=(0,r.B1)(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(m)))||n?m:m.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:a})),v="floating"===d?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),b=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},w=(0,r.B1)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:x,strategy:a}):v);return{top:(y.top-w.top+g.top)/b.y,bottom:(w.bottom-y.bottom+g.bottom)/b.y,left:(y.left-w.left+g.left)/b.x,right:(w.right-y.right+g.right)/b.x}}let l=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:s=[],platform:u}=n,a=u.detectOverflow?u:{...u,detectOverflow:o},c=await (null==u.isRTL?void 0:u.isRTL(t)),f=await u.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:p}=i(f,r,c),h=r,g=0,m={};for(let n=0;n<s.length;n++){let o=s[n];if(!o)continue;let{name:y,fn:v}=o,{x:x,y:b,data:w,reset:R}=await v({x:d,y:p,initialPlacement:r,placement:h,strategy:l,middlewareData:m,rects:f,platform:a,elements:{reference:e,floating:t}});d=null!=x?x:d,p=null!=b?b:p,m[y]={...m[y],...w},R&&g<50&&(g++,"object"==typeof R&&(R.placement&&(h=R.placement),R.rects&&(f=!0===R.rects?await u.getElementRects({reference:e,floating:t,strategy:l}):R.rects),{x:d,y:p}=i(f,h,c)),n=-1)}return{x:d,y:p,placement:h,strategy:l,middlewareData:m}};function s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function u(e){return r.r_.some(t=>e[t]>=0)}let a=new Set(["left","top"]);async function c(e,t){let{placement:n,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,r.C0)(n),u=(0,r.Sg)(n),c="y"===(0,r.TV)(n),f=a.has(s)?-1:1,d=l&&c?-1:1,p=(0,r._3)(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return u&&"number"==typeof m&&(g="end"===u?-1*m:m),c?{x:g*d,y:h*f}:{x:h*f,y:g*d}}var f=n(6791);function d(e){let t=(0,f.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,o=(0,f.sb)(e),l=o?e.offsetWidth:n,s=o?e.offsetHeight:i,u=(0,r.LI)(n)!==l||(0,r.LI)(i)!==s;return u&&(n=l,i=s),{width:n,height:i,$:u}}function p(e){return(0,f.vq)(e)?e:e.contextElement}function h(e){let t=p(e);if(!(0,f.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:o,$:l}=d(t),s=(l?(0,r.LI)(n.width):n.width)/i,u=(l?(0,r.LI)(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let g=(0,r.Jx)(0);function m(e){let t=(0,f.zk)(e);return(0,f.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:g}function y(e,t,n,i){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=p(e),u=(0,r.Jx)(1);t&&(i?(0,f.vq)(i)&&(u=h(i)):u=h(e));let a=(void 0===(o=n)&&(o=!1),i&&o&&i===(0,f.zk)(s))?m(s):(0,r.Jx)(0),c=(l.left+a.x)/u.x,d=(l.top+a.y)/u.y,g=l.width/u.x,y=l.height/u.y;if(s&&i){let e=(0,f.zk)(s),t=(0,f.vq)(i)?(0,f.zk)(i):i,n=e,r=(0,f._m)(n);for(;r&&t!==n;){let e=h(r),t=r.getBoundingClientRect(),i=(0,f.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,d*=e.y,g*=e.x,y*=e.y,c+=o,d+=l,n=(0,f.zk)(r),r=(0,f._m)(n)}}return(0,r.B1)({width:g,height:y,x:c,y:d})}function v(e,t){let n=(0,f.CP)(e).scrollLeft;return t?t.left+n:y((0,f.ep)(e)).left+n}function x(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-v(e,n),y:n.top+t.scrollTop}}function b(e,t,n){var i;let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,f.zk)(e),o=(0,f.ep)(e),l=i.visualViewport,s=o.clientWidth,u=o.clientHeight,a=0,c=0;if(l){let e=!(0,f.Tc)()||"fixed"===t;r?e||(a=-l.offsetLeft,c=-l.offsetTop):(s=l.width,u=l.height,e&&(a=l.offsetLeft,c=l.offsetTop))}if(0>=v(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(s-=l)}return{width:s,height:u,x:a,y:c}}(e,n,t);else if("document"===t){let t,n,l,s,u,a;i=(0,f.ep)(e),t=(0,f.CP)(i),n=i.ownerDocument.body,l=(0,r.T9)(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),s=(0,r.T9)(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),u=-t.scrollLeft+v(i),a=-t.scrollTop,"rtl"===(0,f.L9)(n).direction&&(u+=(0,r.T9)(i.clientWidth,n.clientWidth)-l),o={width:l,height:s,x:u,y:a}}else if((0,f.vq)(t)){let e,r,i,l,s,u;r=(e=y(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=h(t),s=t.clientWidth*l.x,u=t.clientHeight*l.y,o={width:s,height:u,x:i*l.x,y:r*l.y}}else{let n=m(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(o)}function w(e){return"static"===(0,f.L9)(e).position}function R(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 E(e,t){let 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)&&!w(t))return t;t=(0,f.$4)(t)}return n}let r=R(e,t);for(;r&&(0,f.Lv)(r)&&w(r);)r=R(r,t);return r&&(0,f.eu)(r)&&w(r)&&!(0,f.sQ)(r)?n:r||(0,f.gJ)(e)||n}let S=async function(e){let t=this.getOffsetParent||E,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,f.sb)(t),o=(0,f.ep)(t),l="fixed"===n,s=y(e,!0,l,t),u={scrollLeft:0,scrollTop:0},a=(0,r.Jx)(0);if((i||!l)&&(("body"!==(0,f.mq)(t)||(0,f.ZU)(o))&&(u=(0,f.CP)(t)),i)){let e=y(t,!0,l,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}!i&&o&&(a.x=v(o));let c=!o||i||l?(0,r.Jx)(0):x(o,u);return{x:s.left+u.scrollLeft-a.x-c.x,y:s.top+u.scrollTop-a.y-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},T={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e,l="fixed"===o,s=(0,f.ep)(i),u=!!t&&(0,f.Tf)(t.floating);if(i===s||u&&l)return n;let a={scrollLeft:0,scrollTop:0},c=(0,r.Jx)(1),d=(0,r.Jx)(0),p=(0,f.sb)(i);if((p||!l)&&(("body"!==(0,f.mq)(i)||(0,f.ZU)(s))&&(a=(0,f.CP)(i)),p)){let e=y(i);c=h(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let g=!s||p||l?(0,r.Jx)(0):x(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-a.scrollTop*c.y+d.y+g.y}},getDocumentElement:f.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,l=[..."clippingAncestors"===n?(0,f.Tf)(t)?[]:function(e,t){let 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)),i=null,o="fixed"===(0,f.L9)(e).position,l=o?(0,f.$4)(e):e;for(;(0,f.vq)(l)&&!(0,f.eu)(l);){let e=(0,f.L9)(l),t=(0,f.sQ)(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=(0,f.$4)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=b(t,l[0],o),u=s.top,a=s.right,c=s.bottom,d=s.left;for(let e=1;e<l.length;e++){let n=b(t,l[e],o);u=(0,r.T9)(n.top,u),a=(0,r.jk)(n.right,a),c=(0,r.jk)(n.bottom,c),d=(0,r.T9)(n.left,d)}return{width:a-d,height:c-u,x:d,y:u}},getOffsetParent:E,getElementRects:S,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=d(e);return{width:t,height:n}},getScale:h,isElement:f.vq,isRTL:function(e){return"rtl"===(0,f.L9)(e).direction}};function C(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function O(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,d=p(e),h=l||s?[...d?(0,f.v9)(d):[],...t?(0,f.v9)(t):[]]:[];
1h.forEach(e=>{l&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let g=d&&a?function(e,t,n){let i,o=null,l=(0,f.ep)(e);function s(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function u(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();let c=e.getBoundingClientRect(),{left:f,top:d,width:p,height:h}=c;if(n||t(),!p||!h)return;let g={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(l.clientWidth-(f+p))+"px "+-(0,r.RI)(l.clientHeight-(d+h))+"px "+-(0,r.RI)(f)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,a))||1},m=!0;function y(t){let n=t[0].intersectionRatio;if(!C(c,e.getBoundingClientRect()))return u();if(n!==a){if(!m)return u();n?u(!1,n):i=setTimeout(()=>{u(!1,1e-7)},1e3)}m=!1}try{o=new IntersectionObserver(y,{...g,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(y,g)}o.observe(e)}let a=(0,f.zk)(e),c=()=>u(n);return a.addEventListener("resize",c),u(!0),()=>{a.removeEventListener("resize",c),s()}}(d,n,s):null,m=-1,v=null;u&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),d&&!c&&v.observe(d),t&&v.observe(t));let x=c?y(e):null;return c&&function t(){let r=y(e);x&&!C(x,r)&&n(),x=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,c&&cancelAnimationFrame(o)}}let k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:s}=t,u=await c(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},A=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:o,platform:l}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),f={x:n,y:i},d=await l.detectOverflow(t,c),p=(0,r.TV)(o),h=(0,r.PG)(p),g=f[h],m=f[p],y=(e,t)=>(0,r.qE)(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);s&&(g=y(h,g)),u&&(m=y(p,m));let v=a.fn({...t,[h]:g,[p]:m});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[h]:s,[p]:u}}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,o,l,s;let{placement:u,middlewareData:a,rects:c,initialPlacement:f,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:x=!0,...b}=(0,r._3)(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let w=(0,r.C0)(u),R=(0,r.TV)(f),E=(0,r.C0)(f)===f,S=await (null==d.isRTL?void 0:d.isRTL(p.floating)),T=m||(E||!x?[(0,r.bV)(f)]:(0,r.WJ)(f)),C="none"!==v;!m&&C&&T.push(...(0,r.lP)(f,x,v,S));let O=[f,...T],k=await d.detectOverflow(t,b),A=[],P=(null==(i=a.flip)?void 0:i.overflows)||[];if(h&&A.push(k[w]),g){let e=(0,r.w7)(u,c,S);A.push(k[e[0]],k[e[1]])}if(P=[...P,{placement:u,overflows:A}],!A.every(e=>e<=0)){let e=((null==(o=a.flip)?void 0:o.index)||0)+1,t=O[e];if(t&&("alignment"!==g||R===(0,r.TV)(t)||P.every(e=>(0,r.TV)(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(l=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(s=P.filter(e=>{if(C){let t=(0,r.TV)(e.placement);return t===R||"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:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}},M=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i,{placement:o,rects:l,platform:s,elements:u}=t,{apply:a=()=>{},...c}=(0,r._3)(e,t),f=await s.detectOverflow(t,c),d=(0,r.C0)(o),p=(0,r.Sg)(o),h="y"===(0,r.TV)(o),{width:g,height:m}=l.floating;"top"===d||"bottom"===d?(n=d,i=p===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(i=d,n="end"===p?"top":"bottom");let y=m-f.top-f.bottom,v=g-f.left-f.right,x=(0,r.jk)(m-f[n],y),b=(0,r.jk)(g-f[i],v),w=t.middlewareData.shift,R=!w,E=x,S=b;null!=w&&w.enabled.x&&(S=v),null!=w&&w.enabled.y&&(E=y),R&&!p&&(h?S=g-2*(0,r.T9)(f.left,f.right):E=m-2*(0,r.T9)(f.top,f.bottom)),await a({...t,availableWidth:S,availableHeight:E});let T=await s.getDimensions(u.floating);return g!==T.width||m!==T.height?{reset:{rects:!0}}:{}}}},q=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:o="referenceHidden",...l}=(0,r._3)(e,t);switch(o){case"referenceHidden":{let e=s(await i.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:u(e)}}}case"escaped":{let e=s(await i.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:u(e)}}}default:return{}}}}},L=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,o,l;let{x:s,y:u,placement:c,rects:f,middlewareData:d}=t,{offset:p=0,mainAxis:h=!0,crossAxis:g=!0}=(0,r._3)(e,t),m={x:s,y:u},y=(0,r.TV)(c),v=(0,r.PG)(y),x=m[v],b=m[y],w=(0,r._3)(p,t),R="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(n=w.mainAxis)?n:0,crossAxis:null!=(i=w.crossAxis)?i:0};if(h){let e="y"===v?"height":"width",t=f.reference[v]-f.floating[e]+R.mainAxis,n=f.reference[v]+f.reference[e]-R.mainAxis;x<t?x=t:x>n&&(x=n)}if(g){let e="y"===v?"width":"height",t=a.has((0,r.C0)(c)),n=f.reference[y]-f.floating[e]+(t&&(null==(o=d.offset)?void 0:o[y])||0)+(t?0:R.crossAxis),i=f.reference[y]+f.reference[e]+(t?0:(null==(l=d.offset)?void 0:l[y])||0)-(t?R.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[v]:x,[y]:b}}}},D=(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...T,...i.platform,_c:r};return l(e,t,{...i,platform:o})}}
1,83323:(e,t,n)=>{n.d(t,{$u:()=>a,F2:()=>s,H5:()=>c,Hi:()=>l,WZ:()=>f,nd:()=>d,tZ:()=>u});var r=n(6791),i=n(3940),o=n(51464);function l(e,t){if(!(0,r.vq)(e))return!1;if(t.hasElement(e))return!e.hasAttribute("data-trigger-disabled");for(let[,n]of t.entries())if((0,o.gR)(n,e))return!n.hasAttribute("data-trigger-disabled");return!1}function s(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function u(e){return e.matches("html,body")}function a(e){return(0,r.sb)(e)&&e.matches(i.BT)}function c(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${i.BT}`)!=null}function f(e){return!!e&&"combobox"===e.getAttribute("role")&&a(e)}function d(e){return e?e.hasAttribute(i.Ed)?e:e.querySelector(`[${i.Ed}]`)||e:null}},84052:(e,t,n)=>{n.d(t,{GW:()=>g,jL:()=>h,qV:()=>p});var r,i,o=n(41900);let l=((r={}).open="data-open",r.closed="data-closed",r[r.startingStyle=o.T.startingStyle]="startingStyle",r[r.endingStyle=o.T.endingStyle]="endingStyle",r.anchorHidden="data-anchor-hidden",r.side="data-side",r.align="data-align",r),s=((i={}).popupOpen="data-popup-open",i.pressed="data-pressed",i),u={[s.popupOpen]:""},a={[s.popupOpen]:"",[s.pressed]:""},c={[l.open]:""},f={[l.closed]:""},d={[l.anchorHidden]:""},p={open:e=>e?u:null},h={open:e=>e?a:null},g={open:e=>e?c:f,anchorHidden:e=>e?d:null}},87541:(e,t,n)=>{n.d(t,{s:()=>b});var r=n(12115),i=n(14718),o=n(12046),l=n(81456),s=n(23068),u=n(64951),a=n(6791),c=n(15495),f=n(35996),d=n(7049),p=n(76175),h=n(74831),g=n(83323),m=n(51464),y=n(17947),v=n(92044);function x(){return!1}function b(e,t={}){let{enabled:n=!0,escapeKey:w=!0,outsidePress:R=!0,outsidePressEvent:E="sloppy",referencePress:S=x,bubbles:T,externalTree:C}=t,O="rootStore"in e?e.rootStore:e,k=O.useState("open"),A=O.useState("floatingElement"),{dataRef:P}=O.context,M=(0,f.cq)(C),q=(0,s.K)("function"==typeof R?R:()=>!1),L="function"==typeof R?q:R,D=!1!==L,j=(0,s.K)(()=>E),{escapeKey:V,outsidePress:I}={escapeKey:"boolean"==typeof T?T:T?.escapeKey??!1,outsidePress:"boolean"==typeof T?T:T?.outsidePress??!0},H=r.useRef(!1),W=r.useRef(!1),F=r.useRef(!1),$=r.useRef(!1),_=r.useRef(""),B=r.useRef(null),z=(0,u.Z)(),K=(0,u.Z)(),J=(0,s.K)(()=>{K.clear(),P.current.insideReactTree=!1}),N=(0,s.K)(e=>{let t=P.current.floatingContext?.nodeId;return(M?(0,v.CM)(M.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),G=(0,s.K)(e=>(0,g.F2)(e,O.select("floatingElement"))||(0,g.F2)(e,O.select("domReferenceElement"))),X=(0,s.K)(e=>{S()&&O.setOpen(!1,(0,d.d)(p.Ui,e.nativeEvent))}),U=(0,s.K)(e=>{if(!k||!n||!w||"Escape"!==e.key||$.current||!V&&N("__escapeKeyBubbles"))return;let t=(0,y.O_)(e)?e.nativeEvent:e,r=(0,d.d)(p.jv,t);O.setOpen(!1,r),r.isCanceled||e.preventDefault(),V||r.isPropagationAllowed||e.stopPropagation()}),Y=(0,s.K)(()=>{P.current.insideReactTree=!0,K.start(0,J)}),Z=(0,s.K)(e=>{if(!k||!n||0!==e.button)return;let t=(0,m.EW)(e.nativeEvent);(0,m.gR)(O.select("floatingElement"),t)&&(H.current||(H.current=!0,W.current=!1))}),Q=(0,s.K)(e=>{!k||!n||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&H.current&&(W.current=!0)});r.useEffect(()=>{if(!k||!n)return;P.current.__escapeKeyBubbles=V,P.current.__outsidePressBubbles=I;let e=new u.E,t=new u.E;function r(){F.current=!0,t.start(0,()=>{F.current=!1})}function s(){H.current=!1,W.current=!1}function f(){let e=_.current,t=j(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function y(e){let t=P.current.floatingContext?.nodeId,n=M&&(0,v.CM)(M.nodesRef.current,t).some(t=>(0,g.F2)(e,t.context?.elements.floating));return G(e)||n}function x(e){let n;if("intentional"===(n=f())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||G(e)||(t.clear(),F.current=!1),J();return}if(P.current.insideReactTree)return void J();let r=(0,m.EW)(e),i=`[${(0,h.F)("inert")}]`,o=(0,a.vq)(r)?r.getRootNode():null,s=Array.from(((0,a.Ng)(o)?o:(0,l.R)(O.select("floatingElement"))).querySelectorAll(i)),u=O.context.triggerElements;if(r&&(u.hasElement(r)||u.hasMatchingElement(e=>(0,m.gR)(e,r))))return;let c=(0,a.vq)(r)?r:null;for(;
1c&&!(0,a.eu)(c);){let e=(0,a.$4)(c);if((0,a.eu)(e)||!(0,a.vq)(e))break;c=e}if(!(s.length&&(0,a.vq)(r)&&!(0,g.tZ)(r)&&!(0,m.gR)(r,O.select("floatingElement"))&&s.every(e=>!(0,m.gR)(c,e)))){if((0,a.sb)(r)&&!("touches"in e)){let t=(0,a.eu)(r),n=(0,a.L9)(r),i=/auto|scroll/,o=t||i.test(n.overflowX),l=t||i.test(n.overflowY),s=o&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,u=l&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,c="rtl"===n.direction,f=u&&(c?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=s&&e.offsetY>r.clientHeight;if(f||d)return}if(!y(e)){if("intentional"===f()&&F.current){t.clear(),F.current=!1;return}"function"==typeof L&&!L(e)||N("__outsidePressBubbles")||(O.setOpen(!1,(0,d.d)(p.Np,e)),J())}}}function b(e){if("sloppy"!==f()||!O.select("open")||!n||G(e))return;let t=e.touches[0];t&&(B.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},z.start(1e3,()=>{B.current&&(B.current.dismissOnTouchEnd=!1,B.current.dismissOnMouseDown=!1)}))}function R(e,t){let n=(0,m.EW)(e);if(!n)return;let r=(0,i.q)(n,e.type,()=>{t(e),r()})}function E(e){z.clear(),"pointerdown"===e.type&&(_.current=e.pointerType),("mousedown"!==e.type||!B.current||B.current.dismissOnMouseDown)&&R(e,e=>{if("pointerdown"===e.type)"sloppy"!==f()||"touch"===e.pointerType||!O.select("open")||!n||G(e)||x(e);else x(e)})}function S(e){if(!H.current)return;let n=W.current;if(s(),"intentional"===f()){if("pointercancel"===e.type){n&&r();return}y(e)||(n?r():("function"!=typeof L||L(e))&&(t.clear(),F.current=!0,J()))}}function T(e){if("sloppy"!==f()||!B.current||G(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-B.current.startX),r=Math.abs(t.clientY-B.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(B.current.dismissOnTouchEnd=!0),i>10&&(x(e),z.clear(),B.current=null)}function C(e){"sloppy"!==f()||!B.current||G(e)||(B.current.dismissOnTouchEnd&&x(e),z.clear(),B.current=null)}let q=(0,l.R)(A),K=(0,o.g)(w&&(0,o.g)((0,i.q)(q,"keydown",U),(0,i.q)(q,"compositionstart",function(){e.clear(),$.current=!0}),(0,i.q)(q,"compositionend",function(){e.start(5*!!c.Fp,()=>{$.current=!1})})),D&&(0,o.g)((0,i.q)(q,"click",E,!0),(0,i.q)(q,"pointerdown",E,!0),(0,i.q)(q,"pointerup",S,!0),(0,i.q)(q,"pointercancel",S,!0),(0,i.q)(q,"mousedown",E,!0),(0,i.q)(q,"mouseup",S,!0),(0,i.q)(q,"touchstart",function(e){_.current="touch",R(e,b)},!0),(0,i.q)(q,"touchmove",function(e){R(e,T)},!0),(0,i.q)(q,"touchend",function(e){R(e,C)},!0)));return()=>{K(),e.clear(),t.clear(),s(),F.current=!1}},[P,A,w,D,L,k,n,V,I,U,J,j,N,G,M,O,z]),r.useEffect(J,[L,J]);let ee=r.useMemo(()=>({onKeyDown:U,onPointerDown:X,onClick:X}),[U,X]),et=r.useMemo(()=>({onKeyDown:U,onPointerDown:Q,onMouseDown:Q,onClickCapture:Y,onMouseDownCapture(e){Y(),Z(e)},onPointerDownCapture(e){Y(),Z(e)},onMouseUpCapture:Y,onTouchEndCapture:Y,onTouchMoveCapture:Y}),[U,Y,Z,Q]);return r.useMemo(()=>n?{reference:ee,floating:et,trigger:ee}:{},[n,ee,et])}},92044:(e,t,n)=>{n.d(t,{$4:()=>r,CM:()=>function e(t,n,r=!0){return t.filter(e=>e.parentId===n).flatMap(n=>[...!r||n.context?.open?[n]:[],...e(t,n.id,r)])}});function r(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}},94577:(e,t,n)=>{e.exports=n(99617)},97827:(e,t,n)=>{n.d(t,{Bt:()=>u,s4:()=>i,yA:()=>l});var r=n(77450);let i=/^i(os$|p)/.test(r.JG)||"macintel"===r.JG&&r.RT>1,o="android",l=r.JG===o||r.ST.includes(o),s=!i&&r.JG.startsWith("mac");r.JG.startsWith("win"),l||/^(linux|chrome os)/.test(r.JG);let u=s||i},99226:(e,t,n)=>{n.d(t,{AO:()=>p,Kr:()=>g,N:()=>w,Qp:()=>b,XJ:()=>v,Yu:()=>x,nq:()=>h,vF:()=>y,yV:()=>R});var r=n(6791),i=n(81456),o=n(51464),l=n(86058);function s(e){for(let t of Array.from(e.children))if("summary"===(0,r.mq)(t))return t;return null}function u(e){let t=e?(0,r.mq)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==t||null!=e.parentElement&&"details"===(0,r.mq)(e.parentElement)&&s(e.parentElement)===e)&&("details"!==t||null==s(e))&&("input"!==t||"hidden"
1!==e.type)}function a(e){if(!u(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=function(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return(0,r.Ng)(n)?n.host:null}(t)){let n=t!==e,i="slot"===(0,r.mq)(t);if(t.hasAttribute("inert")||n&&"details"===(0,r.mq)(t)&&!t.open&&!function(e,t){let n=s(t);return!!n&&(e===n||(0,o.gR)(n,e))}(e,t)||t.hasAttribute("hidden")||!i&&!function(e,t){let n=(0,r.L9)(e);return t?"none"!==n.display:(0,l.J9)(e,n)}(t,n))return!1}return!0}function c(e){let t=e.tabIndex;if(t<0){let t=(0,r.mq)(e);if("details"===t||"audio"===t||"video"===t||(0,r.sb)(e)&&e.isContentEditable)return 0}return t}function f(e){return"input"!==(0,r.mq)(e)?null:"radio"===e.type&&""!==e.name?e:null}function d(e){if((0,r.sb)(e)&&"slot"===(0,r.mq)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,r.sb)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function p(e){return a(e)&&c(e)>=0}function h(e){let t=[];return!function e(t,n){d(t).forEach(t=>{u(t)&&n.push(t),e(t,n)})}(e,t),t.filter(a)}function g(e){let t=h(e);return t.filter(e=>c(e)>=0&&function(e,t){let n=f(e);if(!n)return!0;let r=t.find(e=>{let t=f(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=f(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function m(e,t){let n=g(e),r=n.length;if(0===r)return;let l=(0,o.RS)((0,i.R)(e)),s=n.indexOf(l);return n[-1===s?1===t?0:r-1:s+t]}function y(e){return m((0,i.R)(e).body,1)||e}function v(e){return m((0,i.R)(e).body,-1)||e}function x(e){if(!e)return null;let t=g((0,i.R)(e).body),n=t.length;if(0===n)return null;let r=t.indexOf(e);return -1===r?null:t[(r+1+n)%n]}function b(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,o.gR)(n,r)}function w(e){g(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function R(e){let t=[];!function e(t,n,i){d(t).forEach(t=>{(0,r.sb)(t)&&t.matches(n)&&i.push(t),e(t,n,i)})}(e,"[data-tabindex]",t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}},99617:(e,t,n)=>{var r=n(12115),i=n(8039),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=i.useSyncExternalStore,s=r.useRef,u=r.useEffect,a=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var p=l(e,(f=a(function(){function e(e){if(!u){if(u=!0,l=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return s=t}return s=e}if(t=s,o(l,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(l=e,t):(l=e,s=n)}var l,s,u=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}}}]);

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.