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A,IAIAC,EAAAnG,OAAA,KAEA,GAAA4G,KAAAA,EAAAE,OAAA,CAAArC,GACA,OACA,IAAAK,EAAAwB,EAAAU,GAAA,CAAAvC,GACA,IAAAK,EACA,OACA,IAAAmC,EAAAN,EAAAG,OAAA,CAAArC,GACAyC,EAAA,KACAZ,EAAA/B,MAAA,CAAAE,GACA0B,EAAA5B,MAAA,CAAAE,GAEA,IAAA0C,EAAAd,EAAAnI,OAAA,CAAAkJ,SAAA,IAAAC,EAAA5C,GAAA,GAAAA,GAGA,GAFA4B,EAAAnI,OAAA,CAAAoJ,MAAA,CAAAH,EAAA,GAEA,CAAAhB,EAAAtK,IAAA,EAEA,GADAwK,EAAAnI,OAAA,CAAA2H,EACA3D,CAAA,IAAAA,EAAAhE,OAAA,CACA,OACAiH,IACAzB,GAAAA,GACA,GAEAwC,EAAAoB,MAAA,CAAAL,EAAA,EAAmDtZ,EAAAsV,aAAmB,CAACO,EAAa,CAAIiB,IAAAI,EAAAC,GAAArC,UAAA,GAAAiB,eAAAwD,EAAAvD,OAAAA,EAAAC,sBAAAA,EAAAC,KAAAA,CAAA,EAA6IiB,GACrO,GAGAoB,EAAAA,EAAA5P,GAAA,KACA,IAAAmO,EAAAK,EAAAL,GAAA,CACA,OAAA0B,EAAAoB,GAAA,CAAA9C,GAAAK,EAA6CnX,EAAAsV,aAAmB,CAACO,EAAa,CAAIiB,IAAAI,EAAAC,GAAArC,UAAA,GAAAmB,sBAAAA,EAAAC,KAAAA,CAAA,EAAoGiB,EAAA,GAO1KnX,EAAAsV,aAAmB,CAACtV,EAAA+Y,QAAc,MAAAP,EAAAtK,IAAA,CAC9CqK,EACAA,EAAA5P,GAAA,IAA0C,GAAA3I,EAAA4V,YAAA,EAAYuB,GAAA,CACtD","sources":["webpack://_N_E/./node_modules/ariakit/esm/heading/heading.js","webpack://_N_E/./node_modules/ariakit/esm/dialog/dialog-heading.js","webpack://_N_E/./node_modules/ariakit/esm/dialog/dialog-description.js","webpack://_N_E/./node_modules/ariakit/esm/popover/popover-description.js","webpack://_N_E/./node_modules/ariakit/esm/popover/popover-heading.js","webpack://_N_E/./node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs","webpack://_N_E/./node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","webpack://_N_E/./node_modules/ariakit/esm/popover/popover-state.js","webpack://_N_E/./node_modules/ariakit/esm/__utils-6722acf5.js","webpack://_N_E/./node_modules/ariakit/esm/popover/popover.js","webpack://_N_E/./node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs","webpack://_N_E/./node_modules/framer-motion/dist/es/utils/use-force-update.mjs","webpack://_N_E/./node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","webpack://_N_E/./node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","webpack://_N_E/./node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs","webpack://_N_E/./node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","webpack://_N_E/"],"sourcesContent":["import { useRef, useContext, useMemo } from 'react';\nimport { useTagName, useForkRef } from 'ariakit-react-utils/hooks';\nimport { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { H as HeadingContext } from '../__utils-fc7746f4.js';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a heading element. The element type (or the\n * `aria-level` prop, if the element type is not a native heading) is determined\n * by the context level provided by the parent `HeadingLevel` component.\n * @see https://ariakit.org/components/heading\n * @example\n * ```jsx\n * const props = useHeading();\n * Heading\n * ```\n */\nconst useHeading = createHook(props => {\n const ref = useRef(null);\n const level = useContext(HeadingContext) || 1;\n const as = `h${level}`;\n const tagName = useTagName(ref, props.as || as);\n const isNativeHeading = useMemo(() => !!tagName && /^h\\d$/.test(tagName), [tagName]);\n props = {\n as,\n role: !isNativeHeading ? \"heading\" : undefined,\n \"aria-level\": !isNativeHeading ? level : undefined,\n ...props,\n ref: useForkRef(ref, props.ref)\n };\n return props;\n});\n\n/**\n * A component that renders a heading element. The element type (or the\n * `aria-level` prop, if the element type is not a native heading) is determined\n * by the context level provided by the parent `HeadingLevel` component.\n * @see https://ariakit.org/components/heading\n * @example\n * ```jsx\n * \n * Heading 1\n * \n * Heading 2\n * \n * \n * ```\n */\nconst Heading = createComponent(props => {\n const htmlProps = useHeading(props);\n return createElement(\"h1\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n Heading.displayName = \"Heading\";\n}\n\nexport { Heading, useHeading };\n","import { useContext } from 'react';\nimport { useId, useSafeLayoutEffect } from 'ariakit-react-utils/hooks';\nimport { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { a as DialogHeadingContext } from '../dialog-context-a736b58f.js';\nimport { useHeading } from '../heading/heading.js';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a heading element for a dialog. This hook must be\n * used in a component that's wrapped with `Dialog` so the `aria-labelledby`\n * prop is properly set on the dialog element.\n * @see https://ariakit.org/components/dialog\n * @example\n * ```jsx\n * // This component must be wrapped with Dialog\n * const props = useDialogHeading();\n * Heading\n * ```\n */\nconst useDialogHeading = createHook(_ref => {\n let {\n state,\n ...props\n } = _ref;\n const setHeadingId = useContext(DialogHeadingContext);\n const id = useId(props.id);\n useSafeLayoutEffect(() => {\n setHeadingId?.(id);\n return () => setHeadingId?.(undefined);\n }, [setHeadingId, id]);\n props = {\n id,\n ...props\n };\n props = useHeading(props);\n return props;\n});\n\n/**\n * A component that renders a heading in a dialog. This component must be\n * wrapped with `Dialog` so the `aria-labelledby` prop is properly set on the\n * dialog element.\n * @see https://ariakit.org/components/dialog\n * @example\n * ```jsx\n * const dialog = useDialogState();\n * \n * Heading\n * \n * ```\n */\nconst DialogHeading = createComponent(props => {\n const htmlProps = useDialogHeading(props);\n return createElement(\"h1\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n DialogHeading.displayName = \"DialogHeading\";\n}\n\nexport { DialogHeading, useDialogHeading };\n","import { useContext } from 'react';\nimport { useId, useSafeLayoutEffect } from 'ariakit-react-utils/hooks';\nimport { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { b as DialogDescriptionContext } from '../dialog-context-a736b58f.js';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a description element for a dialog. This hook\n * must be used in a component that's wrapped with `Dialog` so the\n * `aria-describedby` prop is properly set on the dialog element.\n * @see https://ariakit.org/components/dialog\n * @example\n * ```jsx\n * // This component must be wrapped with Dialog\n * const props = useDialogDescription();\n * Description\n * ```\n */\nconst useDialogDescription = createHook(_ref => {\n let {\n state,\n ...props\n } = _ref;\n const setDescriptionId = useContext(DialogDescriptionContext);\n const id = useId(props.id);\n useSafeLayoutEffect(() => {\n setDescriptionId?.(id);\n return () => setDescriptionId?.(undefined);\n }, [setDescriptionId, id]);\n props = {\n id,\n ...props\n };\n return props;\n});\n\n/**\n * A component that renders a description in a dialog. This component must be\n * wrapped with `Dialog` so the `aria-describedby` prop is properly set on the\n * dialog element.\n * @see https://ariakit.org/components/dialog\n * @example\n * ```jsx\n * const dialog = useDialogState();\n * \n * Description\n * \n * ```\n */\nconst DialogDescription = createComponent(props => {\n const htmlProps = useDialogDescription(props);\n return createElement(\"p\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n DialogDescription.displayName = \"DialogDescription\";\n}\n\nexport { DialogDescription, useDialogDescription };\n","import { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { useDialogDescription } from '../dialog/dialog-description.js';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a description element for a popover. This hook\n * must be used in a component that's wrapped with `Popover` so the\n * `aria-describedby` prop is properly set on the popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * // This component must be wrapped with Popover\n * const props = usePopoverDescription();\n * Description\n * ```\n */\nconst usePopoverDescription = createHook(props => {\n props = useDialogDescription(props);\n return props;\n});\n\n/**\n * A component that renders a description in a popover. This component must be\n * wrapped with `Popover` so the `aria-describedby` prop is properly set on the\n * popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * const popover = usePopoverState();\n * \n * Description\n * \n * ```\n */\nconst PopoverDescription = createComponent(props => {\n const htmlProps = usePopoverDescription(props);\n return createElement(\"p\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n PopoverDescription.displayName = \"PopoverDescription\";\n}\n\nexport { PopoverDescription, usePopoverDescription };\n","import { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { useDialogHeading } from '../dialog/dialog-heading.js';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a heading element for a popover. This hook must\n * be used in a component that's wrapped with `Popover` so the `aria-labelledby`\n * prop is properly set on the popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * // This component must be wrapped with Popover\n * const props = usePopoverHeading();\n * Heading\n * ```\n */\nconst usePopoverHeading = createHook(props => {\n props = useDialogHeading(props);\n return props;\n});\n\n/**\n * A component that renders a heading in a popover. This component must be\n * wrapped with `Popover` so the `aria-labelledby` prop is properly set on the\n * popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * const popover = usePopoverState();\n * \n * Heading\n * \n * ```\n */\nconst PopoverHeading = createComponent(props => {\n const htmlProps = usePopoverHeading(props);\n return createElement(\"h1\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n PopoverHeading.displayName = \"PopoverHeading\";\n}\n\nexport { PopoverHeading, usePopoverHeading };\n","function t(t){return t.split(\"-\")[0]}function e(t){return t.split(\"-\")[1]}function n(e){return[\"top\",\"bottom\"].includes(t(e))?\"x\":\"y\"}function r(t){return\"y\"===t?\"height\":\"width\"}function i(i,o,a){let{reference:l,floating:s}=i;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=n(o),m=r(u),g=l[m]/2-s[m]/2,d=\"x\"===u;let p;switch(t(o)){case\"top\":p={x:c,y:l.y-s.height};break;case\"bottom\":p={x:c,y:l.y+l.height};break;case\"right\":p={x:l.x+l.width,y:f};break;case\"left\":p={x:l.x-s.width,y:f};break;default:p={x:l.x,y:l.y}}switch(e(o)){case\"start\":p[u]-=g*(a&&d?-1:1);break;case\"end\":p[u]+=g*(a&&d?-1:1)}return p}const o=async(t,e,n)=>{const{placement:r=\"bottom\",strategy:o=\"absolute\",middleware:a=[],platform:l}=n,s=a.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(e));let f=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:m}=i(f,r,c),g=r,d={},p=0;for(let n=0;n({name:\"arrow\",options:t,async fn(i){const{element:o,padding:l=0}=null!=t?t:{},{x:s,y:c,placement:f,rects:m,platform:g}=i;if(null==o)return{};const d=a(l),p={x:s,y:c},h=n(f),y=e(f),x=r(h),w=await g.getDimensions(o),v=\"y\"===h?\"top\":\"left\",b=\"y\"===h?\"bottom\":\"right\",R=m.reference[x]+m.reference[h]-p[h]-m.floating[x],A=p[h]-m.reference[h],P=await(null==g.getOffsetParent?void 0:g.getOffsetParent(o));let T=P?\"y\"===h?P.clientHeight||0:P.clientWidth||0:0;0===T&&(T=m.floating[x]);const O=R/2-A/2,L=d[v],D=T-w[x]-d[b],k=T/2-w[x]/2+O,E=u(L,k,D),B=(\"start\"===y?d[v]:d[b])>0&&k!==E&&m.reference[x]<=m.floating[x];return{[h]:p[h]-(B?kg[t]))}function p(t,i,o){void 0===o&&(o=!1);const a=e(t),l=n(t),s=r(l);let c=\"x\"===l?a===(o?\"end\":\"start\")?\"right\":\"left\":\"start\"===a?\"bottom\":\"top\";return i.reference[s]>i.floating[s]&&(c=d(c)),{main:c,cross:d(c)}}const h={start:\"end\",end:\"start\"};function y(t){return t.replace(/start|end/g,(t=>h[t]))}const x=[\"top\",\"right\",\"bottom\",\"left\"],w=x.reduce(((t,e)=>t.concat(e,e+\"-start\",e+\"-end\")),[]);const v=function(n){return void 0===n&&(n={}),{name:\"autoPlacement\",options:n,async fn(r){var i,o,a,l,c;const{x:f,y:u,rects:m,middlewareData:g,placement:d,platform:h,elements:x}=r,{alignment:v=null,allowedPlacements:b=w,autoAlignment:R=!0,...A}=n,P=function(n,r,i){return(n?[...i.filter((t=>e(t)===n)),...i.filter((t=>e(t)!==n))]:i.filter((e=>t(e)===e))).filter((t=>!n||e(t)===n||!!r&&y(t)!==t))}(v,R,b),T=await s(r,A),O=null!=(i=null==(o=g.autoPlacement)?void 0:o.index)?i:0,L=P[O];if(null==L)return{};const{main:D,cross:k}=p(L,m,await(null==h.isRTL?void 0:h.isRTL(x.floating)));if(d!==L)return{x:f,y:u,reset:{placement:P[0]}};const E=[T[t(L)],T[D],T[k]],B=[...null!=(a=null==(l=g.autoPlacement)?void 0:l.overflows)?a:[],{placement:L,overflows:E}],C=P[O+1];if(C)return{data:{index:O+1,overflows:B},reset:{placement:C}};const H=B.slice().sort(((t,e)=>t.overflows[0]-e.overflows[0])),V=null==(c=H.find((t=>{let{overflows:e}=t;return e.every((t=>t<=0))})))?void 0:c.placement,F=null!=V?V:H[0].placement;return F!==d?{data:{index:O+1,overflows:B},reset:{placement:F}}:{}}}};const b=function(e){return void 0===e&&(e={}),{name:\"flip\",options:e,async fn(n){var r;const{placement:i,middlewareData:o,rects:a,initialPlacement:l,platform:c,elements:f}=n,{mainAxis:u=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:h=\"bestFit\",flipAlignment:x=!0,...w}=e,v=t(i),b=g||(v===l||!x?[d(l)]:function(t){const e=d(t);return[y(t),e,y(e)]}(l)),R=[l,...b],A=await s(n,w),P=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&P.push(A[v]),m){const{main:t,cross:e}=p(i,a,await(null==c.isRTL?void 0:c.isRTL(f.floating)));P.push(A[t],A[e])}if(T=[...T,{placement:i,overflows:P}],!P.every((t=>t<=0))){var O,L;const t=(null!=(O=null==(L=o.flip)?void 0:L.index)?O:0)+1,e=R[t];if(e)return{data:{index:t,overflows:T},reset:{placement:e}};let n=\"bottom\";switch(h){case\"bestFit\":{var D;const t=null==(D=T.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:D[0].placement;t&&(n=t);break}case\"initialPlacement\":n=l}if(i!==n)return{reset:{placement:n}}}return{}}}};function R(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function A(t){return x.some((e=>t[e]>=0))}const P=function(t){let{strategy:e=\"referenceHidden\",...n}=void 0===t?{}:t;return{name:\"hide\",async fn(t){const{rects:r}=t;switch(e){case\"referenceHidden\":{const e=R(await s(t,{...n,elementContext:\"reference\"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:A(e)}}}case\"escaped\":{const e=R(await s(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:A(e)}}}default:return{}}}}};const T=function(r){return void 0===r&&(r=0),{name:\"offset\",options:r,async fn(i){const{x:o,y:a}=i,l=await async function(r,i){const{placement:o,platform:a,elements:l}=r,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=t(o),f=e(o),u=\"x\"===n(o),m=[\"left\",\"top\"].includes(c)?-1:1,g=s&&u?-1:1,d=\"function\"==typeof i?i(r):i;let{mainAxis:p,crossAxis:h,alignmentAxis:y}=\"number\"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return f&&\"number\"==typeof y&&(h=\"end\"===f?-1*y:y),u?{x:h*g,y:p*m}:{x:p*m,y:h*g}}(i,r);return{x:o+l.x,y:a+l.y,data:l}}}};function O(t){return\"x\"===t?\"y\":\"x\"}const L=function(e){return void 0===e&&(e={}),{name:\"shift\",options:e,async fn(r){const{x:i,y:o,placement:a}=r,{mainAxis:l=!0,crossAxis:c=!1,limiter:f={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=e,g={x:i,y:o},d=await s(r,m),p=n(t(a)),h=O(p);let y=g[p],x=g[h];if(l){const t=\"y\"===p?\"bottom\":\"right\";y=u(y+d[\"y\"===p?\"top\":\"left\"],y,y-d[t])}if(c){const t=\"y\"===h?\"bottom\":\"right\";x=u(x+d[\"y\"===h?\"top\":\"left\"],x,x-d[t])}const w=f.fn({...r,[p]:y,[h]:x});return{...w,data:{x:w.x-i,y:w.y-o}}}}},D=function(e){return void 0===e&&(e={}),{options:e,fn(r){const{x:i,y:o,placement:a,rects:l,middlewareData:s}=r,{offset:c=0,mainAxis:f=!0,crossAxis:u=!0}=e,m={x:i,y:o},g=n(a),d=O(g);let p=m[g],h=m[d];const y=\"function\"==typeof c?c(r):c,x=\"number\"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(f){const t=\"y\"===g?\"height\":\"width\",e=l.reference[g]-l.floating[t]+x.mainAxis,n=l.reference[g]+l.reference[t]-x.mainAxis;pn&&(p=n)}if(u){var w,v,b,R;const e=\"y\"===g?\"width\":\"height\",n=[\"top\",\"left\"].includes(t(a)),r=l.reference[d]-l.floating[e]+(n&&null!=(w=null==(v=s.offset)?void 0:v[d])?w:0)+(n?0:x.crossAxis),i=l.reference[d]+l.reference[e]+(n?0:null!=(b=null==(R=s.offset)?void 0:R[d])?b:0)-(n?x.crossAxis:0);hi&&(h=i)}return{[g]:p,[d]:h}}}},k=function(n){return void 0===n&&(n={}),{name:\"size\",options:n,async fn(r){const{placement:i,rects:o,platform:a,elements:l}=r,{apply:c=(()=>{}),...u}=n,m=await s(r,u),g=t(i),d=e(i);let p,h;\"top\"===g||\"bottom\"===g?(p=g,h=d===(await(null==a.isRTL?void 0:a.isRTL(l.floating))?\"start\":\"end\")?\"left\":\"right\"):(h=g,p=\"end\"===d?\"top\":\"bottom\");const y=f(m.left,0),x=f(m.right,0),w=f(m.top,0),v=f(m.bottom,0),b={availableHeight:o.floating.height-([\"left\",\"right\"].includes(i)?2*(0!==w||0!==v?w+v:f(m.top,m.bottom)):m[p]),availableWidth:o.floating.width-([\"top\",\"bottom\"].includes(i)?2*(0!==y||0!==x?y+x:f(m.left,m.right)):m[h])};await c({...r,...b});const R=await a.getDimensions(l.floating);return o.floating.width!==R.width||o.floating.height!==R.height?{reset:{rects:!0}}:{}}}},E=function(e){return void 0===e&&(e={}),{name:\"inline\",options:e,async fn(r){var i;const{placement:o,elements:s,rects:u,platform:m,strategy:g}=r,{padding:d=2,x:p,y:h}=e,y=l(m.convertOffsetParentRelativeRectToViewportRelativeRect?await m.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u.reference,offsetParent:await(null==m.getOffsetParent?void 0:m.getOffsetParent(s.floating)),strategy:g}):u.reference),x=null!=(i=await(null==m.getClientRects?void 0:m.getClientRects(s.reference)))?i:[],w=a(d);const v=await m.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===x.length&&x[0].left>x[1].right&&null!=p&&null!=h)return null!=(e=x.find((t=>p>t.left-w.left&&pt.top-w.top&&h=2){if(\"x\"===n(o)){const e=x[0],n=x[x.length-1],r=\"top\"===t(o),i=e.top,a=n.bottom,l=r?e.left:n.left,s=r?e.right:n.right;return{top:i,bottom:a,left:l,right:s,width:s-l,height:a-i,x:l,y:i}}const e=\"left\"===t(o),r=f(...x.map((t=>t.right))),i=c(...x.map((t=>t.left))),a=x.filter((t=>e?t.left===i:t.right===r)),l=a[0].top,s=a[a.length-1].bottom;return{top:l,bottom:s,left:i,right:r,width:r-i,height:s-l,x:i,y:l}}return y}},floating:s.floating,strategy:g});return u.reference.x!==v.reference.x||u.reference.y!==v.reference.y||u.reference.width!==v.reference.width||u.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};export{m as arrow,v as autoPlacement,o as computePosition,s as detectOverflow,b as flip,P as hide,E as inline,D as limitShift,T as offset,l as rectToClientRect,L as shift,k as size};\n","import{rectToClientRect as t,computePosition as e}from\"@floating-ui/core\";export{arrow,autoPlacement,detectOverflow,flip,hide,inline,limitShift,offset,shift,size}from\"@floating-ui/core\";function n(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function o(t){if(null==t)return window;if(!n(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function i(t){return o(t).getComputedStyle(t)}function r(t){return n(t)?\"\":t?(t.nodeName||\"\").toLowerCase():\"\"}function l(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map((t=>t.brand+\"/\"+t.version)).join(\" \"):navigator.userAgent}function c(t){return t instanceof o(t).HTMLElement}function s(t){return t instanceof o(t).Element}function f(t){if(\"undefined\"==typeof ShadowRoot)return!1;return t instanceof o(t).ShadowRoot||t instanceof ShadowRoot}function u(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=i(t);return/auto|scroll|overlay|hidden/.test(e+o+n)&&![\"inline\",\"contents\"].includes(r)}function a(t){return[\"table\",\"td\",\"th\"].includes(r(t))}function d(t){const e=/firefox/i.test(l()),n=i(t),o=n.backdropFilter||n.WebkitBackdropFilter;return\"none\"!==n.transform||\"none\"!==n.perspective||!!o&&\"none\"!==o||e&&\"filter\"===n.willChange||e&&!!n.filter&&\"none\"!==n.filter||[\"transform\",\"perspective\"].some((t=>n.willChange.includes(t)))||[\"paint\",\"layout\",\"strict\",\"content\"].some((t=>{const e=n.contain;return null!=e&&e.includes(t)}))}function h(){return!/^((?!chrome|android).)*safari/i.test(l())}function g(t){return[\"html\",\"body\",\"#document\"].includes(r(t))}const m=Math.min,p=Math.max,w=Math.round;function v(t,e,n){var i,r,l,f;void 0===e&&(e=!1),void 0===n&&(n=!1);const u=t.getBoundingClientRect();let a=1,d=1;e&&c(t)&&(a=t.offsetWidth>0&&w(u.width)/t.offsetWidth||1,d=t.offsetHeight>0&&w(u.height)/t.offsetHeight||1);const g=s(t)?o(t):window,m=!h()&&n,p=(u.left+(m&&null!=(i=null==(r=g.visualViewport)?void 0:r.offsetLeft)?i:0))/a,v=(u.top+(m&&null!=(l=null==(f=g.visualViewport)?void 0:f.offsetTop)?l:0))/d,y=u.width/a,x=u.height/d;return{width:y,height:x,top:v,right:p+y,bottom:v+x,left:p,x:p,y:v}}function y(t){return(e=t,(e instanceof o(e).Node?t.ownerDocument:t.document)||window.document).documentElement;var e}function x(t){return s(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(t){return v(y(t)).left+x(t).scrollLeft}function L(t,e,n){const o=c(e),i=y(e),l=v(t,o&&function(t){const e=v(t);return w(e.width)!==t.offsetWidth||w(e.height)!==t.offsetHeight}(e),\"fixed\"===n);let s={scrollLeft:0,scrollTop:0};const f={x:0,y:0};if(o||!o&&\"fixed\"!==n)if((\"body\"!==r(e)||u(i))&&(s=x(e)),c(e)){const t=v(e,!0);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else i&&(f.x=b(i));return{x:l.left+s.scrollLeft-f.x,y:l.top+s.scrollTop-f.y,width:l.width,height:l.height}}function E(t){if(\"html\"===r(t))return t;const e=t.assignedSlot||t.parentNode||(f(t)?t.host:null)||y(t);return f(e)?e.host:e}function R(t){return c(t)&&\"fixed\"!==i(t).position?t.offsetParent:null}function T(t){const e=o(t);let n=R(t);for(;n&&a(n)&&\"static\"===i(n).position;)n=R(n);return n&&(\"html\"===r(n)||\"body\"===r(n)&&\"static\"===i(n).position&&!d(n))?e:n||function(t){let e=E(t);for(;c(e)&&!g(e);){if(d(e))return e;e=E(e)}return null}(t)||e}function W(t){const e=E(t);return g(e)?t.ownerDocument.body:c(e)&&u(e)?e:W(e)}function H(t,e){var n;void 0===e&&(e=[]);const i=W(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),l=o(i),c=r?[l].concat(l.visualViewport||[],u(i)?i:[]):i,s=e.concat(c);return r?s:s.concat(H(c))}function D(e,n,r){return\"viewport\"===n?t(function(t,e){const n=o(t),i=y(t),r=n.visualViewport;let l=i.clientWidth,c=i.clientHeight,s=0,f=0;if(r){l=r.width,c=r.height;const t=h();(t||!t&&\"fixed\"===e)&&(s=r.offsetLeft,f=r.offsetTop)}return{width:l,height:c,x:s,y:f}}(e,r)):s(n)?function(t,e){const n=v(t,!1,\"fixed\"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft;return{top:o,left:i,x:i,y:o,right:i+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,r):t(function(t){var e;const n=y(t),o=x(t),r=null==(e=t.ownerDocument)?void 0:e.body,l=p(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),c=p(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let s=-o.scrollLeft+b(t);const f=-o.scrollTop;return\"rtl\"===i(r||n).direction&&(s+=p(n.clientWidth,r?r.clientWidth:0)-l),{width:l,height:c,x:s,y:f}}(y(e)))}const A={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:l}=t;const c=\"clippingAncestors\"===n?function(t){let e=H(t).filter((t=>s(t)&&\"body\"!==r(t))),n=null;const o=\"fixed\"===i(t).position;let l=o?E(t):t;for(;s(l)&&!g(l);){const t=i(l),r=d(l);(o?r||n:r||\"static\"!==t.position||!n||![\"absolute\",\"fixed\"].includes(n.position))?n=t:e=e.filter((t=>t!==l)),l=E(l)}return e}(e):[].concat(n),f=[...c,o],u=f[0],a=f.reduce(((t,n)=>{const o=D(e,n,l);return t.top=p(o.top,t.top),t.right=m(o.right,t.right),t.bottom=m(o.bottom,t.bottom),t.left=p(o.left,t.left),t}),D(e,u,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const i=c(n),l=y(n);if(n===l)return e;let s={scrollLeft:0,scrollTop:0};const f={x:0,y:0};if((i||!i&&\"fixed\"!==o)&&((\"body\"!==r(n)||u(l))&&(s=x(n)),c(n))){const t=v(n,!0);f.x=t.x+n.clientLeft,f.y=t.y+n.clientTop}return{...e,x:e.x-s.scrollLeft+f.x,y:e.y-s.scrollTop+f.y}},isElement:s,getDimensions:function(t){if(c(t))return{width:t.offsetWidth,height:t.offsetHeight};const e=v(t);return{width:e.width,height:e.height}},getOffsetParent:T,getDocumentElement:y,async getElementRects(t){let{reference:e,floating:n,strategy:o}=t;const i=this.getOffsetParent||T,r=this.getDimensions;return{reference:L(e,await i(n),o),floating:{x:0,y:0,...await r(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>\"rtl\"===i(t).direction};function C(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=!0,animationFrame:c=!1}=o,f=i&&!c,u=f||r?[...s(t)?H(t):t.contextElement?H(t.contextElement):[],...H(e)]:[];u.forEach((t=>{f&&t.addEventListener(\"scroll\",n,{passive:!0}),r&&t.addEventListener(\"resize\",n)}));let a,d=null;if(l){let o=!0;d=new ResizeObserver((()=>{o||n(),o=!1})),s(t)&&!c&&d.observe(t),s(t)||!t.contextElement||c||d.observe(t.contextElement),d.observe(e)}let h=c?v(t):null;return c&&function e(){const o=v(t);!h||o.x===h.x&&o.y===h.y&&o.width===h.width&&o.height===h.height||n();h=o,a=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{f&&t.removeEventListener(\"scroll\",n),r&&t.removeEventListener(\"resize\",n)})),null==(t=d)||t.disconnect(),d=null,c&&cancelAnimationFrame(a)}}const O=(t,n,o)=>e(t,n,{platform:A,...o});export{C as autoUpdate,O as computePosition,H as getOverflowAncestors,A as platform};\n","import { useRef, useState, useMemo } from 'react';\nimport { autoUpdate, computePosition, arrow, flip, offset, shift, size } from '@floating-ui/dom';\nimport { useEvent, useForceUpdate, useSafeLayoutEffect } from 'ariakit-react-utils/hooks';\nimport { flushSync } from 'react-dom';\nimport { useDialogState } from '../dialog/dialog-state.js';\n\nconst middlewares = {\n arrow,\n flip,\n offset,\n shift,\n size\n};\nfunction createDOMRect(x, y, width, height) {\n if (x === void 0) {\n x = 0;\n }\n if (y === void 0) {\n y = 0;\n }\n if (width === void 0) {\n width = 0;\n }\n if (height === void 0) {\n height = 0;\n }\n if (typeof DOMRect === \"function\") {\n return new DOMRect(x, y, width, height);\n }\n // JSDOM doesn't support DOMRect constructor.\n const rect = {\n x,\n y,\n width,\n height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n return {\n ...rect,\n toJSON: () => rect\n };\n}\nfunction getDOMRect(anchorRect) {\n if (!anchorRect) return createDOMRect();\n const {\n x,\n y,\n width,\n height\n } = anchorRect;\n return createDOMRect(x, y, width, height);\n}\nfunction getAnchorElement(anchorRef, getAnchorRect) {\n // https://floating-ui.com/docs/virtual-elements\n const contextElement = anchorRef.current || undefined;\n return {\n contextElement,\n getBoundingClientRect: () => {\n const anchor = anchorRef.current;\n const anchorRect = getAnchorRect(anchor);\n if (anchorRect || !anchor) {\n return getDOMRect(anchorRect);\n }\n return anchor.getBoundingClientRect();\n }\n };\n}\nfunction isValidPlacement(flip) {\n return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(flip);\n}\n\n/**\n * Provides state for the `Popover` components.\n * @example\n * ```jsx\n * const popover = usePopoverState();\n * Disclosure\n * Popover\n * ```\n */\nfunction usePopoverState(_temp) {\n let {\n placement = \"bottom\",\n fixed = false,\n gutter,\n flip = true,\n shift = 0,\n slide = true,\n overlap = false,\n sameWidth = false,\n fitViewport = false,\n arrowPadding = 4,\n overflowPadding = 8,\n renderCallback,\n ...props\n } = _temp === void 0 ? {} : _temp;\n const dialog = useDialogState(props);\n const defaultGetAnchorRect = anchor => anchor?.getBoundingClientRect() || null;\n const getAnchorRect = useEvent(props.getAnchorRect || defaultGetAnchorRect);\n const anchorRef = useRef(null);\n const popoverRef = useRef(null);\n const arrowRef = useRef(null);\n const [currentPlacement, setCurrentPlacement] = useState(placement);\n const [rendered, render] = useForceUpdate();\n useSafeLayoutEffect(() => {\n if (!dialog.contentElement?.isConnected) return;\n const popover = popoverRef.current;\n if (!popover) return;\n const anchor = getAnchorElement(anchorRef, getAnchorRect);\n const arrow = arrowRef.current;\n const arrowOffset = (arrow?.clientHeight || 0) / 2;\n const finalGutter = typeof gutter === \"number\" ? gutter + arrowOffset : gutter ?? arrowOffset;\n popover.style.setProperty(\"--popover-overflow-padding\", `${overflowPadding}px`);\n const defaultRenderCallback = () => {\n const update = async () => {\n if (!dialog.mounted) return;\n const middleware = [\n // https://floating-ui.com/docs/offset\n middlewares.offset(_ref => {\n let {\n placement\n } = _ref;\n // If there's no placement alignment (*-start or *-end), we'll\n // fallback to the crossAxis offset as it also works for\n // center-aligned placements.\n const hasAlignment = !!placement.split(\"-\")[1];\n return {\n crossAxis: !hasAlignment ? shift : undefined,\n mainAxis: finalGutter,\n alignmentAxis: shift\n };\n })];\n if (flip !== false) {\n const fallbackPlacements = typeof flip === \"string\" ? flip.split(\" \") : undefined;\n if (fallbackPlacements !== undefined && !fallbackPlacements.every(isValidPlacement)) {\n throw new Error(\"`flip` expects a spaced-delimited list of placements\");\n }\n\n // https://floating-ui.com/docs/flip\n middleware.push(middlewares.flip({\n padding: overflowPadding,\n fallbackPlacements: fallbackPlacements\n }));\n }\n if (slide || overlap) {\n // https://floating-ui.com/docs/shift\n middleware.push(middlewares.shift({\n mainAxis: slide,\n crossAxis: overlap,\n padding: overflowPadding\n }));\n }\n\n // https://floating-ui.com/docs/size\n middleware.push(middlewares.size({\n padding: overflowPadding,\n apply(_ref2) {\n let {\n availableWidth,\n availableHeight,\n rects\n } = _ref2;\n const referenceWidth = Math.round(rects.reference.width);\n availableWidth = Math.floor(availableWidth);\n availableHeight = Math.floor(availableHeight);\n popover.style.setProperty(\"--popover-anchor-width\", `${referenceWidth}px`);\n popover.style.setProperty(\"--popover-available-width\", `${availableWidth}px`);\n popover.style.setProperty(\"--popover-available-height\", `${availableHeight}px`);\n if (sameWidth) {\n popover.style.width = `${referenceWidth}px`;\n }\n if (fitViewport) {\n popover.style.maxWidth = `${availableWidth}px`;\n popover.style.maxHeight = `${availableHeight}px`;\n }\n }\n }));\n if (arrow) {\n // https://floating-ui.com/docs/arrow\n middleware.push(middlewares.arrow({\n element: arrow,\n padding: arrowPadding\n }));\n }\n\n // https://floating-ui.com/docs/computePosition\n const pos = await computePosition(anchor, popover, {\n placement,\n strategy: fixed ? \"fixed\" : \"absolute\",\n middleware\n });\n\n // Update the current placement state synchronously to avoid styling\n // flashes. For example, without this, a popover that has initially\n // placement set to \"bottom\", but gets flipped to \"top\" will have a\n // frame where the popover arrow is not properly rotated (PopoverArrow\n // uses the currentPlacement state).\n flushSync(() => {\n setCurrentPlacement(pos.placement);\n });\n const x = Math.round(pos.x);\n const y = Math.round(pos.y);\n\n // https://floating-ui.com/docs/misc#subpixel-and-accelerated-positioning\n Object.assign(popover.style, {\n top: \"0\",\n left: \"0\",\n transform: `translate3d(${x}px, ${y}px, 0)`\n });\n\n // https://floating-ui.com/docs/arrow#usage\n if (arrow && pos.middlewareData.arrow) {\n const {\n x: arrowX,\n y: arrowY\n } = pos.middlewareData.arrow;\n const dir = pos.placement.split(\"-\")[0];\n Object.assign(arrow.style, {\n left: arrowX != null ? `${arrowX}px` : \"\",\n top: arrowY != null ? `${arrowY}px` : \"\",\n [dir]: \"100%\"\n });\n }\n };\n\n // https://floating-ui.com/docs/autoUpdate\n return autoUpdate(anchor, popover, update, {\n // JSDOM doesn't support ResizeObserver\n elementResize: typeof ResizeObserver === \"function\"\n });\n };\n if (renderCallback) {\n return renderCallback({\n mounted: dialog.mounted,\n placement,\n fixed,\n gutter: finalGutter,\n shift,\n overlap,\n flip,\n sameWidth,\n fitViewport,\n arrowPadding,\n overflowPadding,\n popover,\n anchor,\n arrow,\n setPlacement: setCurrentPlacement,\n defaultRenderCallback\n });\n }\n return defaultRenderCallback();\n }, [rendered, dialog.contentElement, getAnchorRect, gutter, dialog.mounted, shift, overlap, flip, overflowPadding, slide, sameWidth, fitViewport, arrowPadding, placement, fixed, renderCallback]);\n const state = useMemo(() => ({\n ...dialog,\n getAnchorRect,\n anchorRef,\n popoverRef,\n arrowRef,\n currentPlacement,\n placement,\n fixed,\n gutter,\n shift,\n flip,\n slide,\n overlap,\n sameWidth,\n fitViewport,\n arrowPadding,\n overflowPadding,\n render,\n renderCallback\n }), [dialog, getAnchorRect, currentPlacement, placement, fixed, gutter, shift, flip, slide, overlap, sameWidth, fitViewport, arrowPadding, overflowPadding, render, renderCallback]);\n return state;\n}\n\nexport { usePopoverState };\n","import { createContext } from 'react';\n\nconst PopoverContext = /*#__PURE__*/createContext(undefined);\n\nexport { PopoverContext as P };\n","import { useState } from 'react';\nimport { useSafeLayoutEffect, usePortalRef, useWrapElement } from 'ariakit-react-utils/hooks';\nimport { createHook, createComponent, createElement } from 'ariakit-react-utils/system';\nimport { useDialog } from '../dialog/dialog.js';\nimport { P as PopoverContext } from '../__utils-6722acf5.js';\nimport { jsx } from 'react/jsx-runtime';\n\n/**\n * A component hook that returns props that can be passed to `Role` or any other\n * Ariakit component to render a popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * const state = usePopoverState();\n * const props = usePopover({ state });\n * Popover\n * ```\n */\nconst usePopover = createHook(_ref => {\n let {\n state,\n modal = false,\n portal = !!modal,\n preserveTabOrder = true,\n autoFocusOnShow = true,\n wrapperProps,\n ...props\n } = _ref;\n const popoverRef = state.popoverRef;\n\n // Makes sure the wrapper element that's passed to popper has the same\n // z-index as the popover element so users only need to set the z-index\n // once.\n useSafeLayoutEffect(() => {\n const wrapper = popoverRef.current;\n const popover = state.contentElement;\n if (!wrapper) return;\n if (!popover) return;\n wrapper.style.zIndex = getComputedStyle(popover).zIndex;\n }, [popoverRef, state.contentElement]);\n\n // We have to wait for the popover to be positioned before we can move\n // focus, otherwise there may be scroll jumps. See popover-standalone\n // example test-browser file.\n const [canAutoFocusOnShow, setCanAutoFocusOnShow] = useState(false);\n const {\n portalRef,\n domReady\n } = usePortalRef(portal, props.portalRef);\n useSafeLayoutEffect(() => {\n if (!domReady) return;\n if (!state.mounted) return;\n if (!state.contentElement?.isConnected) return;\n const raf = requestAnimationFrame(() => {\n setCanAutoFocusOnShow(true);\n });\n return () => {\n cancelAnimationFrame(raf);\n };\n }, [domReady, state.mounted, state.contentElement]);\n\n // Wrap our element in a div that will be used to position the popover.\n // This way the user doesn't need to override the popper's position to\n // create animations.\n props = useWrapElement(props, element => /*#__PURE__*/jsx(\"div\", {\n role: \"presentation\",\n ...wrapperProps,\n style: {\n position: state.fixed ? \"fixed\" : \"absolute\",\n top: 0,\n left: 0,\n ...wrapperProps?.style\n },\n ref: popoverRef,\n children: element\n }), [state.fixed, popoverRef, wrapperProps]);\n props = useWrapElement(props, element => /*#__PURE__*/jsx(PopoverContext.Provider, {\n value: state,\n children: element\n }), [state]);\n props = {\n ...props,\n style: {\n position: \"relative\",\n ...props.style\n }\n };\n props = useDialog({\n state,\n modal,\n preserveTabOrder,\n portal,\n autoFocusOnShow: canAutoFocusOnShow && autoFocusOnShow,\n ...props,\n portalRef\n });\n return props;\n});\n\n/**\n * A component that renders a popover element.\n * @see https://ariakit.org/components/popover\n * @example\n * ```jsx\n * const popover = usePopoverState();\n * Disclosure\n * Popover\n * ```\n */\nconst Popover = createComponent(props => {\n const htmlProps = usePopover(props);\n return createElement(\"div\", htmlProps);\n});\nif (process.env.NODE_ENV !== \"production\") {\n Popover.displayName = \"Popover\";\n}\n\nexport { Popover, usePopover };\n","import { useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './use-isomorphic-effect.mjs';\n\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useIsomorphicLayoutEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return isMounted;\n}\n\nexport { useIsMounted };\n","import { frame } from '../frameloop/index.mjs';\nimport { useState, useCallback } from 'react';\nimport { useIsMounted } from './use-is-mounted.mjs';\n\nfunction useForceUpdate() {\n const isMounted = useIsMounted();\n const [forcedRenderCount, setForcedRenderCount] = useState(0);\n const forceRender = useCallback(() => {\n isMounted.current && setForcedRenderCount(forcedRenderCount + 1);\n }, [forcedRenderCount]);\n /**\n * Defer this to the end of the next animation frame in case there are multiple\n * synchronous calls.\n */\n const deferredForceRender = useCallback(() => frame.postRender(forceRender), [forceRender]);\n return [deferredForceRender, forcedRenderCount];\n}\n\nexport { useForceUpdate };\n","import * as React from 'react';\nimport { useId, useRef, useInsertionEffect } from 'react';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n });\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n document.head.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n top: ${top}px !important;\n left: ${left}px !important;\n }\n `);\n }\n return () => {\n document.head.removeChild(style);\n };\n }, [isPresent]);\n return (React.createElement(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size }, React.cloneElement(children, { ref })));\n}\n\nexport { PopChild };\n","import * as React from 'react';\nimport { useId, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n const context = useMemo(() => ({\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: (childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n },\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n }), \n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n presenceAffectsLayout ? undefined : [isPresent]);\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = React.createElement(PopChild, { isPresent: isPresent }, children);\n }\n return (React.createElement(PresenceContext.Provider, { value: context }, children));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { useEffect } from 'react';\n\nfunction useUnmountEffect(callback) {\n return useEffect(() => () => callback(), []);\n}\n\nexport { useUnmountEffect };\n","import * as React from 'react';\nimport { useContext, useRef, cloneElement, Children, isValidElement } from 'react';\nimport { useForceUpdate } from '../../utils/use-force-update.mjs';\nimport { useIsMounted } from '../../utils/use-is-mounted.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { useUnmountEffect } from '../../utils/use-unmount-effect.mjs';\nimport { invariant } from '../../utils/errors.mjs';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction updateChildLookup(children, allChildren) {\n children.forEach((child) => {\n const key = getChildKey(child);\n allChildren.set(key, child);\n });\n}\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * \n * {items.map(item => (\n * \n * ))}\n * \n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, exitBeforeEnter, presenceAffectsLayout = true, mode = \"sync\", }) => {\n invariant(!exitBeforeEnter, \"Replace exitBeforeEnter with mode='wait'\");\n // We want to force a re-render once all exiting animations have finished. We\n // either use a local forceRender function, or one from a parent context if it exists.\n const forceRender = useContext(LayoutGroupContext).forceRender || useForceUpdate()[0];\n const isMounted = useIsMounted();\n // Filter out any children that aren't ReactElements. We can only track ReactElements with a props.key\n const filteredChildren = onlyElements(children);\n let childrenToRender = filteredChildren;\n const exiting = new Set();\n // Keep a living record of the children we're actually rendering so we\n // can diff to figure out which are entering and exiting\n const presentChildren = useRef(childrenToRender);\n // A lookup table to quickly reference components by key\n const allChildren = useRef(new Map()).current;\n // If this is the initial component render, just deal with logic surrounding whether\n // we play onMount animations or not.\n const isInitialRender = useRef(true);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n updateChildLookup(filteredChildren, allChildren);\n presentChildren.current = childrenToRender;\n });\n useUnmountEffect(() => {\n isInitialRender.current = true;\n allChildren.clear();\n exiting.clear();\n });\n if (isInitialRender.current) {\n return (React.createElement(React.Fragment, null, childrenToRender.map((child) => (React.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false, presenceAffectsLayout: presenceAffectsLayout, mode: mode }, child)))));\n }\n // If this is a subsequent render, deal with entering and exiting children\n childrenToRender = [...childrenToRender];\n // Diff the keys of the currently-present and target children to update our\n // exiting list.\n const presentKeys = presentChildren.current.map(getChildKey);\n const targetKeys = filteredChildren.map(getChildKey);\n // Diff the present children with our target children and mark those that are exiting\n const numPresent = presentKeys.length;\n for (let i = 0; i < numPresent; i++) {\n const key = presentKeys[i];\n if (targetKeys.indexOf(key) === -1) {\n exiting.add(key);\n }\n }\n // If we currently have exiting children, and we're deferring rendering incoming children\n // until after all current children have exiting, empty the childrenToRender array\n if (mode === \"wait\" && exiting.size) {\n childrenToRender = [];\n }\n // Loop through all currently exiting components and clone them to overwrite `animate`\n // with any `exit` prop they might have defined.\n exiting.forEach((key) => {\n // If this component is actually entering again, early return\n if (targetKeys.indexOf(key) !== -1)\n return;\n const child = allChildren.get(key);\n if (!child)\n return;\n const insertionIndex = presentKeys.indexOf(key);\n const onExit = () => {\n allChildren.delete(key);\n exiting.delete(key);\n // Remove this child from the present children\n const removeIndex = presentChildren.current.findIndex((presentChild) => presentChild.key === key);\n presentChildren.current.splice(removeIndex, 1);\n // Defer re-rendering until all exiting children have indeed left\n if (!exiting.size) {\n presentChildren.current = filteredChildren;\n if (isMounted.current === false)\n return;\n forceRender();\n onExitComplete && onExitComplete();\n }\n };\n childrenToRender.splice(insertionIndex, 0, React.createElement(PresenceChild, { key: getChildKey(child), isPresent: false, onExitComplete: onExit, custom: custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode }, child));\n });\n // Add `MotionContext` even to children that don't need it to ensure we're rendering\n // the same tree between renders\n childrenToRender = childrenToRender.map((child) => {\n const key = child.key;\n return exiting.has(key) ? (child) : (React.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, presenceAffectsLayout: presenceAffectsLayout, mode: mode }, child));\n });\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n childrenToRender.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n return (React.createElement(React.Fragment, null, exiting.size\n ? childrenToRender\n : childrenToRender.map((child) => cloneElement(child))));\n};\n\nexport { AnimatePresence };\n"],"names":["useHeading","system","Bi","props","ref","react","useRef","level","useContext","_utils_fc7746f4","H","as","tagName","hooks","O","isNativeHeading","useMemo","test","role","undefined","cR","LM","htmlProps","az","useDialogHeading","_ref","state","setHeadingId","dialog_context_a736b58f","a","id","Me","Gw","DialogHeading","useDialogDescription","setDescriptionId","b","usePopoverDescription","PopoverDescription","usePopoverHeading","ariakit_react_utils_system__WEBPACK_IMPORTED_MODULE_0__","_dialog_dialog_heading_js__WEBPACK_IMPORTED_MODULE_1__","y","PopoverHeading","t","split","e","n","includes","r","i","o","p","reference","l","floating","s","c","x","width","f","height","u","m","g","d","floating_ui_core_browser_min_o","placement","strategy","middleware","platform","filter","Boolean","isRTL","getElementRects","length","name","fn","h","data","w","reset","v","initialPlacement","middlewareData","rects","elements","top","right","bottom","left","boundary","rootBoundary","elementContext","altBoundary","padding","getClippingRect","element","isElement","contextElement","getDocumentElement","convertOffsetParentRelativeRectToViewportRelativeRect","rect","offsetParent","getOffsetParent","Math","min","max","options","getDimensions","R","A","P","T","clientHeight","clientWidth","L","D","k","E","B","centerOffset","replace","start","end","floating_ui_dom_browser_min_n","document","location","alert","setInterval","window","ownerDocument","defaultView","floating_ui_dom_browser_min_i","getComputedStyle","floating_ui_dom_browser_min_r","nodeName","toLowerCase","floating_ui_dom_browser_min_l","navigator","userAgentData","Array","isArray","brands","map","brand","version","join","userAgent","floating_ui_dom_browser_min_c","HTMLElement","floating_ui_dom_browser_min_s","Element","floating_ui_dom_browser_min_f","ShadowRoot","floating_ui_dom_browser_min_u","overflow","overflowX","overflowY","display","floating_ui_dom_browser_min_d","backdropFilter","WebkitBackdropFilter","transform","perspective","willChange","some","contain","floating_ui_dom_browser_min_h","floating_ui_dom_browser_min_g","reduce","concat","floating_ui_dom_browser_min_m","floating_ui_dom_browser_min_p","floating_ui_dom_browser_min_w","round","floating_ui_dom_browser_min_v","getBoundingClientRect","offsetWidth","offsetHeight","visualViewport","offsetLeft","offsetTop","floating_ui_dom_browser_min_y","Node","documentElement","floating_ui_dom_browser_min_x","scrollLeft","scrollTop","pageXOffset","pageYOffset","floating_ui_dom_browser_min_b","floating_ui_dom_browser_min_E","assignedSlot","parentNode","host","floating_ui_dom_browser_min_R","position","floating_ui_dom_browser_min_T","W","body","floating_ui_dom_browser_min_D","clientTop","clientLeft","scrollWidth","scrollHeight","direction","floating_ui_dom_browser_min_A","floating_ui_dom_browser_min_L","getClientRects","from","floating_ui_dom_browser_min_O","middlewares","arrow","flip","mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment","overflows","push","main","cross","every","index","sort","offset","alignmentAxis","shift","limiter","size","apply","availableHeight","availableWidth","createDOMRect","DOMRect","toJSON","isValidPlacement","usePopoverState","_temp","fixed","gutter","slide","overlap","sameWidth","fitViewport","arrowPadding","overflowPadding","renderCallback","dialog","dialog_state","defaultGetAnchorRect","anchor","getAnchorRect","zX","anchorRef","popoverRef","arrowRef","currentPlacement","setCurrentPlacement","useState","rendered","render","NW","contentElement","isConnected","popover","current","getAnchorElement","anchorRect","getDOMRect","arrowOffset","finalGutter","style","setProperty","defaultRenderCallback","update","mounted","hasAlignment","_ref2","referenceWidth","floor","maxWidth","maxHeight","pos","react_dom","flushSync","Object","assign","arrowX","arrowY","dir","C","ancestorScroll","ancestorResize","elementResize","animationFrame","forEach","addEventListener","passive","ResizeObserver","observe","requestAnimationFrame","removeEventListener","disconnect","cancelAnimationFrame","setPlacement","PopoverContext","createContext","usePopover","modal","portal","preserveTabOrder","autoFocusOnShow","wrapperProps","wrapper","zIndex","canAutoFocusOnShow","setCanAutoFocusOnShow","portalRef","domReady","Hw","raf","OJ","jsx_runtime","jsx","children","Provider","value","Popover","useIsMounted","isMounted","use_isomorphic_effect","PopChildMeasure","Component","getSnapshotBeforeUpdate","prevProps","childRef","isPresent","sizeRef","componentDidUpdate","PopChild","useId","useInsertionEffect","dataset","motionPopId","createElement","head","appendChild","sheet","insertRule","removeChild","cloneElement","PresenceChild","initial","onExitComplete","custom","presenceAffectsLayout","mode","presenceChildren","use_constant","newChildrenMap","context","isComplete","set","childId","values","register","delete","_","key","useEffect","PresenceContext","Map","getChildKey","child","AnimatePresence","exitBeforeEnter","callback","errors","forceRender","LayoutGroupContext","useForceUpdate","forcedRenderCount","setForcedRenderCount","useCallback","deferredForceRender","frameloop","Wi","postRender","filteredChildren","onlyElements","filtered","Children","isValidElement","childrenToRender","exiting","Set","presentChildren","allChildren","isInitialRender","updateChildLookup","clear","Fragment","presentKeys","targetKeys","numPresent","indexOf","add","get","insertionIndex","onExit","removeIndex","findIndex","presentChild","splice","has"],"sourceRoot":""}