1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="88d7073d-fb50-4f09-c422-4d1feca88d1c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,101534,e=>{"use strict";var t=e.i(343084);function n(e,n,r){let i,{reference:o,floating:l}=e,a=(0,t.getSideAxis)(n),u=(0,t.getAlignmentAxis)(n),s=(0,t.getAxisLength)(u),c=(0,t.getSide)(n),f="y"===a,d=o.x+o.width/2-l.width/2,m=o.y+o.height/2-l.height/2,g=o[s]/2-l[s]/2;switch(c){case"top":i={x:d,y:o.y-l.height};break;case"bottom":i={x:d,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:m};break;case"left":i={x:o.x-l.width,y:m};break;default:i={x:o.x,y:o.y}}switch((0,t.getAlignment)(n)){case"start":i[u]-=g*(r&&f?-1:1);break;case"end":i[u]+=g*(r&&f?-1:1)}return i}let r=async(e,t,r)=>{let{placement:i="bottom",strategy:o="absolute",middleware:l=[],platform:a}=r,u=l.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=n(c,i,s),m=i,g={},h=0;for(let r=0;r<u.length;r++){let{name:l,fn:v}=u[r],{x:p,y:b,data:y,reset:w}=await v({x:f,y:d,initialPlacement:i,placement:m,strategy:o,middlewareData:g,rects:c,platform:a,elements:{reference:e,floating:t}});f=null!=p?p:f,d=null!=b?b:d,g={...g,[l]:{...g[l],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:f,y:d}=n(c,m,s)),r=-1)}return{x:f,y:d,placement:m,strategy:o,middlewareData:g}};async function i(e,n){var r;void 0===n&&(n={});let{x:i,y:o,platform:l,rects:a,elements:u,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=(0,t.evaluate)(n,e),h=(0,t.getPaddingObject)(g),v=u[m?"floating"===d?"reference":"floating":d],p=(0,t.rectToClientRect)(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(v)))||r?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===d?{x:i,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),w=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},x=(0,t.rectToClientRect)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:y,strategy:s}):b);return{top:(p.top-x.top+h.top)/w.y,bottom:(x.bottom-p.bottom+h.bottom)/w.y,left:(p.left-x.left+h.left)/w.x,right:(x.right-p.right+h.right)/w.x}}function o(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return t.sides.some(t=>e[t]>=0)}function a(e){let n=(0,t.min)(...e.map(e=>e.left)),r=(0,t.min)(...e.map(e=>e.top));return{x:n,y:r,width:(0,t.max)(...e.map(e=>e.right))-n,height:(0,t.max)(...e.map(e=>e.bottom))-r}}async function u(e,n){let{placement:r,platform:i,elements:o}=e,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),a=(0,t.getSide)(r),u=(0,t.getAlignment)(r),s="y"===(0,t.getSideAxis)(r),c=["left","top"].includes(a)?-1:1,f=l&&s?-1:1,d=(0,t.evaluate)(n,e),{mainAxis:m,crossAxis:g,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return u&&"number"==typeof h&&(g="end"===u?-1*h:h),s?{x:g*f,y:m*c}:{x:m*c,y:g*f}}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(n){let{x:r,y:i,placement:o,rects:l,platform:a,elements:u,middlewareData:s}=n,{element:c,padding:f=0}=(0,t.evaluate)(e,n)||{};if(null==c)return{};let d=(0,t.getPaddingObject)(f),m={x:r,y:i},g=(0,t.getAlignmentAxis)(o),h=(0,t.getAxisLength)(g),v=await a.getDimensions(c),p="y"===g,b=p?"clientHeight":"clientWidth",y=l.reference[h]+l.reference[g]-m[g]-l.floating[h],w=m[g]-l.reference[g],x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),E=x?x[b]:0;E&&await (null==a.isElement?void 0:a.isElement(x))||(E=u.floating[b]||l.floating[h]);let M=E/2-v[h]/2-1,S=(0,t.min)(d[p?"top":"left"],M),R=(0,t.min)(d[p?"bottom":"right"],M),D=E-v[h]-R,L=E/2-v[h]/2+(y/2-w/2),k=(0,t.clamp)(S,L,D),T=!s.arrow&&null!=(0,t.getAlignment)(o)&&L!==k&&l.reference[h]/2-(L<S?S:R)-v[h]/2<0,C=T?L<S?L-S:L-D:0;return{[g]:m[g]+C,data:{[g]:k,centerOffset:L-k-C,...T&&{alignmentOffset:C}},reset:T}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(n){var r,o,l,a;let{rects:u,middlewareData:s,placement:c,platform:f,elements:d}=n,{crossAxis:m=!1,alignment:g,allowedPlacements:h=t.placements,autoAlignment:v=!0,...p}=(0,t.evaluate)(e,n),b=void 0!==g||h===t.placements?((a=g||null)?[...h.filter(e=>(0,t.getAlignment)(e)===a),...h.filter(e=>(0,t.getAlignment)(e)!==a)]:h.filter(e=>(0,t.getSide)(e)===e)).filter(e=>!a||(0,t.getAlignment)(e)===a||!!v&&(0,t.getOppositeAlignmentPlacement)(e)!==e):h,y=await i(n,p),w=(null==(r=s.autoPlacement)?void 0:r.index)||0,x=b[w];if(null==x)return{};let E=(0,t.getAlignmentSides)(x,u,await (null==f.isRTL?void 0:f.isRTL(d.floating)));if(c!==x)return{reset:{placement:b[0]}};let M=[y[(0,t.getSide)(x)],y[E[0]],y[E[1]]],S=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:x,overflows:M}],R=b[w+1];if(R)return{data:{index:w+1,overflows:S},reset:{placement:R}};let D=S.map(e=>{let n=(0,t.getAlignment)(e.placement);return[e.placement,n&&m?e.overflows.slice(0,2).reduce((e,t)=>
2e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),L=(null==(l=D.filter(e=>e[2].slice(0,(0,t.getAlignment)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||D[0][0];return L!==c?{data:{index:w+1,overflows:S},reset:{placement:L}}:{}}}},"computePosition",0,r,"detectOverflow",0,i,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var r,o,l,a,u,s;let{placement:c,middlewareData:f,rects:d,initialPlacement:m,platform:g,elements:h}=n,{mainAxis:v=!0,crossAxis:p=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0,...E}=(0,t.evaluate)(e,n);if(null!=(r=f.arrow)&&r.alignmentOffset)return{};let M=(0,t.getSide)(c),S=(0,t.getSideAxis)(m),R=(0,t.getSide)(m)===m,D=await (null==g.isRTL?void 0:g.isRTL(h.floating)),L=b||(R||!x?[(0,t.getOppositePlacement)(m)]:(0,t.getExpandedPlacements)(m)),k="none"!==w;!b&&k&&L.push(...(0,t.getOppositeAxisPlacements)(m,x,w,D));let T=[m,...L],C=await i(n,E),A=[],O=(null==(o=f.flip)?void 0:o.overflows)||[];if(v&&A.push(C[M]),p){let e=(0,t.getAlignmentSides)(c,d,D);A.push(C[e[0]],C[e[1]])}if(O=[...O,{placement:c,overflows:A}],!A.every(e=>e<=0)){let e=((null==(l=f.flip)?void 0:l.index)||0)+1,n=T[e];if(n){let r="alignment"===p&&S!==(0,t.getSideAxis)(n),i=(null==(u=O[0])?void 0:u.overflows[0])>0;if(!r||i)return{data:{index:e,overflows:O},reset:{placement:n}}}let r=null==(a=O.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!r)switch(y){case"bestFit":{let e=null==(s=O.filter(e=>{if(k){let n=(0,t.getSideAxis)(e.placement);return n===S||"y"===n}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&&(r=e);break}case"initialPlacement":r=m}if(c!==r)return{reset:{placement:r}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(n){let{rects:r}=n,{strategy:a="referenceHidden",...u}=(0,t.evaluate)(e,n);switch(a){case"referenceHidden":{let e=o(await i(n,{...u,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=o(await i(n,{...u,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(n){let{placement:r,elements:i,rects:o,platform:l,strategy:u}=n,{padding:s=2,x:c,y:f}=(0,t.evaluate)(e,n),d=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]),m=function(e){let n=e.slice().sort((e,t)=>e.y-t.y),r=[],i=null;for(let e=0;e<n.length;e++){let t=n[e];!i||t.y-i.y>i.height/2?r.push([t]):r[r.length-1].push(t),i=t}return r.map(e=>(0,t.rectToClientRect)(a(e)))}(d),g=(0,t.rectToClientRect)(a(d)),h=(0,t.getPaddingObject)(s),v=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=c&&null!=f)return m.find(e=>c>e.left-h.left&&c<e.right+h.right&&f>e.top-h.top&&f<e.bottom+h.bottom)||g;if(m.length>=2){if("y"===(0,t.getSideAxis)(r)){let e=m[0],n=m[m.length-1],i="top"===(0,t.getSide)(r),o=e.top,l=n.bottom,a=i?e.left:n.left,u=i?e.right:n.right;return{top:o,bottom:l,left:a,right:u,width:u-a,height:l-o,x:a,y:o}}let e="left"===(0,t.getSide)(r),n=(0,t.max)(...m.map(e=>e.right)),i=(0,t.min)(...m.map(e=>e.left)),o=m.filter(t=>e?t.left===i:t.right===n),l=o[0].top,a=o[o.length-1].bottom;return{top:l,bottom:a,left:i,right:n,width:n-i,height:a-l,x:i,y:l}}return g}},floating:i.floating,strategy:u});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(n){let{x:r,y:i,placement:o,rects:l,middlewareData:a}=n,{offset:u=0,mainAxis:s=!0,crossAxis:c=!0}=(0,t.evaluate)(e,n),f={x:r,y:i},d=(0,t.getSideAxis)(o),m=(0,t.getOppositeAxis)(d),g=f[m],h=f[d],v=(0,t.evaluate)(u,n),p="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===m?"height":"width",t=l.reference[m]-l.floating[e]+p.mainAxis,n=l.reference[m]+l.reference[e]-p.mainAxis;g<t?g=t:g>n&&(g=n)}if(c){var b,y;let e="y"===m?"width":"height",n=["top","left"].includes((0,t.getSide)(o)),r=l.reference[d]-l.floating[e]+(n&&(null==(b=a.offset)?void 0:b[d])||0)+(n?0:p.crossAxis),i=l.reference[d]+l.reference[e]+(n?0:(null==(y=a.offset)?void 0:y[d])||0)-(n?p.crossAxis:0);h<r?h=r:h>i&&(h=i)}return{[m]:g,[d]:h}}}},"offset",0,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:a}=t,s=await u(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(n){let{x:r,y:o,placement:l}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,t.evaluate)(e,n),f={x:r,y:o},d=await i(n,c),m=(0,t.getSideAxis)((0,t.getSide)(l)),g=(0,t.getOppositeAxis)(m),h=f[g],v=f[m];
2if(a){let e="y"===g?"top":"left",n="y"===g?"bottom":"right",r=h+d[e],i=h-d[n];h=(0,t.clamp)(r,h,i)}if(u){let e="y"===m?"top":"left",n="y"===m?"bottom":"right",r=v+d[e],i=v-d[n];v=(0,t.clamp)(r,v,i)}let p=s.fn({...n,[g]:h,[m]:v});return{...p,data:{x:p.x-r,y:p.y-o,enabled:{[g]:a,[m]:u}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(n){var r,o;let l,a,{placement:u,rects:s,platform:c,elements:f}=n,{apply:d=()=>{},...m}=(0,t.evaluate)(e,n),g=await i(n,m),h=(0,t.getSide)(u),v=(0,t.getAlignment)(u),p="y"===(0,t.getSideAxis)(u),{width:b,height:y}=s.floating;"top"===h||"bottom"===h?(l=h,a=v===(await (null==c.isRTL?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(a=h,l="end"===v?"top":"bottom");let w=y-g.top-g.bottom,x=b-g.left-g.right,E=(0,t.min)(y-g[l],w),M=(0,t.min)(b-g[a],x),S=!n.middlewareData.shift,R=E,D=M;if(null!=(r=n.middlewareData.shift)&&r.enabled.x&&(D=x),null!=(o=n.middlewareData.shift)&&o.enabled.y&&(R=w),S&&!v){let e=(0,t.max)(g.left,0),n=(0,t.max)(g.right,0),r=(0,t.max)(g.top,0),i=(0,t.max)(g.bottom,0);p?D=b-2*(0!==e||0!==n?e+n:(0,t.max)(g.left,g.right)):R=y-2*(0!==r||0!==i?r+i:(0,t.max)(g.top,g.bottom))}await d({...n,availableWidth:D,availableHeight:R});let L=await c.getDimensions(f.floating);return b!==L.width||y!==L.height?{reset:{rects:!0}}:{}}}}])},258950,953760,e=>{"use strict";var t=e.i(343084),n=e.i(101534),r=e.i(229315);function i(e){let n=(0,r.getComputedStyle)(e),i=parseFloat(n.width)||0,o=parseFloat(n.height)||0,l=(0,r.isHTMLElement)(e),a=l?e.offsetWidth:i,u=l?e.offsetHeight:o,s=(0,t.round)(i)!==a||(0,t.round)(o)!==u;return s&&(i=a,o=u),{width:i,height:o,$:s}}function o(e){return(0,r.isElement)(e)?e:e.contextElement}function l(e){let n=o(e);if(!(0,r.isHTMLElement)(n))return(0,t.createCoords)(1);let l=n.getBoundingClientRect(),{width:a,height:u,$:s}=i(n),c=(s?(0,t.round)(l.width):l.width)/a,f=(s?(0,t.round)(l.height):l.height)/u;return c&&Number.isFinite(c)||(c=1),f&&Number.isFinite(f)||(f=1),{x:c,y:f}}let a=(0,t.createCoords)(0);function u(e){let t=(0,r.getWindow)(e);return(0,r.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:a}function s(e,n,i,a){var s;void 0===n&&(n=!1),void 0===i&&(i=!1);let c=e.getBoundingClientRect(),f=o(e),d=(0,t.createCoords)(1);n&&(a?(0,r.isElement)(a)&&(d=l(a)):d=l(e));let m=(void 0===(s=i)&&(s=!1),a&&(!s||a===(0,r.getWindow)(f))&&s)?u(f):(0,t.createCoords)(0),g=(c.left+m.x)/d.x,h=(c.top+m.y)/d.y,v=c.width/d.x,p=c.height/d.y;if(f){let e=(0,r.getWindow)(f),t=a&&(0,r.isElement)(a)?(0,r.getWindow)(a):a,n=e,i=(0,r.getFrameElement)(n);for(;i&&a&&t!==n;){let e=l(i),t=i.getBoundingClientRect(),o=(0,r.getComputedStyle)(i),a=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,u=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;g*=e.x,h*=e.y,v*=e.x,p*=e.y,g+=a,h+=u,n=(0,r.getWindow)(i),i=(0,r.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:v,height:p,x:g,y:h})}function c(e,t){let n=(0,r.getNodeScroll)(e).scrollLeft;return t?t.left+n:s((0,r.getDocumentElement)(e)).left+n}function f(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:c(e,r)),y:r.top+t.scrollTop}}function d(e,n,i){var o;let a;if("viewport"===n)a=function(e,t){let n=(0,r.getWindow)(e),i=(0,r.getDocumentElement)(e),o=n.visualViewport,l=i.clientWidth,a=i.clientHeight,u=0,s=0;if(o){l=o.width,a=o.height;let e=(0,r.isWebKit)();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:l,height:a,x:u,y:s}}(e,i);else if("document"===n){let n,i,l,u,s,f,d;o=(0,r.getDocumentElement)(e),n=(0,r.getDocumentElement)(o),i=(0,r.getNodeScroll)(o),l=o.ownerDocument.body,u=(0,t.max)(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),s=(0,t.max)(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight),f=-i.scrollLeft+c(o),d=-i.scrollTop,"rtl"===(0,r.getComputedStyle)(l).direction&&(f+=(0,t.max)(n.clientWidth,l.clientWidth)-u),a={width:u,height:s,x:f,y:d}}else if((0,r.isElement)(n)){let e,o,u,c,f,d;o=(e=s(n,!0,"fixed"===i)).top+n.clientTop,u=e.left+n.clientLeft,c=(0,r.isHTMLElement)(n)?l(n):(0,t.createCoords)(1),f=n.clientWidth*c.x,d=n.clientHeight*c.y,a={width:f,height:d,x:u*c.x,y:o*c.y}}else{let t=u(e);a={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(a)}function m(e){return"static"===(0,r.getComputedStyle)(e).position}function g(e,t){if(!(0,r.isHTMLElement)(e)||"fixed"===(0,r.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,r.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function h(e,t){let n=(0,r.getWindow)(e);if((0,r.isTopLayer)(e))return n;if(!(0,r.isHTMLElement)(e)){let t=(0,r.getParentNode)(e);for(;t&&!(0,r.isLastTraversableNode)(t);){if((0,r.isElement)(t)&&!m(t))return t;t=(0,r.getParentNode)(t)}return n}let i=g(e,t);for(;i&&(0,r.isTableElement)(i)&&m(i);)i=g(i,t);return i&&(0,r.isLastTraversableNode)(i)&&m(i)&&!(0,r.isContainingBlock)(i)?n:i||(0,r.getContainingBlock)(e)||n}let v=async function(e){let n=this.getOffsetParent||h,i=this.getDimensions,o=await i(e.floating);return{reference:function(e,n,i){let o=(0,r.isHTMLElement)(n),l=(0,r.getDocumentElement)(n),a="fixed"===i,u=s(e,!0,a,n),d={scrollLeft:0,scrollTop:0},m=(0,t.createCoords)(0);if(o||!o&&!a)if(("body"!==(0,r.getNodeName)(n)||(0,r.isOverflowElement)(l))&&(d=(0,r.getNodeScroll)(n)),o){let e=s(n,!0,a,n);m.x=e.x+n.clientLeft,m.y=e.y+n.clientTop}else l&&(m.x=c(l));a&&!o&&l&&(m.x=c(l));let g=!l||o||a?(0,t.createCoords)(0):f(l,d);return{x:u.left+d.scrollLeft-m.x-g.x,y:u.top+d.scrollTop-m.y-g.y,width:u.width,height:u.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},p={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:i,offsetParent:o,strategy:a}=e,u="fixed"===a,c=(0,r.getDocumentElement)(o),d=!!n&&(0,r.isTopLayer)(n.floating);if(o===c||d&&u)return i;let m={scrollLeft:0,scrollTop:0},g=(0,t.createCoords)(1),h=(0,t.createCoords)(0),v=(0,r.isHTMLElement)(o);if((v||!v&&!u)&&(("body"!==(0,r.getNodeName)(o)||(0,r.isOverflowElement)(c))&&(m=(0,r.getNodeScroll)(o)),(0,r.isHTMLElement)(o))){let e=s(o);g=l(o),h.x=e.x+o.clientLeft,h.y=e.y+o.clientTop}let p=!c||v||u?(0,t.createCoords)(0):f(c,m,!0);return{width:i.width*g.x,height:i.height*g.y,x:i.x*g.x-m.scrollLeft*g.x+h.x+p.x,y:i.y*g.y-m.scrollTop*g.y+h.y+p.y}},getDocumentElement:r.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:i,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===i?(0,r.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,r.getOverflowAncestors)(e,[],!1).filter(e=>(0,r.isElement)(e)&&"body"!==(0,r.getNodeName)(e)),o=null,l="fixed"===(0,r.getComputedStyle)(e).position,a=l?(0,r.getParentNode)(e):e;for(;(0,r.isElement)(a)&&!(0,r.isLastTraversableNode)(a);){let t=(0,r.getComputedStyle)(a),n=(0,r.isContainingBlock)(a);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,r.isOverflowElement)(a)&&!n&&function e(t,n){let i=(0,r.getParentNode)(t);return!(i===n||!(0,r.isElement)(i)||(0,r.isLastTraversableNode)(i))&&("fixed"===(0,r.getComputedStyle)(i).position||e(i,n))}(e,a))?i=i.filter(e=>e!==a):o=t,a=(0,r.getParentNode)(a)}return t.set(e,i),i}(n,this._c):[].concat(i),o],u=a[0],s=a.reduce((e,r)=>{let i=d(n,r,l);return e.top=(0,t.max)(i.top,e.top),e.right=(0,t.min)(i.right,e.right),e.bottom=(0,t.min)(i.bottom,e.bottom),e.left=(0,t.max)(i.left,e.left),e},d(n,u,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:h,getElementRects:v,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=i(e);return{width:t,height:n}},getScale:l,isElement:r.isElement,isRTL:function(e){return"rtl"===(0,r.getComputedStyle)(e).direction}};function b(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let y=n.detectOverflow,w=n.offset,x=n.autoPlacement,E=n.shift,M=n.flip,S=n.size,R=n.hide,D=n.arrow,L=n.inline,k=n.limitShift,T=(e,t,r)=>{let i=new Map,o={platform:p,...r},l={...o.platform,_c:i};
2return(0,n.computePosition)(e,t,{...o,platform:l})};e.s(["arrow",0,D,"autoPlacement",0,x,"autoUpdate",0,function(e,n,i,l){let a;void 0===l&&(l={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:m=!1}=l,g=o(e),h=u||c?[...g?(0,r.getOverflowAncestors)(g):[],...(0,r.getOverflowAncestors)(n)]:[];h.forEach(e=>{u&&e.addEventListener("scroll",i,{passive:!0}),c&&e.addEventListener("resize",i)});let v=g&&d?function(e,n){let i,o=null,l=(0,r.getDocumentElement)(e);function a(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}return!function r(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),a();let c=e.getBoundingClientRect(),{left:f,top:d,width:m,height:g}=c;if(u||n(),!m||!g)return;let h={rootMargin:-(0,t.floor)(d)+"px "+-(0,t.floor)(l.clientWidth-(f+m))+"px "+-(0,t.floor)(l.clientHeight-(d+g))+"px "+-(0,t.floor)(f)+"px",threshold:(0,t.max)(0,(0,t.min)(1,s))||1},v=!0;function p(t){let n=t[0].intersectionRatio;if(n!==s){if(!v)return r();n?r(!1,n):i=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==n||b(c,e.getBoundingClientRect())||r(),v=!1}try{o=new IntersectionObserver(p,{...h,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(p,h)}o.observe(e)}(!0),a}(g,i):null,p=-1,y=null;f&&(y=new ResizeObserver(e=>{let[t]=e;t&&t.target===g&&y&&(y.unobserve(n),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(n)})),i()}),g&&!m&&y.observe(g),y.observe(n));let w=m?s(e):null;return m&&function t(){let n=s(e);w&&!b(w,n)&&i(),w=n,a=requestAnimationFrame(t)}(),i(),()=>{var e;h.forEach(e=>{u&&e.removeEventListener("scroll",i),c&&e.removeEventListener("resize",i)}),null==v||v(),null==(e=y)||e.disconnect(),y=null,m&&cancelAnimationFrame(a)}},"computePosition",0,T,"detectOverflow",0,y,"flip",0,M,"hide",0,R,"inline",0,L,"limitShift",0,k,"offset",0,w,"shift",0,E,"size",0,S],953760);var C=e.i(271645),A=e.i(174080),O="u">typeof document?C.useLayoutEffect:C.useEffect;function P(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(!P(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)&&!P(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function N(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function F(e,t){let n=N(e);return Math.round(t*n)/n}function I(e){let t=C.useRef(e);return O(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>({...{name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?D({element:n.current,padding:r}).fn(t):{}:n?D({element:n,padding:r}).fn(t):{}}},options:[e,t]}),"flip",0,(e,t)=>({...M(e),options:[e,t]}),"offset",0,(e,t)=>({...w(e),options:[e,t]}),"shift",0,(e,t)=>({...E(e),options:[e,t]}),"size",0,(e,t)=>({...S(e),options:[e,t]}),"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:u,open:s}=e,[c,f]=C.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,m]=C.useState(r);P(d,r)||m(r);let[g,h]=C.useState(null),[v,p]=C.useState(null),b=C.useCallback(e=>{e!==E.current&&(E.current=e,h(e))},[]),y=C.useCallback(e=>{e!==M.current&&(M.current=e,p(e))},[]),w=o||g,x=l||v,E=C.useRef(null),M=C.useRef(null),S=C.useRef(c),R=null!=u,D=I(u),L=I(i),k=I(s),W=C.useCallback(()=>{if(!E.current||!M.current)return;let e={placement:t,strategy:n,middleware:d};L.current&&(e.platform=L.current),T(E.current,M.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};H.current&&!P(S.current,t)&&(S.current=t,A.flushSync(()=>{f(t)}))})},[d,t,n,L,k]);O(()=>{!1===s&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[s]);let H=C.useRef(!1);O(()=>(H.current=!0,()=>{H.current=!1}),[]),O(()=>{if(w&&(E.current=w),x&&(M.current=x),w&&x){if(D.current)return D.current(w,x,W);W()}},[w,x,W,D,R]);let Y=C.useMemo(()=>({reference:E,floating:M,setReference:b,setFloating:y}),[b,y]),j=C.useMemo(()=>({reference:w,floating:x}),[w,x]),q=C.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=F(j.floating,c.x),r=F(j.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...N(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,j.floating,c.x,c.y]);return C.useMemo(()=>({...c,update:W,refs:Y,elements:j,floatingStyles:q}),[c,W,Y,j,q])}],258950)},543489,e=>{"use strict";
2var t=e.i(271645),n=e.i(167173),r=e.i(843476),i=e.i(229315),o=e.i(397126),l=e.i(174080),a=e.i(258950);e.i(953760),e.i(343084);let u="active",s="selected",c="ArrowLeft",f="ArrowRight",d="ArrowUp",m="ArrowDown",g={...t},h=!1,v=0,p=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+v++,b=g.useId||function(){let[e,r]=t.useState(()=>h?p():void 0);return(0,n.useModernLayoutEffect)(()=>{null==e&&r(p())},[]),t.useEffect(()=>{h=!0},[]),e},y=t.forwardRef(function(e,o){let{context:{placement:l,elements:{floating:a},middlewareData:{arrow:u,shift:s}},width:c=14,height:f=7,tipRadius:d=0,strokeWidth:m=0,staticOffset:g,stroke:h,d:v,style:{transform:p,...y}={},...w}=e,x=b(),[E,M]=t.useState(!1);if((0,n.useModernLayoutEffect)(()=>{a&&"rtl"===(0,i.getComputedStyle)(a).direction&&M(!0)},[a]),!a)return null;let[S,R]=l.split("-"),D="top"===S||"bottom"===S,L=g;(D&&null!=s&&s.x||!D&&null!=s&&s.y)&&(L=null);let k=2*m,T=k/2,C=c/2*(-(d/8)+1),A=f/2*d/4,O=!!v,P=L&&"end"===R?"bottom":"top",N=L&&"end"===R?"right":"left";L&&E&&(N="end"===R?"left":"right");let F=(null==u?void 0:u.x)!=null?L||u.x:"",I=(null==u?void 0:u.y)!=null?L||u.y:"",W=v||"M0,0 H"+c+(" L"+(c-C))+","+(f-A)+(" Q"+c/2+","+f+" "+C)+","+(f-A)+" Z",H={top:O?"rotate(180deg)":"",left:O?"rotate(90deg)":"rotate(-90deg)",bottom:O?"":"rotate(180deg)",right:O?"rotate(-90deg)":"rotate(90deg)"}[S];return(0,r.jsxs)("svg",{...w,"aria-hidden":!0,ref:o,width:O?c:c+k,height:c,viewBox:"0 0 "+c+" "+(f>c?f:c),style:{position:"absolute",pointerEvents:"none",[N]:F,[P]:I,[S]:D||O?"100%":"calc(100% - "+k/2+"px)",transform:[H,p].filter(e=>!!e).join(" "),...y},children:[k>0&&(0,r.jsx)("path",{clipPath:"url(#"+x+")",fill:"none",stroke:h,strokeWidth:k+ +!v,d:W}),(0,r.jsx)("path",{stroke:k&&!v?w.fill:"none",d:W}),(0,r.jsx)("clipPath",{id:x,children:(0,r.jsx)("rect",{x:-T,y:T*(O?-1:1),width:c+k,height:c})})]})}),w=t.createContext(null),x=t.createContext(null),E=()=>{var e;return(null==(e=t.useContext(w))?void 0:e.id)||null};function M(e){return"data-floating-ui-"+e}function S(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}let R=0;function D(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(R);let o=()=>null==e?void 0:e.focus({preventScroll:n});i?o():R=requestAnimationFrame(o)}let L=new WeakMap,k=new WeakSet,T={},C=0,A=e=>e&&(e.host||A(e.parentNode));function O(e,t,n){var r,o,l;let a,u,s,c,f,d,m;void 0===t&&(t=!1),void 0===n&&(n=!1);let g=((null==(r=e[0])?void 0:r.ownerDocument)||document).body;return o=e.concat(Array.from(g.querySelectorAll("[aria-live]"))),l=t,a="data-floating-ui-inert",u=n?"inert":l?"aria-hidden":null,s=o.map(e=>{if(g.contains(e))return e;let t=A(e);return g.contains(t)?t:null}).filter(e=>null!=e),c=new Set,f=new Set(s),d=[],T[a]||(T[a]=new WeakMap),m=T[a],s.forEach(function e(t){!(!t||c.has(t))&&(c.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||f.has(t)||[].forEach.call(t.children,t=>{if("script"!==(0,i.getNodeName)(t))if(c.has(t))e(t);else{let e=u?t.getAttribute(u):null,n=null!==e&&"false"!==e,r=L.get(t)||0,i=u?r+1:r,o=(m.get(t)||0)+1;L.set(t,i),m.set(t,o),d.push(t),1===i&&n&&k.add(t),1===o&&t.setAttribute(a,""),!n&&u&&t.setAttribute(u,"inert"===u?"":"true")}})}(g),c.clear(),C++,()=>{d.forEach(e=>{let t=L.get(e)||0,n=u?t-1:t,r=(m.get(e)||0)-1;L.set(e,n),m.set(e,r),n||(!k.has(e)&&u&&e.removeAttribute(u),k.delete(e)),r||e.removeAttribute(a)}),--C||(L=new WeakMap,L=new WeakMap,k=new WeakSet,T={})}}let P={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},N=t.forwardRef(function(e,i){let[o,l]=t.useState();(0,n.useModernLayoutEffect)(()=>{(0,n.isSafari)()&&l("button")},[]);let a={ref:i,tabIndex:0,role:o,"aria-hidden":!o||void 0,[M("focus-guard")]:"",style:P};return(0,r.jsx)("span",{...e,...a})}),F=t.createContext(null),I=M("portal");function W(e){return t.useMemo(()=>t=>{e.forEach(e=>{e&&(e.current=t)})},e)}let H=[];function Y(){return H.slice().reverse().find(e=>e.isConnected)}function j(e,t){var r;if(!t.current.includes("floating")&&!(null!=(r=e.getAttribute("role"))&&r.includes("dialog")))return;let i=(0,n.getTabbableOptions)(),l=(0,o.focusable)(e,i).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return(0,o.isTabbable)(e,i)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),a=e.getAttribute("tabindex");t.current.includes("floating")||0===l.length?"0"!==a&&e.setAttribute("tabindex","0"):("-1"!==a||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}let q=t.forwardRef(function(e,t){return(0,r.jsx)("button",{...e,type:"button",ref:t,tabIndex:-1,style:P})}),B=0,z=()=>{},V=t.forwardRef(function(e,t){let{lockScroll:i=!1,...o}=e;return(0,n.useModernLayoutEffect)(()=>
2{if(i)return 1==++B&&(z=function(){let e=/iP(hone|ad|od)|iOS/.test((0,n.getPlatform)()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",i=window.innerWidth-document.documentElement.clientWidth,o=t.left?parseFloat(t.left):window.scrollX,l=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",i&&(t[r]=i+"px"),e){var a,u;let e=(null==(a=window.visualViewport)?void 0:a.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(l-Math.floor((null==(u=window.visualViewport)?void 0:u.offsetTop)||0))+"px",left:-(o-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(o,l))}}()),()=>{0==--B&&z()}},[i]),(0,r.jsx)("div",{ref:t,...o,style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}})}),K={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},G={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},X=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function Q(e,t,n){let r=new Map,i="item"===n,o=e;if(i&&e){let{[u]:t,[s]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(i&&[u,s].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var l;null==(l=r.get(n))||l.push(o),e[n]=function(){for(var e,t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function U(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function _(e,t){return U(t,e===d||e===m,e===c||e===f)}function $(e,t,n){return U(t,e===m,n?e===c:e===f)||"Enter"===e||" "===e||""===e}function J(e,t,n){return U(t,n?e===c:e===f,e===m)}function Z(e,t,n,r){return"both"===t||"horizontal"===t&&r&&r>1?"Escape"===e:U(t,n?e===f:e===c,e===d)}let ee=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);e.s(["FloatingArrow",0,y,"FloatingFocusManager",0,function(e){let{context:l,children:a,disabled:u=!1,order:s=["content"],guards:c=!0,initialFocus:f=0,returnFocus:d=!0,restoreFocus:m=!1,modal:g=!0,visuallyHiddenDismiss:h=!1,closeOnFocusOut:v=!0,outsideElementsInert:p=!1,getInsideElements:b=()=>[]}=e,{open:y,onOpenChange:w,events:E,dataRef:S,elements:{domReference:R,floating:L}}=l,k=(0,n.useEffectEvent)(()=>{var e;return null==(e=S.current.floatingContext)?void 0:e.nodeId}),T=(0,n.useEffectEvent)(b),C="number"==typeof f&&f<0,A=(0,n.isTypeableCombobox)(R)&&C,I="u">typeof HTMLElement&&"inert"in HTMLElement.prototype,B=!I||c,z=!B||I&&p,V=(0,n.useLatestRef)(s),K=(0,n.useLatestRef)(f),G=(0,n.useLatestRef)(d),X=t.useContext(x),Q=t.useContext(F),U=t.useRef(null),_=t.useRef(null),$=t.useRef(!1),J=t.useRef(!1),Z=t.useRef(-1),ee=null!=Q,et=(0,n.getFloatingFocusElement)(L),en=(0,n.useEffectEvent)(function(e){return void 0===e&&(e=et),e?(0,o.tabbable)(e,(0,n.getTabbableOptions)()):[]}),er=(0,n.useEffectEvent)(e=>{let t=en(e);return V.current.map(e=>R&&"reference"===e?R:et&&"floating"===e?et:t).filter(Boolean).flat()});t.useEffect(()=>{if(u||!g)return;function e(e){if("Tab"===e.key){(0,n.contains)(et,(0,n.activeElement)((0,n.getDocument)(et)))&&0===en().length&&!A&&(0,n.stopEvent)(e);let t=er(),r=(0,n.getTarget)(e);"reference"===V.current[0]&&r===R&&((0,n.stopEvent)(e),e.shiftKey?D(t[t.length-1]):D(t[1])),"floating"===V.current[1]&&r===et&&e.shiftKey&&((0,n.stopEvent)(e),D(t[0]))}}let t=(0,n.getDocument)(et);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[u,R,et,g,V,A,en,er]),t.useEffect(()=>{if(!u&&L)return L.addEventListener("focusin",e),()=>{L.removeEventListener("focusin",e)};function e(e){let t=(0,n.getTarget)(e),r=en().indexOf(t);-1!==r&&(Z.current=r)}},[u,L,en]),t.useEffect(()=>{if(!u&&v&&L&&(0,i.isHTMLElement)(R))return R.addEventListener("focusout",t),R.addEventListener("pointerdown",e),L.addEventListener("focusout",t),()=>{R.removeEventListener("focusout",t),R.removeEventListener("pointerdown",e),L.removeEventListener("focusout",t)};function e(){J.current=!0,setTimeout(()=>{J.current=!1})}function t(e){let t=e.relatedTarget,r=e.currentTarget;queueMicrotask(()=>{let o=k(),l=!((0,n.contains)(R,t)||(0,n.contains)(L,t)||(0,n.contains)(t,L)||(0,n.contains)(null==Q?void 0:Q.portalNode,t)||null!=t&&t.hasAttribute(M("focus-guard"))||X&&
2((0,n.getNodeChildren)(X.nodesRef.current,o).find(e=>{var r,i;return(0,n.contains)(null==(r=e.context)?void 0:r.elements.floating,t)||(0,n.contains)(null==(i=e.context)?void 0:i.elements.domReference,t)})||(0,n.getNodeAncestors)(X.nodesRef.current,o).find(e=>{var r,i,o;return[null==(r=e.context)?void 0:r.elements.floating,(0,n.getFloatingFocusElement)(null==(i=e.context)?void 0:i.elements.floating)].includes(t)||(null==(o=e.context)?void 0:o.elements.domReference)===t})));if(r===R&&et&&j(et,V),m&&l&&(0,n.activeElement)((0,n.getDocument)(et))===(0,n.getDocument)(et).body){(0,i.isHTMLElement)(et)&&et.focus();let e=Z.current,t=en(),n=t[e]||t[t.length-1]||et;(0,i.isHTMLElement)(n)&&n.focus()}(A||!g)&&t&&l&&!J.current&&t!==Y()&&($.current=!0,w(!1,e,"focus-out"))})}},[u,R,L,et,g,X,Q,w,v,m,en,A,k,V]);let ei=t.useRef(null),eo=t.useRef(null),el=W([ei,null==Q?void 0:Q.beforeInsideRef]),ea=W([eo,null==Q?void 0:Q.afterInsideRef]);function eu(e){return!u&&h&&g?(0,r.jsx)(q,{ref:"start"===e?U:_,onClick:e=>w(!1,e.nativeEvent),children:"string"==typeof h?h:"Dismiss"}):null}t.useEffect(()=>{var e,t;if(u||!L)return;let r=Array.from((null==Q||null==(e=Q.portalNode)?void 0:e.querySelectorAll("["+M("portal")+"]"))||[]),i=X?(0,n.getNodeAncestors)(X.nodesRef.current,k()):[],o=X&&!g?i.map(e=>{var t;return null==(t=e.context)?void 0:t.elements.floating}):[],l=[L,null==(t=i.find(e=>{var t;return(0,n.isTypeableCombobox)((null==(t=e.context)?void 0:t.elements.domReference)||null)}))||null==(t=t.context)?void 0:t.elements.domReference,...r,...o,...T(),U.current,_.current,ei.current,eo.current,null==Q?void 0:Q.beforeOutsideRef.current,null==Q?void 0:Q.afterOutsideRef.current,V.current.includes("reference")||A?R:null].filter(e=>null!=e),a=g||A?O(l,!z,z):O(l);return()=>{a()}},[u,R,L,g,V,Q,A,B,z,X,k,T]),(0,n.useModernLayoutEffect)(()=>{if(u||!(0,i.isHTMLElement)(et))return;let e=(0,n.getDocument)(et),t=(0,n.activeElement)(e);queueMicrotask(()=>{let e=er(et),r=K.current,i=("number"==typeof r?e[r]:r.current)||et,o=(0,n.contains)(et,t);C||o||!y||D(i,{preventScroll:i===et})})},[u,y,et,C,er,K]),(0,n.useModernLayoutEffect)(()=>{var e;if(u||!et)return;let t=!1,r=(0,n.getDocument)(et);function l(e){let{reason:r,event:i,nested:o}=e;if(["hover","safe-polygon"].includes(r)&&"mouseleave"===i.type&&($.current=!0),"outside-press"===r)if(o)$.current=!1,t=!0;else if((0,n.isVirtualClick)(i)||(0,n.isVirtualPointerEvent)(i))$.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?($.current=!1,t=!0):$.current=!0}}e=(0,n.activeElement)(r),H=H.filter(e=>e.isConnected),e&&"body"!==(0,i.getNodeName)(e)&&(H.push(e),H.length>20&&(H=H.slice(-20))),E.on("openchange",l);let a=r.createElement("span");return a.setAttribute("tabindex","-1"),a.setAttribute("aria-hidden","true"),Object.assign(a.style,P),ee&&R&&R.insertAdjacentElement("afterend",a),()=>{E.off("openchange",l);let e=(0,n.activeElement)(r),u=(0,n.contains)(L,e)||X&&(0,n.getNodeChildren)(X.nodesRef.current,k()).some(t=>{var r;return(0,n.contains)(null==(r=t.context)?void 0:r.elements.floating,e)}),s=function(){if("boolean"==typeof G.current){let e=R||Y();return e&&e.isConnected?e:a}return G.current.current||a}();queueMicrotask(()=>{let l,c=(l=(0,n.getTabbableOptions)(),(0,o.isTabbable)(s,l)?s:(0,o.tabbable)(s,l)[0]||s);G.current&&!$.current&&(0,i.isHTMLElement)(c)&&(c===e||e===r.body||u)&&c.focus({preventScroll:t}),a.remove()})}},[u,L,et,G,S,E,X,ee,R,k]),t.useEffect(()=>{queueMicrotask(()=>{$.current=!1})},[u]),(0,n.useModernLayoutEffect)(()=>{if(!u&&Q)return Q.setFocusManagerState({modal:g,closeOnFocusOut:v,open:y,onOpenChange:w,domReference:R}),()=>{Q.setFocusManagerState(null)}},[u,Q,g,y,w,v,R]),(0,n.useModernLayoutEffect)(()=>{u||et&&j(et,V)},[u,et,V]);let es=!u&&B&&(!g||!A)&&(ee||g);return(0,r.jsxs)(r.Fragment,{children:[es&&(0,r.jsx)(N,{"data-type":"inside",ref:el,onFocus:e=>{if(g){let e=er();D("reference"===s[0]?e[0]:e[e.length-1])}else if(null!=Q&&Q.preserveTabOrder&&Q.portalNode)if($.current=!1,(0,n.isOutsideEvent)(e,Q.portalNode)){let e=(0,n.getNextTabbable)(R);null==e||e.focus()}else{var t;
vendor: 15,394 bytes, line 2
2null==(t=Q.beforeOutsideRef.current)||t.focus()}}}),!A&&eu("start"),a,eu("end"),es&&(0,r.jsx)(N,{"data-type":"inside",ref:ea,onFocus:e=>{if(g)D(er()[0]);else if(null!=Q&&Q.preserveTabOrder&&Q.portalNode)if(v&&($.current=!0),(0,n.isOutsideEvent)(e,Q.portalNode)){let e=(0,n.getPreviousTabbable)(R);null==e||e.focus()}else{var t;null==(t=Q.afterOutsideRef.current)||t.focus()}}})]})},"FloatingOverlay",0,V,"FloatingPortal",0,function(e){let{children:o,id:a,root:u,preserveTabOrder:s=!0}=e,c=function(e){void 0===e&&(e={});let{id:r,root:o}=e,l=b(),a=t.useContext(F),[u,s]=t.useState(null),c=t.useRef(null);return(0,n.useModernLayoutEffect)(()=>()=>{null==u||u.remove(),queueMicrotask(()=>{c.current=null})},[u]),(0,n.useModernLayoutEffect)(()=>{if(!l||c.current)return;let e=r?document.getElementById(r):null;if(!e)return;let t=document.createElement("div");t.id=l,t.setAttribute(I,""),e.appendChild(t),c.current=t,s(t)},[r,l]),(0,n.useModernLayoutEffect)(()=>{if(null===o||!l||c.current)return;let e=o||(null==a?void 0:a.portalNode);e&&!(0,i.isElement)(e)&&(e=e.current),e=e||document.body;let t=null;r&&((t=document.createElement("div")).id=r,e.appendChild(t));let n=document.createElement("div");n.id=l,n.setAttribute(I,""),(e=t||e).appendChild(n),c.current=n,s(n)},[r,o,l,a]),u}({id:a,root:u}),[f,d]=t.useState(null),m=t.useRef(null),g=t.useRef(null),h=t.useRef(null),v=t.useRef(null),p=null==f?void 0:f.modal,y=null==f?void 0:f.open,w=!!f&&!f.modal&&f.open&&s&&!!(u||c);return t.useEffect(()=>{if(c&&s&&!p)return c.addEventListener("focusin",e,!0),c.addEventListener("focusout",e,!0),()=>{c.removeEventListener("focusin",e,!0),c.removeEventListener("focusout",e,!0)};function e(e){c&&(0,n.isOutsideEvent)(e)&&("focusin"===e.type?n.enableFocusInside:n.disableFocusInside)(c)}},[c,s,p]),t.useEffect(()=>{!c||y||(0,n.enableFocusInside)(c)},[y,c]),(0,r.jsxs)(F.Provider,{value:t.useMemo(()=>({preserveTabOrder:s,beforeOutsideRef:m,afterOutsideRef:g,beforeInsideRef:h,afterInsideRef:v,portalNode:c,setFocusManagerState:d}),[s,c]),children:[w&&c&&(0,r.jsx)(N,{"data-type":"outside",ref:m,onFocus:e=>{if((0,n.isOutsideEvent)(e,c)){var t;null==(t=h.current)||t.focus()}else{let e=f?f.domReference:null,t=(0,n.getPreviousTabbable)(e);null==t||t.focus()}}}),w&&c&&(0,r.jsx)("span",{"aria-owns":c.id,style:P}),c&&l.createPortal(o,c),w&&c&&(0,r.jsx)(N,{"data-type":"outside",ref:g,onFocus:e=>{if((0,n.isOutsideEvent)(e,c)){var t;null==(t=v.current)||t.focus()}else{let t=f?f.domReference:null,r=(0,n.getNextTabbable)(t);null==r||r.focus(),(null==f?void 0:f.closeOnFocusOut)&&(null==f||f.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})},"useDismiss",0,function(e,r){void 0===r&&(r={});let{open:o,onOpenChange:l,elements:a,dataRef:u}=e,{enabled:s=!0,escapeKey:c=!0,outsidePress:f=!0,outsidePressEvent:d="pointerdown",referencePress:m=!1,referencePressEvent:g="pointerdown",ancestorScroll:h=!1,bubbles:v,capture:p}=r,b=t.useContext(x),y=(0,n.useEffectEvent)("function"==typeof f?f:()=>!1),w="function"==typeof f?y:f,E=t.useRef(!1),S=t.useRef(!1),{escapeKey:R,outsidePress:D}=X(v),{escapeKey:L,outsidePress:k}=X(p),T=t.useRef(!1),C=(0,n.useEffectEvent)(e=>{var t;if(!o||!s||!c||"Escape"!==e.key||T.current)return;let r=null==(t=u.current.floatingContext)?void 0:t.nodeId,i=b?(0,n.getNodeChildren)(b.nodesRef.current,r):[];if(!R&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}l(!1,(0,n.isReactEvent)(e)?e.nativeEvent:e,"escape-key")}),A=(0,n.useEffectEvent)(e=>{var t;let r=()=>{var t;C(e),null==(t=(0,n.getTarget)(e))||t.removeEventListener("keydown",r)};null==(t=(0,n.getTarget)(e))||t.addEventListener("keydown",r)}),O=(0,n.useEffectEvent)(e=>{var t;let r=E.current;E.current=!1;let o=S.current;if(S.current=!1,"click"===d&&o||r||"function"==typeof w&&!w(e))return;let s=(0,n.getTarget)(e),c="["+M("inert")+"]",f=(0,n.getDocument)(a.floating).querySelectorAll(c),m=(0,i.isElement)(s)?s:null;for(;m&&!(0,i.isLastTraversableNode)(m);){let e=(0,i.getParentNode)(m);if((0,i.isLastTraversableNode)(e)||!(0,i.isElement)(e))break;m=e}if(f.length&&(0,i.isElement)(s)&&!(0,n.isRootElement)(s)&&!(0,n.contains)(s,a.floating)&&Array.from(f).every(e=>!(0,n.contains)(m,e)))return;if((0,i.isHTMLElement)(s)&&F){let t=(0,i.isLastTraversableNode)(s),n=(0,i.getComputedStyle)(s),r=/auto|scroll/,o=t||r.test(n.overflowX),l=t||r.test(n.overflowY),a=o&&s.clientWidth>0&&s.scrollWidth>s.clientWidth,u=l&&s.clientHeight>0&&s.scrollHeight>s.clientHeight,c="rtl"===n.direction,f=u&&(c?e.offsetX<=s.offsetWidth-s.clientWidth:e.offsetX>s.clientWidth),d=a&&e.offsetY>s.clientHeight;if(f||d)return}let g=null==(t=u.current.floatingContext)?void 0:t.nodeId,h=b&&(0,n.getNodeChildren)(b.nodesRef.current,g).some(t=>{var r;return(0,n.isEventTargetWithin)(e,null==(r=t.context)?void 0:r.elements.floating)});if((0,n.isEventTargetWithin)(e,a.floating)||(0,n.isEventTargetWithin)(e,a.domReference)||h)return;let v=b?(0,n.getNodeChildren)(b.nodesRef.current,g):[];if(v.length>0){let e=!0;if(v.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}l(!1,e,"outside-press")}),P=(0,n.useEffectEvent)(e=>{var t;let r=()=>{var t;O(e),null==(t=(0,n.getTarget)(e))||t.removeEventListener(d,r)};null==(t=(0,n.getTarget)(e))||t.addEventListener(d,r)});t.useEffect(()=>{if(!o||!s)return;u.current.__escapeKeyBubbles=R,u.current.__outsidePressBubbles=D;let e=-1;function t(e){l(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),T.current=!0}function f(){e=window.setTimeout(()=>{T.current=!1},5*!!(0,i.isWebKit)())}let m=(0,n.getDocument)(a.floating);c&&(m.addEventListener("keydown",L?A:C,L),m.addEventListener("compositionstart",r),m.addEventListener("compositionend",f)),w&&m.addEventListener(d,k?P:O,k);let g=[];return h&&((0,i.isElement)(a.domReference)&&(g=(0,i.getOverflowAncestors)(a.domReference)),(0,i.isElement)(a.floating)&&(g=g.concat((0,i.getOverflowAncestors)(a.floating))),!(0,i.isElement)(a.reference)&&a.reference&&a.reference.contextElement&&(g=g.concat((0,i.getOverflowAncestors)(a.reference.contextElement)))),(g=g.filter(e=>{var t;return e!==(null==(t=m.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{c&&(m.removeEventListener("keydown",L?A:C,L),m.removeEventListener("compositionstart",r),m.removeEventListener("compositionend",f)),w&&m.removeEventListener(d,k?P:O,k),g.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[u,a,c,w,d,o,l,h,s,R,D,C,L,A,O,k,P]),t.useEffect(()=>{E.current=!1},[w,d]);let N=t.useMemo(()=>({onKeyDown:C,...m&&{[K[g]]:e=>{l(!1,e.nativeEvent,"reference-press")},..."click"!==g&&{onClick(e){l(!1,e.nativeEvent,"reference-press")}}}}),[C,l,m,g]),F=t.useMemo(()=>({onKeyDown:C,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[G[d]]:()=>{E.current=!0}}),[C,d]);return t.useMemo(()=>s?{reference:N,floating:F}:{},[s,N,F])},"useFloating",0,function(e){void 0===e&&(e={});let{nodeId:r}=e,o=function(e){let{open:r=!1,onOpenChange:i,elements:o}=e,l=b(),a=t.useRef({}),[u]=t.useState(()=>{let e;return e=new Map,{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}),s=null!=E(),[c,f]=t.useState(o.reference),d=(0,n.useEffectEvent)((e,t,n)=>{a.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:n,nested:s}),null==i||i(e,t,n)}),m=t.useMemo(()=>({setPositionReference:f}),[]),g=t.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return t.useMemo(()=>({dataRef:a,open:r,onOpenChange:d,elements:g,events:u,floatingId:l,refs:m}),[r,d,g,u,l,m])}({...e,elements:{reference:null,floating:null,...e.elements}}),l=e.rootContext||o,u=l.elements,[s,c]=t.useState(null),[f,d]=t.useState(null),m=(null==u?void 0:u.domReference)||s,g=t.useRef(null),h=t.useContext(x);(0,n.useModernLayoutEffect)(()=>{m&&(g.current=m)},[m]);let v=(0,a.useFloating)({...e,elements:{...u,...f&&{reference:f}}}),p=t.useCallback(e=>{let t=(0,i.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),v.refs.setReference(t)},[v.refs]),y=t.useCallback(e=>{((0,i.isElement)(e)||null===e)&&(g.current=e,c(e)),((0,i.isElement)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,i.isElement)(e))&&v.refs.setReference(e)},[v.refs]),w=t.useMemo(()=>({...v.refs,setReference:y,setPositionReference:p,domReference:g}),[v.refs,y,p]),M=t.useMemo(()=>({...v.elements,domReference:m}),[v.elements,m]),S=t.useMemo(()=>({...v,...l,refs:w,elements:M,nodeId:r}),[v,w,M,r,l]);return(0,n.useModernLayoutEffect)(()=>{l.dataRef.current.floatingContext=S;let e=null==h?void 0:h.nodesRef.current.find(e=>e.id===r);e&&(e.context=S)}),t.useMemo(()=>({...v,context:S,refs:w,elements:M}),[v,w,M,S])},"useInteractions",0,function(e){void 0===e&&(e=[]);let n=e.map(e=>null==e?void 0:e.reference),r=e.map(e=>null==e?void 0:e.floating),i=e.map(e=>null==e?void 0:e.item),o=t.useCallback(t=>Q(t,e,"reference"),n),l=t.useCallback(t=>Q(t,e,"floating"),r),a=t.useCallback(t=>Q(t,e,"item"),i);return t.useMemo(()=>({getReferenceProps:o,getFloatingProps:l,getItemProps:a}),[o,l,a])},"useListNavigation",0,function(e,r){let{open:o,onOpenChange:l,elements:a,floatingId:u}=e,{listRef:s,activeIndex:d,onNavigate:g=()=>{},enabled:h=!0,selectedIndex:v=null,allowEscape:p=!1,loop:b=!1,nested:y=!1,rtl:w=!1,virtual:M=!1,focusItemOnOpen:S="auto",focusItemOnHover:R=!0,openOnArrowKeyDown:L=!0,disabledIndices:k,orientation:T="vertical",parentOrientation:C,cols:A=1,scrollItemIntoView:O=!0,virtualItemRef:P,itemSizes:N,dense:F=!1}=r,I=(0,n.getFloatingFocusElement)(a.floating),W=(0,n.useLatestRef)(I),H=E(),Y=t.useContext(x);(0,n.useModernLayoutEffect)(()=>{e.dataRef.current.orientation=T},[e,T]);let j=(0,n.useEffectEvent)(()=>{g(-1===z.current?null:z.current)}),q=(0,n.isTypeableCombobox)(a.domReference),B=t.useRef(S),z=t.useRef(null!=v?v:-1),V=t.useRef(null),K=t.useRef(!0),G=t.useRef(j),X=t.useRef(!!a.floating),Q=t.useRef(o),U=t.useRef(!1),ee=t.useRef(!1),et=(0,n.useLatestRef)(k),en=(0,n.useLatestRef)(o),er=(0,n.useLatestRef)(O),ei=(0,n.useLatestRef)(v),[eo,el]=t.useState(),[ea,eu]=t.useState(),es=(0,n.useEffectEvent)(()=>{function e(e){if(M){var t;null!=(t=e.id)&&t.endsWith("-fui-option")&&(e.id=u+"-"+Math.random().toString(16).slice(2,10)),el(e.id),null==Y||Y.events.emit("virtualfocus",e),P&&(P.current=e)}else D(e,{sync:U.current,preventScroll:!0})}let t=s.current[z.current],n=ee.current;t&&e(t),(U.current?e=>e():requestAnimationFrame)(()=>{let r=s.current[z.current]||t;if(!r)return;t||e(r);let i=er.current;i&&ef&&(n||!K.current)&&(null==r.scrollIntoView||r.scrollIntoView("boolean"==typeof i?{block:"nearest",inline:"nearest"}:i))})});(0,n.useModernLayoutEffect)(()=>{h&&(o&&a.floating?B.current&&null!=v&&(ee.current=!0,z.current=v,j()):X.current&&(z.current=-1,G.current()))},[h,o,a.floating,v,j]),(0,n.useModernLayoutEffect)(()=>{if(h&&o&&a.floating)if(null==d){if(U.current=!1,null!=ei.current)return;if(X.current&&(z.current=-1,es()),(!Q.current||!X.current)&&B.current&&(null!=V.current||!0===B.current&&null==V.current)){let e=0,t=()=>{null==s.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(z.current=null==V.current||$(V.current,T,w)||y?(0,n.getMinListIndex)(s,et.current):(0,n.getMaxListIndex)(s,et.current),V.current=null,j())};t()}}else(0,n.isIndexOutOfListBounds)(s,d)||(z.current=d,es(),ee.current=!1)},[h,o,a.floating,d,ei,y,s,T,w,j,es,et]),(0,n.useModernLayoutEffect)(()=>{var e;if(!h||a.floating||!Y||M||!X.current)return;let t=Y.nodesRef.current,r=null==(e=t.find(e=>e.id===H))||null==(e=e.context)?void 0:e.elements.floating,i=(0,n.activeElement)((0,n.getDocument)(a.floating)),o=t.some(e=>e.context&&(0,n.contains)(e.context.elements.floating,i));r&&!o&&K.current&&r.focus({preventScroll:!0})},[h,a.floating,Y,H,M]),(0,n.useModernLayoutEffect)(()=>{if(h&&Y&&M&&!H)return Y.events.on("virtualfocus",e),()=>{Y.events.off("virtualfocus",e)};function e(e){eu(e.id),P&&(P.current=e)}},[h,Y,M,H,P]),(0,n.useModernLayoutEffect)(()=>{G.current=j,Q.current=o,X.current=!!a.floating}),(0,n.useModernLayoutEffect)(()=>{o||(V.current=null)},[o]);let ec=null!=d,ef=t.useMemo(()=>{function e(e){if(!o)return;let t=s.current.indexOf(e);-1!==t&&z.current!==t&&(z.current=t,j())}return{onFocus(t){let{currentTarget:n}=t;U.current=!0,e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...R&&{onMouseMove(t){let{currentTarget:n}=t;U.current=!0,ee.current=!1,e(n)},onPointerLeave(e){let{pointerType:t}=e;if(K.current&&"touch"!==t&&(U.current=!0,z.current=-1,j(),!M)){var n;null==(n=W.current)||n.focus({preventScroll:!0})}}}}},[o,W,R,s,j,M]),ed=t.useCallback(()=>{var e;return null!=C?C:null==Y||null==(e=Y.nodesRef.current.find(e=>e.id===H))||null==(e=e.context)||null==(e=e.dataRef)?void 0:e.current.orientation},[H,Y,C]),em=(0,n.useEffectEvent)(e=>{if(K.current=!1,U.current=!0,229===e.which||!en.current&&e.currentTarget===W.current)return;if(y&&Z(e.key,T,w,A)){_(e.key,ed())||(0,n.stopEvent)(e),l(!1,e.nativeEvent,"list-navigation"),(0,i.isHTMLElement)(a.domReference)&&(M?null==Y||Y.events.emit("virtualfocus",a.domReference):a.domReference.focus());return}let t=z.current,r=(0,n.getMinListIndex)(s,k),u=(0,n.getMaxListIndex)(s,k);if(q||("Home"===e.key&&((0,n.stopEvent)(e),z.current=r,j()),"End"===e.key&&((0,n.stopEvent)(e),z.current=u,j())),A>1){let t=N||Array.from({length:s.current.length},()=>({width:1,height:1})),i=(0,n.createGridCellMap)(t,A,F),o=i.findIndex(e=>null!=e&&!(0,n.isListIndexDisabled)(s,e,k)),l=i.reduce((e,t,r)=>null==t||(0,n.isListIndexDisabled)(s,t,k)?e:r,-1),a=i[(0,n.getGridNavigatedIndex)({current:i.map(e=>null!=e?s.current[e]:null)},{event:e,orientation:T,loop:b,rtl:w,cols:A,disabledIndices:(0,n.getGridCellIndices)([...k||s.current.map((e,t)=>(0,n.isListIndexDisabled)(s,t)?t:void 0),void 0],i),minIndex:o,maxIndex:l,prevIndex:(0,n.getGridCellIndexOfCorner)(z.current>u?r:z.current,t,i,A,e.key===m?"bl":e.key===(w?c:f)?"tr":"tl"),stopEvent:!0})];if(null!=a&&(z.current=a,j()),"both"===T)return}if(_(e.key,T)){if((0,n.stopEvent)(e),o&&!M&&(0,n.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){z.current=$(e.key,T,w)?r:u,j();return}$(e.key,T,w)?b?z.current=t>=u?p&&t!==s.current.length?-1:r:(0,n.findNonDisabledListIndex)(s,{startingIndex:t,disabledIndices:k}):z.current=Math.min(u,(0,n.findNonDisabledListIndex)(s,{startingIndex:t,disabledIndices:k})):b?z.current=t<=r?p&&-1!==t?s.current.length:u:(0,n.findNonDisabledListIndex)(s,{startingIndex:t,decrement:!0,disabledIndices:k}):z.current=Math.max(r,(0,n.findNonDisabledListIndex)(s,{startingIndex:t,decrement:!0,disabledIndices:k})),(0,n.isIndexOutOfListBounds)(s,z.current)&&(z.current=-1),j()}}),eg=t.useMemo(()=>M&&o&&ec&&{"aria-activedescendant":ea||eo},[M,o,ec,ea,eo]),eh=t.useMemo(()=>({"aria-orientation":"both"===T?void 0:T,...!q?eg:{},onKeyDown:em,onPointerMove(){K.current=!0}}),[eg,em,T,q]),ev=t.useMemo(()=>{function e(e){"auto"===S&&(0,n.isVirtualClick)(e.nativeEvent)&&(B.current=!0)}function t(e){B.current=S,"auto"===S&&(0,n.isVirtualPointerEvent)(e.nativeEvent)&&(B.current=!0)}return{...eg,onKeyDown(e){K.current=!1;
2let t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),i=J(e.key,T,w),a=Z(e.key,T,w,A),u=J(e.key,ed(),w),c=_(e.key,T),f=(y?u:c)||"Enter"===e.key||""===e.key.trim();if(M&&o){let o=null==Y?void 0:Y.nodesRef.current.find(e=>null==e.parentId),l=Y&&o?(0,n.getDeepestNode)(Y.nodesRef.current,o.id):null;if((t||r)&&l&&P){var d,m,g;let t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(i||a){let r=(null==(d=l.context)?void 0:d.elements.domReference)===e.currentTarget,o=a&&!r?null==(m=l.context)?void 0:m.elements.domReference:i?s.current.find(e=>(null==e?void 0:e.id)===eo):null;o&&((0,n.stopEvent)(e),o.dispatchEvent(t),eu(void 0))}if((c||r)&&l.context&&l.context.open&&l.parentId&&e.currentTarget!==l.context.elements.domReference){(0,n.stopEvent)(e),null==(g=l.context.elements.domReference)||g.dispatchEvent(t);return}}return em(e)}if(o||L||!t){if(f){let t=_(e.key,ed());V.current=y&&t?null:e.key}if(y){u&&((0,n.stopEvent)(e),o?(z.current=(0,n.getMinListIndex)(s,et.current),j()):l(!0,e.nativeEvent,"list-navigation"));return}c&&(null!=v&&(z.current=v),(0,n.stopEvent)(e),!o&&L?l(!0,e.nativeEvent,"list-navigation"):em(e),o&&j())}},onFocus(){o&&!M&&(z.current=-1,j())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[eo,eg,A,em,et,S,s,y,j,l,o,L,T,ed,w,v,Y,M,P]);return t.useMemo(()=>h?{reference:ev,floating:eh,item:ef}:{},[h,ev,eh,ef])},"useRole",0,function(e,r){var i,o;void 0===r&&(r={});let{open:l,elements:a,floatingId:u}=e,{enabled:s=!0,role:c="dialog"}=r,f=b(),d=(null==(i=a.domReference)?void 0:i.id)||f,m=t.useMemo(()=>{var e;return(null==(e=(0,n.getFloatingFocusElement)(a.floating))?void 0:e.id)||u},[a.floating,u]),g=null!=(o=ee.get(c))?o:c,h=null!=E(),v=t.useMemo(()=>"tooltip"===g||"label"===c?{["aria-"+("label"===c?"labelledby":"describedby")]:l?m:void 0}:{"aria-expanded":l?"true":"false","aria-haspopup":"alertdialog"===g?"dialog":g,"aria-controls":l?m:void 0,..."listbox"===g&&{role:"combobox"},..."menu"===g&&{id:d},..."menu"===g&&h&&{role:"menuitem"},..."select"===c&&{"aria-autocomplete":"none"},..."combobox"===c&&{"aria-autocomplete":"list"}},[g,m,h,l,d,c]),p=t.useMemo(()=>{let e={id:m,...g&&{role:g}};return"tooltip"===g||"label"===c?e:{...e,..."menu"===g&&{"aria-labelledby":d}}},[g,m,d,c]),y=t.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:m+"-fui-option"}};switch(c){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,"aria-selected":n}}return{}},[m,c]);return t.useMemo(()=>s?{reference:v,floating:p,item:y}:{},[s,v,p,y])},"useTypeahead",0,function(e,r){var i;let{open:o,dataRef:l}=e,{listRef:a,activeIndex:u,onMatch:s,onTypingChange:c,enabled:f=!0,findMatch:d=null,resetMs:m=750,ignoreKeys:g=[],selectedIndex:h=null}=r,v=t.useRef(-1),p=t.useRef(""),b=t.useRef(null!=(i=null!=h?h:u)?i:-1),y=t.useRef(null),w=(0,n.useEffectEvent)(s),x=(0,n.useEffectEvent)(c),E=(0,n.useLatestRef)(d),M=(0,n.useLatestRef)(g);(0,n.useModernLayoutEffect)(()=>{o&&(S(v),y.current=null,p.current="")},[o]),(0,n.useModernLayoutEffect)(()=>{if(o&&""===p.current){var e;b.current=null!=(e=null!=h?h:u)?e:-1}},[o,h,u]);let R=(0,n.useEffectEvent)(e=>{e?l.current.typing||(l.current.typing=e,x(e)):l.current.typing&&(l.current.typing=e,x(e))}),D=(0,n.useEffectEvent)(e=>{function t(e,t,n){let r=E.current?E.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}let r=a.current;if(p.current.length>0&&" "!==p.current[0]&&(-1===t(r,r,p.current)?R(!1):" "===e.key&&(0,n.stopEvent)(e)),null==r||M.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;o&&" "!==e.key&&((0,n.stopEvent)(e),R(!0)),r.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&p.current===e.key&&(p.current="",b.current=y.current),p.current+=e.key,S(v),v.current=window.setTimeout(()=>{p.current="",b.current=y.current,R(!1)},m);let i=b.current,l=t(r,[...r.slice((i||0)+1),...r.slice(0,(i||0)+1)],p.current);-1!==l?(w(l),y.current=l):" "!==e.key&&(p.current="",R(!1))}),L=t.useMemo(()=>({onKeyDown:D}),[D]),k=t.useMemo(()=>({onKeyDown:D,onKeyUp(e){" "===e.key&&R(!1)}}),[D,R]);return t.useMemo(()=>f?{reference:L,floating:k}:{},[f,L,k])}])},167173,397126,e=>{"use strict";var t=e.i(229315),n=e.i(271645),r=e.i(343084),i='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not
2(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',o="u"<typeof Element,l=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},u=function e(t,n){void 0===n&&(n=!0);var r,i=null==t||null==(r=t.getAttribute)?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},s=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},c=function(e,t,n){if(u(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&l.call(e,i)&&r.unshift(e),r=r.filter(n)},f=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var s=a.shift();if(!u(s,!1))if("SLOT"===s.tagName){var c=s.assignedElements(),f=e(c.length?c:s.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:s,candidates:f})}else{l.call(s,i)&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var d=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),m=!u(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(d&&m){var g=e(!0===d?s.children:d.children,!0,r);r.flatten?o.push.apply(o,g):o.push({scopeParent:s,candidates:g})}else a.unshift.apply(a,s.children)}}return o},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},m=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s(e))&&!d(e)?0:e.tabIndex},g=function(e,t){var n=m(e);return n<0&&t&&!d(e)?0:n},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},v=function(e){return"INPUT"===e.tagName},p=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},b=function(e){if(!e.name)return!0;var t,n=e.form||a(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=p(t,e.form);return!i||i===e},y=function(e){return v(e)&&"radio"===e.type&&!b(e)},w=function(e){var t,n,r,i,o,l,u,s=e&&a(e),c=null==(t=s)?void 0:t.host,f=!1;if(s&&s!==e)for(f=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(i=e.ownerDocument)&&i.contains(e));!f&&c;)f=!!(null!=(l=c=null==(o=s=a(c))?void 0:o.host)&&null!=(u=l.ownerDocument)&&u.contains(c));return f},x=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},E=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=l.call(e,"details>summary:first-of-type")?e.parentElement:e;if(l.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return x(e)}else{if("function"==typeof r){for(var o=e;e;){var u=e.parentElement,s=a(e);if(u&&!u.shadowRoot&&!0===r(u))return x(e);e=e.assignedSlot?e.assignedSlot:u||s===e.ownerDocument?u:s.host}e=o}if(w(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},M=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!l.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},S=function(e,t){return!(t.disabled||u(t)||v(t)&&"hidden"===t.type||E(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||M(t))},R=function(e,t){return!(y(t)||0>m(t))&&!!S(e,t)},D=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},L=function e(t){var n=[],r=[];return t.forEach(function(t,i){var o=!!t.scopeParent,l=o?t.scopeParent:t,a=g(l,o),u=o?e(t.candidates):l;0===a?o?n.push.apply(n,u):n.push(l):r.push({documentOrder:i,tabIndex:a,item:t,isScope:o,content:u})}
2),r.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},k=function(e,t){return L((t=t||{}).getShadowRoot?f([e],t.includeContainer,{filter:R.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:D}):c(e,t.includeContainer,R.bind(null,t)))};function T(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function C(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function A(){let e=/android/i;return e.test(T())||e.test(C())}function O(){return C().includes("jsdom/")}e.s(["focusable",0,function(e,t){return(t=t||{}).getShadowRoot?f([e],t.includeContainer,{filter:S.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,S.bind(null,t))},"isTabbable",0,function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==l.call(e,i)&&R(t,e)},"tabbable",0,k],397126);let P="data-floating-ui-focusable",N="ArrowLeft",F="ArrowRight";function I(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function W(e,n){if(!e||!n)return!1;let r=null==n.getRootNode?void 0:n.getRootNode();if(e.contains(n))return!0;if(r&&(0,t.isShadowRoot)(r)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function H(e){return(null==e?void 0:e.ownerDocument)||document}function Y(e){return(0,t.isHTMLElement)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function j(e,t,n){void 0===n&&(n=!0);let r=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),i=r;for(;i.length;)i=n?e.filter(e=>{var t;return null==(t=i)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}):e,r=r.concat(i);return r}function q(e){e.preventDefault(),e.stopPropagation()}var B="u">typeof document?n.useLayoutEffect:n.useEffect;let z={...n}.useInsertionEffect||(e=>e());function V(e,t,n){return Math.floor(e/t)!==n}function K(e,t){return t<0||t>=e.current.length}function G(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=void 0===t?{}:t,l=n;do l+=r?-o:o;while(l>=0&&l<=e.current.length-1&&X(e,l,i))return l}function X(e,t,n){if(n)return n.includes(t);let r=e.current[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let Q=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function U(e,t){let n=k(e,Q()),r=n.length;if(0===r)return;let i=I(H(e)),o=n.indexOf(i);return n[-1===o?1===t?0:r-1:o+t]}e.s(["activeElement",0,I,"contains",0,W,"createGridCellMap",0,function(e,t,n){let r=[],i=0;return e.forEach((e,o)=>{let{width:l,height:a}=e,u=!1;for(n&&(i=0);!u;){let e=[];for(let n=0;n<l;n++)for(let r=0;r<a;r++)e.push(i+n+r*t);i%t+l<=t&&e.every(e=>null==r[e])?(e.forEach(e=>{r[e]=o}),u=!0):i++}}),[...r]},"disableFocusInside",0,function(e){k(e,Q()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})},"enableFocusInside",0,function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})},"findNonDisabledListIndex",0,G,"getDeepestNode",0,function(e,t){let n,r=-1;return!function t(i,o){o>r&&(n=i,r=o),j(e,i).forEach(e=>{t(e.id,o+1)})}(t,0),e.find(e=>e.id===n)},"getDocument",0,H,"getFloatingFocusElement",0,function(e){return e?e.hasAttribute(P)?e:e.querySelector("["+P+"]")||e:null},"getGridCellIndexOfCorner",0,function(e,t,n,r,i){if(-1===e)return -1;let o=n.indexOf(e),l=t[e];switch(i){case"tl":return o;case"tr":if(!l)return o;return o+l.width-1;case"bl":if(!l)return o;return o+(l.height-1)*r;case"br":return n.lastIndexOf(e)}},"getGridCellIndices",0,function(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])},"getGridNavigatedIndex",0,function(e,t){let{event:n,orientation:i,loop:o,rtl:l,cols:a,disabledIndices:u,minIndex:s,maxIndex:c,prevIndex:f,stopEvent:d=!1}=t,m=f;if("ArrowUp"===n.key){if(d&&q(n),-1===f)m=c;else if(m=G(e,{startingIndex:m,amount:a,decrement:!0,disabledIndices:u}),o&&(f-a<s||m<0)){let e=f%a,t=c%a,n=c-(t-e);m=t===e?c:t>e?n:n-a}K(e,m)&&(m=f)}if("ArrowDown"===n.key&&(d&&q(n),-1===f?m=s:(m=G(e,{startingIndex:f,amount:a,disabledIndices:u}),o&&f+a>c&&(m=G(e,{startingIndex:f%a-a,amount:a,disabledIndices:u}))),K(e,m)&&(m=f)),"both"===i){let t=(0,r.floor)(f/a);n.key===(l?N:F)&&(d&&q(n),f%a!=a-1?(m=G(e,{startingIndex:f,disabledIndices:u}),o&&V(m,a,t)&&(m=G(e,{startingIndex:f-f%a-1,disabledIndices:u}))):o&&(m=G(e,{startingIndex:f-f%a-1,disabledIndices:u})),V(m,a,t)&&(m=f)),n.key===(l?F:N)&&(d&&q(n),f%a!=0?(m=G(e,{startingIndex:f,decrement:!0,disabledIndices:u}
2),o&&V(m,a,t)&&(m=G(e,{startingIndex:f+(a-f%a),decrement:!0,disabledIndices:u}))):o&&(m=G(e,{startingIndex:f+(a-f%a),decrement:!0,disabledIndices:u})),V(m,a,t)&&(m=f));let i=(0,r.floor)(c/a)===t;K(e,m)&&(m=o&&i?n.key===(l?F:N)?c:G(e,{startingIndex:f-f%a-1,disabledIndices:u}):f)}return m},"getMaxListIndex",0,function(e,t){return G(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})},"getMinListIndex",0,function(e,t){return G(e,{disabledIndices:t})},"getNextTabbable",0,function(e){return U(H(e).body,1)||e},"getNodeAncestors",0,function(e,t){var n;let r=[],i=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;i;){let t=e.find(e=>e.id===i);i=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r},"getNodeChildren",0,j,"getPlatform",0,T,"getPreviousTabbable",0,function(e){return U(H(e).body,-1)||e},"getTabbableOptions",0,Q,"getTarget",0,function(e){return"composedPath"in e?e.composedPath()[0]:e.target},"getUserAgent",0,C,"isEventTargetWithin",0,function(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))},"isIndexOutOfListBounds",0,K,"isListIndexDisabled",0,X,"isMac",0,function(){return T().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints},"isMouseLikePointerType",0,function(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)},"isOutsideEvent",0,function(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!W(n,r)},"isReactEvent",0,function(e){return"nativeEvent"in e},"isRootElement",0,function(e){return e.matches("html,body")},"isSafari",0,function(){return/apple/i.test(navigator.vendor)},"isTypeableCombobox",0,function(e){return!!e&&"combobox"===e.getAttribute("role")&&Y(e)},"isTypeableElement",0,Y,"isVirtualClick",0,function(e){return 0===e.mozInputSource&&!!e.isTrusted||(A()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)},"isVirtualPointerEvent",0,function(e){return!O()&&(!A()&&0===e.width&&0===e.height||A()&&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)},"matchesFocusVisible",0,function(e){if(!e||O())return!0;try{return e.matches(":focus-visible")}catch(e){return!0}},"stopEvent",0,q,"useEffectEvent",0,function(e){let t=n.useRef(()=>{});return z(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])},"useLatestRef",0,function(e){let t=n.useRef(e);return B(()=>{t.current=e}),t},"useModernLayoutEffect",0,B],167173)},229315,e=>{"use strict";function t(){return"u">typeof window}function n(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function r(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(o(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function o(e){return!!t()&&(e instanceof Node||e instanceof r(e).Node)}function l(e){return!!t()&&(e instanceof Element||e instanceof r(e).Element)}function a(e){return!!t()&&(e instanceof HTMLElement||e instanceof r(e).HTMLElement)}function u(e){return!(!t()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof r(e).ShadowRoot)}function s(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function c(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function f(e){let t=d(),n=l(e)?g(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function d(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(n(e))}function g(e){return r(e).getComputedStyle(e)}function h(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||i(e);return u(t)?t.host:t}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,g,"getContainingBlock",0,function(e){let t=h(e);for(;a(t)&&!m(t);){if(f(t))return t;if(c(t))break;t=h(t)}return null},"getDocumentElement",0,i,"getFrameElement",0,v,"getNodeName",0,n,"getNodeScroll",0,function(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,n,i){var o;void 0===n&&(n=[]),void 0===i&&(i=!0);let l=function e(t){let n=h(t);return m(n)?t.ownerDocument?t.ownerDocument.body:t.body:a(n)&&s(n)?n:e(n)}(t),u=l===(null==(o=t.ownerDocument)?void 0:o.body),c=r(l);
2if(u){let t=v(c);return n.concat(c,c.visualViewport||[],s(l)?l:[],t&&i?e(t):[])}return n.concat(l,e(l,[],i))},"getParentNode",0,h,"getWindow",0,r,"isContainingBlock",0,f,"isElement",0,l,"isHTMLElement",0,a,"isLastTraversableNode",0,m,"isOverflowElement",0,s,"isShadowRoot",0,u,"isTableElement",0,function(e){return["table","td","th"].includes(n(e))},"isTopLayer",0,c,"isWebKit",0,d])},343084,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function s(e){return e.split("-")[0]}function c(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function d(e){return"y"===e?"height":"width"}function m(e){return["top","bottom"].includes(s(e))?"y":"x"}function g(e){return f(m(e))}function h(e){return e.replace(/start|end/g,e=>u[e])}function v(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}e.s(["clamp",0,function(e,t,n){return i(e,r(t,n))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,l,"getAlignment",0,c,"getAlignmentAxis",0,g,"getAlignmentSides",0,function(e,t,n){void 0===n&&(n=!1);let r=c(e),i=g(e),o=d(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=v(l)),[l,v(l)]},"getAxisLength",0,d,"getExpandedPlacements",0,function(e){let t=v(e);return[h(e),t,h(t)]},"getOppositeAlignmentPlacement",0,h,"getOppositeAxis",0,f,"getOppositeAxisPlacements",0,function(e,t,n,r){let i=c(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(s(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(h)))),o},"getOppositePlacement",0,v,"getPaddingObject",0,function(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}},"getSide",0,s,"getSideAxis",0,m,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,function(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}},"round",0,o,"sides",0,t])},455024,e=>{"use strict";let t={};e.s(["getDefaultOptions",0,function(){return t}])},99151,e=>{"use strict";var t=e.i(281092);e.s(["getTimezoneOffsetInMilliseconds",0,function(e){let n=(0,t.toDate)(e),r=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return r.setUTCFullYear(n.getFullYear()),e-r}])},845110,e=>{"use strict";var t=e.i(677241);e.s(["normalizeDates",0,function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];let o=t.constructFrom.bind(null,e||r.find(e=>"object"==typeof e));return r.map(o)}])},595727,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["addDays",0,function(e,r,i){let o=(0,n.toDate)(e,null==i?void 0:i.in);return isNaN(r)?(0,t.constructFrom)((null==i?void 0:i.in)||e,NaN):(r&&o.setDate(o.getDate()+r),o)}])},688594,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["addMonths",0,function(e,r,i){let o=(0,n.toDate)(e,null==i?void 0:i.in);if(isNaN(r))return(0,t.constructFrom)((null==i?void 0:i.in)||e,NaN);if(!r)return o;let l=o.getDate(),a=(0,t.constructFrom)((null==i?void 0:i.in)||e,o.getTime());return(a.setMonth(o.getMonth()+r+1,0),l>=a.getDate())?a:(o.setFullYear(a.getFullYear(),a.getMonth(),l),o)}])},433331,e=>{"use strict";var t=e.i(595727);e.s(["addWeeks",0,function(e,n,r){return(0,t.addDays)(e,7*n,r)}])},299378,e=>{"use strict";var t=e.i(688594);e.s(["addYears",0,function(e,n,r){return(0,t.addMonths)(e,12*n,r)}])},677241,234662,e=>{"use strict";let t=Symbol.for("constructDateFrom");e.s(["constructFromSymbol",0,t,"millisecondsInDay",0,864e5,"millisecondsInHour",0,36e5,"millisecondsInMinute",0,6e4,"millisecondsInSecond",0,1e3,"millisecondsInWeek",0,6048e5],234662),e.s(["constructFrom",0,function(e,n){return"function"==typeof e?e(n):e&&"object"==typeof e&&t in e?e[t](n):e instanceof Date?new e.constructor(n):new Date(n)}],677241)},381515,e=>{"use strict";var t=e.i(99151),n=e.i(845110),r=e.i(234662),i=e.i(585890);e.s(["differenceInCalendarDays",0,function(e,o,l){let[a,u]=(0,n.normalizeDates)(null==l?void 0:l.in,e,o),s=(0,i.startOfDay)(a),c=(0,i.startOfDay)(u);return Math.round((s-(0,t.getTimezoneOffsetInMilliseconds)(s)-(c-(0,t.getTimezoneOffsetInMilliseconds)(c)))/r.millisecondsInDay)}])},520062,e=>{"use strict";var t=e.i(845110);e.s(["differenceInCalendarMonths",0,function(e,n,r){let[i,o]=(0,t.normalizeDates)(null==r?void 0:r.in,e,n);return 12*(i.getFullYear()-o.getFullYear())+(i.getMonth()-o.getMonth())}])},39978,e=>{"use strict";var t=e.i(281092);e.s(["endOfMonth",0,function(e,n){let r=(0,t.toDate)(e,null==n?void 0:n.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}])},707935,e=>{"use strict";var t=e.i(455024),n=e.i(281092);e.s(["endOfWeek",0,function(e,r){var i,o,l,a,u,s,c,f;let d=(0,t.getDefaultOptions)(),m=null!=(i=null!=(o=null!=(l=null!=(a=null==r?void 0:r.weekStartsOn)?a:null==r||null==(s=r.locale)||null==(u=s.options)?void 0:u.weekStartsOn)?l:d.weekStartsOn)?o:null==(f=d.locale)||null==(c=f.options)?void 0:c.weekStartsOn)?i:0,g=(0,n.toDate)(e,null==r?void 0:r.in),h=g.getDay();return g.setDate(g.getDate()+((h<m?-7:0)+6-(h-m))),g.setHours(23,59,59,999),g}])},885697,e=>{"use strict";var t=e.i(281092);e.s(["endOfYear",0,function(e,n){let r=(0,t.toDate)(e,null==n?void 0:n.in),i=r.getFullYear();return r.setFullYear(i+1,0,0),r.setHours(23,59,59,999),r}])}
2,401851,950567,649471,558854,526947,23298,99174,202877,368977,e=>{"use strict";var t=e.i(55545),n=e.i(455024),r=e.i(716284),i=e.i(234662),o=e.i(614522);function l(e,t){return(0,o.startOfWeek)(e,{...t,weekStartsOn:1})}e.s(["startOfISOWeek",0,l],950567);var a=e.i(677241),u=e.i(281092);function s(e,t){let n=(0,u.toDate)(e,null==t?void 0:t.in),r=n.getFullYear(),i=(0,a.constructFrom)(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let o=l(i),s=(0,a.constructFrom)(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let c=l(s);return n.getTime()>=o.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function c(e,t){let n,r,o=(0,u.toDate)(e,null==t?void 0:t.in);return Math.round((l(o)-(n=s(o,void 0),(r=(0,a.constructFrom)(o,0)).setFullYear(n,0,4),r.setHours(0,0,0,0),l(r)))/i.millisecondsInWeek)+1}function f(e,t){var r,i,l,s,c,f,d,m;let g=(0,u.toDate)(e,null==t?void 0:t.in),h=g.getFullYear(),v=(0,n.getDefaultOptions)(),p=null!=(r=null!=(i=null!=(l=null!=(s=null==t?void 0:t.firstWeekContainsDate)?s:null==t||null==(f=t.locale)||null==(c=f.options)?void 0:c.firstWeekContainsDate)?l:v.firstWeekContainsDate)?i:null==(m=v.locale)||null==(d=m.options)?void 0:d.firstWeekContainsDate)?r:1,b=(0,a.constructFrom)((null==t?void 0:t.in)||e,0);b.setFullYear(h+1,0,p),b.setHours(0,0,0,0);let y=(0,o.startOfWeek)(b,t),w=(0,a.constructFrom)((null==t?void 0:t.in)||e,0);w.setFullYear(h,0,p),w.setHours(0,0,0,0);let x=(0,o.startOfWeek)(w,t);return+g>=+y?h+1:+g>=+x?h:h-1}function d(e,t){var r,l,s,c,d,m,g,h;let v,p,b,y,w=(0,u.toDate)(e,null==t?void 0:t.in);return Math.round(((0,o.startOfWeek)(w,t)-(v=(0,n.getDefaultOptions)(),p=null!=(r=null!=(l=null!=(s=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(m=t.locale)||null==(d=m.options)?void 0:d.firstWeekContainsDate)?s:v.firstWeekContainsDate)?l:null==(h=v.locale)||null==(g=h.options)?void 0:g.firstWeekContainsDate)?r:1,b=f(w,t),(y=(0,a.constructFrom)((null==t?void 0:t.in)||w,0)).setFullYear(b,0,p),y.setHours(0,0,0,0),(0,o.startOfWeek)(y,t)))/i.millisecondsInWeek)+1}function m(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}e.s(["getISOWeek",0,c],649471),e.s(["getWeekYear",0,f],558854),e.s(["getWeek",0,d],526947);let g={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return m("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):m(n+1,2)},d:(e,t)=>m(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>m(e.getHours()%12||12,t.length),H:(e,t)=>m(e.getHours(),t.length),m:(e,t)=>m(e.getMinutes(),t.length),s:(e,t)=>m(e.getSeconds(),t.length),S(e,t){let n=t.length;return m(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},h={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return g.y(e,t)},Y:function(e,t,n,r){let i=f(e,r),o=i>0?i:1-i;return"YY"===t?m(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):m(o,t.length)},R:function(e,t){return m(s(e),t.length)},u:function(e,t){return m(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return m(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return m(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return g.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return m(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=d(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):m(i,t.length)},I:function(e,t,n){let r=c(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):m(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):g.d(e,t)},D:function(e,t,n){let i=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):m(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return m(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return m(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return m(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,i=e.getHours();switch(r=12===i?"noon":0===i?"midnight":i/12>
2=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,i=e.getHours();switch(r=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return g.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):g.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):g.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):g.s(e,t)},S:function(e,t){return g.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return p(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return p(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+v(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+v(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n){return m(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return m(+e,t.length)}};function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+m(o,2)}function p(e,t){return e%60==0?(e>0?"-":"+")+m(Math.abs(e)/60,2):b(e,t)}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+m(Math.trunc(n/60),2)+t+m(n%60,2)}let y=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},w=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},x={p:w,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return y(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",y(i,t)).replace("{{time}}",w(o,t))}};e.s(["longFormatters",0,x],23298);let E=/^D+$/,M=/^Y+$/,S=["D","DD","YY","YYYY"];function R(e){return E.test(e)}function D(e){return M.test(e)}function L(e,t,n){var r,i,o;let l,a=(r=e,i=t,o=n,l="Y"===r[0]?"years":"days of the month","Use `".concat(r.toLowerCase(),"` instead of `").concat(r,"` (in `").concat(i,"`) for formatting ").concat(l," to the input `").
2concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(console.warn(a),S.includes(e))throw RangeError(a)}function k(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function T(e){return!(!k(e)&&"number"!=typeof e||isNaN(+(0,u.toDate)(e)))}e.s(["isProtectedDayOfYearToken",0,R,"isProtectedWeekYearToken",0,D,"warnOrThrowProtectedError",0,L],99174),e.s(["isDate",0,k],202877),e.s(["isValid",0,T],368977);let C=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,O=/^'([^]*?)'?$/,P=/''/g,N=/[a-zA-Z]/;e.s(["format",0,function(e,r,i){var o,l,a,s,c,f,d,m,g,v,p,b,y,w,E,M,S,k;let F=(0,n.getDefaultOptions)(),I=null!=(o=null!=(l=null==i?void 0:i.locale)?l:F.locale)?o:t.defaultLocale,W=null!=(a=null!=(s=null!=(c=null!=(f=null==i?void 0:i.firstWeekContainsDate)?f:null==i||null==(b=i.locale)||null==(p=b.options)?void 0:p.firstWeekContainsDate)?c:F.firstWeekContainsDate)?s:null==(w=F.locale)||null==(y=w.options)?void 0:y.firstWeekContainsDate)?a:1,H=null!=(d=null!=(m=null!=(g=null!=(v=null==i?void 0:i.weekStartsOn)?v:null==i||null==(M=i.locale)||null==(E=M.options)?void 0:E.weekStartsOn)?g:F.weekStartsOn)?m:null==(k=F.locale)||null==(S=k.options)?void 0:S.weekStartsOn)?d:0,Y=(0,u.toDate)(e,null==i?void 0:i.in);if(!T(Y))throw RangeError("Invalid time value");let j=r.match(A).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,x[t])(e,I.formatLong):e}).join("").match(C).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(O))?t[1].replace(P,"'"):n}}if(h[t])return{isToken:!0,value:e};if(t.match(N))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});I.localize.preprocessor&&(j=I.localize.preprocessor(Y,j));let q={firstWeekContainsDate:W,weekStartsOn:H,locale:I};return j.map(t=>{if(!t.isToken)return t.value;let n=t.value;return(!(null==i?void 0:i.useAdditionalWeekYearTokens)&&D(n)||!(null==i?void 0:i.useAdditionalDayOfYearTokens)&&R(n))&&L(n,r,String(e)),(0,h[n[0]])(Y,n,I.localize,q)}).join("")}],401851)},716284,668113,e=>{"use strict";var t=e.i(381515),n=e.i(281092);function r(e,t){let r=(0,n.toDate)(e,null==t?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}e.s(["startOfYear",0,r],668113),e.s(["getDayOfYear",0,function(e,i){let o=(0,n.toDate)(e,null==i?void 0:i.in);return(0,t.differenceInCalendarDays)(o,r(o))+1}],716284)},808960,e=>{"use strict";var t=e.i(281092);e.s(["getMonth",0,function(e,n){return(0,t.toDate)(e,null==n?void 0:n.in).getMonth()}])},205300,e=>{"use strict";var t=e.i(281092);e.s(["getYear",0,function(e,n){return(0,t.toDate)(e,null==n?void 0:n.in).getFullYear()}])},671857,e=>{"use strict";var t=e.i(281092);e.s(["isAfter",0,function(e,n){return+(0,t.toDate)(e)>+(0,t.toDate)(n)}])},974875,e=>{"use strict";var t=e.i(281092);e.s(["isBefore",0,function(e,n){return+(0,t.toDate)(e)<+(0,t.toDate)(n)}])},550516,e=>{"use strict";var t=e.i(845110),n=e.i(585890);e.s(["isSameDay",0,function(e,r,i){let[o,l]=(0,t.normalizeDates)(null==i?void 0:i.in,e,r);return+(0,n.startOfDay)(o)==+(0,n.startOfDay)(l)}])},614921,e=>{"use strict";var t=e.i(845110);e.s(["isSameMonth",0,function(e,n,r){let[i,o]=(0,t.normalizeDates)(null==r?void 0:r.in,e,n);return i.getFullYear()===o.getFullYear()&&i.getMonth()===o.getMonth()}])},626183,e=>{"use strict";var t=e.i(845110);e.s(["isSameYear",0,function(e,n,r){let[i,o]=(0,t.normalizeDates)(null==r?void 0:r.in,e,n);return i.getFullYear()===o.getFullYear()}])},55545,328607,e=>{"use strict";var t;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let i={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function a(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=t.match(o);if(!l)return null;let a=l[0],u=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(u,e=>e.test(a)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(u,e=>e.test(a));return n=e.valueCallback?e.valueCallback(s):s,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(a.length)}}}let u={code:"en-US",formatDistance:(e,t,r)=>{let i,o=n[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)if(r.comparison&&r.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:i,formatRelative:(e,t,n,r)=>o[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;let i=r[0],o=e.match(t.parsePattern);if(!o)return null;let l=t.valueCallback?t.valueCallback(o[0]):o[0];return{value:l=n.valueCallback?n.valueCallback(l):l,rest:e.slice(i.length)}}),era:a({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:a({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:a({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:a({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:a({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["enUS",0,u],328607),e.s(["defaultLocale",0,u],55545)},883998,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["max",0,function(e,r){let i,o=null==r?void 0:r.in;return e.forEach(e=>{o||"object"!=typeof e||(o=t.constructFrom.bind(null,e));let r=(0,n.toDate)(e,o);(!i||i<r||isNaN(+r))&&(i=r)}),(0,t.constructFrom)(o,i||NaN)}])},499635,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["min",0,function(e,r){let i,o=null==r?void 0:r.in;return e.forEach(e=>{o||"object"!=typeof e||(o=t.constructFrom.bind(null,e));let r=(0,n.toDate)(e,o);(!i||i>r||isNaN(+r))&&(i=r)}),(0,t.constructFrom)(o,i||NaN)}])},288261,803635,e=>{"use strict";var t=e.i(281092);e.s(["setHours",0,function(e,n,r){let i=(0,t.toDate)(e,null==r?void 0:r.in);return i.setHours(n),i}],288261),e.s(["setMinutes",0,function(e,n,r){let i=(0,t.toDate)(e,null==r?void 0:r.in);return i.setMinutes(n),i}],803635)},643551,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["setMonth",0,function(e,r,i){let o,l,a,u,s=(0,n.toDate)(e,null==i?void 0:i.in),c=s.getFullYear(),f=s.getDate(),d=(0,t.constructFrom)((null==i?void 0:i.in)||e,0);d.setFullYear(c,r,15),d.setHours(0,0,0,0);let m=(l=(o=(0,n.toDate)(d,void 0)).getFullYear(),a=o.getMonth(),(u=(0,t.constructFrom)(o,0)).setFullYear(l,a+1,0),u.setHours(0,0,0,0),u.getDate());return s.setMonth(r,Math.min(f,m)),s}],643551)},998756,e=>{"use strict";var t=e.i(677241),n=e.i(281092);e.s(["setYear",0,function(e,r,i){let o=(0,n.toDate)(e,null==i?void 0:i.in);return isNaN(+o)?(0,t.constructFrom)((null==i?void 0:i.in)||e,NaN):(o.setFullYear(r),o)}])},585890,e=>{"use strict";var t=e.i(281092);e.s(["startOfDay",0,function(e,n){let r=(0,t.toDate)(e,null==n?void 0:n.in);return r.setHours(0,0,0,0),r}])},608199,e=>{"use strict";var t=e.i(281092);e.s(["startOfMonth",0,function(e,n){let r=(0,t.toDate)(e,null==n?void 0:n.in);return r.setDate(1),r.setHours(0,0,0,0),r}])},614522,e=>{"use strict";var t=e.i(455024),n=e.i(281092);e.s(["startOfWeek",0,function(e,r){var i,o,l,a,u,s,c,f;let d=(0,t.getDefaultOptions)(),m=null!=(i=null!=(o=null!=(l=null!=(a=null==r?void 0:r.weekStartsOn)?a:null==r||null==(s=r.locale)||null==(u=s.options)?void 0:u.weekStartsOn)?l:d.weekStartsOn)?o:null==(f=d.locale)||null==(c=f.options)?void 0:c.weekStartsOn)?i:0,g=(0,n.toDate)(e,null==r?void 0:r.in),h=g.getDay();return g.setDate(g.getDate()-(7*(h<m)+h-m)),g.setHours(0,0,0,0),g}])},281092,e=>{"use strict";var t=e.i(677241);e.s(["toDate",0,function(e,n){return(0,t.constructFrom)(n||e,e)}])}]); 3 4//# debugId=88d7073d-fb50-4f09-c422-4d1feca88d1c 5//# sourceMappingURL=2qz1x1dhul0q-.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.