diff --git a/asset-manifest.json b/asset-manifest.json index 59d2ef2..ee805f7 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { "main.css": "/allergen-ai/static/css/main.946ffb18.css", - "main.js": "/allergen-ai/static/js/main.d7cec1d7.js", + "main.js": "/allergen-ai/static/js/main.d75ea3b2.js", "static/js/787.9a97a147.chunk.js": "/allergen-ai/static/js/787.9a97a147.chunk.js", "index.html": "/allergen-ai/index.html", "main.946ffb18.css.map": "/allergen-ai/static/css/main.946ffb18.css.map", - "main.d7cec1d7.js.map": "/allergen-ai/static/js/main.d7cec1d7.js.map", + "main.d75ea3b2.js.map": "/allergen-ai/static/js/main.d75ea3b2.js.map", "787.9a97a147.chunk.js.map": "/allergen-ai/static/js/787.9a97a147.chunk.js.map" }, "entrypoints": [ "static/css/main.946ffb18.css", - "static/js/main.d7cec1d7.js" + "static/js/main.d75ea3b2.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 6008e41..1c10a58 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
e+"-"+i)),t&&(o=o.concat(o.map(_d)))),o}(s,m,p,_));const w=[s,...b],C=await Sd(t,g),E=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&E.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=pd(e),i=yd(e),o=gd(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=bd(a)),[a,bd(a)]}(i,a,_);E.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:i,overflows:E}],!E.every((e=>e<=0))){var k,x;const e=((null==(k=o.flip)?void 0:k.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(x=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:x.placement;if(!n)switch(h){case"bestFit":{var T;const e=null==(T=S.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:T[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function Td(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pd(e){return rd.some((t=>e[t]>=0))}const Nd=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=fd(e,t);switch(r){case"referenceHidden":{const e=Td(await Sd(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Pd(e)}}}case"escaped":{const e=Td(await Sd(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Pd(e)}}}default:return{}}}}};const Id=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=hd(n),s=pd(n),l="y"===vd(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,d=fd(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"===typeof p&&(h="end"===s?-1*p:p),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}},Rd=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=fd(e,t),u={x:n,y:r},c=await Sd(t,l),d=vd(hd(i)),f=md(d);let h=u[f],p=u[d];if(o){const e="y"===f?"bottom":"right";h=dd(h+c["y"===f?"top":"left"],h,h-c[e])}if(a){const e="y"===d?"bottom":"right";p=dd(p+c["y"===d?"top":"left"],p,p-c[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Od=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,{apply:a=(()=>{}),...s}=fd(e,t),l=await Sd(t,s),u=hd(n),c=pd(n),d="y"===vd(n),{width:f,height:h}=r.floating;let p,m;"top"===u||"bottom"===u?(p=u,m=c===(await(null==i.isRTL?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=u,p="end"===c?"top":"bottom");const g=h-l[p],v=f-l[m],y=!t.middlewareData.shift;let _=g,b=v;if(d){const e=f-l.left-l.right;b=c||y?id(v,e):e}else{const e=h-l.top-l.bottom;_=c||y?id(g,e):e}if(y&&!c){const e=od(l.left,0),t=od(l.right,0),n=od(l.top,0),r=od(l.bottom,0);d?b=f-2*(0!==e||0!==t?e+t:od(l.left,l.right)):_=h-2*(0!==n||0!==r?n+r:od(l.top,l.bottom))}await a({...t,availableWidth:b,availableHeight:_});const w=await i.getDimensions(o.floating);return f!==w.width||h!==w.height?{reset:{rects:!0}}:{}}}};function Dd(e){return Fd(e)?(e.nodeName||"").toLowerCase():"#document"}function Ad(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ld(e){var t;return null==(t=(Fd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fd(e){return e instanceof Node||e instanceof Ad(e).Node}function Md(e){return e instanceof Element||e instanceof Ad(e).Element}function jd(e){return e instanceof HTMLElement||e instanceof Ad(e).HTMLElement}function zd(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Ad(e).ShadowRoot)}function Ud(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Vd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Bd(e){return["table","td","th"].includes(Dd(e))}function qd(e){const t=Hd(),n=Vd(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Hd(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wd(e){return["html","body","#document"].includes(Dd(e))}function Vd(e){return Ad(e).getComputedStyle(e)}function $d(e){return Md(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Kd(e){if("html"===Dd(e))return e;const t=e.assignedSlot||e.parentNode||zd(e)&&e.host||Ld(e);return zd(t)?t.host:t}function Yd(e){const t=Kd(e);return Wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:jd(t)&&Ud(t)?t:Yd(t)}function Qd(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Yd(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Ad(i);return o?t.concat(a,a.visualViewport||[],Ud(i)?i:[],a.frameElement&&n?Qd(a.frameElement):[]):t.concat(i,Qd(i,[],n))}function Gd(e){const t=Vd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=jd(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=ad(n)!==o||ad(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Jd(e){return Md(e)?e:e.contextElement}function Xd(e){const t=Jd(e);if(!jd(t))return ld(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Gd(t);let a=(o?ad(n.width):n.width)/r,s=(o?ad(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Zd=ld(0);function ef(e){const t=Ad(e);return Hd()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Zd}function tf(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Jd(e);let a=ld(1);t&&(r?Md(r)&&(a=Xd(r)):a=Xd(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ad(e))&&t}(o,n,r)?ef(o):ld(0);let l=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(o){const e=Ad(o),t=r&&Md(r)?Ad(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Xd(n),t=n.getBoundingClientRect(),r=Vd(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=i,u+=o,n=Ad(n).frameElement}}return Cd({width:c,height:d,x:l,y:u})}function nf(e){return tf(Ld(e)).left+$d(e).scrollLeft}function rf(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Ad(e),r=Ld(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Hd();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Ld(e),n=$d(e),r=e.ownerDocument.body,i=od(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=od(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+nf(e);const s=-n.scrollTop;return"rtl"===Vd(r).direction&&(a+=od(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Ld(e));else if(Md(t))r=function(e,t){const n=tf(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=jd(e)?Xd(e):ld(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=ef(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Cd(r)}function of(e,t){const n=Kd(e);return!(n===t||!Md(n)||Wd(n))&&("fixed"===Vd(n).position||of(n,t))}function af(e,t,n){const r=jd(t),i=Ld(t),o="fixed"===n,a=tf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=ld(0);if(r||!r&&!o)if(("body"!==Dd(t)||Ud(i))&&(s=$d(t)),r){const e=tf(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=nf(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function sf(e,t){return jd(e)&&"fixed"!==Vd(e).position?t?t(e):e.offsetParent:null}function lf(e,t){const n=Ad(e);if(!jd(e))return n;let r=sf(e,t);for(;r&&Bd(r)&&"static"===Vd(r).position;)r=sf(r,t);return r&&("html"===Dd(r)||"body"===Dd(r)&&"static"===Vd(r).position&&!qd(r))?n:r||function(e){let t=Kd(e);for(;jd(t)&&!Wd(t);){if(qd(t))return t;t=Kd(t)}return null}(e)||n}const uf={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=jd(n),o=Ld(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s=ld(1);const l=ld(0);if((i||!i&&"fixed"!==r)&&(("body"!==Dd(n)||Ud(o))&&(a=$d(n)),jd(n))){const e=tf(n);s=Xd(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ld,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Qd(e,[],!1).filter((e=>Md(e)&&"body"!==Dd(e))),i=null;const o="fixed"===Vd(e).position;let a=o?Kd(e):e;for(;Md(a)&&!Wd(a);){const t=Vd(a),n=qd(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Ud(a)&&!n&&of(e,a))?r=r.filter((e=>e!==a)):i=t,a=Kd(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...o,r],s=a[0],l=a.reduce(((e,n)=>{const r=rf(t,n,i);return e.top=od(r.top,e.top),e.right=id(r.right,e.right),e.bottom=id(r.bottom,e.bottom),e.left=od(r.left,e.left),e}),rf(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:lf,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||lf,o=this.getDimensions;return{reference:af(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Gd(e)},getScale:Xd,isElement:Md,isRTL:function(e){return"rtl"===Vd(e).direction}};function cf(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"===typeof ResizeObserver,layoutShift:s="function"===typeof IntersectionObserver,animationFrame:l=!1}=r,u=Jd(e),c=i||o?[...u?Qd(u):[],...Qd(t)]:[];c.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=u&&s?function(e,t){let n,r=null;const i=Ld(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h={rootMargin:-sd(c)+"px "+-sd(i.clientWidth-(u+d))+"px "+-sd(i.clientHeight-(c+f))+"px "+-sd(u)+"px",threshold:od(0,id(1,l))||1};let p=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!p)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{r=new IntersectionObserver(m,{...h,root:i.ownerDocument})}catch(g){r=new IntersectionObserver(m,h)}r.observe(e)}(!0),o}(u,n):null;let f,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{p&&p.observe(t)}))),n()})),u&&!l&&p.observe(u),p.observe(t));let m=l?tf(e):null;return l&&function t(){const r=tf(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n();m=r,f=requestAnimationFrame(t)}(),n(),()=>{c.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),d&&d(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const df=(e,t,n)=>{const r=new Map,i={platform:uf,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Ed(u,r,l),f=r,h={},p=0;for(let m=0;m e+"-"+i)),t&&(o=o.concat(o.map(_d)))),o}(s,m,p,_));const w=[s,...b],C=await Sd(t,g),E=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&E.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=pd(e),i=yd(e),o=gd(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=bd(a)),[a,bd(a)]}(i,a,_);E.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:i,overflows:E}],!E.every((e=>e<=0))){var k,x;const e=((null==(k=o.flip)?void 0:k.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(x=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:x.placement;if(!n)switch(h){case"bestFit":{var T;const e=null==(T=S.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:T[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function Td(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pd(e){return rd.some((t=>e[t]>=0))}const Nd=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=fd(e,t);switch(r){case"referenceHidden":{const e=Td(await Sd(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Pd(e)}}}case"escaped":{const e=Td(await Sd(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Pd(e)}}}default:return{}}}}};const Id=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=hd(n),s=pd(n),l="y"===vd(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,d=fd(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"===typeof p&&(h="end"===s?-1*p:p),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}},Rd=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=fd(e,t),u={x:n,y:r},c=await Sd(t,l),d=vd(hd(i)),f=md(d);let h=u[f],p=u[d];if(o){const e="y"===f?"bottom":"right";h=dd(h+c["y"===f?"top":"left"],h,h-c[e])}if(a){const e="y"===d?"bottom":"right";p=dd(p+c["y"===d?"top":"left"],p,p-c[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Od=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,{apply:a=(()=>{}),...s}=fd(e,t),l=await Sd(t,s),u=hd(n),c=pd(n),d="y"===vd(n),{width:f,height:h}=r.floating;let p,m;"top"===u||"bottom"===u?(p=u,m=c===(await(null==i.isRTL?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=u,p="end"===c?"top":"bottom");const g=h-l[p],v=f-l[m],y=!t.middlewareData.shift;let _=g,b=v;if(d){const e=f-l.left-l.right;b=c||y?id(v,e):e}else{const e=h-l.top-l.bottom;_=c||y?id(g,e):e}if(y&&!c){const e=od(l.left,0),t=od(l.right,0),n=od(l.top,0),r=od(l.bottom,0);d?b=f-2*(0!==e||0!==t?e+t:od(l.left,l.right)):_=h-2*(0!==n||0!==r?n+r:od(l.top,l.bottom))}await a({...t,availableWidth:b,availableHeight:_});const w=await i.getDimensions(o.floating);return f!==w.width||h!==w.height?{reset:{rects:!0}}:{}}}};function Dd(e){return Fd(e)?(e.nodeName||"").toLowerCase():"#document"}function Ad(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ld(e){var t;return null==(t=(Fd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fd(e){return e instanceof Node||e instanceof Ad(e).Node}function Md(e){return e instanceof Element||e instanceof Ad(e).Element}function jd(e){return e instanceof HTMLElement||e instanceof Ad(e).HTMLElement}function zd(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Ad(e).ShadowRoot)}function Ud(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Vd(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Bd(e){return["table","td","th"].includes(Dd(e))}function qd(e){const t=Hd(),n=Vd(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Hd(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wd(e){return["html","body","#document"].includes(Dd(e))}function Vd(e){return Ad(e).getComputedStyle(e)}function $d(e){return Md(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Kd(e){if("html"===Dd(e))return e;const t=e.assignedSlot||e.parentNode||zd(e)&&e.host||Ld(e);return zd(t)?t.host:t}function Yd(e){const t=Kd(e);return Wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:jd(t)&&Ud(t)?t:Yd(t)}function Qd(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Yd(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Ad(i);return o?t.concat(a,a.visualViewport||[],Ud(i)?i:[],a.frameElement&&n?Qd(a.frameElement):[]):t.concat(i,Qd(i,[],n))}function Gd(e){const t=Vd(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=jd(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=ad(n)!==o||ad(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Jd(e){return Md(e)?e:e.contextElement}function Xd(e){const t=Jd(e);if(!jd(t))return ld(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Gd(t);let a=(o?ad(n.width):n.width)/r,s=(o?ad(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Zd=ld(0);function ef(e){const t=Ad(e);return Hd()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Zd}function tf(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Jd(e);let a=ld(1);t&&(r?Md(r)&&(a=Xd(r)):a=Xd(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ad(e))&&t}(o,n,r)?ef(o):ld(0);let l=(i.left+s.x)/a.x,u=(i.top+s.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(o){const e=Ad(o),t=r&&Md(r)?Ad(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Xd(n),t=n.getBoundingClientRect(),r=Vd(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,c*=e.x,d*=e.y,l+=i,u+=o,n=Ad(n).frameElement}}return Cd({width:c,height:d,x:l,y:u})}function nf(e){return tf(Ld(e)).left+$d(e).scrollLeft}function rf(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Ad(e),r=Ld(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Hd();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Ld(e),n=$d(e),r=e.ownerDocument.body,i=od(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=od(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+nf(e);const s=-n.scrollTop;return"rtl"===Vd(r).direction&&(a+=od(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Ld(e));else if(Md(t))r=function(e,t){const n=tf(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=jd(e)?Xd(e):ld(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=ef(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Cd(r)}function of(e,t){const n=Kd(e);return!(n===t||!Md(n)||Wd(n))&&("fixed"===Vd(n).position||of(n,t))}function af(e,t,n){const r=jd(t),i=Ld(t),o="fixed"===n,a=tf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=ld(0);if(r||!r&&!o)if(("body"!==Dd(t)||Ud(i))&&(s=$d(t)),r){const e=tf(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=nf(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function sf(e,t){return jd(e)&&"fixed"!==Vd(e).position?t?t(e):e.offsetParent:null}function lf(e,t){const n=Ad(e);if(!jd(e))return n;let r=sf(e,t);for(;r&&Bd(r)&&"static"===Vd(r).position;)r=sf(r,t);return r&&("html"===Dd(r)||"body"===Dd(r)&&"static"===Vd(r).position&&!qd(r))?n:r||function(e){let t=Kd(e);for(;jd(t)&&!Wd(t);){if(qd(t))return t;t=Kd(t)}return null}(e)||n}const uf={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=jd(n),o=Ld(n);if(n===o)return t;let a={scrollLeft:0,scrollTop:0},s=ld(1);const l=ld(0);if((i||!i&&"fixed"!==r)&&(("body"!==Dd(n)||Ud(o))&&(a=$d(n)),jd(n))){const e=tf(n);s=Xd(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ld,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Qd(e,[],!1).filter((e=>Md(e)&&"body"!==Dd(e))),i=null;const o="fixed"===Vd(e).position;let a=o?Kd(e):e;for(;Md(a)&&!Wd(a);){const t=Vd(a),n=qd(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Ud(a)&&!n&&of(e,a))?r=r.filter((e=>e!==a)):i=t,a=Kd(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...o,r],s=a[0],l=a.reduce(((e,n)=>{const r=rf(t,n,i);return e.top=od(r.top,e.top),e.right=id(r.right,e.right),e.bottom=id(r.bottom,e.bottom),e.left=od(r.left,e.left),e}),rf(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:lf,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||lf,o=this.getDimensions;return{reference:af(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Gd(e)},getScale:Xd,isElement:Md,isRTL:function(e){return"rtl"===Vd(e).direction}};function cf(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"===typeof ResizeObserver,layoutShift:s="function"===typeof IntersectionObserver,animationFrame:l=!1}=r,u=Jd(e),c=i||o?[...u?Qd(u):[],...Qd(t)]:[];c.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const d=u&&s?function(e,t){let n,r=null;const i=Ld(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h={rootMargin:-sd(c)+"px "+-sd(i.clientWidth-(u+d))+"px "+-sd(i.clientHeight-(c+f))+"px "+-sd(u)+"px",threshold:od(0,id(1,l))||1};let p=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!p)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{r=new IntersectionObserver(m,{...h,root:i.ownerDocument})}catch(g){r=new IntersectionObserver(m,h)}r.observe(e)}(!0),o}(u,n):null;let f,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{p&&p.observe(t)}))),n()})),u&&!l&&p.observe(u),p.observe(t));let m=l?tf(e):null;return l&&function t(){const r=tf(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n();m=r,f=requestAnimationFrame(t)}(),n(),()=>{c.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),d&&d(),p&&p.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const df=(e,t,n)=>{const r=new Map,i={platform:uf,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Ed(u,r,l),f=r,h={},p=0;for(let m=0;m