{"use strict";function a(e){return e.split("-")[0]}function i(e){return e.split("-")[1]}function r(e){return["top","bottom"].includes(a(e))?"x":"y"}function o(e){return"y"===e?"height":"width"}function s(e){let{reference:t,floating:n,placement:s}=e;const l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2;let c;switch(a(s)){case"top":c={x:l,y:t.y-n.height};break;case"bottom":c={x:l,y:t.y+t.height};break;case"right":c={x:t.x+t.width,y:u};break;case"left":c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}const d=r(s),h=o(d);switch(i(s)){case"start":c[d]=c[d]-(t[h]/2-n[h]/2);break;case"end":c[d]=c[d]+(t[h]/2-n[h]/2)}return c}n.d(t,{ms:()=>qt,yw:()=>zt,fF:()=>It});function l(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function u(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function c(e,t){void 0===t&&(t={});const{x:n,y:a,platform:i,rects:r,elements:o,strategy:s}=e,{boundary:c="clippingParents",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=t,g=l(f),m=o[p?"floating"===h?"reference":"floating":h],_=await i.getClippingClientRect({element:await i.isElement(m)?m:m.contextElement||await i.getDocumentElement({element:o.floating}),boundary:c,rootBoundary:d}),A=u(await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===h?{...r.floating,x:n,y:a}:r.reference,offsetParent:await i.getOffsetParent({element:o.floating}),strategy:s}));return{top:_.top-A.top+g.top,bottom:A.bottom-_.bottom+g.bottom,left:_.left-A.left+g.left,right:A.right-_.right+g.right}}const d=Math.min,h=Math.max;function p(e,t,n){return h(e,d(t,n))}const f={left:"right",right:"left",bottom:"top",top:"bottom"};function g(e){return e.replace(/left|right|bottom|top/g,(e=>f[e]))}function m(e,t){const n="start"===i(e),a=r(e),s=o(a);let l="x"===a?n?"right":"left":n?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=g(l)),{main:l,cross:g(l)}}const _={start:"end",end:"start"};function A(e){return e.replace(/start|end/g,(e=>_[e]))}const v=["top","right","bottom","left"],b=v.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);const F=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,s,l,u;const{x:d,y:h,rects:p,middlewareData:f,placement:g}=t,{alignment:_=null,allowedPlacements:v=b,autoAlignment:F=!0,...y}=e;if(null!=(n=f.autoPlacement)&&n.skip)return{};const C=function(e,t,n){return(e?[...n.filter((t=>i(t)===e)),...n.filter((t=>i(t)!==e))]:n.filter((e=>a(e)===e))).filter((n=>!e||i(n)===e||!!t&&A(n)!==n))}(_,F,v),E=await c(t,y),k=null!=(r=null==(o=f.autoPlacement)?void 0:o.index)?r:0,x=C[k],{main:w,cross:D}=m(x,p);if(g!==x)return{x:d,y:h,reset:{placement:C[0]}};const T=[E[a(x)],E[w],E[D]],B=[...null!=(s=null==(l=f.autoPlacement)?void 0:l.overflows)?s:[],{placement:x,overflows:T}],S=C[k+1];if(S)return{data:{index:k+1,overflows:B},reset:{placement:S}};const N=B.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),j=null==(u=N.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:u.placement;return{data:{skip:!0},reset:{placement:null!=j?j:N[0].placement}}}}};const y=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:o,rects:s,initialPlacement:l}=t;if(null!=(n=o.flip)&&n.skip)return{};const{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",flipAlignment:f=!0,..._}=e,v=a(r),b=h||(v===l||!f?[g(l)]:function(e){const t=g(e);return[A(e),t,A(t)]}(l)),F=[l,...b],y=await c(t,_),C=[];let E=(null==(i=o.flip)?void 0:i.overflows)||[];if(u&&C.push(y[v]),d){const{main:e,cross:t}=m(r,s);C.push(y[e],y[t])}if(E=[...E,{placement:r,overflows:C}],!C.every((e=>e<=0))){var k,x;const e=(null!=(k=null==(x=o.flip)?void 0:x.index)?k:0)+1,t=F[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(p){case"bestFit":{var w;const e=null==(w=E.slice().sort(((e,t)=>e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)-t.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)))[0])?void 0:w.placement;e&&(n=e);break}case"initialPlacement":n=l}return{data:{skip:!0},reset:{placement:n}}}return{}}}};const C=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:i,placement:o,rects:s}=t,l=function(e){let{placement:t,rects:n,value:i}=e;const o=a(t),s=["left","top"].includes(o)?-1:1,l="function"==typeof i?i({...n,placement:t}):i,{mainAxis:u,crossAxis:c}="number"==typeof l?{mainAxis:l,crossAxis:0}:{mainAxis:0,crossAxis:0,...l};return"x"===r(o)?{x:c,y:u*s}:{x:u*s,y:c}}({placement:o,rects:s,value:e});return{x:n+l.x,y:i+l.y,data:l}}}};function E(e){return"x"===e?"y":"x"}function k(e){return"[object Window]"===(null==e?void 0:e.toString())}function x(e){if(null==e)return window;if(!k(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return x(e).getComputedStyle(e)}function D(e){return k(e)?"":e?(e.nodeName||"").toLowerCase():""}function T(e){return e instanceof x(e).HTMLElement}function B(e){return e instanceof x(e).Element}function S(e){return e instanceof x(e).ShadowRoot||e instanceof ShadowRoot}function N(e){const{overflow:t,overflowX:n,overflowY:a}=w(e);return/auto|scroll|overlay|hidden/.test(t+a+n)}function j(e){return["table","td","th"].includes(D(e))}function O(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=w(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}const R=Math.min,P=Math.max,L=Math.round;function M(e,t){void 0===t&&(t=!1);const n=e.getBoundingClientRect();let a=1,i=1;return t&&T(e)&&(a=e.offsetWidth>0&&L(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&L(n.height)/e.offsetHeight||1),{width:n.width/a,height:n.height/i,top:n.top/i,right:n.right/a,bottom:n.bottom/i,left:n.left/a,x:n.left/a,y:n.top/i}}function I(e){return(t=e,(t instanceof x(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function z(e){return k(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function q(e){return M(I(e)).left+z(e).scrollLeft}function Y(e,t,n){const a=T(t),i=I(t),r=M(e,a&&function(e){const t=M(e);return L(t.width)!==e.offsetWidth||L(t.height)!==e.offsetHeight}(t));let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(a||!a&&"fixed"!==n)if(("body"!==D(t)||N(i))&&(o=z(t)),T(t)){const e=M(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=q(i));return{x:r.left+o.scrollLeft-s.x,y:r.top+o.scrollTop-s.y,width:r.width,height:r.height}}function G(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||I(e)}function H(e){return T(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Z(e){const t=x(e);let n=H(e);for(;n&&j(n)&&"static"===getComputedStyle(n).position;)n=H(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===getComputedStyle(n).position&&!O(n))?t:n||function(e){let t=G(e);for(;T(t)&&!["html","body"].includes(D(t));){if(O(t))return t;t=t.parentNode}return null}(e)||t}function U(e){return{width:e.offsetWidth,height:e.offsetHeight}}function $(e){return["html","body","#document"].includes(D(e))?e.ownerDocument.body:T(e)&&N(e)?e:$(G(e))}function W(e,t){var n;void 0===t&&(t=[]);const a=$(e),i=a===(null==(n=e.ownerDocument)?void 0:n.body),r=x(a),o=i?[r].concat(r.visualViewport||[],N(a)?a:[]):a,s=t.concat(o);return i?s:s.concat(W(G(o)))}function V(e,t){return"viewport"===t?u(function(e){const t=x(e),n=I(e),a=t.visualViewport;let i=n.clientWidth,r=n.clientHeight,o=0,s=0;return a&&(i=a.width,r=a.height,Math.abs(t.innerWidth/a.scale-a.width)<.01&&(o=a.offsetLeft,s=a.offsetTop)),{width:i,height:r,x:o,y:s}}(e)):B(t)?function(e){const t=M(e),n=t.top+e.clientTop,a=t.left+e.clientLeft;return{top:n,left:a,x:a,y:n,right:a+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t):u(function(e){var t;const n=I(e),a=z(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=P(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=P(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let s=-a.scrollLeft+q(e);const l=-a.scrollTop;return"rtl"===w(i||n).direction&&(s+=P(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:s,y:l}}(I(e)))}function X(e){const t=W(G(e)),n=["absolute","fixed"].includes(w(e).position)&&T(e)?Z(e):e;return B(n)?t.filter((e=>B(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==D(e))):[]}const K={getElementRects:e=>{let{reference:t,floating:n,strategy:a}=e;return{reference:Y(t,Z(n),a),floating:{...U(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>function(e){let{rect:t,offsetParent:n,strategy:a}=e;const i=T(n),r=I(n);if(n===r)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&"fixed"!==a)&&(("body"!==D(n)||N(r))&&(o=z(n)),T(n))){const e=M(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}}(e),getOffsetParent:e=>{let{element:t}=e;return Z(t)},isElement:e=>B(e),getDocumentElement:e=>{let{element:t}=e;return I(t)},getClippingClientRect:e=>function(e){let{element:t,boundary:n,rootBoundary:a}=e;const i=[..."clippingParents"===n?X(t):[].concat(n),a],r=i[0],o=i.reduce(((e,n)=>{const a=V(t,n);return e.top=P(a.top,e.top),e.right=R(a.right,e.right),e.bottom=R(a.bottom,e.bottom),e.left=P(a.left,e.left),e}),V(t,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(e),getDimensions:e=>{let{element:t}=e;return U(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Q=(e,t,n)=>(async(e,t,n)=>{const{placement:a="bottom",strategy:i="absolute",middleware:r=[],platform:o}=n;let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=s({...l,placement:a}),d=a,h={};for(let n=0;n>1,c=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,r=p&(1<<-c)-1,p>>=-c,c+=s;c>0;r=256*r+e[t+d],d+=h,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===r)r=1-u;else{if(r===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,a),r-=u}return(p?-1:1)*o*Math.pow(2,r-a)},t.write=function(e,t,n,a,i,r){var o,s,l,u=8*r-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=a?0:r-1,f=a?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&s,p+=f,s/=256,i-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=256,u-=8);e[n+p-f]|=128*g}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,a=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var a=e.lastIndexOf("\n");h=~a?e.length-a:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new g(e),v(),t}}function g(e){this.start=e,this.end={line:d,column:h},this.source=l.source}g.prototype.content=e;var m=[];function _(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;m.push(n)}function A(t){var n=t.exec(e);if(n){var a=n[0];return p(a),e=e.slice(a.length),n}}function v(){A(a)}function b(e){var t;for(e=e||[];t=F();)!1!==t&&e.push(t);return e}function F(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return _("End of comment missing");var a=e.slice(2,n-2);return h+=2,p(a),e=e.slice(n),h+=2,t({type:"comment",comment:a})}}function y(){var e=f(),n=A(i);if(n){if(F(),!A(r))return _("property missing ':'");var a=A(o),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:a?c(a[0].replace(t,u)):u});return A(s),l}}return v(),function(){var e,t=[];for(b(t);e=y();)!1!==e&&(t.push(e),b(t));return t}()}},7206:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},3503:(e,t,n)=>{var a,i,r,o,s;a=n(3939),i=n(2151).utf8,r=n(7206),o=n(2151).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):i.stringToBytes(e):r(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,u=1732584193,c=-271733879,d=-1732584194,h=271733878,p=0;p