@windstream/react-shared-components 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.esm.js +2 -4
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -4
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.esm.js +5 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +1 -3
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +1 -3
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +1 -1
- package/src/components/link/index.tsx +109 -109
- package/src/contentful/blocks/accordion/Accordion.stories.tsx +29 -29
- package/src/contentful/blocks/accordion/types.ts +17 -17
- package/src/contentful/blocks/breadcrumbs/index.tsx +51 -51
- package/src/contentful/blocks/breadcrumbs/types.ts +5 -5
- package/src/contentful/blocks/cards/simple-card/types.ts +28 -28
- package/src/contentful/blocks/comparison-table/index.tsx +27 -27
- package/src/contentful/blocks/comparison-table/types.ts +6 -6
- package/src/contentful/blocks/cookiebanner/index.tsx +1 -1
- package/src/contentful/blocks/cta-callout/index.tsx +32 -23
- package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
- package/src/contentful/blocks/find-kinetic/types.ts +19 -19
- package/src/contentful/blocks/footer/types.ts +13 -13
- package/src/contentful/blocks/image-promo-bar/index.tsx +2 -2
- package/src/contentful/blocks/primary-hero/index.tsx +2 -2
- package/src/contentful/blocks/search-block/types.ts +15 -15
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{forwardRef as o,useRef as a,useState as s,useEffect as l,useCallback as c,useMemo as u,createContext as d,useLayoutEffect as p,useContext as m,useInsertionEffect as h,createElement as g,useId as f,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as C}from"react";import w from"next/image";import A from"next/link";import N,{flushSync as k,createPortal as G}from"react-dom";import{useRouter as P,usePathname as B,useSearchParams as V}from"next/navigation";function T(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=T(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function S(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=T(e))&&(r&&(r+=" "),r+=t);return r}const E=e=>{const t=W(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),R(n,t)||X(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},R=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?R(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},M=/^\[(.+)\]$/,X=e=>{if(M.test(e)){const t=M.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},W=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)L(n[e],r,e,t);return r},L=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:F(t,e)).classGroupId=n)}if("function"==typeof e)return O(e)?void L(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{L(i,F(t,e),n,r)})})},F=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},O=e=>e.isThemeGetter,D=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Z=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=z(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,H=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},j=/\s+/;function Y(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(r&&(r+=" "),r+=t);return r}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=J(e[r]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:D(e.cacheSize),parseClassName:Z(e),sortModifiers:H(e),...E(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(j);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,g=r(h?p.substring(0,m):p);if(!g){if(!h){l=t+(l.length>0?" "+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?" "+l:l);continue}h=!1}const f=o(u).join(":"),b=d?f+"!":f,v=b+g;if(a.includes(v))continue;a.push(v);const y=i(g,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(Y.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Q=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,K=/^\d+\/\d+$/,q=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,te=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,re=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>K.test(e),oe=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&oe(e.slice(0,-1)),le=e=>q.test(e),ce=()=>!0,ue=e=>ee.test(e)&&!te.test(e),de=()=>!1,pe=e=>ne.test(e),me=e=>re.test(e),he=e=>!fe(e)&&!Ce(e),ge=e=>Be(e,Ee,de),fe=e=>Q.test(e),be=e=>Be(e,Re,ue),ve=e=>Be(e,Me,oe),ye=e=>Be(e,Te,de),xe=e=>Be(e,Se,me),Ie=e=>Be(e,We,pe),Ce=e=>_.test(e),we=e=>Ve(e,Re),Ae=e=>Ve(e,Xe),Ne=e=>Ve(e,Te),ke=e=>Ve(e,Ee),Ge=e=>Ve(e,Se),Pe=e=>Ve(e,We,!0),Be=(e,t,n)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ve=(e,t,n=!1)=>{const r=_.exec(e);return!!r&&(r[1]?t(r[1]):n)},Te=e=>"position"===e||"percentage"===e,Se=e=>"image"===e||"url"===e,Ee=e=>"length"===e||"size"===e||"bg-size"===e,Re=e=>"length"===e,Me=e=>"number"===e,Xe=e=>"family-name"===e,We=e=>"shadow"===e,Le=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),i=$("tracking"),o=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),m=$("drop-shadow"),h=$("blur"),g=$("perspective"),f=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ce,fe],x=()=>[Ce,fe,l],I=()=>[ie,"full","auto",...x()],C=()=>[ae,"none","subgrid",Ce,fe],w=()=>["auto",{span:["full",ae,Ce,fe]},ae,Ce,fe],A=()=>[ae,"auto",Ce,fe],N=()=>["auto","min","max","fr",Ce,fe],k=()=>["auto",...x()],G=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ce,fe],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ne,ye,{position:[Ce,fe]}],V=()=>["auto","cover","contain",ke,ge,{size:[Ce,fe]}],T=()=>[se,we,be],S=()=>["","none","full",c,Ce,fe],E=()=>["",oe,we,be],R=()=>[oe,se,Ne,ye],M=()=>["","none",h,Ce,fe],X=()=>["none",oe,Ce,fe],W=()=>["none",oe,Ce,fe],L=()=>[oe,Ce,fe],F=()=>[ie,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[le],breakpoint:[le],color:[ce],container:[le],"drop-shadow":[le],ease:["in","out","in-out"],font:[he],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[le],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[le],shadow:[le],spacing:["px",oe],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,fe,Ce,f]}],container:["container"],columns:[{columns:[oe,fe,Ce,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[ae,"auto",Ce,fe]}],basis:[{basis:[ie,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oe,ie,"auto","initial","none",fe]}],grow:[{grow:["",oe,Ce,fe]}],shrink:[{shrink:["",oe,Ce,fe]}],order:[{order:[ae,"first","last","none",Ce,fe]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,we,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,ve]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,fe]}],"font-family":[{font:[Ae,fe,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Ce,fe]}],"line-clamp":[{"line-clamp":[oe,"none",Ce,ve]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Ce,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[oe,"from-font","auto",Ce,be]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[oe,"auto",Ce,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ae,Ce,fe],radial:["",Ce,fe],conic:[ae,Ce,fe]},Ge,xe]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:E()}],"border-w-x":[{"border-x":E()}],"border-w-y":[{"border-y":E()}],"border-w-s":[{"border-s":E()}],"border-w-e":[{"border-e":E()}],"border-w-t":[{"border-t":E()}],"border-w-r":[{"border-r":E()}],"border-w-b":[{"border-b":E()}],"border-w-l":[{"border-l":E()}],"divide-x":[{"divide-x":E()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":E()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[oe,Ce,fe]}],"outline-w":[{outline:["",oe,we,be]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Pe,Ie]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Pe,Ie]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[oe,be]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,Pe,Ie]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[oe,Ce,fe]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[oe]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Ce,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[oe]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,fe]}],filter:[{filter:["","none",Ce,fe]}],blur:[{blur:M()}],brightness:[{brightness:[oe,Ce,fe]}],contrast:[{contrast:[oe,Ce,fe]}],"drop-shadow":[{"drop-shadow":["","none",m,Pe,Ie]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",oe,Ce,fe]}],"hue-rotate":[{"hue-rotate":[oe,Ce,fe]}],invert:[{invert:["",oe,Ce,fe]}],saturate:[{saturate:[oe,Ce,fe]}],sepia:[{sepia:["",oe,Ce,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,fe]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[oe,Ce,fe]}],"backdrop-contrast":[{"backdrop-contrast":[oe,Ce,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oe,Ce,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oe,Ce,fe]}],"backdrop-invert":[{"backdrop-invert":["",oe,Ce,fe]}],"backdrop-opacity":[{"backdrop-opacity":[oe,Ce,fe]}],"backdrop-saturate":[{"backdrop-saturate":[oe,Ce,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",oe,Ce,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oe,"initial",Ce,fe]}],ease:[{ease:["linear","initial",b,Ce,fe]}],delay:[{delay:[oe,Ce,fe]}],animate:[{animate:["none",v,Ce,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Ce,fe]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[Ce,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,fe]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[oe,we,be,ve]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fe=(e,t,n)=>{void 0!==n&&(e[t]=n)},Oe=(e,t)=>{if(t)for(const n in t)Fe(e,n,t[n])},De=(e,t)=>{if(t)for(const n in t)Ze(e,t,n)},Ze=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze="function"==typeof Buffer,He="function"==typeof TextDecoder?new TextDecoder:void 0,je="function"==typeof TextEncoder?new TextEncoder:void 0,Ye=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Je=(()=>{let e={};return Ye.forEach((t,n)=>e[t]=n),e})(),Ue=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,$e=String.fromCharCode.bind(String),Qe="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),_e=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Ke=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),qe=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=Ye[t>>18&63]+Ye[t>>12&63]+Ye[t>>6&63]+Ye[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},et="function"==typeof btoa?e=>btoa(e):ze?e=>Buffer.from(e,"binary").toString("base64"):qe,tt=ze?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push($e.apply(null,e.subarray(n,n+4096)));return et(t.join(""))},nt=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?$e(192|t>>>6)+$e(128|63&t):$e(224|t>>>12&15)+$e(128|t>>>6&63)+$e(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return $e(240|t>>>18&7)+$e(128|t>>>12&63)+$e(128|t>>>6&63)+$e(128|63&t)},rt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,it=e=>e.replace(rt,nt),ot=ze?e=>Buffer.from(e,"utf8").toString("base64"):je?e=>tt(je.encode(e)):e=>et(it(e)),at=(e,t=!1)=>t?_e(ot(e)):ot(e),st=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,lt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return $e((t>>>10)+55296)+$e(56320+(1023&t));case 3:return $e((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return $e((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ct=e=>e.replace(st,lt),ut=e=>{if(e=e.replace(/\s+/g,""),!Ue.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Je[e.charAt(o++)]<<18|Je[e.charAt(o++)]<<12|(n=Je[e.charAt(o++)])<<6|(r=Je[e.charAt(o++)]),64===n?i.push($e(t>>16&255)):64===r?i.push($e(t>>16&255,t>>8&255)):i.push($e(t>>16&255,t>>8&255,255&t));return i.join("")},dt="function"==typeof atob?e=>atob(Ke(e)):ze?e=>Buffer.from(e,"base64").toString("binary"):ut,pt=ze?e=>Qe(Buffer.from(e,"base64")):e=>Qe(dt(e).split("").map(e=>e.charCodeAt(0))),mt=ze?e=>Buffer.from(e,"base64").toString("utf8"):He?e=>He.decode(pt(e)):e=>ct(dt(e)),ht=e=>Ke(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),gt=e=>mt(ht(e)),ft=at,bt=gt;
|
|
4
|
-
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function vt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var yt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=vt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",vt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,vt({},this.attributes,t))},withConverter:function(t){return e(vt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const xt=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const It=((e,...t)=>"function"==typeof e?U(Le,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(Fe(e,"cacheSize",t),Fe(e,"prefix",n),Fe(e,"experimentalParseClassName",r),Oe(e.theme,o.theme),Oe(e.classGroups,o.classGroups),Oe(e.conflictingClassGroups,o.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Fe(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),De(e.theme,i.theme),De(e.classGroups,i.classGroups),De(e.conflictingClassGroups,i.conflictingClassGroups),De(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Ze(e,i,"orderSensitiveModifiers"),e))(Le(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ct=(...e)=>It(S(...e)),wt=o(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ct(n),style:r,disabled:i,...o,children:t}));wt.displayName="Button";const At=t=>{const{open:n,children:r}=t,i=a(null),[o,c]=s(0);return l(()=>{const e=i.current;if(!e)return;const t=()=>{c(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};At.displayName="Collapse";const Nt=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ct("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Nt.displayName="MaterialIcon";const kt=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:m,borderRadiusNone:h=!1}=n,[g,f]=s(Boolean(!1));return l(()=>{if(m){const e=window.innerWidth>=1024;f(e)}else f(Boolean(i))},[m,i]),t("div",{className:Ct(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(wt,{type:"button",className:Ct(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>f(e=>!e),children:[e("span",{className:Ct("label5 flex-1",c),children:r}),e(Nt,{className:Ct("flex-shrink-0",p),name:g?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(At,{open:g,children:e("div",{className:Ct("px-4 py-4",u),children:o})})]})};kt.displayName="Accordion";const Gt=t=>{const{className:n,...r}=t;return e("div",{className:Ct("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Gt.displayName="Divider";const Pt=o(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});Pt.displayName="Text";const Bt=({items:n,title:r,background:i="white",enableHeading:o=!1,maxWidth:a=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[i]} component-container`,children:t("div",{className:(a?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e(Pt,{as:o?"h1":"h2",className:"heading2 text-left text-text md:heading1 lg:text-center",children:r})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((r,i)=>t("div",{children:[e(kt,{title:r.title,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,children:e(Pt,{as:"div",children:r.description})}),i<n.length-1&&e(Gt,{className:"my-6 md:my-10"},`divider-${i}`)]},`item-${i}`))})]})}),Vt=({href:r,title:i,description:o,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:m})=>t("article",{className:u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(A,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(w,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(A,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:i}),o&&e(Pt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(A,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${i||"this article"}`,children:[e(Pt,{"aria-label":`${c} about ${i||"this article"}`,className:"label1 text-nowrap",children:c}),e(Nt,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),Tt=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},St=o(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,size:c={base:"medium"},as:u="button",...d},p)=>{const m=(()=>{const e=Ct((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(c),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top",l&&"w-full"),t=Ct((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ct(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[r]||"",t)})();let h=`button--${r}`;i&&(h+=" button--loading"),s&&(h+=" button--disabled");const g=`${h} ${m}`,f=t(n,{children:[i?e(Nt,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ct(Tt(c)),children:a}),o]}):o]});return"a"===u?e("a",{ref:p,className:Ct(g),...d,children:f}):e("button",{ref:p,className:Ct(g),disabled:s||i,...d,children:f})});St.displayName="BrandButton";const Et=o(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},m=Ct(d,`link--${o}`,l&&"link--disabled",r),h={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(A,{href:n||"#",className:m,onClick:p,...c,children:t})});Et.displayName="Link";const Rt=n=>{const{showButtonAs:r="solid",buttonVariant:i="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===m){return null==h?void 0:h({ctaText:o,buttonVariant:i,showButtonAs:r,cta:{...n}})}function k(){"modal"===f&&(null==v||v(b))}function G(e){k(),null==y||y(e)}function P(e){k(),null==y||y(e)}const B="undefined"!=typeof window?window.location.search:"",V=s&&A&&B?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(xt),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,B):s;let T=e(wt,{onClick:P,className:g,...N});switch(r){case"solid":T=e(St,V?{as:"a",href:V,id:c,variant:i,text:o,label:a,fullWidth:p,size:C,onClick:G}:{id:c,variant:i,text:o,label:a,fullWidth:p,size:C,onClick:P});break;case"text":T=t(Et,{href:V,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:G,children:[o," ",x&&e(Nt,{name:x,size:w,fill:I})]})}return T},Mt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Xt=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},Wt=o(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Xt,unoptimized:!1}:{unoptimized:s};return e(w,{ref:r,className:Ct(t),...n,...l})});Wt.displayName="NextImage";const Lt=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s;const l=(null===(o=n.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${i} ${r} w-full ${null!==(s=Mt[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,r,i;if(!t.image)return null;const o=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(Wt,"full"===o?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e(Pt,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e(Pt,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(Rt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},Ft=({title:n,items:r,enableHeading:i=!1,subtitle:o,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e(Pt,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e(Pt,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:r.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(Vt,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:u,mdWidth:d})}return e(Lt,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},Ot=({fields:t})=>e("div",{children:e(Pt,{children:"Cards"})}),Dt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Zt=o(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ct("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});Zt.displayName="ListItem";const zt=o(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ct(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(Zt,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...m,ref:c})});zt.displayName="List";const Ht=n=>{const{items:r,listIconName:i="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==i;return(null==r?void 0:r.length)?e(zt,{className:Ct("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(Zt,{variant:d?"unstyled":"default",className:Ct(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(Nt,{name:i,size:s,color:Dt[c],weight:"600",className:Ct("block","top"===l?"mt-1":"",u)})}),e(Pt,{as:"div",children:n})]},r))}):null};Ht.displayName="Checklist";const jt=o(({as:t,className:n="",...r},i)=>{const o=Ct(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});jt.displayName="Image";const Yt=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[m,h]=s(!1),g=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,f=null==a?void 0:a({speedCardConfig:{isModalOpen:m,setModalOpen:()=>{h(!1)},speed:i,techType:d,isMax:p},cta:u});return t(n,{children:[t(wt,{onClick:()=>{h(!0),r()},className:Ct(g,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Nt,{className:Ct(c,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),f]})},Jt=({planName:r,planSubtext:i,speed:o,price:a,description:l,bestValue:c=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:m="light",featuresTitle:h="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=s(!1),N=void 0!==f?f:w,k="dark"===m;return t("article",{className:Ct("relative flex h-full w-full max-w-[392px] flex-col",!c&&"md:pt-[38px]"),children:[c&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ct("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",c?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(Pt,{as:"h3",className:Ct("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(Pt,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e(Pt,{as:"span",className:Ct("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(Pt,{as:"span",className:Ct("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(Pt,{as:"span",className:Ct("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(Pt,{className:Ct("body2",k?"text-text-inverse":"text-text"),children:l})}),(null==d?void 0:d.length)?e("div",{className:Ct("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(jt,{src:n.icon,alt:n.title,width:24,height:24}),e(Pt,{as:"div",className:Ct("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Yt,{onSelect:v,speed:o,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),g.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(wt,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e(Pt,{as:"h4",className:Ct("label3",k?"text-text-inverse":"text-text"),children:h}),e(Nt,{name:"keyboard_arrow_down",fill:1,size:24,className:Ct("transition-transform duration-300",N&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:Ct("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(Ht,{items:g,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(jt,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(Pt,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Ut=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:S("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(Pt,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(Nt,{size:24,name:"star",fill:1,className:S("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(w,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(Pt,{as:"p",className:"body3 text-text",children:a})]})]})]});function $t({fields:r,renderCheckPlans:i}){var o,u,d,p;const m=(null===(d=null===(u=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===u?void 0:u[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[h,g]=s(m),[f,b]=s({}),[v,y]=s(0),x=(null===(p=null==r?void 0:r.items)||void 0===p?void 0:p.items)||[],I=x.length>2,C=a([]),w=c(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),A=c(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(l(()=>{if(!I)return;const e=()=>{const e=C.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,h,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const N=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const m=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==m?void 0:m[0])||"",y=(null==m?void 0:m[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],k={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},G=r?f[n]||!1:h;return e("div",{ref:r?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:Ct(r?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(Jt,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:G,onToggleExpand:()=>{r?b(e=>({...e,[n]:!e[n]})):g(!h)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},k=[...x,...x,...x,...x,...x],G=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(wt,{onClick:w,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(Nt,{name:"arrow_back",size:24})}),e(wt,{onClick:A,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(Nt,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${G+v} * (392px + 12px)))`},children:k.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>N(e,t))})}const Qt=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),m=u*c+o/l*100,h=!s||(a?d||p:d);return e("div",{className:Ct("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e(Ut,{...t,isActive:d,className:"h-full"})})});Qt.displayName="TestimonialCarouselSlide";const _t=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const u=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!u||0===u.length)return null;const d=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:u=!0}=e,[d,p]=s(0),[m,h]=s(0),[g,f]=s(!1),[b,v]=s(window.innerWidth),[y,x]=s(!1),I=a(null),C=a(0),w=a(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};l(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=c(()=>{0!==t&&p(e=>(e+1)%t)},[t]),k=c(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),G=c(e=>{e<0||e>=t||p(e)},[t]),P=c(e=>{C.current=e.touches[0].clientX,f(!0),I.current&&clearInterval(I.current)},[]),B=c(e=>{if(!g)return;const t=e.touches[0].clientX-C.current;h(t)},[g]),V=c(()=>{f(!1);const e=b*r;m>e?k():m<-e&&N(),h(0),u&&o>0&&(I.current=setInterval(()=>{N()},o))},[m,b,r,k,N,u,o]);return l(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),l(()=>{if(u&&0!==t&&0!==o)return I.current=setInterval(()=>{N()},o),()=>{I.current&&clearInterval(I.current)}},[N,t,u,o]),{currentIndex:d,swipeOffset:m,isSwiping:g,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:k,goToSlide:G,handleTouchStart:P,handleTouchMove:B,handleTouchEnd:V,constants:A}}({itemCount:u.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(wt,{onClick:d.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(Nt,{name:"arrow_back",size:24})}),e(wt,{onClick:d.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(Nt,{name:"arrow_forward",size:24})}),e("div",{ref:d.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:d.handleTouchStart,onTouchMove:d.handleTouchMove,onTouchEnd:d.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:u.map((t,n)=>e(Qt,{item:t,index:n,currentIndex:d.currentIndex,totalItems:u.length,swipeOffset:d.swipeOffset,isSwiping:d.isSwiping,isMobile:d.isMobile,containerWidth:d.containerWidth,cardOffsetPercentage:d.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:u.map((t,n)=>e("button",{onClick:()=>d.goToSlide(n),className:Ct("h-2 w-2 rounded-full transition-all duration-300",d.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Kt=({tabs:n,activeTab:r,onChange:i,className:o})=>{const c=n.indexOf(r),u=a([]),[d,p]=s({width:0,left:0});return l(()=>{const e=u.current[c];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[c,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ct("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{u.current[n]=e},onClick:()=>i(t),className:Ct("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},qt=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:m=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(Pt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(Pt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),m&&i&&t("div",{className:"flex flex-col gap-8",children:[m&&i&&c.length>1&&e(Kt,{tabs:c,activeTab:s,onChange:l}),i&&e($t,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),r&&e(_t,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e(Pt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),en=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Wt,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(Pt,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(Pt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e(Pt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Rt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(Pt,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),tn=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(Gt,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(Pt,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Rt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(Gt,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(Gt,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e("p",{className:"copy-rights",children:a}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Rt,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},nn=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(Nt,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),rn=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1}=t,{href:a,embedId:s}=u(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""})(e);return{href:e,embedId:t}},[n]);if(o&&console.log("[VimeoEmbed] href:",a,"id:",s),!s)return null;const l=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${s}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ct("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:l,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const on=t=>{const{link:n,containerClassName:r,autoplay:i=!1}=t,o=u(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),a=i?"?autoplay=1":"";return e("div",{className:Ct("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${o}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},an=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:l,description:c,image:u,imageLinks:d,mediaPosition:p=!0,checklist:m,secondaryCta:h,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,k]=s(""),[G,P]=s(!1),B=null!==(w=null==f?void 0:f.link)&&void 0!==w?w:"",V=null==f?void 0:f.image,T=null!==(A=null==f?void 0:f.videoPopup)&&void 0!==A&&A,S=Boolean(N&&N===B),E=f&&V?B.includes("vimeo")?e(rn,{link:B,autoplay:S}):e(on,{link:B,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16 lg:px-8 xl:px-12`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:gap-10 xl:gap-[126px] lg:items-stretch "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(Pt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e(Pt,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e(Pt,{as:r?"h2":"h3",className:"subheading3 md:subheading1 mt-3",children:o})]}),c&&e(Pt,{as:"div",className:"body1",children:c}),m.length>0&&e(Ht,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Et,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(jt,{src:t.image,alt:"icon-link"})})},n))}),(g||h)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Rt,{...g,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),h&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Rt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})})]}),a&&e("div",{children:a}),l&&e("div",{children:l})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative w-[334px] h-[334px] md:w-[486px] md:h-[480px] rounded-image overflow-hidden",children:e(Wt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:Ct("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:Ct(S&&!T&&"hidden",S&&!T?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(Wt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(nn,{isHovered:G})})]}),!T&&S&&e("div",{className:Ct("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:E})]})]})]})}),T&&S&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),k("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:E})})]})},sn=({link:n,anchorName:r})=>{const[o,a]=i.useState(!1),s=i.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};l(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Rt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[t(Rt,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(Pt,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Nt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ct("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(Rt,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},ln=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Rt,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Rt,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(Nt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(cn,{items:u})]})},cn=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Rt,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),un=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,...l}=n;return t(Et,{...l,className:Ct("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e(Nt,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};un.displayName="CallButton";const dn=o((n,r)=>{const{className:i,size:o,required:a,placeholder:l,label:u,state:d,errorText:p,prefixIconName:m,prefixIconFill:h=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":d,[k,G]=s(!1),[P,B]=s(!1),[V,T]=s(w||"text"),S=c(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Ct("inline-block pb-1"),children:t(Pt,{as:"span",className:"footnote text-text",children:[u,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ct("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],y,(k||"hover"===N)&&!P&&"error"!==N&&"border-input-border-hover",(P||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(Nt,{name:m,fill:h?1:0,size:f,className:Ct(x)})}):null,e("input",{ref:r,id:u,disabled:I||A.disabled,className:Ct("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:l,type:V,...A,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),B(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),B(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(Nt,{name:"text"===V?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===N&&p&&""!=p?t(Pt,{className:Ct("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Nt,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});dn.displayName="Input";const pn=n=>{const{primaryNavigationLinks:r,utilityNavigationLinks:i,checkPlansJSX:o,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(Rt,{linkClassName:Ct("footnote flex items-center w-full h-11 text-text",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[e(un,{className:"border-none",href:u,children:e(Pt,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(sn,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(Et,{href:"/",className:"flex",children:e(Wt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),t("div",{className:"flex items-center gap-6",children:[e(un,{href:u,children:e(Pt,{as:"span",className:"footnote",children:d})}),e(mn,{...n})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(Et,{href:"/",className:"flex",children:e(Wt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,n)=>e(sn,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(gn,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(sn,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e("div",{className:"md:hidden",children:o})]})},mn=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(Rt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(Nt,{name:"menu"})}),c?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ct("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",c?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(un,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(Rt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(Nt,{name:"close"})})})]}),e(hn,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(ln,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,n)=>e("li",{children:e(Rt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ct("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${n}`))})]})]})})]})},hn=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Wt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(dn,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},gn=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Wt,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(dn,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},fn=n=>{var r;const{title:i,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:m,renderCheckPlans:h,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y}=n,x=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ct("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Ct("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e(Pt,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:i}),a&&e(Pt,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(Pt,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(Pt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(Pt,{as:"p",className:"subheading5",children:u}),p?e(Pt,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,m&&e(Ht,{listItemClassName:"text-white body2 text-left",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ct("hidden md:flex md:flex-col"),children:e(Rt,{...s,renderCheckPlans:h,onModalButtonClick:y})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(Pt,{as:"span",className:"body2 mr-1",children:v}),b&&e(Rt,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(x||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(Rt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e(Pt,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[g?e(Wt,{src:g,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(Wt,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),c&&(x||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(Rt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e(Pt,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(Pt,{as:"span",className:"body2 mr-1",children:v}),b&&e(Rt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ct("relative hidden lg:block"),children:[g?e(Wt,{src:g,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(Wt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},bn=({fields:t})=>e("div",{children:e(Pt,{children:"Text Block"})}),vn={closed:{opacity:0},open:{opacity:1}},yn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},xn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},In=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Cn=d({}),wn=d(null),An="undefined"!=typeof document,Nn=An?p:l,kn=d({strict:!1});function Gn(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Pn(e){return"string"==typeof e||Array.isArray(e)}function Bn(e){return"object"==typeof e&&"function"==typeof e.start}const Vn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Tn=["initial",...Vn];function Sn(e){return Bn(e.animate)||Tn.some(t=>Pn(e[t]))}function En(e){return Boolean(Sn(e)||e.variants)}function Rn(e){const{initial:t,animate:n}=function(e,t){if(Sn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Pn(t)?t:void 0,animate:Pn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,m(Cn));return u(()=>({initial:t,animate:n}),[Mn(t),Mn(n)])}function Mn(e){return Array.isArray(e)?e.join(" "):e}const Xn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Wn={};for(const e in Xn)Wn[e]={isEnabled:t=>Xn[e].some(e=>!!t[e])};const Ln=d({}),Fn=d({}),On=Symbol.for("motionComponentSymbol");function Dn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:s}){e&&function(e){for(const t in e)Wn[t]={...Wn[t],...e[t]}}(e);const u=o(function(o,u){let d;const p={...m(In),...o,layoutId:Zn(o)},{isStatic:g}=p,f=Rn(o),b=i(o,g);if(!g&&An){f.visualElement=function(e,t,n,r){const{visualElement:i}=m(Cn),o=m(kn),s=m(wn),c=m(In).reducedMotion,u=a();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:c}));const d=u.current;return h(()=>{d&&d.update(n,s)}),Nn(()=>{d&&d.render()}),l(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Nn:l)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(s,b,p,t);const n=m(Fn),r=m(kn).strict;f.visualElement&&(d=f.visualElement.loadFeatures(p,r,e,n))}return r.createElement(Cn.Provider,{value:f},d&&f.visualElement?r.createElement(d,{visualElement:f.visualElement,...p}):null,n(s,o,function(e,t,n){return c(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Gn(n)&&(n.current=r))},[t])}(b,f.visualElement,u),b,g,f.visualElement))});return u[On]=s,u}function Zn({layoutId:e}){const t=m(Ln).id;return t&&void 0!==e?t+"-"+e:e}function zn(e){function t(t,n={}){return Dn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Hn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function jn(e){return"string"==typeof e&&!e.includes("-")&&!!(Hn.indexOf(e)>-1||/[A-Z]/.test(e))}const Yn={};const Jn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Un=new Set(Jn);function $n(e,{layout:t,layoutId:n}){return Un.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Yn[e]||"opacity"===e)}const Qn=e=>Boolean(e&&e.getVelocity),_n={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Kn=Jn.length;const qn=e=>t=>"string"==typeof t&&t.startsWith(e),er=qn("--"),tr=qn("var(--"),nr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,rr=(e,t,n)=>Math.min(Math.max(n,e),t),ir={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},or={...ir,transform:e=>rr(0,1,e)},ar={...ir,default:1},sr=e=>Math.round(1e5*e)/1e5,lr=/(-)?([\d]*\.?[\d])+/g,cr=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ur=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dr(e){return"string"==typeof e}const pr=e=>({test:t=>dr(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),mr=pr("deg"),hr=pr("%"),gr=pr("px"),fr=pr("vh"),br=pr("vw"),vr={...hr,parse:e=>hr.parse(e)/100,transform:e=>hr.transform(100*e)},yr={...ir,transform:Math.round},xr={borderWidth:gr,borderTopWidth:gr,borderRightWidth:gr,borderBottomWidth:gr,borderLeftWidth:gr,borderRadius:gr,radius:gr,borderTopLeftRadius:gr,borderTopRightRadius:gr,borderBottomRightRadius:gr,borderBottomLeftRadius:gr,width:gr,maxWidth:gr,height:gr,maxHeight:gr,size:gr,top:gr,right:gr,bottom:gr,left:gr,padding:gr,paddingTop:gr,paddingRight:gr,paddingBottom:gr,paddingLeft:gr,margin:gr,marginTop:gr,marginRight:gr,marginBottom:gr,marginLeft:gr,rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:ar,scaleX:ar,scaleY:ar,scaleZ:ar,skew:mr,skewX:mr,skewY:mr,distance:gr,translateX:gr,translateY:gr,translateZ:gr,x:gr,y:gr,z:gr,perspective:gr,transformPerspective:gr,opacity:or,originX:vr,originY:vr,originZ:gr,zIndex:yr,fillOpacity:or,strokeOpacity:or,numOctaves:yr};function Ir(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(er(e)){o[e]=n;continue}const r=xr[e],d=nr(n,r);if(Un.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<Kn;t++){const n=Jn[t];void 0!==e[n]&&(o+=`${_n[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const Cr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wr(e,t,n){for(const r in t)Qn(t[r])||$n(r,n)||(e[r]=t[r])}function Ar(e,t,n){const r={};return wr(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return u(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Ir(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Nr(e,t,n){const r={},i=Ar(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const kr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Gr(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||kr.has(e)}let Pr=e=>!Gr(e);try{(Br=require("@emotion/is-prop-valid").default)&&(Pr=e=>e.startsWith("on")?!Gr(e):Br(e))}catch(e){}var Br;function Vr(e,t,n){return"string"==typeof e?e:gr.transform(t+n*e)}const Tr={offset:"stroke-dashoffset",array:"stroke-dasharray"},Sr={offset:"strokeDashoffset",array:"strokeDasharray"};function Er(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Ir(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Vr(t,e.x,e.width)} ${Vr(n,e.y,e.height)}`}(g,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Tr:Sr;e[o.offset]=gr.transform(-r);const a=gr.transform(t),s=gr.transform(n);e[o.array]=`${a} ${s}`}(m,a,s,l,!1)}const Rr=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Mr=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Xr(e,t,n,r){const i=u(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Er(n,t,{enableHardwareAcceleration:!1},Mr(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};wr(t,e.style,e),i.style={...t,...i.style}}return i}function Wr(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(jn(t)?Xr:Nr)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(Pr(i)||!0===n&&Gr(i)||!t&&!Gr(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l={...s,...a,ref:r},{children:c}=n,d=u(()=>Qn(c)?c.get():c,[c]);return g(t,{...l,children:d})}}const Lr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Fr(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Or=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Dr(e,t,n,r){Fr(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Or.has(n)?n:Lr(n),t.attrs[n])}function Zr(e,t){const{style:n}=e,r={};for(const i in n)(Qn(n[i])||t.style&&Qn(t.style[i])||$n(i,e))&&(r[i]=n[i]);return r}function zr(e,t){const n=Zr(e,t);for(const r in e)if(Qn(e[r])||Qn(t[r])){n[-1!==Jn.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Hr(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function jr(e){const t=a(null);return null===t.current&&(t.current=e()),t.current}const Yr=e=>Array.isArray(e),Jr=e=>Yr(e)?e[e.length-1]||0:e;function Ur(e){const t=Qn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const $r=e=>(t,n)=>{const r=m(Cn),i=m(wn),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Qr(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():jr(o)};function Qr(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=Ur(o[e]);let{initial:a,animate:s}=e;const l=Sn(e),c=En(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Bn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Hr(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const _r={useVisualState:$r({scrapeMotionValuesFromProps:zr,createRenderState:Rr,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Er(n,r,{enableHardwareAcceleration:!1},Mr(t.tagName),e.transformTemplate),Dr(t,n)}})},Kr={useVisualState:$r({scrapeMotionValuesFromProps:Zr,createRenderState:Cr})};function qr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ei=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ti(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function ni(e,t,n,r){return qr(e,t,(e=>t=>ei(t)&&e(t,ti(t)))(n),r)}const ri=(e,t)=>n=>t(e(n)),ii=(...e)=>e.reduce(ri);function oi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ai=oi("dragHorizontal"),si=oi("dragVertical");function li(e){let t=!1;if("y"===e)t=si();else if("x"===e)t=ai();else{const e=ai(),n=si();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function ci(){const e=li(!0);return!e||(e(),!1)}class ui{constructor(e){this.isMounted=!1,this.node=e}update(){}}const di={delta:0,timestamp:0,isProcessing:!1};let pi=!0,mi=!1;const hi=["read","update","preRender","render","postRender"],gi=hi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>mi=!0),e),{}),fi=e=>gi[e].process(di),bi=e=>{mi=!1,di.delta=pi?1e3/60:Math.max(Math.min(e-di.timestamp,40),1),di.timestamp=e,di.isProcessing=!0,hi.forEach(fi),di.isProcessing=!1,mi&&(pi=!1,requestAnimationFrame(bi))},vi=hi.reduce((e,t)=>{const n=gi[t];return e[t]=(e,t=!1,r=!1)=>(mi||(mi=!0,pi=!0,di.isProcessing||requestAnimationFrame(bi)),n.schedule(e,t,r)),e},{});function yi(e){hi.forEach(t=>gi[t].cancel(e))}function xi(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return ni(e.current,n,(n,i)=>{if("touch"===n.type||ci())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&vi.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const Ii=(e,t)=>!!t&&(e===t||Ii(e,t.parentElement)),Ci=e=>e;function wi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ti(n))}const Ai=new WeakMap,Ni=new WeakMap,ki=e=>{const t=Ai.get(e.target);t&&t(e)},Gi=e=>{e.forEach(ki)};function Pi(e,t,n){const r=function({root:e,...t}){const n=e||document;Ni.has(n)||Ni.set(n,{});const r=Ni.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Gi,{root:e,...t})),r[i]}(t);return Ai.set(e,n),r.observe(e),()=>{Ai.delete(e),r.unobserve(e)}}const Bi={some:0,all:1};const Vi={inView:{Feature:class extends ui{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Bi[r]};return Pi(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ui{constructor(){super(...arguments),this.removeStartListeners=Ci,this.removeEndListeners=Ci,this.removeAccessibleListeners=Ci,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=ni(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();vi.update(()=>{Ii(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=ni(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ii(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=qr(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=qr(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&wi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&vi.update(()=>n(e,t))})}),wi("down",(e,t)=>{this.startPress(e,t)})}),t=qr(this.node.current,"blur",()=>{this.isPressing&&wi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ii(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&vi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ci()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&vi.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=ni(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=qr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ii(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ui{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ii(qr(this.node.current,"focus",()=>this.onFocus()),qr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ui{mount(){this.unmount=ii(xi(this.node,!0),xi(this.node,!1))}unmount(){}}}};function Ti(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Si(e,t,n){const r=e.getProps();return Hr(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Ei="data-"+Lr("framerAppearId");let Ri=Ci,Mi=Ci;"production"!==process.env.NODE_ENV&&(Ri=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Mi=(e,t)=>{if(!e)throw new Error(t)});const Xi=e=>1e3*e,Wi=e=>e/1e3,Li=!1,Fi=e=>Array.isArray(e)&&"number"==typeof e[0];function Oi(e){return Boolean(!e||"string"==typeof e&&Zi[e]||Fi(e)||Array.isArray(e)&&e.every(Oi))}const Di=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Zi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Di([0,.65,.55,1]),circOut:Di([.55,0,1,.45]),backIn:Di([.31,.01,.66,-.59]),backOut:Di([.33,1.53,.69,.99])};function zi(e){if(e)return Fi(e)?Di(e):Array.isArray(e)?e.map(zi):Zi[e]}const Hi={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ji={},Yi={};for(const e in Hi)Yi[e]=()=>(void 0===ji[e]&&(ji[e]=Hi[e]()),ji[e]);const Ji=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Ui(e,t,n,r){if(e===t&&n===r)return Ci;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=Ji(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Ji(i(e),t,r)}const $i=Ui(.42,0,1,1),Qi=Ui(0,0,.58,1),_i=Ui(.42,0,.58,1),Ki=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qi=e=>t=>1-e(1-t),eo=e=>1-Math.sin(Math.acos(e)),to=qi(eo),no=Ki(to),ro=Ui(.33,1.53,.69,.99),io=qi(ro),oo=Ki(io),ao={linear:Ci,easeIn:$i,easeInOut:_i,easeOut:Qi,circIn:eo,circInOut:no,circOut:to,backIn:io,backInOut:oo,backOut:ro,anticipate:e=>(e*=2)<1?.5*io(e):.5*(2-Math.pow(2,-10*(e-1)))},so=e=>{if(Array.isArray(e)){Mi(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Ui(t,n,r,i)}return"string"==typeof e?(Mi(void 0!==ao[e],`Invalid easing type '${e}'`),ao[e]):e},lo=(e,t)=>n=>Boolean(dr(n)&&ur.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),co=(e,t,n)=>r=>{if(!dr(r))return r;const[i,o,a,s]=r.match(lr);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},uo={...ir,transform:e=>Math.round((e=>rr(0,255,e))(e))},po={test:lo("rgb","red"),parse:co("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+uo.transform(e)+", "+uo.transform(t)+", "+uo.transform(n)+", "+sr(or.transform(r))+")"};const mo={test:lo("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:po.transform},ho={test:lo("hsl","hue"),parse:co("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+hr.transform(sr(t))+", "+hr.transform(sr(n))+", "+sr(or.transform(r))+")"},go={test:e=>po.test(e)||mo.test(e)||ho.test(e),parse:e=>po.test(e)?po.parse(e):ho.test(e)?ho.parse(e):mo.parse(e),transform:e=>dr(e)?e:e.hasOwnProperty("red")?po.transform(e):ho.transform(e)},fo=(e,t,n)=>-n*e+n*t+e;function bo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const vo=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},yo=[mo,po,ho];function xo(e){const t=(n=e,yo.find(e=>e.test(n)));var n;Mi(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ho&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=bo(s,r,e+1/3),o=bo(s,r,e),a=bo(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const Io=(e,t)=>{const n=xo(e),r=xo(t),i={...n};return e=>(i.red=vo(n.red,r.red,e),i.green=vo(n.green,r.green,e),i.blue=vo(n.blue,r.blue,e),i.alpha=fo(n.alpha,r.alpha,e),po.transform(i))};const Co={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ci},wo={regex:cr,countKey:"Colors",token:"${c}",parse:go.parse},Ao={regex:lr,countKey:"Numbers",token:"${n}",parse:ir.parse};function No(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function ko(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&No(n,Co),No(n,wo),No(n,Ao),n}function Go(e){return ko(e).values}function Po(e){const{values:t,numColors:n,numVars:r,tokenised:i}=ko(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Co.token,e[i]):i<r+n?t.replace(wo.token,go.transform(e[i])):t.replace(Ao.token,sr(e[i]));return t}}const Bo=e=>"number"==typeof e?0:e;const Vo={test:function(e){var t,n;return isNaN(e)&&dr(e)&&((null===(t=e.match(lr))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(cr))||void 0===n?void 0:n.length)||0)>0},parse:Go,createTransformer:Po,getAnimatableNone:function(e){const t=Go(e);return Po(e)(t.map(Bo))}},To=(e,t)=>n=>`${n>0?t:e}`;function So(e,t){return"number"==typeof e?n=>fo(e,t,n):go.test(e)?Io(e,t):e.startsWith("var(")?To(e,t):Mo(e,t)}const Eo=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>So(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Ro=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=So(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Mo=(e,t)=>{const n=Vo.createTransformer(t),r=ko(e),i=ko(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?ii(Eo(r.values,i.values),n):(Ri(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),To(e,t))},Xo=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Wo=(e,t)=>n=>fo(e,t,n);function Lo(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Wo:"string"==typeof o?go.test(o)?Io:Mo:Array.isArray(o)?Eo:"object"==typeof o?Ro:Wo);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ci:t;o=ii(e,o)}r.push(o)}return r}function Fo(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Mi(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Lo(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Xo(e[n],e[n+1],t);return a[n](r)};return n?t=>l(rr(e[0],e[o-1],t)):l}function Oo(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Xo(0,t,r);e.push(fo(n,1,i))}}(t,e.length-1),t}function Do({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(so):so(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Oo(t),e),s=Fo(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||_i).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Zo(e,t){return t?e*(1e3/t):0}function zo(e,t,n){const r=Math.max(t-5,0);return Zo(n-e(r),t-r)}const Ho=.001;function jo({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Ri(e<=Xi(10),"Spring duration must be 10 seconds or less");let a=1-t;a=rr(.05,1,a),e=rr(.01,10,Wi(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Jo(t,a),l=Math.exp(-i);return Ho-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Jo(Math.pow(t,2),a);return(-i(t)+Ho>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Yo;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Xi(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Yo=12;function Jo(e,t){return e*Math.sqrt(1-t*t)}const Uo=["duration","bounce"],$o=["stiffness","damping","mass"];function Qo(e,t){return t.some(t=>void 0!==e[t])}function _o({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Qo(e,$o)&&Qo(e,Uo)){const n=jo(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=u?-Wi(u):0,h=l/(2*Math.sqrt(s*c)),g=o-i,f=Wi(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Jo(f,h);v=t=>{const n=Math.exp(-h*f*t);return o-n*((m+h*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-f*e)*(g+(m+f*g)*e);else{const e=f*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*f*t),r=Math.min(e*t,300);return o-n*((m+h*f*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=m;0!==e&&(i=h<1?zo(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function Ko({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const g=d+h,f=void 0===a?g:a(g);f!==g&&(h=f-d);const b=e=>-h*Math.exp(-e/r),v=e=>f+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?f:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=_o({keyframes:[p.value,m(p.value)],velocity:zo(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const qo=e=>{const t=({timestamp:t})=>e(t);return{start:()=>vi.update(t,!0),stop:()=>yi(t),now:()=>di.isProcessing?di.timestamp:performance.now()}};function ea(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const ta={decay:Ko,inertia:Ko,tween:Do,keyframes:Do,spring:_o};function na({autoplay:e=!0,delay:t=0,driver:n=qo,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,g=1,f=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const y=ta[i]||Do;let x;y!==Do&&"number"!=typeof r[0]&&(x=Fo([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,k=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=ea(I));const{calculatedDuration:G}=I;let P=1/0,B=1/0;null!==G&&(P=G+a,B=P*(o+1)-a);let V=0;const T=e=>{if(null===N)return;g>0&&(N=Math.min(N,e)),V=null!==A?A:(e-N)*g;const n=V-t,i=n<0;V=Math.max(n,0),"finished"===w&&null===A&&(V=B);let l=V,c=I;if(o){const e=V/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/P)):"mirror"===s&&(c=C));let i=rr(0,1,n);V>B&&(i="reverse"===s&&r?1:0),l=i*P}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===G||(p=V>=B);const m=null===A&&("finished"===w||"running"===w&&p||g<0&&V<=0);return d&&d(u.value),m&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{w="idle",S(),b(),N=k=null},R=()=>{w="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(T));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),k=N,A=null,w="running",v.start()};e&&M();const X={then:(e,t)=>h.then(e,t),get time(){return Wi(V)},set time(e){e=Xi(e),V=e,null===A&&v&&0!==g?N=v.now()-e/g:A=e},get duration(){const e=null===I.calculatedDuration?ea(I):I.calculatedDuration;return Wi(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=Wi(V))},get state(){return w},play:M,pause:()=>{w="paused",A=V},stop:()=>{f=!0,"idle"!==w&&(w="idle",c&&c(),E())},cancel:()=>{null!==k&&T(k),E()},complete:()=>{w="finished"},sample:e=>(N=0,T(e))};return X}const ra=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function ia(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Yi.waapi()&&ra.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Oi(t.ease))(t,i)){const e=na({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const m=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=zi(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),h=()=>m.cancel(),g=()=>{vi.update(h),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),g()},{then:(e,t)=>a.then(e,t),get time(){return Wi(m.currentTime||0)},set time(e){m.currentTime=Xi(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Wi(u)},play:()=>{s||(m.play(),yi(h))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=na({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>m.finish(),cancel:g}}const oa={type:"spring",stiffness:500,damping:25,restSpeed:10},aa={type:"keyframes",duration:.8},sa={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},la=(e,{keyframes:t})=>t.length>2?aa:Un.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:oa:sa,ca=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Vo.test(t)&&"0"!==t||t.startsWith("url("))),ua=new Set(["brightness","contrast","saturate","opacity"]);function da(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(lr)||[];if(!r)return e;const i=n.replace(r,"");let o=ua.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const pa=/([a-z-]*)\(.*?\)/g,ma={...Vo,getAnimatableNone:e=>{const t=e.match(pa);return t?t.map(da).join(" "):e}},ha={...xr,color:go,backgroundColor:go,outlineColor:go,fill:go,stroke:go,borderColor:go,borderTopColor:go,borderRightColor:go,borderBottomColor:go,borderLeftColor:go,filter:ma,WebkitFilter:ma},ga=e=>ha[e];function fa(e,t){let n=ga(e);return n!==ma&&(n=Vo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ba=e=>/^0[^.\s]+$/.test(e);function va(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||ba(e):void 0}function ya(e,t){return e[t]||e.default||e}const xa=(e,t,n,r={})=>i=>{const o=ya(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=Xi(a);const l=function(e,t,n,r){const i=ca(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),va(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=fa(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=ca(e,c),p=ca(e,u);Ri(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(m={...m,...la(e,m)}),m.duration&&(m.duration=Xi(m.duration)),m.repeatDelay&&(m.repeatDelay=Xi(m.repeatDelay)),!d||!p||Li||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Ci,pause:Ci,stop:Ci,then:e=>(e(),Promise.resolve()),cancel:Ci,complete:Ci});return t?na({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=ia(t,e,m);if(n)return n}return na(m)};function Ia(e){return Boolean(Qn(e)&&e.add)}const Ca=e=>/^\-?\d*\.?\d+$/.test(e);function wa(e,t){-1===e.indexOf(t)&&e.push(t)}function Aa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Na{constructor(){this.subscriptions=[]}add(e){return wa(this.subscriptions,e),()=>Aa(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ka=new Set;function Ga(e,t,n){e||ka.has(t)||(console.warn(t),ka.add(t))}class Pa{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=di;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,vi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>vi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&Ga(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Na);const n=this.events[e].add(t);return"change"===e?()=>{n(),vi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Zo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ba(e,t){return new Pa(e,t)}const Va=e=>t=>t.test(e),Ta=[ir,gr,hr,mr,br,fr,{test:e=>"auto"===e,parse:e=>e}],Sa=e=>Ta.find(Va(e)),Ea=[...Ta,go,Vo],Ra=e=>Ea.find(Va(e));function Ma(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ba(n))}function Xa(e,t){if(!t)return;return(t[e]||t.default||t).from}function Wa({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function La(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&Wa(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Ei];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,vi))}r.start(xa(t,r,i,e.shouldReduceMotion&&Un.has(t)?{type:!1}:a));const d=r.animation;Ia(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Si(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)Ma(e,t,Jr(o[t]))}(e,a)}),c}function Fa(e,t,n={}){const r=Si(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(La(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Oa).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Fa(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function Oa(e,t){return e.sortNodePosition(t)}const Da=[...Vn].reverse(),Za=Vn.length;function za(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>Fa(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Fa(e,t,n);else{const i="function"==typeof t?Si(e,t,n.custom):t;r=Promise.all(La(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ha(e){let t=za(e);const n={animate:Ya(!0),whileInView:Ya(),whileHover:Ya(),whileTap:Ya(),whileDrag:Ya(),whileFocus:Ya(),exit:Ya()};let r=!0;const i=(t,n)=>{const r=Si(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Za;t++){const m=Da[t],h=n[m],g=void 0!==s[m]?s[m]:l[m],f=Pn(g),b=m===a?h.isActive:null;!1===b&&(p=t);let v=g===l[m]&&g!==s[m]&&f;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!g&&!h.prevProp||Bn(g)||"boolean"==typeof g)continue;const y=ja(h.prevProp,g);let x=y||m===a&&h.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=h,A={...w,...C},N=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Yr(t)&&Yr(n)?!Ti(t,n)||y?N(e):h.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let m=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function ja(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ti(t,e)}function Ya(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ja=0;const Ua={animation:{Feature:class extends ui{constructor(e){super(e),e.animationState||(e.animationState=Ha(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Bn(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends ui{constructor(){super(...arguments),this.id=Ja++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},$a=(e,t)=>Math.abs(e-t);class Qa{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=qa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=$a(e.x,t.x),r=$a(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=di;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=_a(t,this.transformPagePoint),vi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=qa("pointercancel"===e.type?this.lastMoveEventInfo:_a(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!ei(e))return;this.handlers=t,this.transformPagePoint=n;const r=_a(ti(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=di;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,qa(r,this.history)),this.removeListeners=ii(ni(window,"pointermove",this.handlePointerMove),ni(window,"pointerup",this.handlePointerUp),ni(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),yi(this.updatePoint)}}function _a(e,t){return t?{point:t(e.point)}:e}function Ka(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qa({point:e},t){return{point:e,delta:Ka(e,ts(t)),offset:Ka(e,es(t)),velocity:ns(t,.1)}}function es(e){return e[0]}function ts(e){return e[e.length-1]}function ns(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ts(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Xi(t)));)n--;if(!r)return{x:0,y:0};const o=Wi(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function rs(e){return e.max-e.min}function is(e,t=0,n=.01){return Math.abs(e-t)<=n}function os(e,t,n,r=.5){e.origin=r,e.originPoint=fo(t.min,t.max,e.origin),e.scale=rs(n)/rs(t),(is(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=fo(n.min,n.max,e.origin)-e.originPoint,(is(e.translate)||isNaN(e.translate))&&(e.translate=0)}function as(e,t,n,r){os(e.x,t.x,n.x,r?r.originX:void 0),os(e.y,t.y,n.y,r?r.originY:void 0)}function ss(e,t,n){e.min=n.min+t.min,e.max=e.min+rs(t)}function ls(e,t,n){e.min=t.min-n.min,e.max=e.min+rs(t)}function cs(e,t,n){ls(e.x,t.x,n.x),ls(e.y,t.y,n.y)}function us(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function ds(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const ps=.35;function ms(e,t,n){return{min:hs(e,t),max:hs(e,n)}}function hs(e,t){return"number"==typeof e?e:e[t]||0}const gs=()=>({x:{min:0,max:0},y:{min:0,max:0}});function fs(e){return[e("x"),e("y")]}function bs({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function vs(e){return void 0===e||1===e}function ys({scale:e,scaleX:t,scaleY:n}){return!vs(e)||!vs(t)||!vs(n)}function xs(e){return ys(e)||Is(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Is(e){return Cs(e.x)||Cs(e.y)}function Cs(e){return e&&"0%"!==e}function ws(e,t,n){return n+t*(e-n)}function As(e,t,n,r,i){return void 0!==i&&(e=ws(e,i,r)),ws(e,n,r)+t}function Ns(e,t=0,n=1,r,i){e.min=As(e.min,t,n,r,i),e.max=As(e.max,t,n,r,i)}function ks(e,{x:t,y:n}){Ns(e.x,t.translate,t.scale,t.originPoint),Ns(e.y,n.translate,n.scale,n.originPoint)}function Gs(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ps(e,t){e.min=e.min+t,e.max=e.max+t}function Bs(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=fo(e.min,e.max,o);Ns(e,t[n],t[r],a,t.scale)}const Vs=["x","scaleX","originX"],Ts=["y","scaleY","originY"];function Ss(e,t){Bs(e.x,t,Vs),Bs(e.y,t,Ts)}function Es(e,t){return bs(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Rs=new WeakMap;class Ms{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Qa(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ti(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=li(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),fs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(hr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=rs(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&vi.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&vi.update(()=>i(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Xs(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?fo(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?fo(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&Gn(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:us(e.x,n,i),y:us(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=ps){return!1===e?e=0:!0===e&&(e=ps),{x:ms(e,"left","right"),y:ms(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&fs(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Gn(e))return!1;const n=e.current;Mi(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=Es(e,n),{scroll:i}=t;return i&&(Ps(r.x,i.offset.x),Ps(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:ds(e.x,t.x),y:ds(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=bs(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=fs(a=>{if(!Xs(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(xa(e,n,0,t))}stopAnimation(){fs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){fs(t=>{const{drag:n}=this.getProps();if(!Xs(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-fo(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Gn(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};fs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=rs(e),i=rs(t);return i>r?n=Xo(t.min,t.max-r,e.min):r>i&&(n=Xo(e.min,e.max-i,t.min)),rr(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),fs(t=>{if(!Xs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(fo(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Rs.set(this.visualElement,this);const e=ni(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Gn(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=qr(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(fs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=ps,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Xs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Ws=e=>(t,n)=>{e&&vi.update(()=>e(t,n))};const Ls={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Fs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Os={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!gr.test(e))return e;e=parseFloat(e)}return`${Fs(e,t.target.x)}% ${Fs(e,t.target.y)}%`}},Ds={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Vo.parse(e);if(i.length>5)return r;const o=Vo.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=fo(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class Zs extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Hs,Object.assign(Yn,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ls.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||vi.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function zs(e){const[t,n]=function(){const e=m(wn);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=f();return l(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=m(Ln);return i.createElement(Zs,{...e,layoutGroup:r,switchLayoutGroup:m(Fn),isPresent:t,safeToRemove:n})}const Hs={borderRadius:{...Os,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Os,borderTopRightRadius:Os,borderBottomLeftRadius:Os,borderBottomRightRadius:Os,boxShadow:Ds},js=["TopLeft","TopRight","BottomLeft","BottomRight"],Ys=js.length,Js=e=>"string"==typeof e?parseFloat(e):e,Us=e=>"number"==typeof e||gr.test(e);function $s(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Qs=Ks(0,.5,to),_s=Ks(.5,.95,Ci);function Ks(e,t,n){return r=>r<e?0:r>t?1:n(Xo(e,t,r))}function qs(e,t){e.min=t.min,e.max=t.max}function el(e,t){qs(e.x,t.x),qs(e.y,t.y)}function tl(e,t,n,r,i){return e=ws(e-=t,1/n,r),void 0!==i&&(e=ws(e,1/i,r)),e}function nl(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){hr.test(t)&&(t=parseFloat(t),t=fo(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=fo(o.min,o.max,r);e===o&&(s-=t),e.min=tl(e.min,t,n,s,i),e.max=tl(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const rl=["x","scaleX","originX"],il=["y","scaleY","originY"];function ol(e,t,n,r){nl(e.x,t,rl,n?n.x:void 0,r?r.x:void 0),nl(e.y,t,il,n?n.y:void 0,r?r.y:void 0)}function al(e){return 0===e.translate&&1===e.scale}function sl(e){return al(e.x)&&al(e.y)}function ll(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function cl(e){return rs(e.x)/rs(e.y)}class ul{constructor(){this.members=[]}add(e){wa(this.members,e),e.scheduleRender()}remove(e){if(Aa(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function dl(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const pl=(e,t)=>e.depth-t.depth;class ml{constructor(){this.children=[],this.isDirty=!1}add(e){wa(this.children,e),this.isDirty=!0}remove(e){Aa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(pl),this.isDirty=!1,this.children.forEach(e)}}const hl=["","X","Y","Z"];let gl=0;const fl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function bl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=gl++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;fl.totalNodes=fl.resolvedTargetDeltas=fl.recalculatedProjection=0,this.nodes.forEach(xl),this.nodes.forEach(Gl),this.nodes.forEach(Pl),this.nodes.forEach(Il),e=fl,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ml)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Na),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(yi(r),e(o-t))};return vi.read(r,!0),()=>yi(r)}(r,250),Ls.hasAnimatedSinceResize&&(Ls.hasAnimatedSinceResize=!1,this.nodes.forEach(kl))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||Rl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!ll(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...ya(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||kl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,yi(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Bl),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(wl);this.isUpdating||this.nodes.forEach(Al),this.isUpdating=!1,this.nodes.forEach(Nl),this.nodes.forEach(vl),this.nodes.forEach(yl),this.clearAllSnapshots();const e=performance.now();di.delta=rr(0,1e3/60,e-di.timestamp),di.timestamp=e,di.isProcessing=!0,gi.update.process(di),gi.preRender.process(di),gi.render.process(di),di.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Cl),this.sharedNodes.forEach(Vl)}scheduleUpdateProjection(){vi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){vi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!sl(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||xs(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Ml((r=n).x),Ml(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Ps(t.x,n.offset.x),Ps(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};el(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){el(t,e);const{scroll:n}=this.root;n&&(Ps(t.x,-n.offset.x),Ps(t.y,-n.offset.y))}Ps(t.x,i.offset.x),Ps(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};el(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ss(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),xs(r.latestValues)&&Ss(n,r.latestValues)}return xs(this.latestValues)&&Ss(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};el(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!xs(n.latestValues))continue;ys(n.latestValues)&&n.updateSnapshot();const r=gs();el(r,n.measurePageBox()),ol(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return xs(this.latestValues)&&ol(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==di.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=di.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),el(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,ss(a.x,s.x,l.x),ss(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):el(this.target,this.layout.layoutBox),ks(this.target,this.targetDelta)):el(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cs(this.relativeTargetOrigin,this.target,e.target),el(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}fl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ys(this.parent.latestValues)&&!Is(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===di.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;el(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ss(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,ks(e,a)),r&&xs(o.latestValues)&&Ss(e,o.latestValues))}t.x=Gs(t.x),t.y=Gs(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;as(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=dl(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),fl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(El));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Tl(o.x,e.x,n),Tl(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cs(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Sl(e.x,t.x,n.x,r),Sl(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&ll(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),el(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=fo(0,void 0!==n.opacity?n.opacity:1,Qs(r)),e.opacityExit=fo(void 0!==t.opacity?t.opacity:1,0,_s(r))):o&&(e.opacity=fo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Ys;i++){const o=`border${js[i]}Radius`;let a=$s(t,o),s=$s(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Us(a)===Us(s)?(e[o]=Math.max(fo(Js(a),Js(s),r),0),(hr.test(s)||hr.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=fo(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(yi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vi.update(()=>{Ls.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Qn(e)?e:Ba(e);return r.start(xa("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Xl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=rs(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=rs(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}el(t,n),Ss(t,i),as(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ul);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<hl.length;t++){const i="rotate"+hl[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Ur(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ur(e.pointerEvents)||""),this.hasProjected&&!xs(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=dl(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Yn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Yn[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?Ur(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(wl),this.root.sharedNodes.clear()}}}function vl(e){e.updateLayout()}function yl(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?fs(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=rs(r);r.min=t[e].min,r.max=r.min+i}):Xl(i,n.layoutBox,t)&&fs(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=rs(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};as(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?as(s,e.applyTransform(r,!0),n.measuredBox):as(s,t,n.layoutBox);const l=!sl(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};cs(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};cs(s,t,o.layoutBox),ll(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function xl(e){fl.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Il(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Cl(e){e.clearSnapshot()}function wl(e){e.clearMeasurements()}function Al(e){e.isLayoutDirty=!1}function Nl(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function kl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Gl(e){e.resolveTargetDelta()}function Pl(e){e.calcProjection()}function Bl(e){e.resetRotation()}function Vl(e){e.removeLeadSnapshot()}function Tl(e,t,n){e.translate=fo(t.translate,0,n),e.scale=fo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Sl(e,t,n,r){e.min=fo(t.min,n.min,r),e.max=fo(t.max,n.max,r)}function El(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Rl={duration:.45,ease:[.4,0,.1,1]};function Ml(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Xl(e,t,n){return"position"===e||"preserve-aspect"===e&&!is(cl(t),cl(n),.2)}const Wl=bl({attachResizeListener:(e,t)=>qr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ll={current:void 0},Fl=bl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ll.current){const e=new Wl({});e.mount(window),e.setOptions({layoutScroll:!0}),Ll.current=e}return Ll.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ol={pan:{Feature:class extends ui{constructor(){super(...arguments),this.removePointerDownListener=Ci}onPointerDown(e){this.session=new Qa(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ws(e),onStart:Ws(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&vi.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=ni(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ui{constructor(e){super(e),this.removeGroupControls=Ci,this.removeListeners=Ci,this.controls=new Ms(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ci}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Fl,MeasureLayout:zs}},Dl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Zl(e,t,n=1){Mi(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=Dl.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():tr(i)?Zl(i,t,n+1):i}const zl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Hl=e=>zl.has(e),jl=e=>e===ir||e===gr,Yl=(e,t)=>parseFloat(e.split(", ")[t]),Jl=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Yl(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Yl(t[1],e):0}},Ul=new Set(["x","y","z"]),$l=Jn.filter(e=>!Ul.has(e));const Ql={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Jl(4,13),y:Jl(5,14)},_l=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Hl);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=Sa(c);const d=t[i];let p;if(Yr(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Sa(c);for(let n=t;n<e&&null!==d[n];n++)p?Mi(Sa(d[n])===p,"All keyframes must be of the same type"):(p=Sa(d[n]),Mi(p===u||jl(u)&&jl(p),"Keyframes must be of the same dimension as the current value"))}else p=Sa(d);if(u!==p)if(jl(u)&&jl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===gr&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return $l.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Ql[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Ql[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),An&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function Kl(e,t,n,r){return(e=>Object.keys(e).some(Hl))(t)?_l(e,t,n,r):{target:t,transitionEnd:r}}const ql=(e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!tr(t))return;const n=Zl(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!tr(i))continue;const o=Zl(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return Kl(e,t=i.target,n,r=i.transitionEnd)},ec={current:null},tc={current:!1};const nc=new WeakMap,rc=Object.keys(Wn),ic=rc.length,oc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ac=Tn.length;class sc{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>vi.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=Sn(t),this.isVariantNode=En(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&Qn(t)&&(t.set(a[e],!1),Ia(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,nc.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),tc.current||function(){if(tc.current=!0,An)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ec.current=e.matches;e.addListener(t),t()}else ec.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ec.current),"production"!==process.env.NODE_ENV&&Ga(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){nc.delete(this.current),this.projection&&this.projection.unmount(),yi(this.notifyUpdate),yi(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Un.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&vi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Ri(!1,e):Mi(!1,e)}for(let e=0;e<ic;e++){const n=rc[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=Wn[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&Gn(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<oc.length;t++){const n=oc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(Qn(o))e.addValue(i,o),Ia(r)&&r.add(i),"development"===process.env.NODE_ENV&&Ga("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Qn(a))e.addValue(i,Ba(o,{owner:e})),Ia(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Ba(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<ac;e++){const n=Tn[e],r=this.props[n];(Pn(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ba(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Hr(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||Qn(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new Na),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class lc extends sc{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=Xa(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(Ca(c)||ba(c))?c=parseFloat(c):!Ra(c)&&Vo.test(l)&&(c=fa(a,l)),e.addValue(a,Ba(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=ql(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class cc extends lc{readValueFromInstance(e,t){if(Un.has(t)){const e=ga(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(er(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Es(e,t)}build(e,t,n,r){Ir(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Zr(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Qn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Fr(e,t,n,r)}}class uc extends lc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Un.has(t)){const e=ga(t);return e&&e.default||0}return t=Or.has(t)?t:Lr(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return zr(e,t)}build(e,t,n,r){Er(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Dr(e,t,0,r)}mount(e){this.isSVGTag=Mr(e.tagName),super.mount(e)}}const dc=(e,t)=>jn(e)?new uc(t,{enableHardwareAcceleration:!1}):new cc(t,{enableHardwareAcceleration:!0}),pc={...Ua,...Vi,...Ol,...{layout:{ProjectionNode:Fl,MeasureLayout:zs}}},mc=zn((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...jn(e)?_r:Kr,preloadedFeatures:n,useRender:Wr(t),createVisualElement:r,Component:e}}(e,t,pc,dc));function hc(){const e=a(!1);return Nn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class gc extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function fc({children:e,isPresent:t}){const n=f(),i=a(null),o=a({width:0,height:0,top:0,left:0});return h(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(gc,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const bc=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const l=jr(vc),c=f(),d=u(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;i&&i()},register:e=>(l.set(e,!1),()=>l.delete(e))}),a?void 0:[n]);return u(()=>{l.forEach((e,t)=>l.set(t,!1))},[n]),r.useEffect(()=>{!n&&!l.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(fc,{isPresent:n},e)),r.createElement(wn.Provider,{value:d},e)};function vc(){return new Map}const yc=e=>e.key||"";const xc=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:u=!0,mode:d="sync"})=>{Mi(!o,"Replace exitBeforeEnter with mode='wait'");const p=m(Ln).forceRender||function(){const e=hc(),[t,n]=s(0),r=c(()=>{e.current&&n(t+1)},[t]);return[c(()=>vi.postRender(r),[r]),t]}()[0],h=hc(),g=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let f=g;const x=a(new Map).current,I=a(f),C=a(new Map).current,w=a(!0);var A;if(Nn(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=yc(e);t.set(n,e)})}(g,C),I.current=f}),A=()=>{w.current=!0,C.clear(),x.clear()},l(()=>()=>A(),[]),w.current)return r.createElement(r.Fragment,null,f.map(e=>r.createElement(bc,{key:yc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:d},e)));f=[...f];const N=I.current.map(yc),k=g.map(yc),G=N.length;for(let e=0;e<G;e++){const t=N[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===d&&x.size&&(f=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const o=C.get(n);if(!o)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=g,!1===h.current)return;p(),i&&i()}};s=r.createElement(bc,{key:yc(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:u,mode:d},o),x.set(n,s)}f.splice(a,0,s)}),f=f.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(bc,{key:yc(e),isPresent:!0,presenceAffectsLayout:u,mode:d},e)}),"production"!==process.env.NODE_ENV&&"wait"===d&&f.length>1&&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.'),r.createElement(r.Fragment,null,x.size?f:f.map(e=>b(e)))};function Ic(){return Ic=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ic.apply(null,arguments)}function Cc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function wc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Ac(...e){return c(wc(...e),e)}function Nc(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return u(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const kc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Gc=r["useId".toString()]||(()=>{});let Pc=0;function Bc(e){const[t,n]=r.useState(Gc());return kc(()=>{n(e=>null!=e?e:String(Pc++))},[e]),e||(t?`radix-${t}`:"")}function Vc(e){const t=a(e);return l(()=>{t.current=e}),u(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Tc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=s(e),[r]=n,i=a(r),o=Vc(t);return l(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,u=o?e:r,d=Vc(n);return[u,c(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&d(n)}else i(t)},[o,e,i,d])]}const Sc=o((e,t)=>{const{children:n,...r}=e,i=v.toArray(n),o=i.find(Mc);if(o){const e=o.props.children,n=i.map(t=>t===o?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return g(Ec,Ic({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return g(Ec,Ic({},r,{ref:t}),n)});Sc.displayName="Slot";const Ec=o((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...Xc(r,n.props),ref:t?wc(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Ec.displayName="SlotClone";const Rc=({children:e})=>g(x,null,e);function Mc(e){return y(e)&&e.type===Rc}function Xc(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const Wc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=o((e,n)=>{const{asChild:r,...i}=e,o=r?Sc:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),g(o,Ic({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Lc="dismissableLayer.update",Fc="dismissableLayer.pointerDownOutside",Oc="dismissableLayer.focusOutside";let Dc;const Zc=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zc=o((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...p}=e,h=m(Zc),[f,b]=s(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=s({}),x=Ac(t,e=>b(e)),I=Array.from(h.layers),[C]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,k=A>=w,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e),r=a(!1),i=a(()=>{});return l(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){jc(Fc,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...h.branches].some(e=>e.contains(t));k&&!n&&(null==o||o(e),null==u||u(e),e.defaultPrevented||null==d||d())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e),r=a(!1);return l(()=>{const e=e=>{if(e.target&&!r.current){jc(Oc,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...h.branches].some(e=>e.contains(t))||(null==c||c(e),null==u||u(e),e.defaultPrevented||null==d||d())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===h.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),l(()=>{if(f)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(Dc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Hc(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Dc)}},[f,v,r,h]),l(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Hc())},[f,h]),l(()=>{const e=()=>y({});return document.addEventListener(Lc,e),()=>document.removeEventListener(Lc,e)},[]),g(Wc.div,Ic({},p,{ref:x,style:{pointerEvents:N?k?"auto":"none":void 0,...e.style},onFocusCapture:Cc(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Cc(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Cc(e.onPointerDownCapture,G.onPointerDownCapture)}))});function Hc(){const e=new CustomEvent(Lc);document.dispatchEvent(e)}function jc(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&k(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Yc="focusScope.autoFocusOnMount",Jc="focusScope.autoFocusOnUnmount",Uc={bubbles:!1,cancelable:!0},$c=o((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...u}=e,[d,p]=s(null),m=Vc(i),h=Vc(o),f=a(null),b=Ac(t,e=>p(e)),v=a({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l(()=>{if(r){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?f.current=t:qc(f.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||qc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&qc(d)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return d&&i.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,d,v.paused]),l(()=>{if(d){eu.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(Yc,Uc);d.addEventListener(Yc,m),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(qc(r,{select:t}),document.activeElement!==n)return}((e=Qc(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&qc(d))}return()=>{d.removeEventListener(Yc,m),setTimeout(()=>{const e=new CustomEvent(Jc,Uc);d.addEventListener(Jc,h),d.dispatchEvent(e),e.defaultPrevented||qc(null!=t?t:document.body,{select:!0}),d.removeEventListener(Jc,h),eu.remove(v)},0)}}var e},[d,m,h,v]);const y=c(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Qc(e),n=_c(t,e),r=_c(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&qc(o,{select:!0})):(e.preventDefault(),n&&qc(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return g(Wc.div,Ic({tabIndex:-1},u,{ref:b,onKeyDown:y}))});function Qc(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function _c(e,t){for(const n of e)if(!Kc(n,{upTo:t}))return n}function Kc(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function qc(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const eu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=tu(e,t),e.unshift(t)},remove(t){var n;e=tu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function tu(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const nu=o((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?N.createPortal(g(Wc.div,Ic({},i,{ref:t})),r):null});const ru=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=s(),r=a({}),i=a(e),o=a("none"),u=e?"mounted":"unmounted",[d,p]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l(()=>{const e=iu(r.current);o.current="mounted"===d?e:"none"},[d]),kc(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=iu(t);if(e)p("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,p]),kc(()=>{if(t){const e=e=>{const n=iu(r.current).includes(e.animationName);e.target===t&&n&&k(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=iu(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:c(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):v.only(n),o=Ac(r.ref,i.ref);return"function"==typeof n||r.isPresent?b(i,{ref:o}):null};function iu(e){return(null==e?void 0:e.animationName)||"none"}ru.displayName="Presence";let ou=0;function au(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var su=function(){return su=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},su.apply(this,arguments)};function lu(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var cu="right-scroll-bar-position",uu="width-before-scroll-bar";function du(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var pu="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,mu=new WeakMap;function hu(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return du(e,t)})},(i=s(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return pu(function(){var t=mu.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||du(e,null)}),r.forEach(function(e){n.has(e)||du(e,i)})}mu.set(o,e)},[e]),o}function gu(e){return e}var fu=function(e){var t=e.sideCar,n=lu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,su({},n))};fu.isSideCarExport=!0;var bu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=gu);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=su({async:!0,ssr:!1},e),t}(),vu=function(){},yu=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:vu,onWheelCapture:vu,onTouchMoveCapture:vu}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=lu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,I=hu([n,t]),C=su(su({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:bu,removeScrollBar:u,shards:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?r.cloneElement(r.Children.only(l),su(su({},C),{ref:I})):r.createElement(v,su({},C,{className:c,ref:I}),l))});yu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},yu.classNames={fullWidth:uu,zeroRight:cu};function xu(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Iu=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=xu())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Cu=function(){var e,t=(e=Iu(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},wu={left:0,top:0,right:0,gap:0},Au=function(e){return parseInt(e||"",10)||0},Nu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return wu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Au(n),Au(r),Au(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ku=Cu(),Gu="data-scroll-locked",Pu=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(Gu,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(cu," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(uu," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(cu," .").concat(cu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(uu," .").concat(uu," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Gu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Bu=function(){var e=parseInt(document.body.getAttribute(Gu)||"0",10);return isFinite(e)?e:0},Vu=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(Gu,(Bu()+1).toString()),function(){var e=Bu()-1;e<=0?document.body.removeAttribute(Gu):document.body.setAttribute(Gu,e.toString())}},[]);var a=r.useMemo(function(){return Nu(o)},[o]);return r.createElement(ku,{styles:Pu(a,!t,o,n?"":"!important")})},Tu=!1;if("undefined"!=typeof window)try{var Su=Object.defineProperty({},"passive",{get:function(){return Tu=!0,!0}});window.addEventListener("test",Su,Su),window.removeEventListener("test",Su,Su)}catch(e){Tu=!1}var Eu=!!Tu&&{passive:!1},Ru=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Mu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Xu(e,n)){var r=Wu(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Xu=function(e,t){return"v"===e?function(e){return Ru(e,"overflowY")}(t):function(e){return Ru(e,"overflowX")}(t)},Wu=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Lu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Fu=function(e){return[e.deltaX,e.deltaY]},Ou=function(e){return e&&"current"in e?e.current:e},Du=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Zu=0,zu=[];var Hu,ju=(Hu=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(Zu++)[0],a=r.useState(function(){return Cu()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Ou),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=Lu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=Mu(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=Mu(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var m=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=Wu(e,a),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&Xu(e,a)&&(u+=h,d+=m),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=r.useCallback(function(e){var n=e;if(zu.length&&zu[zu.length-1]===a){var r="deltaY"in n?Fu(n):Lu(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(Ou).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=Lu(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,Fu(t),t.target,l(t,e.lockRef.current))},[]),m=r.useCallback(function(t){u(t.type,Lu(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return zu.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Eu),document.addEventListener("touchmove",c,Eu),document.addEventListener("touchstart",d,Eu),function(){zu=zu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Eu),document.removeEventListener("touchmove",c,Eu),document.removeEventListener("touchstart",d,Eu)}},[]);var h=e.removeScrollBar,g=e.inert;return r.createElement(r.Fragment,null,g?r.createElement(a,{styles:Du(o)}):null,h?r.createElement(Vu,{gapMode:"margin"}):null)},bu.useMedium(Hu),fu),Yu=r.forwardRef(function(e,t){return r.createElement(yu,su({},e,{ref:t,sideCar:ju}))});Yu.classNames=yu.classNames;var Ju=new WeakMap,Uu=new WeakMap,$u={},Qu=0,_u=function(e){return e&&(e.host||_u(e.parentNode))},Ku=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=_u(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);$u[n]||($u[n]=new WeakMap);var o=$u[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Ju.get(e)||0)+1,c=(o.get(e)||0)+1;Ju.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Uu.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Qu++,function(){a.forEach(function(e){var t=Ju.get(e)-1,i=o.get(e)-1;Ju.set(e,t),o.set(e,i),t||(Uu.has(e)||e.removeAttribute(r),Uu.delete(e)),i||e.removeAttribute(n)}),--Qu||(Ju=new WeakMap,Ju=new WeakMap,Uu=new WeakMap,$u={})}},qu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Ku(r,i,n,"aria-hidden")):function(){return null}};const ed="Dialog",[td,nd]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d(e));return function(n){const r=(null==n?void 0:n[e])||t;return u(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=d(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,l=u(()=>a,Object.values(a));return g(s.Provider,{value:l},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=m(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Nc(r,...t)]}(ed),[rd,id]=td(ed),od="DialogPortal",[ad,sd]=td(od,{forceMount:void 0}),ld="DialogOverlay",cd=o((e,t)=>{const n=sd(ld,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=id(ld,e.__scopeDialog);return o.modal?g(ru,{present:r||o.open},g(ud,Ic({},i,{ref:t}))):null}),ud=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=id(ld,n);return g(Yu,{as:Sc,allowPinchZoom:!0,shards:[i.contentRef]},g(Wc.div,Ic({"data-state":yd(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),dd="DialogContent",pd=o((e,t)=>{const n=sd(dd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=id(dd,e.__scopeDialog);return g(ru,{present:r||o.open},o.modal?g(md,Ic({},i,{ref:t})):g(hd,Ic({},i,{ref:t})))}),md=o((e,t)=>{const n=id(dd,e.__scopeDialog),r=a(null),i=Ac(t,n.contentRef,r);return l(()=>{const e=r.current;if(e)return qu(e)},[]),g(gd,Ic({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Cc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Cc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Cc(e.onFocusOutside,e=>e.preventDefault())}))}),hd=o((e,t)=>{const n=id(dd,e.__scopeDialog),r=a(!1),i=a(!1);return g(gd,Ic({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),gd=o((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,c=id(dd,n),u=Ac(t,a(null));return l(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:au()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:au()),ou++,()=>{1===ou&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ou--}},[]),g(x,null,g($c,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},g(zc,Ic({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":yd(c.open)},s,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),fd="DialogTitle",bd="DialogClose",vd=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=id(bd,n);return g(Wc.button,Ic({type:"button"},r,{ref:t,onClick:Cc(e.onClick,()=>i.onOpenChange(!1))}))});function yd(e){return e?"open":"closed"}!function(e,t){const n=d(t);function r(e){const{children:t,...r}=e,i=u(()=>r,Object.values(r));return g(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:dd,titleName:fd,docsSlug:"dialog"});const xd=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,l=a(null),u=a(null),[d=!1,p]=Tc({prop:r,defaultProp:i,onChange:o});return g(rd,{scope:t,triggerRef:l,contentRef:u,contentId:Bc(),titleId:Bc(),descriptionId:Bc(),open:d,onOpenChange:p,onOpenToggle:c(()=>p(e=>!e),[p]),modal:s},n)},Id=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=id(od,t);return g(ad,{scope:t,forceMount:n},v.map(r,e=>g(ru,{present:n||o.open},g(nu,{asChild:!0,container:i},e))))},Cd=cd,wd=pd,Ad=vd,Nd=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(xd,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(Id,{children:[e(mc.div,{initial:"closed",animate:r?"open":"closed",variants:vn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Cd,{})}),e("div",{className:"fixed inset-0 z-[1001] flex items-center justify-center pointer-events-none",children:e(mc.div,{initial:"closed",animate:r?"open":"closed",variants:yn,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"w-[calc(100vw-10px)] sm:w-[calc(100vw-90px)] pointer-events-auto focus:outline-none",children:e(wd,{className:Ct("relative w-full mx-auto rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:xn[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(Ad,{asChild:!0,children:e(Rt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Nt,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(Pt,{className:Ct("w-full pr-8 sm:pr-0 mb-3 mt-5 text-center","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(Pt,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},kd=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,m=p?d[r]:void 0,h=r&&!p?{background:r}:void 0,g=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"max-content":""} ${null!=m?m:h?"":"bg-white"}`,style:h,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:h,children:n})},Gd=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:m})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e(Pt,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),e(Pt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Rt,{...i,renderCheckPlans:m,onModalButtonClick:p})})]})}),Pd=({background:r="white",description:i,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(Pt,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(Pt,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e(Pt,{as:"p",className:"body1",children:i}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Et,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Et,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Wt,{width:472,height:100,src:a,alt:"image"})})]})]})}),Bd=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e(Pt,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:i}),e(Pt,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Vd=({currentPage:n,totalPages:r,onPageChange:i,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const r=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let e=r;e<=i;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,r),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e(wt,{className:s,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Nt,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(wt,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(wt,{className:s,onClick:()=>i(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(Nt,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Td(e){return Td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Td(e)}function Sd(e){var t=function(e,t){if("object"!=Td(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Td(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Td(t)?t:t+""}function Ed(e,t,n){return(t=Sd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(n),!0).forEach(function(t){Ed(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Wd(e,t){if(e){if("string"==typeof e)return Xd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xd(e,t):void 0}}function Ld(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Wd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fd(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Od=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Dd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Sd(r.key),r)}}function Zd(e,t){return Zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zd(e,t)}function zd(e){return zd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zd(e)}function Hd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hd=function(){return!!e})()}function jd(e,t){if(t&&("object"==Td(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Yd(e){return function(e){if(Array.isArray(e))return Xd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Jd=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ud="-ms-",$d="-moz-",Qd="-webkit-",_d="comm",Kd="rule",qd="decl",ep="@keyframes",tp=Math.abs,np=String.fromCharCode,rp=Object.assign;function ip(e){return e.trim()}function op(e,t,n){return e.replace(t,n)}function ap(e,t){return e.indexOf(t)}function sp(e,t){return 0|e.charCodeAt(t)}function lp(e,t,n){return e.slice(t,n)}function cp(e){return e.length}function up(e){return e.length}function dp(e,t){return t.push(e),e}var pp=1,mp=1,hp=0,gp=0,fp=0,bp="";function vp(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:pp,column:mp,length:a,return:""}}function yp(e,t){return rp(vp("",null,null,"",null,null,0),e,{length:-e.length},t)}function xp(){return fp=gp>0?sp(bp,--gp):0,mp--,10===fp&&(mp=1,pp--),fp}function Ip(){return fp=gp<hp?sp(bp,gp++):0,mp++,10===fp&&(mp=1,pp++),fp}function Cp(){return sp(bp,gp)}function wp(){return gp}function Ap(e,t){return lp(bp,e,t)}function Np(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kp(e){return pp=mp=1,hp=cp(bp=e),gp=0,[]}function Gp(e){return bp="",e}function Pp(e){return ip(Ap(gp-1,Tp(91===e?e+2:40===e?e+1:e)))}function Bp(e){for(;(fp=Cp())&&fp<33;)Ip();return Np(e)>2||Np(fp)>3?"":" "}function Vp(e,t){for(;--t&&Ip()&&!(fp<48||fp>102||fp>57&&fp<65||fp>70&&fp<97););return Ap(e,wp()+(t<6&&32==Cp()&&32==Ip()))}function Tp(e){for(;Ip();)switch(fp){case e:return gp;case 34:case 39:34!==e&&39!==e&&Tp(fp);break;case 40:41===e&&Tp(e);break;case 92:Ip()}return gp}function Sp(e,t){for(;Ip()&&e+fp!==57&&(e+fp!==84||47!==Cp()););return"/*"+Ap(t,gp-1)+"*"+np(47===e?e:Ip())}function Ep(e){for(;!Np(Cp());)Ip();return Ap(e,gp)}function Rp(e){return Gp(Mp("",null,null,null,[""],e=kp(e),0,[0],e))}function Mp(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,h=0,g=1,f=1,b=1,v=0,y="",x=i,I=o,C=r,w=y;f;)switch(h=v,v=Ip()){case 40:if(108!=h&&58==sp(w,d-1)){-1!=ap(w+=op(Pp(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Pp(v);break;case 9:case 10:case 13:case 32:w+=Bp(h);break;case 92:w+=Vp(wp()-1,7);continue;case 47:switch(Cp()){case 42:case 47:dp(Wp(Sp(Ip(),wp()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=cp(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(w=op(w,/\f/g,"")),m>0&&cp(w)-d&&dp(m>32?Lp(w+";",r,n,d-1):Lp(op(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(dp(C=Xp(w,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)Mp(w,t,C,C,x,o,d,s,I);else switch(99===p&&110===sp(w,3)?100:p){case 100:case 108:case 109:case 115:Mp(e,C,C,r&&dp(Xp(e,C,C,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:Mp(w,C,C,C,[""],I,0,s,I)}}c=u=m=0,g=b=1,y=w="",d=a;break;case 58:d=1+cp(w),m=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==xp())continue;switch(w+=np(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(cp(w)-1)*b,b=1;break;case 64:45===Cp()&&(w+=Pp(Ip())),p=Cp(),u=d=cp(y=w+=Ep(wp())),v++;break;case 45:45===h&&2==cp(w)&&(g=0)}}return o}function Xp(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],m=up(p),h=0,g=0,f=0;h<r;++h)for(var b=0,v=lp(e,d+1,d=tp(g=a[h])),y=e;b<m;++b)(y=ip(g>0?p[b]+" "+v:op(v,/&\f/g,p[b])))&&(l[f++]=y);return vp(e,t,n,0===i?Kd:s,l,c,u)}function Wp(e,t,n){return vp(e,t,n,_d,np(fp),lp(e,2,-2),0)}function Lp(e,t,n,r){return vp(e,t,n,qd,lp(e,0,r),lp(e,r+1,-1),r)}function Fp(e,t){for(var n="",r=up(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Op(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case qd:return e.return=e.return||e.value;case _d:return"";case ep:return e.return=e.value+"{"+Fp(e.children,r)+"}";case Kd:e.value=e.props.join(",")}return cp(n=Fp(e.children,r))?e.return=e.value+"{"+n+"}":""}function Dp(e){var t=up(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}var Zp="undefined"!=typeof document,zp=function(e,t,n){for(var r=0,i=0;r=i,i=Cp(),38===r&&12===i&&(t[n]=1),!Np(i);)Ip();return Ap(e,gp)},Hp=function(e,t){return Gp(function(e,t){var n=-1,r=44;do{switch(Np(r)){case 0:38===r&&12===Cp()&&(t[n]=1),e[n]+=zp(gp-1,t,n);break;case 2:e[n]+=Pp(r);break;case 4:if(44===r){e[++n]=58===Cp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=np(r)}}while(r=Ip());return e}(kp(e),t))},jp=new WeakMap,Yp=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||jp.get(n))&&!r){jp.set(e,!0);for(var i=[],o=Hp(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Jp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Up(e,t){switch(function(e,t){return 45^sp(e,0)?(((t<<2^sp(e,0))<<2^sp(e,1))<<2^sp(e,2))<<2^sp(e,3):0}(e,t)){case 5103:return Qd+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Qd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qd+e+$d+e+Ud+e+e;case 6828:case 4268:return Qd+e+Ud+e+e;case 6165:return Qd+e+Ud+"flex-"+e+e;case 5187:return Qd+e+op(e,/(\w+).+(:[^]+)/,Qd+"box-$1$2"+Ud+"flex-$1$2")+e;case 5443:return Qd+e+Ud+"flex-item-"+op(e,/flex-|-self/,"")+e;case 4675:return Qd+e+Ud+"flex-line-pack"+op(e,/align-content|flex-|-self/,"")+e;case 5548:return Qd+e+Ud+op(e,"shrink","negative")+e;case 5292:return Qd+e+Ud+op(e,"basis","preferred-size")+e;case 6060:return Qd+"box-"+op(e,"-grow","")+Qd+e+Ud+op(e,"grow","positive")+e;case 4554:return Qd+op(e,/([^-])(transform)/g,"$1"+Qd+"$2")+e;case 6187:return op(op(op(e,/(zoom-|grab)/,Qd+"$1"),/(image-set)/,Qd+"$1"),e,"")+e;case 5495:case 3959:return op(e,/(image-set\([^]*)/,Qd+"$1$`$1");case 4968:return op(op(e,/(.+:)(flex-)?(.*)/,Qd+"box-pack:$3"+Ud+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qd+e+e;case 4095:case 3583:case 4068:case 2532:return op(e,/(.+)-inline(.+)/,Qd+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(cp(e)-1-t>6)switch(sp(e,t+1)){case 109:if(45!==sp(e,t+4))break;case 102:return op(e,/(.+:)(.+)-([^]+)/,"$1"+Qd+"$2-$3$1"+$d+(108==sp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ap(e,"stretch")?Up(op(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==sp(e,t+1))break;case 6444:switch(sp(e,cp(e)-3-(~ap(e,"!important")&&10))){case 107:return op(e,":",":"+Qd)+e;case 101:return op(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qd+(45===sp(e,14)?"inline-":"")+"box$3$1"+Qd+"$2$3$1"+Ud+"$2box$3")+e}break;case 5936:switch(sp(e,t+11)){case 114:return Qd+e+Ud+op(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qd+e+Ud+op(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qd+e+Ud+op(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qd+e+Ud+e+e}return e}var $p,Qp,_p,Kp=Zp?void 0:($p=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Qp=new WeakMap,function(e){if(Qp.has(e))return Qp.get(e);var t=$p(e);return Qp.set(e,t),t}),qp=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case qd:e.return=Up(e.value,e.length);break;case ep:return Fp([yp(e,{value:op(e.value,"@","@"+Qd)})],r);case Kd:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fp([yp(e,{props:[op(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Fp([yp(e,{props:[op(t,/:(plac\w+)/,":"+Qd+"input-$1")]}),yp(e,{props:[op(t,/:(plac\w+)/,":-moz-$1")]}),yp(e,{props:[op(t,/:(plac\w+)/,Ud+"input-$1")]})],r)}return""})}}],em=function(e){var t=e.key;if(Zp&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||qp,a={},s=[];Zp&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Yp,Jp];if(Kp){var u=[Op],d=Dp(c.concat(o,u)),p=Kp(o)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Fp(Rp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=m(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var h,g=[Op,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Dp(c.concat(o,g));i=function(e,t,n,r){h=n,Fp(Rp(e?e+"{"+t.styles+"}":t.styles),f),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Jd({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},tm={exports:{}},nm={};var rm,im,om,am,sm={};
|
|
3
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from"react";import o,{forwardRef as r,useRef as a,useState as s,useEffect as l,useCallback as c,useMemo as u,createContext as d,useLayoutEffect as p,useContext as m,useInsertionEffect as h,createElement as g,useId as f,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as C}from"react";import{Base64 as w}from"js-base64";import A from"js-cookie";import N from"next/image";import k from"next/link";import G,{flushSync as P,createPortal as V}from"react-dom";import{useRouter as B,usePathname as T,useSearchParams as S}from"next/navigation";function E(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=E(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function R(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=E(e))&&(i&&(i+=" "),i+=t);return i}const M=e=>{const t=F(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),X(n,t)||L(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&i[e]?[...o,...i[e]]:o}}},X=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?X(e.slice(1),i):void 0;if(o)return o;if(0===t.validators.length)return;const r=e.join("-");return t.validators.find(({validator:e})=>e(r))?.classGroupId},W=/^\[(.+)\]$/,L=e=>{if(W.test(e)){const t=W.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},F=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const e in n)O(n[e],i,e,t);return i},O=(e,t,n,i)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:D(t,e)).classGroupId=n)}if("function"==typeof e)return Z(e)?void O(e(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{O(o,D(t,e),n,i)})})},D=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},Z=e=>e.isThemeGetter,z=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const o=(o,r)=>{n.set(o,r),t++,t>e&&(t=0,i=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},H=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=e=>{const t=[];let n,i=0,o=0,r=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===i&&0===o){if(":"===s){t.push(e.slice(r,a)),r=a+1;continue}if("/"===s){n=a;continue}}"["===s?i++:"]"===s?i--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(r),s=j(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>r?n-r:void 0}};if(t){const e=t+":",n=i;i=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=i;i=t=>n({className:t,parseClassName:e})}return i},j=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Y=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let i=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...i.sort(),e),i=[]):i.push(e)}),n.push(...i.sort()),n}},J=/\s+/;function U(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=$(e))&&(i&&(i+=" "),i+=t);return i}const $=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=$(e[i]))&&(n&&(n+=" "),n+=t);return n};function Q(e,...t){let n,i,o,r=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:z(e.cacheSize),parseClassName:H(e),sortModifiers:Y(e),...M(e)}))(l),i=n.cache.get,o=n.cache.set,r=a,a(s)};function a(e){const t=i(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:r}=t,a=[],s=e.trim().split(J);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,g=i(h?p.substring(0,m):p);if(!g){if(!h){l=t+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=t+(l.length>0?" "+l:l);continue}h=!1}const f=r(u).join(":"),b=d?f+"!":f,v=b+g;if(a.includes(v))continue;a.push(v);const y=o(g,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,r),r}return function(){return r(U.apply(null,arguments))}}const _=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ee=/^\d+\/\d+$/,te=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ne=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ie=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,re=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ae=e=>ee.test(e),se=e=>!!e&&!Number.isNaN(Number(e)),le=e=>!!e&&Number.isInteger(Number(e)),ce=e=>e.endsWith("%")&&se(e.slice(0,-1)),ue=e=>te.test(e),de=()=>!0,pe=e=>ne.test(e)&&!ie.test(e),me=()=>!1,he=e=>oe.test(e),ge=e=>re.test(e),fe=e=>!ve(e)&&!Ae(e),be=e=>Te(e,Me,me),ve=e=>K.test(e),ye=e=>Te(e,Xe,pe),xe=e=>Te(e,We,se),Ie=e=>Te(e,Ee,me),Ce=e=>Te(e,Re,ge),we=e=>Te(e,Fe,he),Ae=e=>q.test(e),Ne=e=>Se(e,Xe),ke=e=>Se(e,Le),Ge=e=>Se(e,Ee),Pe=e=>Se(e,Me),Ve=e=>Se(e,Re),Be=e=>Se(e,Fe,!0),Te=(e,t,n)=>{const i=K.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Se=(e,t,n=!1)=>{const i=q.exec(e);return!!i&&(i[1]?t(i[1]):n)},Ee=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Me=e=>"length"===e||"size"===e||"bg-size"===e,Xe=e=>"length"===e,We=e=>"number"===e,Le=e=>"family-name"===e,Fe=e=>"shadow"===e,Oe=()=>{const e=_("color"),t=_("font"),n=_("text"),i=_("font-weight"),o=_("tracking"),r=_("leading"),a=_("breakpoint"),s=_("container"),l=_("spacing"),c=_("radius"),u=_("shadow"),d=_("inset-shadow"),p=_("text-shadow"),m=_("drop-shadow"),h=_("blur"),g=_("perspective"),f=_("aspect"),b=_("ease"),v=_("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ae,ve],x=()=>[Ae,ve,l],I=()=>[ae,"full","auto",...x()],C=()=>[le,"none","subgrid",Ae,ve],w=()=>["auto",{span:["full",le,Ae,ve]},le,Ae,ve],A=()=>[le,"auto",Ae,ve],N=()=>["auto","min","max","fr",Ae,ve],k=()=>["auto",...x()],G=()=>[ae,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ae,ve],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ge,Ie,{position:[Ae,ve]}],B=()=>["auto","cover","contain",Pe,be,{size:[Ae,ve]}],T=()=>[ce,Ne,ye],S=()=>["","none","full",c,Ae,ve],E=()=>["",se,Ne,ye],R=()=>[se,ce,Ge,Ie],M=()=>["","none",h,Ae,ve],X=()=>["none",se,Ae,ve],W=()=>["none",se,Ae,ve],L=()=>[se,Ae,ve],F=()=>[ae,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ue],breakpoint:[ue],color:[de],container:[ue],"drop-shadow":[ue],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ue],shadow:[ue],spacing:["px",se],text:[ue],"text-shadow":[ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ae,ve,Ae,f]}],container:["container"],columns:[{columns:[se,ve,Ae,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[le,"auto",Ae,ve]}],basis:[{basis:[ae,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[se,ae,"auto","initial","none",ve]}],grow:[{grow:["",se,Ae,ve]}],shrink:[{shrink:["",se,Ae,ve]}],order:[{order:[le,"first","last","none",Ae,ve]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,Ne,ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Ae,xe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ce,ve]}],"font-family":[{font:[ke,ve,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Ae,ve]}],"line-clamp":[{"line-clamp":[se,"none",Ae,xe]}],leading:[{leading:[r,...x()]}],"list-image":[{"list-image":["none",Ae,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ae,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[se,"from-font","auto",Ae,ye]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[se,"auto",Ae,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ae,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ae,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},le,Ae,ve],radial:["",Ae,ve],conic:[le,Ae,ve]},Ve,Ce]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:E()}],"border-w-x":[{"border-x":E()}],"border-w-y":[{"border-y":E()}],"border-w-s":[{"border-s":E()}],"border-w-e":[{"border-e":E()}],"border-w-t":[{"border-t":E()}],"border-w-r":[{"border-r":E()}],"border-w-b":[{"border-b":E()}],"border-w-l":[{"border-l":E()}],"divide-x":[{"divide-x":E()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":E()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[se,Ae,ve]}],"outline-w":[{outline:["",se,Ne,ye]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Be,we]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Be,we]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[se,ye]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,Be,we]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[se,Ae,ve]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[se]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Ae,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[se]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ae,ve]}],filter:[{filter:["","none",Ae,ve]}],blur:[{blur:M()}],brightness:[{brightness:[se,Ae,ve]}],contrast:[{contrast:[se,Ae,ve]}],"drop-shadow":[{"drop-shadow":["","none",m,Be,we]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",se,Ae,ve]}],"hue-rotate":[{"hue-rotate":[se,Ae,ve]}],invert:[{invert:["",se,Ae,ve]}],saturate:[{saturate:[se,Ae,ve]}],sepia:[{sepia:["",se,Ae,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",Ae,ve]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[se,Ae,ve]}],"backdrop-contrast":[{"backdrop-contrast":[se,Ae,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",se,Ae,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[se,Ae,ve]}],"backdrop-invert":[{"backdrop-invert":["",se,Ae,ve]}],"backdrop-opacity":[{"backdrop-opacity":[se,Ae,ve]}],"backdrop-saturate":[{"backdrop-saturate":[se,Ae,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",se,Ae,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ae,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[se,"initial",Ae,ve]}],ease:[{ease:["linear","initial",b,Ae,ve]}],delay:[{delay:[se,Ae,ve]}],animate:[{animate:["none",v,Ae,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Ae,ve]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[Ae,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ae,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ae,ve]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[se,Ne,ye,xe]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},De=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ze=(e,t)=>{if(t)for(const n in t)De(e,n,t[n])},ze=(e,t)=>{if(t)for(const n in t)He(e,t,n)},He=(e,t,n)=>{const i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)};const je=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Ye=((e,...t)=>"function"==typeof e?Q(Oe,e,...t):Q(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:o={},override:r={}})=>(De(e,"cacheSize",t),De(e,"prefix",n),De(e,"experimentalParseClassName",i),Ze(e.theme,r.theme),Ze(e.classGroups,r.classGroups),Ze(e.conflictingClassGroups,r.conflictingClassGroups),Ze(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),De(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),ze(e.theme,o.theme),ze(e.classGroups,o.classGroups),ze(e.conflictingClassGroups,o.conflictingClassGroups),ze(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),He(e,o,"orderSensitiveModifiers"),e))(Oe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Je=(...e)=>Ye(R(...e)),Ue=r(({children:t,className:n="",style:i,disabled:o,...r},a)=>e("button",{ref:a,className:Je(n),style:i,disabled:o,...r,children:t}));Ue.displayName="Button";const $e=t=>{const{open:n,children:i}=t,o=a(null),[r,c]=s(0);return l(()=>{const e=o.current;if(!e)return;const t=()=>{c(n?e.scrollHeight:0)};let i;return t(),n&&(i=new ResizeObserver(()=>t()),i.observe(e)),()=>{i&&i.disconnect()}},[n,i]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:r,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:i})})};$e.displayName="Collapse";const Qe=({name:t,fill:n=0,opticalSize:i="48dp",weight:o="200",emphasis:r=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${r}, 'opsz' ${i.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Je("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Qe.displayName="MaterialIcon";const _e=n=>{const{title:i,defaultOpen:o,children:r,containerClassName:a,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:m,borderRadiusNone:h=!1}=n,[g,f]=s(Boolean(!1));return l(()=>{if(m){const e=window.innerWidth>=1024;f(e)}else f(Boolean(o))},[m,o]),t("div",{className:Je(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(Ue,{type:"button",className:Je(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>f(e=>!e),children:[e("span",{className:Je("label5 flex-1",c),children:i}),e(Qe,{className:Je("flex-shrink-0",p),name:g?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e($e,{open:g,children:e("div",{className:Je("px-4 py-4",u),children:r})})]})};_e.displayName="Accordion";const Ke=t=>{const{className:n,...i}=t;return e("div",{className:Je("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...i})};Ke.displayName="Divider";const qe=r(({children:e,as:t,className:n="",style:i,...r},a)=>{const s=t||"p";return o.createElement(s,{ref:a,className:n,style:i,...r},e)});qe.displayName="Text";const et=({items:n,title:i,background:o="white",enableHeading:r=!1,maxWidth:a=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container`,children:t("div",{className:(a?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e(qe,{as:r?"h1":"h2",className:"heading2 text-left text-text md:heading1 lg:text-center",children:i})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((i,o)=>t("div",{children:[e(_e,{title:i.title,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,children:e(qe,{as:"div",children:i.description})}),o<n.length-1&&e(Ke,{className:"my-6 md:my-10"},`divider-${o}`)]},`item-${o}`))})]})}),tt=({href:i,title:o,description:r,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:m})=>t("article",{className:u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(k,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(N,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),o&&e(k,{href:i,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:o}),r&&e(qe,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),t(k,{href:i,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${o||"this article"}`,children:[e(qe,{"aria-label":`${c} about ${o||"this article"}`,className:"label1 text-nowrap",children:c}),e(Qe,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),nt=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},it=r(({variant:i="primary_brand",isLoading:o=!1,text:r,label:a,disabled:s,fullWidth:l,size:c={base:"medium"},as:u="button",...d},p)=>{const m=(()=>{const e=Je((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(c),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top",l&&"w-full"),t=Je((s||o)&&"cursor-not-allowed",o&&"pl-7");return Je(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[i]||"",t)})();let h=`button--${i}`;o&&(h+=" button--loading"),s&&(h+=" button--disabled");const g=`${h} ${m}`,f=t(n,{children:[o?e(Qe,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Je(nt(c)),children:a}),r]}):r]});return"a"===u?e("a",{ref:p,className:Je(g),...d,children:f}):e("button",{ref:p,className:Je(g),disabled:s||o,...d,children:f})});it.displayName="BrandButton";const ot=r(({children:t,href:n,className:i="",onClick:o,variant:r="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===r)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[r]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==o||o(e)},m=Je(d,`link--${r}`,l&&"link--disabled",i),h={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(k,{href:n||"#",className:m,onClick:p,...c,children:t})});ot.displayName="Link";const rt=n=>{const{showButtonAs:i="solid",buttonVariant:o="primary_brand",buttonLabel:r,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===m){return null==h?void 0:h({ctaText:r,buttonVariant:o,showButtonAs:i,cta:{...n}})}function k(){"modal"===f&&(null==v||v(b))}function G(e){k(),null==y||y(e)}function P(e){k(),null==y||y(e)}const V="undefined"!=typeof window?window.location.search:"",B=s&&A&&V?function(e,t){if(!t)return e;const n=new URLSearchParams(t),i=new Set(je),o=new Set([...i,"searchtext","page"]);let r,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);r=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");r=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{o.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${r}?${l}`:r}(s,V):s;let T=e(Ue,{onClick:P,className:g,...N});switch(i){case"solid":T=e(it,B?{as:"a",href:B,id:c,variant:o,text:r,label:a,fullWidth:p,size:C,onClick:G}:{id:c,variant:o,text:r,label:a,fullWidth:p,size:C,onClick:P});break;case"text":T=t(ot,{href:B,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:G,children:[r," ",x&&e(Qe,{name:x,size:w,fill:I})]})}return T},at={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},st=({src:e,width:t,quality:n})=>{const i=new URL(e);return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},lt=r(({className:t,...n},i)=>{const o="string"==typeof n.src?n.src:"",r=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&r.endsWith(".svg"),l=a&&!s?{loader:st,unoptimized:!1}:{unoptimized:s};return e(N,{ref:i,className:Je(t),...n,...l})});lt.displayName="NextImage";const ct=({card:n,lgWidth:i,mdWidth:o})=>{var r,a,s;const l=(null===(r=n.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${o} ${i} w-full ${null!==(s=at[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,i,o;if(!t.image)return null;const r=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(lt,"full"===r?{width:400,height:280,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e(qe,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e(qe,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(rt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},ut=({title:n,items:i,enableHeading:o=!1,subtitle:r,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===i.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e(qe,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),r&&e(qe,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:i.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(tt,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:u,mdWidth:d})}return e(ct,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},dt=({fields:t})=>e("div",{children:e(qe,{children:"Cards"})}),pt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},mt=r(({children:t,className:n="",variant:i="unstyled",style:o,...r},a)=>{const s=Je("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:o,...r,children:t})});mt.displayName="ListItem";const ht=r(({type:t="ul",items:n,className:i="",renderItem:o,children:r,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Je(u,`list--${t}`,`list--${a}`,i),p=r||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(mt,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...m,ref:c})});ht.displayName="List";const gt=n=>{const{items:i,listIconName:o="check",listItemClassName:r,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==o;return(null==i?void 0:i.length)?e(ht,{className:Je("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:i.map((n,i)=>t(mt,{variant:d?"unstyled":"default",className:Je(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[d&&e("div",{className:"flex leading-none",children:e(Qe,{name:o,size:s,color:pt[c],weight:"600",className:Je("block","top"===l?"mt-1":"",u)})}),e(qe,{as:"div",children:n})]},i))}):null};gt.displayName="Checklist";const ft=r(({as:t,className:n="",...i},o)=>{const r=Je(n);if(t){return e(t,{ref:o,className:r,...i})}return e("img",{ref:o,className:r,...i})});ft.displayName="Image";const bt=({onSelect:i,speed:o,isSelected:r=!1,renderCheckPlans:a,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[m,h]=s(!1),g=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,f=null==a?void 0:a({speedCardConfig:{isModalOpen:m,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Ue,{onClick:()=>{h(!0),i()},className:Je(g,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Qe,{className:Je(c,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),f]})},vt=({planName:i,planSubtext:o,speed:r,price:a,description:l,bestValue:c=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:m="light",featuresTitle:h="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=s(!1),N=void 0!==f?f:w,k="dark"===m;return t("article",{className:Je("relative flex h-full w-full max-w-[392px] flex-col",!c&&"md:pt-[38px]"),children:[c&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Je("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",c?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(qe,{as:"h3",className:Je("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i}),e(qe,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),t("div",{className:"flex items-start",children:[e(qe,{as:"span",className:Je("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(qe,{as:"span",className:Je("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(qe,{as:"span",className:Je("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(qe,{className:Je("body2",k?"text-text-inverse":"text-text"),children:l})}),(null==d?void 0:d.length)?e("div",{className:Je("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(ft,{src:n.icon,alt:n.title,width:24,height:24}),e(qe,{as:"div",className:Je("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(bt,{onSelect:v,speed:r,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),g.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(Ue,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e(qe,{as:"h4",className:Je("label3",k?"text-text-inverse":"text-text"),children:h}),e(Qe,{name:"keyboard_arrow_down",fill:1,size:24,className:Je("transition-transform duration-300",N&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:Je("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(gt,{items:g,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ft,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(qe,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},yt=({title:n,quote:i,rating:o,author:r,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(qe,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:i}),o?e("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e(Qe,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),r&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(N,{src:s,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:r}),e(qe,{as:"p",className:"body3 text-text",children:a})]})]})]});function xt({fields:i,renderCheckPlans:o}){var r,u,d,p;const m=(null===(d=null===(u=null===(r=null==i?void 0:i.items)||void 0===r?void 0:r.items)||void 0===u?void 0:u[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[h,g]=s(m),[f,b]=s({}),[v,y]=s(0),x=(null===(p=null==i?void 0:i.items)||void 0===p?void 0:p.items)||[],I=x.length>2,C=a([]),w=c(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),A=c(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(l(()=>{if(!I)return;const e=()=>{const e=C.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,h,x.length]),!x.length&&!(null==i?void 0:i.title))return null;const N=(t,n,i=!1)=>{var r,a,s,l,c,u,d,p;const m=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==m?void 0:m[0])||"",y=(null==m?void 0:m[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],k={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},G=i?f[n]||!1:h;return e("div",{ref:i?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:Je(i?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(vt,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:G,onToggleExpand:()=>{i?b(e=>({...e,[n]:!e[n]})):g(!h)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},k=[...x,...x,...x,...x,...x],G=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Ue,{onClick:w,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(Qe,{name:"arrow_back",size:24})}),e(Ue,{onClick:A,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(Qe,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${G+v} * (392px + 12px)))`},children:k.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>N(e,t))})}const It=o.memo(({item:t,index:n,currentIndex:i,totalItems:o,swipeOffset:r,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-i;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),m=u*c+r/l*100,h=!s||(a?d||p:d);return e("div",{className:Je("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e(yt,{...t,isActive:d,className:"h-full"})})});It.displayName="TestimonialCarouselSlide";const Ct=({fields:n,autoScroll:i=!0,autoScrollInterval:o=8e3})=>{var r;const u=(null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||[];if(!u||0===u.length)return null;const d=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:r=8e3,enableAutoScroll:u=!0}=e,[d,p]=s(0),[m,h]=s(0),[g,f]=s(!1),[b,v]=s(window.innerWidth),[y,x]=s(!1),I=a(null),C=a(0),w=a(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:r};l(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=c(()=>{0!==t&&p(e=>(e+1)%t)},[t]),k=c(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),G=c(e=>{e<0||e>=t||p(e)},[t]),P=c(e=>{C.current=e.touches[0].clientX,f(!0),I.current&&clearInterval(I.current)},[]),V=c(e=>{if(!g)return;const t=e.touches[0].clientX-C.current;h(t)},[g]),B=c(()=>{f(!1);const e=b*i;m>e?k():m<-e&&N(),h(0),u&&r>0&&(I.current=setInterval(()=>{N()},r))},[m,b,i,k,N,u,r]);return l(()=>{const e=()=>{x(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),l(()=>{if(u&&0!==t&&0!==r)return I.current=setInterval(()=>{N()},r),()=>{I.current&&clearInterval(I.current)}},[N,t,u,r]),{currentIndex:d,swipeOffset:m,isSwiping:g,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:k,goToSlide:G,handleTouchStart:P,handleTouchMove:V,handleTouchEnd:B,constants:A}}({itemCount:u.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:i});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(Ue,{onClick:d.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(Qe,{name:"arrow_back",size:24})}),e(Ue,{onClick:d.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(Qe,{name:"arrow_forward",size:24})}),e("div",{ref:d.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:d.handleTouchStart,onTouchMove:d.handleTouchMove,onTouchEnd:d.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:u.map((t,n)=>e(It,{item:t,index:n,currentIndex:d.currentIndex,totalItems:u.length,swipeOffset:d.swipeOffset,isSwiping:d.isSwiping,isMobile:d.isMobile,containerWidth:d.containerWidth,cardOffsetPercentage:d.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:u.map((t,n)=>e("button",{onClick:()=>d.goToSlide(n),className:Je("h-2 w-2 rounded-full transition-all duration-300",d.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},wt=({tabs:n,activeTab:i,onChange:o,className:r})=>{const c=n.indexOf(i),u=a([]),[d,p]=s({width:0,left:0});return l(()=>{const e=u.current[c];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[c,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Je("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",r),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{u.current[n]=e},onClick:()=>o(t),className:Je("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",i===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},At=({fields:n,hasTestimonialCards:i,hasProductCards:o,disclaimerText:r,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:m=!1})=>t("div",{className:`${a} ${o?"px-3 py-9 md:py-20":i?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(qe,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(qe,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),m&&o&&t("div",{className:"flex flex-col gap-8",children:[m&&o&&c.length>1&&e(wt,{tabs:c,activeTab:s,onChange:l}),o&&e(xt,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),i&&e(Ct,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),r&&e(qe,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:r})]}),Nt=({title:n,subtitle:i,description:o,disclaimer:r,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(lt,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(qe,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e(qe,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),o&&e(qe,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(rt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),r&&e("div",{children:e(qe,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),kt=({body:n,links:i,bottomLinks:r,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(Ke,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==i?void 0:i.map((n,i)=>{var r,a;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(qe,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(rt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e(Ke,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${i}`)})}),t("div",{className:"py-8",children:[e(Ke,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e("p",{className:"copy-rights",children:a}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(rt,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Gt=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(Qe,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Pt=t=>{const{link:n,containerClassName:i,autoplay:o=!1,debug:r=!1}=t,{href:a,embedId:s}=u(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),i=t.split("/"),o=i[i.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[n]);if(r&&console.log("[VimeoEmbed] href:",a,"id:",s),!s)return null;const l=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],i=n[2],o=`https://player.vimeo.com/video/${e}`;return i&&/^[a-f0-9]+$/i.test(i)&&t.searchParams.set("h",i),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${s}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Je("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:l,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Vt=t=>{const{link:n,containerClassName:i,autoplay:o=!1}=t,r=u(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),a=o?"?autoplay=1":"";return e("div",{className:Je("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${r}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Bt=({brow:n,enableHeading:i,title:o,subTitle:r,ctaDisclaimer:a,disclaimer:l,description:c,image:u,imageLinks:d,mediaPosition:p=!0,checklist:m,secondaryCta:h,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,k]=s(""),[G,P]=s(!1),V=null!==(w=null==f?void 0:f.link)&&void 0!==w?w:"",B=null==f?void 0:f.image,T=null!==(A=null==f?void 0:f.videoPopup)&&void 0!==A&&A,S=Boolean(N&&N===V),E=f&&B?V.includes("vimeo")?e(Pt,{link:V,autoplay:S}):e(Vt,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:gap-10 xl:gap-[126px] lg:items-stretch "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(qe,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(qe,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:o}),r&&e(qe,{as:i?"h2":"h3",className:"subheading3 md:subheading1 mt-3",children:r})]}),c&&e(qe,{as:"div",className:"body1",children:c}),m.length>0&&e(gt,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(ot,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ft,{src:t.image,alt:"icon-link"})})},n))}),(g||h)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(rt,{...g,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),h&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(rt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})})]}),a&&e("div",{children:a}),l&&e("div",{children:l})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative w-[334px] h-[334px] md:w-[486px] md:h-[486px] rounded-image overflow-hidden",children:e(lt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:Je("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:Je(S&&!T&&"hidden",S&&!T?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(lt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Gt,{isHovered:G})})]}),!T&&S&&e("div",{className:Je("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:E})]})]})]})}),T&&S&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),k("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:E})})]})},Tt=({link:n,anchorName:i})=>{const[r,a]=o.useState(!1),s=o.useRef(null);if(((e,t)=>{const n=n=>{var i;(null===(i=null==e?void 0:e.current)||void 0===i?void 0:i.contains(n.target))||t()};l(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(rt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[t(rt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(qe,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Qe,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Je("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",r&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(rt,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},St=({link:i})=>{const[r,a]=o.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(rt,{...i,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${i.anchorId}`);const{anchorId:s,title:l,items:c}=i,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(rt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(Qe,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),r&&u.length>0&&e(Et,{items:u})]})},Et=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(rt,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),Rt=n=>{const{showBlinkDot:i=!1,buttonStyle:o="primary",size:r="md",children:a,className:s,...l}=n;return t(ot,{...l,className:Je("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[i?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]} items-center justify-center rounded-full bg-icon-brand`,children:e(Qe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Rt.displayName="CallButton";const Mt=r((n,i)=>{const{className:o,size:r,required:a,placeholder:l,label:u,state:d,errorText:p,prefixIconName:m,prefixIconFill:h=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":d,[k,G]=s(!1),[P,V]=s(!1),[B,T]=s(w||"text"),S=c(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Je("inline-block pb-1"),children:t(qe,{as:"span",className:"footnote text-text",children:[u,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Je("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[r||"medium"],y,(k||"hover"===N)&&!P&&"error"!==N&&"border-input-border-hover",(P||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(Qe,{name:m,fill:h?1:0,size:f,className:Je(x)})}):null,e("input",{ref:i,id:u,disabled:I||A.disabled,className:Je("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===r&&"text-body3",o),placeholder:l,type:B,...A,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),V(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),V(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(Qe,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===N&&p&&""!=p?t(qe,{className:Je("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Qe,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Mt.displayName="Input";const Xt=n=>{const{primaryNavigationLinks:i,utilityNavigationLinks:o,checkPlansJSX:r,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e("li",{children:e(rt,{linkClassName:Je("footnote flex items-center w-full h-11 text-text",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[e(Rt,{className:"border-none",href:u,children:e(qe,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(Tt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(ot,{href:"/",className:"flex",children:e(lt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),t("div",{className:"flex items-center gap-6",children:[e(Rt,{href:u,children:e(qe,{as:"span",className:"footnote",children:d})}),e(Wt,{...n})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(ot,{href:"/",className:"flex",children:e(lt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==i?void 0:i.map((t,n)=>e(Tt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Ft,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(Tt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},Wt=n=>{var i;const{primaryNavigationLinks:r,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],i=t[t.length-1],o=e=>{var t,o,r,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=i).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===i&&(null===(a=(r=n).focus)||void 0===a||a.call(r),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(rt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(Qe,{name:"menu"})}),c?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Je("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",c?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(Rt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(rt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(Qe,{name:"close"})})})]}),e(Lt,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(i=n.searchBarIcon)||void 0===i?void 0:i.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(St,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,n)=>e("li",{children:e(rt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Je("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${n}`))})]})]})})]})},Lt=n=>{const{closeMenu:i,onSearch:r,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=o.useState(""),u=o.useRef(null),d=e=>{i(),e.preventDefault(),r(l)};return o.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(lt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Mt,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Ft=n=>{const{searchBarIconURL:i,onSearch:r}=n,[a,s]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),r(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(lt,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Mt,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Ot=n=>{var i;const{title:o,showAsHeading:r,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:m,renderCheckPlans:h,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y}=n,x=null!==(i=null==c?void 0:c.buttonLabel)&&void 0!==i?i:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Je("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Je("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(qe,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e(qe,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(qe,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(qe,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(qe,{as:"p",className:"subheading5",children:u}),p?e(qe,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,m&&e(gt,{listItemClassName:"text-white text-left",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Je("flex justify-center md:flex-col md:items-start [&_a]:whitespace-nowrap [&_button]:whitespace-nowrap"),children:e(rt,{...s,renderCheckPlans:h,onModalButtonClick:y})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(qe,{as:"span",className:"body2 mr-1",children:v}),b&&e(rt,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(x||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(rt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e(qe,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[g?e(lt,{src:g,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(lt,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),c&&(x||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(rt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e(qe,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(qe,{as:"span",className:"body2 mr-1",children:v}),b&&e(rt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Je("relative hidden lg:block"),children:[g?e(lt,{src:g,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(lt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Dt=({fields:t})=>e("div",{children:e(qe,{children:"Text Block"})}),Zt={closed:{opacity:0},open:{opacity:1}},zt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Ht={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},jt=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Yt=d({}),Jt=d(null),Ut="undefined"!=typeof document,$t=Ut?p:l,Qt=d({strict:!1});function _t(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Kt(e){return"string"==typeof e||Array.isArray(e)}function qt(e){return"object"==typeof e&&"function"==typeof e.start}const en=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tn=["initial",...en];function nn(e){return qt(e.animate)||tn.some(t=>Kt(e[t]))}function on(e){return Boolean(nn(e)||e.variants)}function rn(e){const{initial:t,animate:n}=function(e,t){if(nn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Kt(t)?t:void 0,animate:Kt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,m(Yt));return u(()=>({initial:t,animate:n}),[an(t),an(n)])}function an(e){return Array.isArray(e)?e.join(" "):e}const sn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ln={};for(const e in sn)ln[e]={isEnabled:t=>sn[e].some(e=>!!t[e])};const cn=d({}),un=d({}),dn=Symbol.for("motionComponentSymbol");function pn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:s}){e&&function(e){for(const t in e)ln[t]={...ln[t],...e[t]}}(e);const u=r(function(r,u){let d;const p={...m(jt),...r,layoutId:mn(r)},{isStatic:g}=p,f=rn(r),b=o(r,g);if(!g&&Ut){f.visualElement=function(e,t,n,i){const{visualElement:o}=m(Yt),r=m(Qt),s=m(Jt),c=m(jt).reducedMotion,u=a();i=i||r.renderer,!u.current&&i&&(u.current=i(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:c}));const d=u.current;return h(()=>{d&&d.update(n,s)}),$t(()=>{d&&d.render()}),l(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?$t:l)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(s,b,p,t);const n=m(un),i=m(Qt).strict;f.visualElement&&(d=f.visualElement.loadFeatures(p,i,e,n))}return i.createElement(Yt.Provider,{value:f},d&&f.visualElement?i.createElement(d,{visualElement:f.visualElement,...p}):null,n(s,r,function(e,t,n){return c(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):_t(n)&&(n.current=i))},[t])}(b,f.visualElement,u),b,g,f.visualElement))});return u[dn]=s,u}function mn({layoutId:e}){const t=m(cn).id;return t&&void 0!==e?t+"-"+e:e}function hn(e){function t(t,n={}){return pn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const gn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fn(e){return"string"==typeof e&&!e.includes("-")&&!!(gn.indexOf(e)>-1||/[A-Z]/.test(e))}const bn={};const vn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],yn=new Set(vn);function xn(e,{layout:t,layoutId:n}){return yn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!bn[e]||"opacity"===e)}const In=e=>Boolean(e&&e.getVelocity),Cn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wn=vn.length;const An=e=>t=>"string"==typeof t&&t.startsWith(e),Nn=An("--"),kn=An("var(--"),Gn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Pn=(e,t,n)=>Math.min(Math.max(n,e),t),Vn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Bn={...Vn,transform:e=>Pn(0,1,e)},Tn={...Vn,default:1},Sn=e=>Math.round(1e5*e)/1e5,En=/(-)?([\d]*\.?[\d])+/g,Rn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Mn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Xn(e){return"string"==typeof e}const Wn=e=>({test:t=>Xn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=Wn("deg"),Fn=Wn("%"),On=Wn("px"),Dn=Wn("vh"),Zn=Wn("vw"),zn={...Fn,parse:e=>Fn.parse(e)/100,transform:e=>Fn.transform(100*e)},Hn={...Vn,transform:Math.round},jn={borderWidth:On,borderTopWidth:On,borderRightWidth:On,borderBottomWidth:On,borderLeftWidth:On,borderRadius:On,radius:On,borderTopLeftRadius:On,borderTopRightRadius:On,borderBottomRightRadius:On,borderBottomLeftRadius:On,width:On,maxWidth:On,height:On,maxHeight:On,size:On,top:On,right:On,bottom:On,left:On,padding:On,paddingTop:On,paddingRight:On,paddingBottom:On,paddingLeft:On,margin:On,marginTop:On,marginRight:On,marginBottom:On,marginLeft:On,rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:Tn,scaleX:Tn,scaleY:Tn,scaleZ:Tn,skew:Ln,skewX:Ln,skewY:Ln,distance:On,translateX:On,translateY:On,translateZ:On,x:On,y:On,z:On,perspective:On,transformPerspective:On,opacity:Bn,originX:zn,originY:zn,originZ:On,zIndex:Hn,fillOpacity:Bn,strokeOpacity:Bn,numOctaves:Hn};function Yn(e,t,n,i){const{style:o,vars:r,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Nn(e)){r[e]=n;continue}const i=jn[e],d=Gn(n,i);if(yn.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(i.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||i?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,o){let r="";for(let t=0;t<wn;t++){const n=vn[t];void 0!==e[n]&&(r+=`${Cn[n]||n}(${e[n]}) `)}return t&&!e.z&&(r+="translateZ(0)"),r=r.trim(),o?r=o(e,i?"":r):n&&i&&(r="none"),r}(e.transform,n,u,i):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const Jn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Un(e,t,n){for(const i in t)In(t[i])||xn(i,n)||(e[i]=t[i])}function $n(e,t,n){const i={};return Un(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return u(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return Yn(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function Qn(e,t,n){const i={},o=$n(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const _n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Kn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||_n.has(e)}let qn=e=>!Kn(e);try{(ei=require("@emotion/is-prop-valid").default)&&(qn=e=>e.startsWith("on")?!Kn(e):ei(e))}catch(e){}var ei;function ti(e,t,n){return"string"==typeof e?e:On.transform(t+n*e)}const ni={offset:"stroke-dashoffset",array:"stroke-dasharray"},ii={offset:"strokeDashoffset",array:"strokeDasharray"};function oi(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Yn(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(void 0!==o||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${ti(t,e.x,e.width)} ${ti(n,e.y,e.height)}`}(g,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==i&&(m.scale=i),void 0!==a&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?ni:ii;e[r.offset]=On.transform(-i);const a=On.transform(t),s=On.transform(n);e[r.array]=`${a} ${s}`}(m,a,s,l,!1)}const ri=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ai=e=>"string"==typeof e&&"svg"===e.toLowerCase();function si(e,t,n,i){const o=u(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return oi(n,t,{enableHardwareAcceleration:!1},ai(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Un(t,e.style,e),o.style={...t,...o.style}}return o}function li(e=!1){return(t,n,i,{latestValues:o},r)=>{const a=(fn(t)?si:Qn)(n,o,r,t),s=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(qn(o)||!0===n&&Kn(o)||!t&&!Kn(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(n,"string"==typeof t,e),l={...s,...a,ref:i},{children:c}=n,d=u(()=>In(c)?c.get():c,[c]);return g(t,{...l,children:d})}}const ci=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ui(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const di=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function pi(e,t,n,i){ui(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(di.has(n)?n:ci(n),t.attrs[n])}function mi(e,t){const{style:n}=e,i={};for(const o in n)(In(n[o])||t.style&&In(t.style[o])||xn(o,e))&&(i[o]=n[o]);return i}function hi(e,t){const n=mi(e,t);for(const i in e)if(In(e[i])||In(t[i])){n[-1!==vn.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function gi(e,t,n,i={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),t}function fi(e){const t=a(null);return null===t.current&&(t.current=e()),t.current}const bi=e=>Array.isArray(e),vi=e=>bi(e)?e[e.length-1]||0:e;function yi(e){const t=In(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const xi=e=>(t,n)=>{const i=m(Yt),o=m(Jt),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const a={latestValues:Ii(i,o,r,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,o);return n?r():fi(r)};function Ii(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=yi(r[e]);let{initial:a,animate:s}=e;const l=nn(e),c=on(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!qt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=gi(e,t);if(!n)return;const{transitionEnd:i,transition:r,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in i)o[e]=i[e]})}return o}const Ci={useVisualState:xi({scrapeMotionValuesFromProps:hi,createRenderState:ri,onMount:(e,t,{renderState:n,latestValues:i})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}oi(n,i,{enableHardwareAcceleration:!1},ai(t.tagName),e.transformTemplate),pi(t,n)}})},wi={useVisualState:xi({scrapeMotionValuesFromProps:mi,createRenderState:Jn})};function Ai(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const Ni=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ki(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Gi(e,t,n,i){return Ai(e,t,(e=>t=>Ni(t)&&e(t,ki(t)))(n),i)}const Pi=(e,t)=>n=>t(e(n)),Vi=(...e)=>e.reduce(Pi);function Bi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Ti=Bi("dragHorizontal"),Si=Bi("dragVertical");function Ei(e){let t=!1;if("y"===e)t=Si();else if("x"===e)t=Ti();else{const e=Ti(),n=Si();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ri(){const e=Ei(!0);return!e||(e(),!1)}class Mi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Xi={delta:0,timestamp:0,isProcessing:!1};let Wi=!0,Li=!1;const Fi=["read","update","preRender","render","postRender"],Oi=Fi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],i=0,o=!1,r=!1;const a=new WeakSet,s={schedule:(e,r=!1,s=!1)=>{const l=s&&o,c=l?t:n;return r&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(i=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)r=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,i=t.length,i)for(let n=0;n<i;n++){const i=t[n];i(l),a.has(i)&&(s.schedule(i),e())}o=!1,r&&(r=!1,s.process(l))}}};return s}(()=>Li=!0),e),{}),Di=e=>Oi[e].process(Xi),Zi=e=>{Li=!1,Xi.delta=Wi?1e3/60:Math.max(Math.min(e-Xi.timestamp,40),1),Xi.timestamp=e,Xi.isProcessing=!0,Fi.forEach(Di),Xi.isProcessing=!1,Li&&(Wi=!1,requestAnimationFrame(Zi))},zi=Fi.reduce((e,t)=>{const n=Oi[t];return e[t]=(e,t=!1,i=!1)=>(Li||(Li=!0,Wi=!0,Xi.isProcessing||requestAnimationFrame(Zi)),n.schedule(e,t,i)),e},{});function Hi(e){Fi.forEach(t=>Oi[t].cancel(e))}function ji(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return Gi(e.current,n,(n,o)=>{if("touch"===n.type||Ri())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&zi.update(()=>r[i](n,o))},{passive:!e.getProps()[i]})}const Yi=(e,t)=>!!t&&(e===t||Yi(e,t.parentElement)),Ji=e=>e;function Ui(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ki(n))}const $i=new WeakMap,Qi=new WeakMap,_i=e=>{const t=$i.get(e.target);t&&t(e)},Ki=e=>{e.forEach(_i)};function qi(e,t,n){const i=function({root:e,...t}){const n=e||document;Qi.has(n)||Qi.set(n,{});const i=Qi.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Ki,{root:e,...t})),i[o]}(t);return $i.set(e,n),i.observe(e),()=>{$i.delete(e),i.unobserve(e)}}const eo={some:0,all:1};const to={inView:{Feature:class extends Mi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:o}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:eo[i]};return qi(this.node.current,r,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Mi{constructor(){super(...arguments),this.removeStartListeners=Ji,this.removeEndListeners=Ji,this.removeAccessibleListeners=Ji,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=Gi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();zi.update(()=>{Yi(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Gi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Vi(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Ai(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Ai(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ui("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&zi.update(()=>n(e,t))})}),Ui("down",(e,t)=>{this.startPress(e,t)})}),t=Ai(this.node.current,"blur",()=>{this.isPressing&&Ui("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Vi(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&zi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ri()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&zi.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Gi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Ai(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Vi(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Mi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Vi(Ai(this.node.current,"focus",()=>this.onFocus()),Ai(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Mi{mount(){this.unmount=Vi(ji(this.node,!0),ji(this.node,!1))}unmount(){}}}};function no(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function io(e,t,n){const i=e.getProps();return gi(i,t,void 0!==n?n:i.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const oo="data-"+ci("framerAppearId");let ro=Ji,ao=Ji;"production"!==process.env.NODE_ENV&&(ro=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ao=(e,t)=>{if(!e)throw new Error(t)});const so=e=>1e3*e,lo=e=>e/1e3,co=!1,uo=e=>Array.isArray(e)&&"number"==typeof e[0];function po(e){return Boolean(!e||"string"==typeof e&&ho[e]||uo(e)||Array.isArray(e)&&e.every(po))}const mo=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,ho={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mo([0,.65,.55,1]),circOut:mo([.55,0,1,.45]),backIn:mo([.31,.01,.66,-.59]),backOut:mo([.33,1.53,.69,.99])};function go(e){if(e)return uo(e)?mo(e):Array.isArray(e)?e.map(go):ho[e]}const fo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},bo={},vo={};for(const e in fo)vo[e]=()=>(void 0===bo[e]&&(bo[e]=fo[e]()),bo[e]);const yo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function xo(e,t,n,i){if(e===t&&n===i)return Ji;const o=t=>function(e,t,n,i,o){let r,a,s=0;do{a=t+(n-t)/2,r=yo(a,i,o)-e,r>0?n=a:t=a}while(Math.abs(r)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:yo(o(e),t,i)}const Io=xo(.42,0,1,1),Co=xo(0,0,.58,1),wo=xo(.42,0,.58,1),Ao=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,No=e=>t=>1-e(1-t),ko=e=>1-Math.sin(Math.acos(e)),Go=No(ko),Po=Ao(Go),Vo=xo(.33,1.53,.69,.99),Bo=No(Vo),To=Ao(Bo),So={linear:Ji,easeIn:Io,easeInOut:wo,easeOut:Co,circIn:ko,circInOut:Po,circOut:Go,backIn:Bo,backInOut:To,backOut:Vo,anticipate:e=>(e*=2)<1?.5*Bo(e):.5*(2-Math.pow(2,-10*(e-1)))},Eo=e=>{if(Array.isArray(e)){ao(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return xo(t,n,i,o)}return"string"==typeof e?(ao(void 0!==So[e],`Invalid easing type '${e}'`),So[e]):e},Ro=(e,t)=>n=>Boolean(Xn(n)&&Mn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Mo=(e,t,n)=>i=>{if(!Xn(i))return i;const[o,r,a,s]=i.match(En);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Xo={...Vn,transform:e=>Math.round((e=>Pn(0,255,e))(e))},Wo={test:Ro("rgb","red"),parse:Mo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Xo.transform(e)+", "+Xo.transform(t)+", "+Xo.transform(n)+", "+Sn(Bn.transform(i))+")"};const Lo={test:Ro("#"),parse:function(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:Wo.transform},Fo={test:Ro("hsl","hue"),parse:Mo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Fn.transform(Sn(t))+", "+Fn.transform(Sn(n))+", "+Sn(Bn.transform(i))+")"},Oo={test:e=>Wo.test(e)||Lo.test(e)||Fo.test(e),parse:e=>Wo.test(e)?Wo.parse(e):Fo.test(e)?Fo.parse(e):Lo.parse(e),transform:e=>Xn(e)?e:e.hasOwnProperty("red")?Wo.transform(e):Fo.transform(e)},Do=(e,t,n)=>-n*e+n*t+e;function Zo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const zo=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},Ho=[Lo,Wo,Fo];function jo(e){const t=(n=e,Ho.find(e=>e.test(n)));var n;ao(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===Fo&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let o=0,r=0,a=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;o=Zo(s,i,e+1/3),r=Zo(s,i,e),a=Zo(s,i,e-1/3)}else o=r=a=n;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*a),alpha:i}}(i)),i}const Yo=(e,t)=>{const n=jo(e),i=jo(t),o={...n};return e=>(o.red=zo(n.red,i.red,e),o.green=zo(n.green,i.green,e),o.blue=zo(n.blue,i.blue,e),o.alpha=Do(n.alpha,i.alpha,e),Wo.transform(o))};const Jo={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ji},Uo={regex:Rn,countKey:"Colors",token:"${c}",parse:Oo.parse},$o={regex:En,countKey:"Numbers",token:"${n}",parse:Vn.parse};function Qo(e,{regex:t,countKey:n,token:i,parse:o}){const r=e.tokenised.match(t);r&&(e["num"+n]=r.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...r.map(o)))}function _o(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Qo(n,Jo),Qo(n,Uo),Qo(n,$o),n}function Ko(e){return _o(e).values}function qo(e){const{values:t,numColors:n,numVars:i,tokenised:o}=_o(e),r=t.length;return e=>{let t=o;for(let o=0;o<r;o++)t=o<i?t.replace(Jo.token,e[o]):o<i+n?t.replace(Uo.token,Oo.transform(e[o])):t.replace($o.token,Sn(e[o]));return t}}const er=e=>"number"==typeof e?0:e;const tr={test:function(e){var t,n;return isNaN(e)&&Xn(e)&&((null===(t=e.match(En))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Rn))||void 0===n?void 0:n.length)||0)>0},parse:Ko,createTransformer:qo,getAnimatableNone:function(e){const t=Ko(e);return qo(e)(t.map(er))}},nr=(e,t)=>n=>`${n>0?t:e}`;function ir(e,t){return"number"==typeof e?n=>Do(e,t,n):Oo.test(e)?Yo(e,t):e.startsWith("var(")?nr(e,t):ar(e,t)}const or=(e,t)=>{const n=[...e],i=n.length,o=e.map((e,n)=>ir(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}},rr=(e,t)=>{const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=ir(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}},ar=(e,t)=>{const n=tr.createTransformer(t),i=_o(e),o=_o(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?Vi(or(i.values,o.values),n):(ro(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),nr(e,t))},sr=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},lr=(e,t)=>n=>Do(e,t,n);function cr(e,t,n){const i=[],o=n||("number"==typeof(r=e[0])?lr:"string"==typeof r?Oo.test(r)?Yo:ar:Array.isArray(r)?or:"object"==typeof r?rr:lr);var r;const a=e.length-1;for(let n=0;n<a;n++){let r=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ji:t;r=Vi(e,r)}i.push(r)}return i}function ur(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(ao(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=cr(t,i,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const i=sr(e[n],e[n+1],t);return a[n](i)};return n?t=>l(Pn(e[0],e[r-1],t)):l}function dr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=sr(0,t,i);e.push(Do(n,1,o))}}(t,e.length-1),t}function pr({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Eo):Eo(i),r={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:dr(t),e),s=ur(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||wo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=s(t),r.done=t>=e,r)}}function mr(e,t){return t?e*(1e3/t):0}function hr(e,t,n){const i=Math.max(t-5,0);return mr(n-e(i),t-i)}const gr=.001;function fr({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r;ro(e<=so(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Pn(.05,1,a),e=Pn(.01,10,lo(e)),a<1?(o=t=>{const i=t*a,o=i*e,r=i-n,s=vr(t,a),l=Math.exp(-o);return gr-r/s*l},r=t=>{const i=t*a*e,r=i*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=vr(Math.pow(t,2),a);return(-o(t)+gr>0?-1:1)*((r-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let i=n;for(let n=1;n<br;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=so(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}const br=12;function vr(e,t){return e*Math.sqrt(1-t*t)}const yr=["duration","bounce"],xr=["stiffness","damping","mass"];function Ir(e,t){return t.some(t=>void 0!==e[t])}function Cr({keyframes:e,restDelta:t,restSpeed:n,...i}){const o=e[0],r=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Ir(e,xr)&&Ir(e,yr)){const n=fr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),m=u?-lo(u):0,h=l/(2*Math.sqrt(s*c)),g=r-o,f=lo(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=vr(f,h);v=t=>{const n=Math.exp(-h*f*t);return r-n*((m+h*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>r-Math.exp(-f*e)*(g+(m+f*g)*e);else{const e=f*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*f*t),i=Math.min(e*t,300);return r-n*((m+h*f*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}return{calculatedDuration:p&&d||null,next:e=>{const i=v(e);if(p)a.done=e>=d;else{let o=m;0!==e&&(o=h<1?hr(v,e,i):0);const s=Math.abs(o)<=n,l=Math.abs(r-i)<=t;a.done=s&&l}return a.value=a.done?r:i,a}}}function wr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const g=d+h,f=void 0===a?g:a(g);f!==g&&(h=f-d);const b=e=>-h*Math.exp(-e/i),v=e=>f+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?f:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Cr({keyframes:[p.value,m(p.value)],velocity:hr(v,e,p.value),damping:o,stiffness:r,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Ar=e=>{const t=({timestamp:t})=>e(t);return{start:()=>zi.update(t,!0),stop:()=>Hi(t),now:()=>Xi.isProcessing?Xi.timestamp:performance.now()}};function Nr(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const kr={decay:wr,inertia:wr,tween:pr,keyframes:pr,spring:Cr};function Gr({autoplay:e=!0,delay:t=0,driver:n=Ar,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,g=1,f=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const y=kr[o]||pr;let x;y!==pr&&"number"!=typeof i[0]&&(x=ur([0,100],i,{clamp:!1}),i=[0,100]);const I=y({...p,keyframes:i});let C;"mirror"===s&&(C=y({...p,keyframes:[...i].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,k=null;null===I.calculatedDuration&&r&&(I.calculatedDuration=Nr(I));const{calculatedDuration:G}=I;let P=1/0,V=1/0;null!==G&&(P=G+a,V=P*(r+1)-a);let B=0;const T=e=>{if(null===N)return;g>0&&(N=Math.min(N,e)),B=null!==A?A:(e-N)*g;const n=B-t,o=n<0;B=Math.max(n,0),"finished"===w&&null===A&&(B=V);let l=B,c=I;if(r){const e=B/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,r+1);const i=Boolean(t%2);i&&("reverse"===s?(n=1-n,a&&(n-=a/P)):"mirror"===s&&(c=C));let o=Pn(0,1,n);B>V&&(o="reverse"===s&&i?1:0),l=o*P}const u=o?{done:!1,value:i[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;o||null===G||(p=B>=V);const m=null===A&&("finished"===w||"running"===w&&p||g<0&&B<=0);return d&&d(u.value),m&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{w="idle",S(),b(),N=k=null},R=()=>{w="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(T));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),k=N,A=null,w="running",v.start()};e&&M();const X={then:(e,t)=>h.then(e,t),get time(){return lo(B)},set time(e){e=so(e),B=e,null===A&&v&&0!==g?N=v.now()-e/g:A=e},get duration(){const e=null===I.calculatedDuration?Nr(I):I.calculatedDuration;return lo(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=lo(B))},get state(){return w},play:M,pause:()=>{w="paused",A=B},stop:()=>{f=!0,"idle"!==w&&(w="idle",c&&c(),E())},cancel:()=>{null!==k&&T(k),E()},complete:()=>{w="finished"},sample:e=>(N=0,T(e))};return X}const Pr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Vr(e,t,{onUpdate:n,onComplete:i,...o}){if(!(vo.waapi()&&Pr.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let r,a,s=!1;const l=()=>{a=new Promise(e=>{r=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!po(t.ease))(t,o)){const e=Gr({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let i=0;for(;!t.done&&i<2e4;)t=e.sample(i),n.push(t.value),i+=10;p=void 0,c=n,u=i-10,d="linear"}const m=function(e,t,n,{delay:i=0,duration:o,repeat:r=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=go(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>m.cancel(),g=()=>{zi.update(h),r(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),i&&i(),g()},{then:(e,t)=>a.then(e,t),get time(){return lo(m.currentTime||0)},set time(e){m.currentTime=so(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return lo(u)},play:()=>{s||(m.play(),Hi(h))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Gr({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>m.finish(),cancel:g}}const Br={type:"spring",stiffness:500,damping:25,restSpeed:10},Tr={type:"keyframes",duration:.8},Sr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Er=(e,{keyframes:t})=>t.length>2?Tr:yn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Br:Sr,Rr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!tr.test(t)&&"0"!==t||t.startsWith("url("))),Mr=new Set(["brightness","contrast","saturate","opacity"]);function Xr(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(En)||[];if(!i)return e;const o=n.replace(i,"");let r=Mr.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const Wr=/([a-z-]*)\(.*?\)/g,Lr={...tr,getAnimatableNone:e=>{const t=e.match(Wr);return t?t.map(Xr).join(" "):e}},Fr={...jn,color:Oo,backgroundColor:Oo,outlineColor:Oo,fill:Oo,stroke:Oo,borderColor:Oo,borderTopColor:Oo,borderRightColor:Oo,borderBottomColor:Oo,borderLeftColor:Oo,filter:Lr,WebkitFilter:Lr},Or=e=>Fr[e];function Dr(e,t){let n=Or(e);return n!==Lr&&(n=tr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zr=e=>/^0[^.\s]+$/.test(e);function zr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Zr(e):void 0}function Hr(e,t){return e[t]||e.default||e}const jr=(e,t,n,i={})=>o=>{const r=Hr(i,e)||{},a=r.delay||i.delay||0;let{elapsed:s=0}=i;s-=so(a);const l=function(e,t,n,i){const o=Rr(t,n);let r;r=Array.isArray(n)?[...n]:[null,n];const a=void 0!==i.from?i.from:e.get();let s;const l=[];for(let e=0;e<r.length;e++)null===r[e]&&(r[e]=0===e?a:r[e-1]),zr(r[e])&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(s=r[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)r[l[e]]=Dr(t,s);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=Rr(e,c),p=Rr(e,u);ro(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...r,delay:-s,onUpdate:e=>{t.set(e),r.onUpdate&&r.onUpdate(e)},onComplete:()=>{o(),r.onComplete&&r.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:r,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(r)||(m={...m,...Er(e,m)}),m.duration&&(m.duration=so(m.duration)),m.repeatDelay&&(m.repeatDelay=so(m.repeatDelay)),!d||!p||co||!1===r.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const o=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Ji,pause:Ji,stop:Ji,then:e=>(e(),Promise.resolve()),cancel:Ji,complete:Ji});return t?Gr({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Vr(t,e,m);if(n)return n}return Gr(m)};function Yr(e){return Boolean(In(e)&&e.add)}const Jr=e=>/^\-?\d*\.?\d+$/.test(e);function Ur(e,t){-1===e.indexOf(t)&&e.push(t)}function $r(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Qr{constructor(){this.subscriptions=[]}add(e){return Ur(this.subscriptions,e),()=>$r(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _r=new Set;function Kr(e,t,n){e||_r.has(t)||(console.warn(t),_r.add(t))}class qr{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:i}=Xi;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,zi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>zi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&Kr(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Qr);const n=this.events[e].add(t);return"change"===e?()=>{n(),zi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?mr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(e,t){return new qr(e,t)}const ta=e=>t=>t.test(e),na=[Vn,On,Fn,Ln,Zn,Dn,{test:e=>"auto"===e,parse:e=>e}],ia=e=>na.find(ta(e)),oa=[...na,Oo,tr],ra=e=>oa.find(ta(e));function aa(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ea(n))}function sa(e,t){if(!t)return;return(t[e]||t.default||t).from}function la({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function ca(e,t,{delay:n=0,transitionOverride:i,type:o}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");i&&(r=i);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const i=e.getValue(t),o=s[t];if(!i||void 0===o||u&&la(u,t))continue;const a={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[oo];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,zi))}i.start(jr(t,i,o,e.shouldReduceMotion&&yn.has(t)?{type:!1}:a));const d=i.animation;Yr(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=io(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const t in r)aa(e,t,vi(r[t]))}(e,a)}),c}function ua(e,t,n={}){const i=io(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(ca(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:r=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,i=0,o=1,r){const a=[],s=(e.variantChildren.size-1)*i,l=1===o?(e=0)=>e*i:(e=0)=>s-e*i;return Array.from(e.variantChildren).sort(da).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(ua(e,t,{...r,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,r+i,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[r,a]:[a,r];return e().then(()=>t())}return Promise.all([r(),a(n.delay)])}function da(e,t){return e.sortNodePosition(t)}const pa=[...en].reverse(),ma=en.length;function ha(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>ua(e,t,n));i=Promise.all(o)}else if("string"==typeof t)i=ua(e,t,n);else{const o="function"==typeof t?io(e,t,n.custom):t;i=Promise.all(ca(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ga(e){let t=ha(e);const n={animate:ba(!0),whileInView:ba(),whileHover:ba(),whileTap:ba(),whileDrag:ba(),whileFocus:ba(),exit:ba()};let i=!0;const o=(t,n)=>{const i=io(e,n);if(i){const{transition:e,transitionEnd:n,...o}=i;t={...t,...o,...n}}return t};function r(r,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<ma;t++){const m=pa[t],h=n[m],g=void 0!==s[m]?s[m]:l[m],f=Kt(g),b=m===a?h.isActive:null;!1===b&&(p=t);let v=g===l[m]&&g!==s[m]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!g&&!h.prevProp||qt(g)||"boolean"==typeof g)continue;const y=fa(h.prevProp,g);let x=y||m===a&&h.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=h,A={...w,...C},N=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?bi(t)&&bi(n)?!no(t,n)||y?N(e):h.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...r}})))}if(u.size){const t={};u.forEach(n=>{const i=e.getBaseTarget(n);void 0!==i&&(t[n]=i)}),c.push({animation:t})}let m=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,m?t(c):Promise.resolve()}return{animateChanges:r,setActive:function(t,i,o){var a;if(n[t].isActive===i)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;const s=r(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function fa(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!no(t,e)}function ba(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let va=0;const ya={animation:{Feature:class extends Mi{constructor(e){super(e),e.animationState||(e.animationState=ga(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),qt(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Mi{constructor(){super(...arguments),this.id=va++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},xa=(e,t)=>Math.abs(e-t);class Ia{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Aa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=xa(e.x,t.x),i=xa(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:o}=Xi;this.history.push({...i,timestamp:o});const{onStart:r,onMove:a}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ca(t,this.transformPagePoint),zi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,o=Aa("pointercancel"===e.type?this.lastMoveEventInfo:Ca(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!Ni(e))return;this.handlers=t,this.transformPagePoint=n;const i=Ca(ki(e),this.transformPagePoint),{point:o}=i,{timestamp:r}=Xi;this.history=[{...o,timestamp:r}];const{onSessionStart:a}=t;a&&a(e,Aa(i,this.history)),this.removeListeners=Vi(Gi(window,"pointermove",this.handlePointerMove),Gi(window,"pointerup",this.handlePointerUp),Gi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Hi(this.updatePoint)}}function Ca(e,t){return t?{point:t(e.point)}:e}function wa(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Aa({point:e},t){return{point:e,delta:wa(e,ka(t)),offset:wa(e,Na(t)),velocity:Ga(t,.1)}}function Na(e){return e[0]}function ka(e){return e[e.length-1]}function Ga(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=ka(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>so(t)));)n--;if(!i)return{x:0,y:0};const r=lo(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const a={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Pa(e){return e.max-e.min}function Va(e,t=0,n=.01){return Math.abs(e-t)<=n}function Ba(e,t,n,i=.5){e.origin=i,e.originPoint=Do(t.min,t.max,e.origin),e.scale=Pa(n)/Pa(t),(Va(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Do(n.min,n.max,e.origin)-e.originPoint,(Va(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ta(e,t,n,i){Ba(e.x,t.x,n.x,i?i.originX:void 0),Ba(e.y,t.y,n.y,i?i.originY:void 0)}function Sa(e,t,n){e.min=n.min+t.min,e.max=e.min+Pa(t)}function Ea(e,t,n){e.min=t.min-n.min,e.max=e.min+Pa(t)}function Ra(e,t,n){Ea(e.x,t.x,n.x),Ea(e.y,t.y,n.y)}function Ma(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Xa(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const Wa=.35;function La(e,t,n){return{min:Fa(e,t),max:Fa(e,n)}}function Fa(e,t){return"number"==typeof e?e:e[t]||0}const Oa=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Da(e){return[e("x"),e("y")]}function Za({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function za(e){return void 0===e||1===e}function Ha({scale:e,scaleX:t,scaleY:n}){return!za(e)||!za(t)||!za(n)}function ja(e){return Ha(e)||Ya(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ya(e){return Ja(e.x)||Ja(e.y)}function Ja(e){return e&&"0%"!==e}function Ua(e,t,n){return n+t*(e-n)}function $a(e,t,n,i,o){return void 0!==o&&(e=Ua(e,o,i)),Ua(e,n,i)+t}function Qa(e,t=0,n=1,i,o){e.min=$a(e.min,t,n,i,o),e.max=$a(e.max,t,n,i,o)}function _a(e,{x:t,y:n}){Qa(e.x,t.translate,t.scale,t.originPoint),Qa(e.y,n.translate,n.scale,n.originPoint)}function Ka(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function qa(e,t){e.min=e.min+t,e.max=e.max+t}function es(e,t,[n,i,o]){const r=void 0!==t[o]?t[o]:.5,a=Do(e.min,e.max,r);Qa(e,t[n],t[i],a,t.scale)}const ts=["x","scaleX","originX"],ns=["y","scaleY","originY"];function is(e,t){es(e.x,t,ts),es(e.y,t,ns)}function os(e,t){return Za(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const rs=new WeakMap;class as{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Ia(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ki(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ei(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Da(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Fn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Pa(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&zi.update(()=>o(e,t),!1,!0);const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&zi.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!ss(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?Do(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?Do(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&_t(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:Ma(e.x,n,o),y:Ma(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=Wa){return!1===e?e=0:!0===e&&(e=Wa),{x:La(e,"left","right"),y:La(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Da(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!_t(e))return!1;const n=e.current;ao(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=function(e,t,n){const i=os(e,n),{scroll:o}=t;return o&&(qa(i.x,o.offset.x),qa(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Xa(e.x,t.x),y:Xa(e.y,t.y)}}(i.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=Za(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Da(a=>{if(!ss(a,t,this.currentDirection))return;let l=s&&s[a]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(jr(e,n,0,t))}stopAnimation(){Da(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Da(t=>{const{drag:n}=this.getProps();if(!ss(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];o.set(e[t]-Do(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!_t(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Da(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=Pa(e),o=Pa(t);return o>i?n=sr(t.min,t.max-i,e.min):i>o&&(n=sr(e.min,e.max-o,t.min)),Pn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Da(t=>{if(!ss(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(Do(o,r,i[t]))})}addListeners(){if(!this.visualElement.current)return;rs.set(this.visualElement,this);const e=Gi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();_t(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Ai(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Da(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=Wa,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function ss(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ls=e=>(t,n)=>{e&&zi.update(()=>e(t,n))};const cs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function us(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ds={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!On.test(e))return e;e=parseFloat(e)}return`${us(e,t.target.x)}% ${us(e,t.target.y)}%`}},ps={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=tr.parse(e);if(o.length>5)return i;const r=tr.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=Do(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),r(o)}};class ms extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;var r;r=gs,Object.assign(bn,r),o&&(t.group&&t.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),cs.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||zi.postRender(()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function hs(e){const[t,n]=function(){const e=m(Jt);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,o=f();return l(()=>i(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),i=m(cn);return o.createElement(ms,{...e,layoutGroup:i,switchLayoutGroup:m(un),isPresent:t,safeToRemove:n})}const gs={borderRadius:{...ds,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ds,borderTopRightRadius:ds,borderBottomLeftRadius:ds,borderBottomRightRadius:ds,boxShadow:ps},fs=["TopLeft","TopRight","BottomLeft","BottomRight"],bs=fs.length,vs=e=>"string"==typeof e?parseFloat(e):e,ys=e=>"number"==typeof e||On.test(e);function xs(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Is=ws(0,.5,Go),Cs=ws(.5,.95,Ji);function ws(e,t,n){return i=>i<e?0:i>t?1:n(sr(e,t,i))}function As(e,t){e.min=t.min,e.max=t.max}function Ns(e,t){As(e.x,t.x),As(e.y,t.y)}function ks(e,t,n,i,o){return e=Ua(e-=t,1/n,i),void 0!==o&&(e=Ua(e,1/o,i)),e}function Gs(e,t,[n,i,o],r,a){!function(e,t=0,n=1,i=.5,o,r=e,a=e){Fn.test(t)&&(t=parseFloat(t),t=Do(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Do(r.min,r.max,i);e===r&&(s-=t),e.min=ks(e.min,t,n,s,o),e.max=ks(e.max,t,n,s,o)}(e,t[n],t[i],t[o],t.scale,r,a)}const Ps=["x","scaleX","originX"],Vs=["y","scaleY","originY"];function Bs(e,t,n,i){Gs(e.x,t,Ps,n?n.x:void 0,i?i.x:void 0),Gs(e.y,t,Vs,n?n.y:void 0,i?i.y:void 0)}function Ts(e){return 0===e.translate&&1===e.scale}function Ss(e){return Ts(e.x)&&Ts(e.y)}function Es(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Rs(e){return Pa(e.x)/Pa(e.y)}class Ms{constructor(){this.members=[]}add(e){Ur(this.members,e),e.scheduleRender()}remove(e){if($r(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Xs(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y;if((o||r)&&(i=`translate3d(${o}px, ${r}px, 0) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),o&&(i+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(i+=`scale(${a}, ${s})`),i||"none"}const Ws=(e,t)=>e.depth-t.depth;class Ls{constructor(){this.children=[],this.isDirty=!1}add(e){Ur(this.children,e),this.isDirty=!0}remove(e){$r(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ws),this.isDirty=!1,this.children.forEach(e)}}const Fs=["","X","Y","Z"];let Os=0;const Ds={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Zs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Os++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;Ds.totalNodes=Ds.resolvedTargetDeltas=Ds.recalculatedProjection=0,this.nodes.forEach(js),this.nodes.forEach(Ks),this.nodes.forEach(qs),this.nodes.forEach(Ys),e=Ds,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ls)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Qr),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:o,layout:r,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||o)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(Hi(i),e(r-t))};return zi.read(i,!0),()=>Hi(i)}(i,250),cs.hasAnimatedSinceResize&&(cs.hasAnimatedSinceResize=!1,this.nodes.forEach(_s))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||rl,{onLayoutAnimationStart:r,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Es(this.targetLayout,i)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Hr(o,"layout"),onPlay:r,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||_s(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Hi(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(el),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Us);this.isUpdating||this.nodes.forEach($s),this.isUpdating=!1,this.nodes.forEach(Qs),this.nodes.forEach(zs),this.nodes.forEach(Hs),this.clearAllSnapshots();const e=performance.now();Xi.delta=Pn(0,1e3/60,e-Xi.timestamp),Xi.timestamp=e,Xi.isProcessing=!0,Oi.update.process(Xi),Oi.preRender.process(Xi),Oi.render.process(Xi),Xi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Js),this.sharedNodes.forEach(tl)}scheduleUpdateProjection(){zi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){zi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Ss(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||ja(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),al((i=n).x),al(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(qa(t.x,n.offset.x),qa(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ns(t,e);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:o,options:r}=i;if(i!==this.root&&o&&r.layoutScroll){if(o.isRoot){Ns(t,e);const{scroll:n}=this.root;n&&(qa(t.x,-n.offset.x),qa(t.y,-n.offset.y))}qa(t.x,o.offset.x),qa(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ns(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&is(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),ja(i.latestValues)&&is(n,i.latestValues)}return ja(this.latestValues)&&is(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ns(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!ja(n.latestValues))continue;Ha(n.latestValues)&&n.updateSnapshot();const i=Oa();Ns(i,n.measurePageBox()),Bs(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return ja(this.latestValues)&&Bs(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Xi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=Xi.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ra(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ns(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Sa(a.x,s.x,l.x),Sa(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ns(this.target,this.layout.layoutBox),_a(this.target,this.targetDelta)):Ns(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ra(this.relativeTargetOrigin,this.target,e.target),Ns(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ds.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ha(this.parent.latestValues)&&!Ya(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===Xi.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;Ns(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,i=!1){const o=n.length;if(!o)return;let r,a;t.x=t.y=1;for(let s=0;s<o;s++){r=n[s],a=r.projectionDelta;const o=r.instance;o&&o.style&&"contents"===o.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&is(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,_a(e,a)),i&&ja(r.latestValues)&&is(e,r.latestValues))}t.x=Ka(t.x),t.y=Ka(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;Ta(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Xs(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ds.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(ol));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;nl(r.x,e.x,n),nl(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ra(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){il(e.x,t.x,n.x,i),il(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Es(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ns(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=Do(0,void 0!==n.opacity?n.opacity:1,Is(i)),e.opacityExit=Do(void 0!==t.opacity?t.opacity:1,0,Cs(i))):r&&(e.opacity=Do(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<bs;o++){const r=`border${fs[o]}Radius`;let a=xs(t,r),s=xs(n,r);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||ys(a)===ys(s)?(e[r]=Math.max(Do(vs(a),vs(s),i),0),(Fn.test(s)||Fn.test(a))&&(e[r]+="%")):e[r]=s)}(t.rotate||n.rotate)&&(e.rotate=Do(t.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Hi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=zi.update(()=>{cs.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=In(e)?e:ea(e);return i.start(jr("",i,t,n)),i.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:o}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&sl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Pa(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Pa(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Ns(t,n),is(t,o),Ta(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ms);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const i={};for(let t=0;t<Fs.length;t++){const o="rotate"+Fs[t];n[o]&&(i[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in i)e.setStaticValue(t,i[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=yi(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=yi(e.pointerEvents)||""),this.hasProjected&&!ja(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=Xs(this.projectionDeltaWithTransform,this.treeScale,a),o&&(i.transform=o(a,i.transform));const{x:s,y:l}=this.projectionDelta;i.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:i.opacity=r===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in bn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=bn[e],o="none"===i.transform?a[e]:t(a[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=o}else i[e]=o}return this.options.layoutId&&(i.pointerEvents=r===this?yi(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Us),this.root.sharedNodes.clear()}}}function zs(e){e.updateLayout()}function Hs(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:o}=e.options,r=n.source!==e.layout.source;"size"===o?Da(e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=Pa(i);i.min=t[e].min,i.max=i.min+o}):sl(o,n.layoutBox,t)&&Da(i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],a=Pa(t[i]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ta(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?Ta(s,e.applyTransform(i,!0),n.measuredBox):Ta(s,t,n.layoutBox);const l=!Ss(a);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const a={x:{min:0,max:0},y:{min:0,max:0}};Ra(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ra(s,t,r.layoutBox),Es(a,s)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function js(e){Ds.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ys(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Js(e){e.clearSnapshot()}function Us(e){e.clearMeasurements()}function $s(e){e.isLayoutDirty=!1}function Qs(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function _s(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ks(e){e.resolveTargetDelta()}function qs(e){e.calcProjection()}function el(e){e.resetRotation()}function tl(e){e.removeLeadSnapshot()}function nl(e,t,n){e.translate=Do(t.translate,0,n),e.scale=Do(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function il(e,t,n,i){e.min=Do(t.min,n.min,i),e.max=Do(t.max,n.max,i)}function ol(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const rl={duration:.45,ease:[.4,0,.1,1]};function al(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function sl(e,t,n){return"position"===e||"preserve-aspect"===e&&!Va(Rs(t),Rs(n),.2)}const ll=Zs({attachResizeListener:(e,t)=>Ai(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),cl={current:void 0},ul=Zs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!cl.current){const e=new ll({});e.mount(window),e.setOptions({layoutScroll:!0}),cl.current=e}return cl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),dl={pan:{Feature:class extends Mi{constructor(){super(...arguments),this.removePointerDownListener=Ji}onPointerDown(e){this.session=new Ia(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:ls(e),onStart:ls(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&zi.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=Gi(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Mi{constructor(e){super(e),this.removeGroupControls=Ji,this.removeListeners=Ji,this.controls=new as(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ji}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ul,MeasureLayout:hs}},pl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ml(e,t,n=1){ao(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,o]=function(e){const t=pl.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);return r?r.trim():kn(o)?ml(o,t,n+1):o}const hl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),gl=e=>hl.has(e),fl=e=>e===Vn||e===On,bl=(e,t)=>parseFloat(e.split(", ")[t]),vl=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return bl(o[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?bl(t[1],e):0}},yl=new Set(["x","y","z"]),xl=vn.filter(e=>!yl.has(e));const Il={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:vl(4,13),y:vl(5,14)},Cl=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(gl);let r=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=ia(c);const d=t[o];let p;if(bi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ia(c);for(let n=t;n<e&&null!==d[n];n++)p?ao(ia(d[n])===p,"All keyframes must be of the same type"):(p=ia(d[n]),ao(p===u||fl(u)&&fl(p),"Keyframes must be of the same dimension as the current value"))}else p=ia(d);if(u!==p)if(fl(u)&&fl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===On&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(r=function(e){const t=[];return xl.forEach(n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),i[o]=void 0!==i[o]?i[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const i=t.measureViewportBox(),o=t.current,r=getComputedStyle(o),{display:a}=r,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Il[e](i,r)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const i=t.getValue(n);i&&i.jump(s[n]),e[n]=Il[n](l,r)}),e})(t,e,s);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Ut&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}return{target:t,transitionEnd:i}};function wl(e,t,n,i){return(e=>Object.keys(e).some(gl))(t)?Cl(e,t,n,i):{target:t,transitionEnd:i}}const Al=(e,t,n,i)=>{const o=function(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!kn(t))return;const n=ml(t,i);n&&e.set(n)});for(const e in t){const o=t[e];if(!kn(o))continue;const r=ml(o,i);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,i);return wl(e,t=o.target,n,i=o.transitionEnd)},Nl={current:null},kl={current:!1};const Gl=new WeakMap,Pl=Object.keys(ln),Vl=Pl.length,Bl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Tl=tn.length;class Sl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>zi.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=nn(t),this.isVariantNode=on(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&In(t)&&(t.set(a[e],!1),Yr(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Gl.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),kl.current||function(){if(kl.current=!0,Ut)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Nl.current=e.matches;e.addListener(t),t()}else Nl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Nl.current),"production"!==process.env.NODE_ENV&&Kr(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Gl.delete(this.current),this.projection&&this.projection.unmount(),Hi(this.notifyUpdate),Hi(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=yn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&zi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,i,o){let r,a;if("production"!==process.env.NODE_ENV&&i&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?ro(!1,e):ao(!1,e)}for(let e=0;e<Vl;e++){const n=Pl[e],{isEnabled:i,Feature:o,ProjectionNode:s,MeasureLayout:l}=ln[n];s&&(r=s),i(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&r){this.projection=new r(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||a&&_t(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Bl.length;t++){const n=Bl[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){const{willChange:i}=t;for(const o in t){const r=t[o],a=n[o];if(In(r))e.addValue(o,r),Yr(i)&&i.add(o),"development"===process.env.NODE_ENV&&Kr("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(In(a))e.addValue(o,ea(r,{owner:e})),Yr(i)&&i.remove(o);else if(a!==r)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,ea(void 0!==t?t:r,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Tl;e++){const n=tn[e],i=this.props[n];(Kt(i)||!1===i)&&(t[n]=i)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ea(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(t=gi(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||In(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Qr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class El extends Sl{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:i},o){let r=function(e,t,n){const i={};for(const o in e){const e=sa(o,t);if(void 0!==e)i[o]=e;else{const e=n.getValue(o);e&&(i[o]=e.get())}}return i}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),r&&(r=i(r))),o){!function(e,t,n){var i,o;const r=Object.keys(t).filter(t=>!e.hasValue(t)),a=r.length;if(a)for(let s=0;s<a;s++){const a=r[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(i=n[a])&&void 0!==i?i:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(Jr(c)||Zr(c))?c=parseFloat(c):!ra(c)&&tr.test(l)&&(c=Dr(a,l)),e.addValue(a,ea(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,r);const e=Al(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Rl extends El{readValueFromInstance(e,t){if(yn.has(t)){const e=Or(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(Nn(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return os(e,t)}build(e,t,n,i){Yn(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return mi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;In(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){ui(e,t,n,i)}}class Ml extends El{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(yn.has(t)){const e=Or(t);return e&&e.default||0}return t=di.has(t)?t:ci(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return hi(e,t)}build(e,t,n,i){oi(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){pi(e,t,0,i)}mount(e){this.isSVGTag=ai(e.tagName),super.mount(e)}}const Xl=(e,t)=>fn(e)?new Ml(t,{enableHardwareAcceleration:!1}):new Rl(t,{enableHardwareAcceleration:!0}),Wl={...ya,...to,...dl,...{layout:{ProjectionNode:ul,MeasureLayout:hs}}},Ll=hn((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...fn(e)?Ci:wi,preloadedFeatures:n,useRender:li(t),createVisualElement:i,Component:e}}(e,t,Wl,Xl));function Fl(){const e=a(!1);return $t(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Ol extends i.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Dl({children:e,isPresent:t}){const n=f(),o=a(null),r=a({width:0,height:0,top:0,left:0});return h(()=>{const{width:e,height:i,top:a,left:s}=r.current;if(t||!o.current||!e||!i)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${i}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),i.createElement(Ol,{isPresent:t,childRef:o,sizeRef:r},i.cloneElement(e,{ref:o}))}const Zl=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:r,presenceAffectsLayout:a,mode:s})=>{const l=fi(zl),c=f(),d=u(()=>({id:c,initial:t,isPresent:n,custom:r,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;o&&o()},register:e=>(l.set(e,!1),()=>l.delete(e))}),a?void 0:[n]);return u(()=>{l.forEach((e,t)=>l.set(t,!1))},[n]),i.useEffect(()=>{!n&&!l.size&&o&&o()},[n]),"popLayout"===s&&(e=i.createElement(Dl,{isPresent:n},e)),i.createElement(Jt.Provider,{value:d},e)};function zl(){return new Map}const Hl=e=>e.key||"";const jl=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:r,presenceAffectsLayout:u=!0,mode:d="sync"})=>{ao(!r,"Replace exitBeforeEnter with mode='wait'");const p=m(cn).forceRender||function(){const e=Fl(),[t,n]=s(0),i=c(()=>{e.current&&n(t+1)},[t]);return[c(()=>zi.postRender(i),[i]),t]}()[0],h=Fl(),g=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let f=g;const x=a(new Map).current,I=a(f),C=a(new Map).current,w=a(!0);var A;if($t(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=Hl(e);t.set(n,e)})}(g,C),I.current=f}),A=()=>{w.current=!0,C.clear(),x.clear()},l(()=>()=>A(),[]),w.current)return i.createElement(i.Fragment,null,f.map(e=>i.createElement(Zl,{key:Hl(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:d},e)));f=[...f];const N=I.current.map(Hl),k=g.map(Hl),G=N.length;for(let e=0;e<G;e++){const t=N[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===d&&x.size&&(f=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const r=C.get(n);if(!r)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=g,!1===h.current)return;p(),o&&o()}};s=i.createElement(Zl,{key:Hl(r),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:u,mode:d},r),x.set(n,s)}f.splice(a,0,s)}),f=f.map(e=>{const t=e.key;return x.has(t)?e:i.createElement(Zl,{key:Hl(e),isPresent:!0,presenceAffectsLayout:u,mode:d},e)}),"production"!==process.env.NODE_ENV&&"wait"===d&&f.length>1&&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.'),i.createElement(i.Fragment,null,x.size?f:f.map(e=>b(e)))};function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yl.apply(null,arguments)}function Jl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(null==e||e(i),!1===n||!i.defaultPrevented)return null==t?void 0:t(i)}}function Ul(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function $l(...e){return c(Ul(...e),e)}function Ql(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=n.reduce((t,{useScope:n,scopeName:i})=>({...t,...n(e)[`__scope${i}`]}),{});return u(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const _l=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Kl=i["useId".toString()]||(()=>{});let ql=0;function ec(e){const[t,n]=i.useState(Kl());return _l(()=>{n(e=>null!=e?e:String(ql++))},[e]),e||(t?`radix-${t}`:"")}function tc(e){const t=a(e);return l(()=>{t.current=e}),u(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function nc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,o]=function({defaultProp:e,onChange:t}){const n=s(e),[i]=n,o=a(i),r=tc(t);return l(()=>{o.current!==i&&(r(i),o.current=i)},[i,o,r]),n}({defaultProp:t,onChange:n}),r=void 0!==e,u=r?e:i,d=tc(n);return[u,c(t=>{if(r){const n="function"==typeof t?t(e):t;n!==e&&d(n)}else o(t)},[r,e,o,d])]}const ic=r((e,t)=>{const{children:n,...i}=e,o=v.toArray(n),r=o.find(ac);if(r){const e=r.props.children,n=o.map(t=>t===r?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return g(oc,Yl({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return g(oc,Yl({},i,{ref:t}),n)});ic.displayName="Slot";const oc=r((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...sc(i,n.props),ref:t?Ul(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});oc.displayName="SlotClone";const rc=({children:e})=>g(x,null,e);function ac(e){return y(e)&&e.type===rc}function sc(e,t){const n={...t};for(const i in t){const o=e[i],r=t[i];/^on[A-Z]/.test(i)?o&&r?n[i]=(...e)=>{r(...e),o(...e)}:o&&(n[i]=o):"style"===i?n[i]={...o,...r}:"className"===i&&(n[i]=[o,r].filter(Boolean).join(" "))}return{...e,...n}}const lc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=r((e,n)=>{const{asChild:i,...o}=e,r=i?ic:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),g(r,Yl({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const cc="dismissableLayer.update",uc="dismissableLayer.pointerDownOutside",dc="dismissableLayer.focusOutside";let pc;const mc=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hc=r((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...p}=e,h=m(mc),[f,b]=s(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=s({}),x=$l(t,e=>b(e)),I=Array.from(h.layers),[C]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=h.layersWithOutsidePointerEventsDisabled.size>0,k=A>=w,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=tc(e),i=a(!1),o=a(()=>{});return l(()=>{const e=e=>{if(e.target&&!i.current){const r={originalEvent:e};function a(){fc(uc,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...h.branches].some(e=>e.contains(t));k&&!n&&(null==r||r(e),null==u||u(e),e.defaultPrevented||null==d||d())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=tc(e),i=a(!1);return l(()=>{const e=e=>{if(e.target&&!i.current){fc(dc,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...h.branches].some(e=>e.contains(t))||(null==c||c(e),null==u||u(e),e.defaultPrevented||null==d||d())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=tc(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===h.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),l(()=>{if(f)return i&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(pc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),gc(),()=>{i&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=pc)}},[f,v,i,h]),l(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),gc())},[f,h]),l(()=>{const e=()=>y({});return document.addEventListener(cc,e),()=>document.removeEventListener(cc,e)},[]),g(lc.div,Yl({},p,{ref:x,style:{pointerEvents:N?k?"auto":"none":void 0,...e.style},onFocusCapture:Jl(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Jl(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Jl(e.onPointerDownCapture,G.onPointerDownCapture)}))});function gc(){const e=new CustomEvent(cc);document.dispatchEvent(e)}function fc(e,t,n,{discrete:i}){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?function(e,t){e&&P(()=>e.dispatchEvent(t))}(o,r):o.dispatchEvent(r)}const bc="focusScope.autoFocusOnMount",vc="focusScope.autoFocusOnUnmount",yc={bubbles:!1,cancelable:!0},xc=r((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...u}=e,[d,p]=s(null),m=tc(o),h=tc(r),f=a(null),b=$l(t,e=>p(e)),v=a({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l(()=>{if(i){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?f.current=t:Ac(f.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||Ac(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Ac(d)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return d&&o.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[i,d,v.paused]),l(()=>{if(d){Nc.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(bc,yc);d.addEventListener(bc,m),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(Ac(i,{select:t}),document.activeElement!==n)return}((e=Ic(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Ac(d))}return()=>{d.removeEventListener(bc,m),setTimeout(()=>{const e=new CustomEvent(vc,yc);d.addEventListener(vc,h),d.dispatchEvent(e),e.defaultPrevented||Ac(null!=t?t:document.body,{select:!0}),d.removeEventListener(vc,h),Nc.remove(v)},0)}}var e},[d,m,h,v]);const y=c(e=>{if(!n&&!i)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[i,r]=function(e){const t=Ic(e),n=Cc(t,e),i=Cc(t.reverse(),e);return[n,i]}(t);i&&r?e.shiftKey||o!==r?e.shiftKey&&o===i&&(e.preventDefault(),n&&Ac(r,{select:!0})):(e.preventDefault(),n&&Ac(i,{select:!0})):o===t&&e.preventDefault()}},[n,i,v.paused]);return g(lc.div,Yl({tabIndex:-1},u,{ref:b,onKeyDown:y}))});function Ic(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Cc(e,t){for(const n of e)if(!wc(n,{upTo:t}))return n}function wc(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Ac(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const Nc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=kc(e,t),e.unshift(t)},remove(t){var n;e=kc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function kc(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const Gc=r((e,t)=>{var n;const{container:i=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return i?G.createPortal(g(lc.div,Yl({},o,{ref:t})),i):null});const Pc=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=s(),i=a({}),o=a(e),r=a("none"),u=e?"mounted":"unmounted",[d,p]=function(e,t){return I((e,n)=>{const i=t[e][n];return null!=i?i:e},e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l(()=>{const e=Vc(i.current);r.current="mounted"===d?e:"none"},[d]),_l(()=>{const t=i.current,n=o.current;if(n!==e){const i=r.current,a=Vc(t);if(e)p("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&i!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,p]),_l(()=>{if(t){const e=e=>{const n=Vc(i.current).includes(e.animationName);e.target===t&&n&&P(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=Vc(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:c(e=>{e&&(i.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:i.isPresent}):v.only(n),r=$l(i.ref,o.ref);return"function"==typeof n||i.isPresent?b(o,{ref:r}):null};function Vc(e){return(null==e?void 0:e.animationName)||"none"}Pc.displayName="Presence";let Bc=0;function Tc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Sc=function(){return Sc=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Sc.apply(this,arguments)};function Ec(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Rc="right-scroll-bar-position",Mc="width-before-scroll-bar";function Xc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Wc="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,Lc=new WeakMap;function Fc(e,t){var n,i,o,r=(n=null,i=function(t){return e.forEach(function(e){return Xc(e,t)})},(o=s(function(){return{value:n,callback:i,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=i,o.facade);return Wc(function(){var t=Lc.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||Xc(e,null)}),i.forEach(function(e){n.has(e)||Xc(e,o)})}Lc.set(r,e)},[e]),r}function Oc(e){return e}var Dc=function(e){var t=e.sideCar,n=Ec(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,Sc({},n))};Dc.isSideCarExport=!0;var Zc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Oc);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,i);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=Sc({async:!0,ssr:!1},e),t}(),zc=function(){},Hc=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:zc,onWheelCapture:zc,onTouchMoveCapture:zc}),r=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Ec(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,I=Fc([n,t]),C=Sc(Sc({},y),r);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:Zc,removeScrollBar:u,shards:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),Sc(Sc({},C),{ref:I})):i.createElement(v,Sc({},C,{className:c,ref:I}),l))});Hc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Hc.classNames={fullWidth:Mc,zeroRight:Rc};function jc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Yc=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=jc())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Jc=function(){var e,t=(e=Yc(),function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,i=e.dynamic;return t(n,i),null}},Uc={left:0,top:0,right:0,gap:0},$c=function(e){return parseInt(e||"",10)||0},Qc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Uc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],i=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[$c(n),$c(i),$c(o)]}(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},_c=Jc(),Kc="data-scroll-locked",qc=function(e,t,n,i){var o=e.left,r=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(i,";\n padding-right: ").concat(s,"px ").concat(i,";\n }\n body[").concat(Kc,"] {\n overflow: hidden ").concat(i,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(i,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(r,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(i,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(i,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Rc," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Mc," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Rc," .").concat(Rc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(Mc," .").concat(Mc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(Kc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},eu=function(){var e=parseInt(document.body.getAttribute(Kc)||"0",10);return isFinite(e)?e:0},tu=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;i.useEffect(function(){return document.body.setAttribute(Kc,(eu()+1).toString()),function(){var e=eu()-1;e<=0?document.body.removeAttribute(Kc):document.body.setAttribute(Kc,e.toString())}},[]);var a=i.useMemo(function(){return Qc(r)},[r]);return i.createElement(_c,{styles:qc(a,!t,r,n?"":"!important")})},nu=!1;if("undefined"!=typeof window)try{var iu=Object.defineProperty({},"passive",{get:function(){return nu=!0,!0}});window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch(e){nu=!1}var ou=!!nu&&{passive:!1},ru=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},au=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),su(e,n)){var i=lu(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},su=function(e,t){return"v"===e?function(e){return ru(e,"overflowY")}(t):function(e){return ru(e,"overflowX")}(t)},lu=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},cu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},uu=function(e){return[e.deltaX,e.deltaY]},du=function(e){return e&&"current"in e?e.current:e},pu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},mu=0,hu=[];var gu,fu=(gu=function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(mu++)[0],a=i.useState(function(){return Jc()})[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(du),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,r=cu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-r[0],c="deltaY"in e?e.deltaY:a[1]-r[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=au(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=au(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=i),!i)return!0;var m=o.current||i;return function(e,t,n,i){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),r=o*i,a=n.target,s=t.contains(a),l=!1,c=r>0,u=0,d=0;do{var p=lu(e,a),m=p[0],h=p[1]-p[2]-o*m;(m||h)&&su(e,a)&&(u+=h,d+=m),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=i.useCallback(function(e){var n=e;if(hu.length&&hu[hu.length-1]===a){var i="deltaY"in n?uu(n):cu(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=i,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var r=(s.current.shards||[]).map(du).filter(Boolean).filter(function(e){return e.contains(n.target)});(r.length>0?l(n,r[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,i,o){var r={name:e,delta:n,target:i,should:o};t.current.push(r),setTimeout(function(){t.current=t.current.filter(function(e){return e!==r})},1)},[]),d=i.useCallback(function(e){n.current=cu(e),o.current=void 0},[]),p=i.useCallback(function(t){u(t.type,uu(t),t.target,l(t,e.lockRef.current))},[]),m=i.useCallback(function(t){u(t.type,cu(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return hu.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,ou),document.addEventListener("touchmove",c,ou),document.addEventListener("touchstart",d,ou),function(){hu=hu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,ou),document.removeEventListener("touchmove",c,ou),document.removeEventListener("touchstart",d,ou)}},[]);var h=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:pu(r)}):null,h?i.createElement(tu,{gapMode:"margin"}):null)},Zc.useMedium(gu),Dc),bu=i.forwardRef(function(e,t){return i.createElement(Hc,Sc({},e,{ref:t,sideCar:fu}))});bu.classNames=Hc.classNames;var vu=new WeakMap,yu=new WeakMap,xu={},Iu=0,Cu=function(e){return e&&(e.host||Cu(e.parentNode))},wu=function(e,t,n,i){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Cu(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);xu[n]||(xu[n]=new WeakMap);var r=xu[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(i),o=null!==t&&"false"!==t,l=(vu.get(e)||0)+1,c=(r.get(e)||0)+1;vu.set(e,l),r.set(e,c),a.push(e),1===l&&o&&yu.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(i,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Iu++,function(){a.forEach(function(e){var t=vu.get(e)-1,o=r.get(e)-1;vu.set(e,t),r.set(e,o),t||(yu.has(e)||e.removeAttribute(i),yu.delete(e)),o||e.removeAttribute(n)}),--Iu||(vu=new WeakMap,vu=new WeakMap,yu=new WeakMap,xu={})}},Au=function(e,t,n){void 0===n&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),wu(i,o,n,"aria-hidden")):function(){return null}};const Nu="Dialog",[ku,Gu]=function(e,t=[]){let n=[];const i=()=>{const t=n.map(e=>d(e));return function(n){const i=(null==n?void 0:n[e])||t;return u(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){const o=d(i),r=n.length;function a(t){const{scope:n,children:i,...a}=t,s=(null==n?void 0:n[e][r])||o,l=u(()=>a,Object.values(a));return g(s.Provider,{value:l},i)}return n=[...n,i],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][r])||o,l=m(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Ql(i,...t)]}(Nu),[Pu,Vu]=ku(Nu),Bu="DialogPortal",[Tu,Su]=ku(Bu,{forceMount:void 0}),Eu="DialogOverlay",Ru=r((e,t)=>{const n=Su(Eu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Vu(Eu,e.__scopeDialog);return r.modal?g(Pc,{present:i||r.open},g(Mu,Yl({},o,{ref:t}))):null}),Mu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Vu(Eu,n);return g(bu,{as:ic,allowPinchZoom:!0,shards:[o.contentRef]},g(lc.div,Yl({"data-state":Hu(o.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),Xu="DialogContent",Wu=r((e,t)=>{const n=Su(Xu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Vu(Xu,e.__scopeDialog);return g(Pc,{present:i||r.open},r.modal?g(Lu,Yl({},o,{ref:t})):g(Fu,Yl({},o,{ref:t})))}),Lu=r((e,t)=>{const n=Vu(Xu,e.__scopeDialog),i=a(null),o=$l(t,n.contentRef,i);return l(()=>{const e=i.current;if(e)return Au(e)},[]),g(Ou,Yl({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Jl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Jl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Jl(e.onFocusOutside,e=>e.preventDefault())}))}),Fu=r((e,t)=>{const n=Vu(Xu,e.__scopeDialog),i=a(!1),o=a(!1);return g(Ou,Yl({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;(null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented)||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Ou=r((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:r,...s}=e,c=Vu(Xu,n),u=$l(t,a(null));return l(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Tc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Tc()),Bc++,()=>{1===Bc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Bc--}},[]),g(x,null,g(xc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:r},g(hc,Yl({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Hu(c.open)},s,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Du="DialogTitle",Zu="DialogClose",zu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Vu(Zu,n);return g(lc.button,Yl({type:"button"},i,{ref:t,onClick:Jl(e.onClick,()=>o.onOpenChange(!1))}))});function Hu(e){return e?"open":"closed"}!function(e,t){const n=d(t);function i(e){const{children:t,...i}=e,o=u(()=>i,Object.values(i));return g(n.Provider,{value:o},t)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Xu,titleName:Du,docsSlug:"dialog"});const ju=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:r,modal:s=!0}=e,l=a(null),u=a(null),[d=!1,p]=nc({prop:i,defaultProp:o,onChange:r});return g(Pu,{scope:t,triggerRef:l,contentRef:u,contentId:ec(),titleId:ec(),descriptionId:ec(),open:d,onOpenChange:p,onOpenToggle:c(()=>p(e=>!e),[p]),modal:s},n)},Yu=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,r=Vu(Bu,t);return g(Tu,{scope:t,forceMount:n},v.map(i,e=>g(Pc,{present:n||r.open},g(Gc,{asChild:!0,container:o},e))))},Ju=Ru,Uu=Wu,$u=zu,Qu=n=>{const{isOpen:i,onRequestClose:o,size:r,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(ju,{open:i,onOpenChange:()=>i&&(null==o?void 0:o()),children:t(Yu,{children:[e(Ll.div,{initial:"closed",animate:i?"open":"closed",variants:Zt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Ju,{})}),e("div",{className:"fixed inset-0 z-[1001] flex items-center justify-center pointer-events-none",children:e(Ll.div,{initial:"closed",animate:i?"open":"closed",variants:zt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"w-[calc(100vw-10px)] sm:w-[calc(100vw-90px)] pointer-events-auto focus:outline-none",children:e(Uu,{className:Je("relative w-full mx-auto rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:Ht[r||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e($u,{asChild:!0,children:e(rt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Qe,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(qe,{className:Je("w-full pr-8 sm:pr-0 mb-3 mt-5 text-center","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(qe,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},_u=({children:n,background:i,className:o,fill:r="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof i&&i in d,m=p?d[i]:void 0,h=i&&!p?{background:i}:void 0,g=r in u?u[r]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${a?"max-content":""} ${null!=m?m:h?"":"bg-white"}`,style:h,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:h,children:n})},Ku=({title:n,background:i="white",button:o,color:r,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:m})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[i]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-text-inverse"}`,children:[n&&e(qe,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(qe,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(rt,{...o,renderCheckPlans:m,onModalButtonClick:p,size:{base:"large"}})})]})}),qu=({background:i="white",description:o,enableHeading:r,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[i]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(qe,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(qe,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(qe,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),i=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ot,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),i=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ot,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(lt,{width:472,height:100,src:a,alt:"image"})})]})]})}),ed=({title:n,disclaimer:i,table:o,maxWidth:r=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(r?"max-w-120 xl:mx-auto":""),children:[e(qe,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:o}),e(qe,{as:"div",className:"micro mt-8 text-center",children:i})]})}),td=({currentPage:n,totalPages:i,onPageChange:o,ariaLabel:r="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const i=Math.max(2,e-1),o=Math.min(t-1,e+1);for(let e=i;e<=o;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,i),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e(Ue,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Qe,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,i)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${i}`):e(Ue,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(Ue,{className:s,onClick:()=>o(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(Qe,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function nd(e){return nd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nd(e)}function id(e){var t=function(e,t){if("object"!=nd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=nd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nd(t)?t:t+""}function od(e,t,n){return(t=id(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function ad(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rd(Object(n),!0).forEach(function(t){od(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function ld(e,t){if(e){if("string"==typeof e)return sd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sd(e,t):void 0}}function cd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||ld(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ud(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var dd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function pd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,id(i.key),i)}}function md(e,t){return md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},md(e,t)}function hd(e){return hd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hd(e)}function gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gd=function(){return!!e})()}function fd(e,t){if(t&&("object"==nd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function bd(e){return function(e){if(Array.isArray(e))return sd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ld(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var vd=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),yd="-ms-",xd="-moz-",Id="-webkit-",Cd="comm",wd="rule",Ad="decl",Nd="@keyframes",kd=Math.abs,Gd=String.fromCharCode,Pd=Object.assign;function Vd(e){return e.trim()}function Bd(e,t,n){return e.replace(t,n)}function Td(e,t){return e.indexOf(t)}function Sd(e,t){return 0|e.charCodeAt(t)}function Ed(e,t,n){return e.slice(t,n)}function Rd(e){return e.length}function Md(e){return e.length}function Xd(e,t){return t.push(e),e}var Wd=1,Ld=1,Fd=0,Od=0,Dd=0,Zd="";function zd(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:Wd,column:Ld,length:a,return:""}}function Hd(e,t){return Pd(zd("",null,null,"",null,null,0),e,{length:-e.length},t)}function jd(){return Dd=Od>0?Sd(Zd,--Od):0,Ld--,10===Dd&&(Ld=1,Wd--),Dd}function Yd(){return Dd=Od<Fd?Sd(Zd,Od++):0,Ld++,10===Dd&&(Ld=1,Wd++),Dd}function Jd(){return Sd(Zd,Od)}function Ud(){return Od}function $d(e,t){return Ed(Zd,e,t)}function Qd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _d(e){return Wd=Ld=1,Fd=Rd(Zd=e),Od=0,[]}function Kd(e){return Zd="",e}function qd(e){return Vd($d(Od-1,np(91===e?e+2:40===e?e+1:e)))}function ep(e){for(;(Dd=Jd())&&Dd<33;)Yd();return Qd(e)>2||Qd(Dd)>3?"":" "}function tp(e,t){for(;--t&&Yd()&&!(Dd<48||Dd>102||Dd>57&&Dd<65||Dd>70&&Dd<97););return $d(e,Ud()+(t<6&&32==Jd()&&32==Yd()))}function np(e){for(;Yd();)switch(Dd){case e:return Od;case 34:case 39:34!==e&&39!==e&&np(Dd);break;case 40:41===e&&np(e);break;case 92:Yd()}return Od}function ip(e,t){for(;Yd()&&e+Dd!==57&&(e+Dd!==84||47!==Jd()););return"/*"+$d(t,Od-1)+"*"+Gd(47===e?e:Yd())}function op(e){for(;!Qd(Jd());)Yd();return $d(e,Od)}function rp(e){return Kd(ap("",null,null,null,[""],e=_d(e),0,[0],e))}function ap(e,t,n,i,o,r,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,h=0,g=1,f=1,b=1,v=0,y="",x=o,I=r,C=i,w=y;f;)switch(h=v,v=Yd()){case 40:if(108!=h&&58==Sd(w,d-1)){-1!=Td(w+=Bd(qd(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=qd(v);break;case 9:case 10:case 13:case 32:w+=ep(h);break;case 92:w+=tp(Ud()-1,7);continue;case 47:switch(Jd()){case 42:case 47:Xd(lp(ip(Yd(),Ud()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=Rd(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(w=Bd(w,/\f/g,"")),m>0&&Rd(w)-d&&Xd(m>32?cp(w+";",i,n,d-1):cp(Bd(w," ","")+";",i,n,d-2),l);break;case 59:w+=";";default:if(Xd(C=sp(w,t,n,c,u,o,s,y,x=[],I=[],d),r),123===v)if(0===u)ap(w,t,C,C,x,r,d,s,I);else switch(99===p&&110===Sd(w,3)?100:p){case 100:case 108:case 109:case 115:ap(e,C,C,i&&Xd(sp(e,C,C,0,0,o,s,y,o,x=[],d),I),o,I,d,s,i?x:I);break;default:ap(w,C,C,C,[""],I,0,s,I)}}c=u=m=0,g=b=1,y=w="",d=a;break;case 58:d=1+Rd(w),m=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==jd())continue;switch(w+=Gd(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Rd(w)-1)*b,b=1;break;case 64:45===Jd()&&(w+=qd(Yd())),p=Jd(),u=d=Rd(y=w+=op(Ud())),v++;break;case 45:45===h&&2==Rd(w)&&(g=0)}}return r}function sp(e,t,n,i,o,r,a,s,l,c,u){for(var d=o-1,p=0===o?r:[""],m=Md(p),h=0,g=0,f=0;h<i;++h)for(var b=0,v=Ed(e,d+1,d=kd(g=a[h])),y=e;b<m;++b)(y=Vd(g>0?p[b]+" "+v:Bd(v,/&\f/g,p[b])))&&(l[f++]=y);return zd(e,t,n,0===o?wd:s,l,c,u)}function lp(e,t,n){return zd(e,t,n,Cd,Gd(Dd),Ed(e,2,-2),0)}function cp(e,t,n,i){return zd(e,t,n,Ad,Ed(e,0,i),Ed(e,i+1,-1),i)}function up(e,t){for(var n="",i=Md(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function dp(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ad:return e.return=e.return||e.value;case Cd:return"";case Nd:return e.return=e.value+"{"+up(e.children,i)+"}";case wd:e.value=e.props.join(",")}return Rd(n=up(e.children,i))?e.return=e.value+"{"+n+"}":""}function pp(e){var t=Md(e);return function(n,i,o,r){for(var a="",s=0;s<t;s++)a+=e[s](n,i,o,r)||"";return a}}var mp="undefined"!=typeof document,hp=function(e,t,n){for(var i=0,o=0;i=o,o=Jd(),38===i&&12===o&&(t[n]=1),!Qd(o);)Yd();return $d(e,Od)},gp=function(e,t){return Kd(function(e,t){var n=-1,i=44;do{switch(Qd(i)){case 0:38===i&&12===Jd()&&(t[n]=1),e[n]+=hp(Od-1,t,n);break;case 2:e[n]+=qd(i);break;case 4:if(44===i){e[++n]=58===Jd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Gd(i)}}while(i=Yd());return e}(_d(e),t))},fp=new WeakMap,bp=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||fp.get(n))&&!i){fp.set(e,!0);for(var o=[],r=gp(t,o),a=n.props,s=0,l=0;s<r.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?r[s].replace(/&\f/g,a[c]):a[c]+" "+r[s]}}},vp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function yp(e,t){switch(function(e,t){return 45^Sd(e,0)?(((t<<2^Sd(e,0))<<2^Sd(e,1))<<2^Sd(e,2))<<2^Sd(e,3):0}(e,t)){case 5103:return Id+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Id+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Id+e+xd+e+yd+e+e;case 6828:case 4268:return Id+e+yd+e+e;case 6165:return Id+e+yd+"flex-"+e+e;case 5187:return Id+e+Bd(e,/(\w+).+(:[^]+)/,Id+"box-$1$2"+yd+"flex-$1$2")+e;case 5443:return Id+e+yd+"flex-item-"+Bd(e,/flex-|-self/,"")+e;case 4675:return Id+e+yd+"flex-line-pack"+Bd(e,/align-content|flex-|-self/,"")+e;case 5548:return Id+e+yd+Bd(e,"shrink","negative")+e;case 5292:return Id+e+yd+Bd(e,"basis","preferred-size")+e;case 6060:return Id+"box-"+Bd(e,"-grow","")+Id+e+yd+Bd(e,"grow","positive")+e;case 4554:return Id+Bd(e,/([^-])(transform)/g,"$1"+Id+"$2")+e;case 6187:return Bd(Bd(Bd(e,/(zoom-|grab)/,Id+"$1"),/(image-set)/,Id+"$1"),e,"")+e;case 5495:case 3959:return Bd(e,/(image-set\([^]*)/,Id+"$1$`$1");case 4968:return Bd(Bd(e,/(.+:)(flex-)?(.*)/,Id+"box-pack:$3"+yd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Id+e+e;case 4095:case 3583:case 4068:case 2532:return Bd(e,/(.+)-inline(.+)/,Id+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rd(e)-1-t>6)switch(Sd(e,t+1)){case 109:if(45!==Sd(e,t+4))break;case 102:return Bd(e,/(.+:)(.+)-([^]+)/,"$1"+Id+"$2-$3$1"+xd+(108==Sd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Td(e,"stretch")?yp(Bd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Sd(e,t+1))break;case 6444:switch(Sd(e,Rd(e)-3-(~Td(e,"!important")&&10))){case 107:return Bd(e,":",":"+Id)+e;case 101:return Bd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Id+(45===Sd(e,14)?"inline-":"")+"box$3$1"+Id+"$2$3$1"+yd+"$2box$3")+e}break;case 5936:switch(Sd(e,t+11)){case 114:return Id+e+yd+Bd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Id+e+yd+Bd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Id+e+yd+Bd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Id+e+yd+e+e}return e}var xp,Ip,Cp,wp=mp?void 0:(xp=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Ip=new WeakMap,function(e){if(Ip.has(e))return Ip.get(e);var t=xp(e);return Ip.set(e,t),t}),Ap=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Ad:e.return=yp(e.value,e.length);break;case Nd:return up([Hd(e,{value:Bd(e.value,"@","@"+Id)})],i);case wd:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return up([Hd(e,{props:[Bd(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return up([Hd(e,{props:[Bd(t,/:(plac\w+)/,":"+Id+"input-$1")]}),Hd(e,{props:[Bd(t,/:(plac\w+)/,":-moz-$1")]}),Hd(e,{props:[Bd(t,/:(plac\w+)/,yd+"input-$1")]})],i)}return""})}}],Np=function(e){var t=e.key;if(mp&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i,o,r=e.stylisPlugins||Ap,a={},s=[];mp&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[bp,vp];if(wp){var u=[dp],d=pp(c.concat(r,u)),p=wp(r)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=up(rp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,i){var o=t.name,r=m(e,t);return void 0===b.compat?(i&&(b.inserted[o]=!0),r):i?void(b.inserted[o]=r):r}}else{var h,g=[dp,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=pp(c.concat(r,g));o=function(e,t,n,i){h=n,up(rp(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new vd({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return b.sheet.hydrate(s),b},kp={exports:{}},Gp={};var Pp,Vp,Bp,Tp,Sp={};
|
|
6
4
|
/** @license React v16.13.1
|
|
7
5
|
* react-is.development.js
|
|
8
6
|
*
|
|
@@ -10,5 +8,5 @@ function vt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
|
|
|
10
8
|
*
|
|
11
9
|
* This source code is licensed under the MIT license found in the
|
|
12
10
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/function lm(){return im||(im=1,"production"===process.env.NODE_ENV?tm.exports=function(){if(_p)return nm;_p=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return nm.AsyncMode=l,nm.ConcurrentMode=c,nm.ContextConsumer=s,nm.ContextProvider=a,nm.Element=t,nm.ForwardRef=u,nm.Fragment=r,nm.Lazy=h,nm.Memo=m,nm.Portal=n,nm.Profiler=o,nm.StrictMode=i,nm.Suspense=d,nm.isAsyncMode=function(e){return x(e)||y(e)===l},nm.isConcurrentMode=x,nm.isContextConsumer=function(e){return y(e)===s},nm.isContextProvider=function(e){return y(e)===a},nm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},nm.isForwardRef=function(e){return y(e)===u},nm.isFragment=function(e){return y(e)===r},nm.isLazy=function(e){return y(e)===h},nm.isMemo=function(e){return y(e)===m},nm.isPortal=function(e){return y(e)===n},nm.isProfiler=function(e){return y(e)===o},nm.isStrictMode=function(e){return y(e)===i},nm.isSuspense=function(e){return y(e)===d},nm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},nm.typeOf=y,nm}():tm.exports=(rm||(rm=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case l:case c:case r:case o:case i:case d:return g;default:var f=g&&g.$$typeof;switch(f){case s:case u:case h:case m:case a:return f;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,k=r,G=h,P=m,B=n,V=o,T=i,S=d,E=!1;function R(e){return y(e)===c}sm.AsyncMode=x,sm.ConcurrentMode=I,sm.ContextConsumer=C,sm.ContextProvider=w,sm.Element=A,sm.ForwardRef=N,sm.Fragment=k,sm.Lazy=G,sm.Memo=P,sm.Portal=B,sm.Profiler=V,sm.StrictMode=T,sm.Suspense=S,sm.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},sm.isConcurrentMode=R,sm.isContextConsumer=function(e){return y(e)===s},sm.isContextProvider=function(e){return y(e)===a},sm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},sm.isForwardRef=function(e){return y(e)===u},sm.isFragment=function(e){return y(e)===r},sm.isLazy=function(e){return y(e)===h},sm.isMemo=function(e){return y(e)===m},sm.isPortal=function(e){return y(e)===n},sm.isProfiler=function(e){return y(e)===o},sm.isStrictMode=function(e){return y(e)===i},sm.isSuspense=function(e){return y(e)===d},sm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},sm.typeOf=y}()),sm)),tm.exports}!function(){if(am)return om;am=1;var e=lm(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;om=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=s(r);l&&(m=m.concat(l(r)));for(var h=o(t),g=o(r),f=0;f<m.length;++f){var b=m[f];if(!(n[b]||i&&i[b]||g&&g[b]||h&&h[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var cm="undefined"!=typeof document;var um=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===cm&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var dm={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function pm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var mm=/[A-Z]|^ms/g,hm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,gm=function(e){return 45===e.charCodeAt(1)},fm=function(e){return null!=e&&"boolean"!=typeof e},bm=pm(function(e){return gm(e)?e:e.replace(mm,"-$&").toLowerCase()}),vm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(hm,function(e,t,n){return xm={name:t,styles:n,next:xm},t})}return 1===dm[e]||gm(e)||"number"!=typeof t||0===t?t:t+"px"};function ym(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return xm={name:i.name,styles:i.styles,next:xm},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)xm={name:a.name,styles:a.styles,next:xm},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ym(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;fm(s)&&(r+=bm(o)+":"+vm(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)fm(a[l])&&(r+=bm(o)+":"+vm(o,a[l])+";");else{var c=ym(e,t,a);switch(o){case"animation":case"animationName":r+=bm(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=xm,l=n(e);return xm=s,ym(e,t,l)}}return n}var xm,Im=/label:\s*([^\s;{]+)\s*(;|$)/g;function Cm(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";xm=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ym(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=ym(n,t,e[a]),r)i+=o[a]}Im.lastIndex=0;for(var s,l="";null!==(s=Im.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:xm}}var wm="undefined"!=typeof document,Am=function(e){return e()},Nm=!!r.useInsertionEffect&&r.useInsertionEffect,km=wm&&Nm||Am,Gm="undefined"!=typeof document,Pm=r.createContext("undefined"!=typeof HTMLElement?em({key:"css"}):null);Pm.Provider;var Bm=function(e){return o(function(t,n){var r=m(Pm);return e(t,r,n)})};Gm||(Bm=function(e){return function(t){var n=m(Pm);return null===n?(n=em({key:"css"}),r.createElement(Pm.Provider,{value:n},e(t,n))):e(t,n)}});var Vm,Tm,Sm=r.createContext({}),Em={}.hasOwnProperty,Rm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Mm=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;um(t,n,i);var o=km(function(){return function(e,t,n){um(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);cm||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!cm&&0!==i.length)return i}}(t,n,i)});if(!Gm&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Xm=Bm(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[Rm],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Cm(a,void 0,r.useContext(Sm));s+=t.key+"-"+l.name;var c={};for(var u in e)Em.call(e,u)&&"css"!==u&&u!==Rm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Mm,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),Wm=Xm,Lm=function(e,t){var n=arguments;if(null==t||!Em.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Wm,o[1]=function(e,t){var n={};for(var r in t)Em.call(t,r)&&(n[r]=t[r]);return n[Rm]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function Fm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Cm(t)}Vm=Lm||(Lm={}),Tm||(Tm=Vm.JSX||(Vm.JSX={}));const Om=Math.min,Dm=Math.max,Zm=Math.round,zm=Math.floor,Hm=e=>({x:e,y:e});function jm(){return"undefined"!=typeof window}function Ym(e){return $m(e)?(e.nodeName||"").toLowerCase():"#document"}function Jm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Um(e){var t;return null==(t=($m(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $m(e){return!!jm()&&(e instanceof Node||e instanceof Jm(e).Node)}function Qm(e){return!!jm()&&(e instanceof HTMLElement||e instanceof Jm(e).HTMLElement)}function _m(e){return!(!jm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Jm(e).ShadowRoot)}const Km=new Set(["inline","contents"]);function qm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=th(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Km.has(i)}const eh=new Set(["html","body","#document"]);function th(e){return Jm(e).getComputedStyle(e)}function nh(e){const t=function(e){if("html"===Ym(e))return e;const t=e.assignedSlot||e.parentNode||_m(e)&&e.host||Um(e);return _m(t)?t.host:t}(e);return function(e){return eh.has(Ym(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Qm(t)&&qm(t)?t:nh(t)}function rh(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=nh(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Jm(i);if(o){const e=ih(a);return t.concat(a,a.visualViewport||[],qm(i)?i:[],e&&n?rh(e):[])}return t.concat(i,rh(i,[],n))}function ih(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function oh(e){return t=e,jm()&&(t instanceof Element||t instanceof Jm(t).Element)?e:e.contextElement;var t}function ah(e){const t=oh(e);if(!Qm(t))return Hm(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=th(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Qm(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Zm(n)!==o||Zm(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?Zm(n.width):n.width)/r,s=(o?Zm(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function sh(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=oh(e);let a=Hm(1);t&&(a=ah(e));const s=Hm(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Jm(o),n=ih(t);for(;n&&r&&e!==t;){const e=ah(n),r=n.getBoundingClientRect(),i=th(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Jm(n),n=ih(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function lh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ch(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,c=oh(e),u=i||o?[...c?rh(c):[],...rh(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Um(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-zm(d)+"px "+-zm(i.clientWidth-(u+p))+"px "+-zm(i.clientHeight-(d+m))+"px "+-zm(u)+"px",threshold:Dm(0,Om(1,l))||1};let g=!0;function f(t){const r=t[0].intersectionRatio;if(r!==l){if(!g)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||lh(c,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(f,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(f,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let g=l?sh(e):null;return l&&function t(){const r=sh(e);g&&!lh(g,r)&&n();g=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var uh="undefined"!=typeof document?p:function(){},dh=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ph=function(){};function mh(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function hh(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(mh(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var gh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Td(e)&&null!==e?[e]:[];var t},fh=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Md({},Fd(e,dh))},bh=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function vh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function yh(e){return vh(e)?window.pageYOffset:e.scrollTop}function xh(e,t){vh(e)?window.scrollTo(0,t):e.scrollTop=t}function Ih(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ph,i=yh(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;xh(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Ch(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?xh(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&xh(e,Math.max(t.offsetTop-i,0))}function wh(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ah=!1,Nh={get passive(){return Ah=!0}},kh="undefined"!=typeof window?window:{};kh.addEventListener&&kh.removeEventListener&&(kh.addEventListener("p",ph,Nh),kh.removeEventListener("p",ph,!1));var Gh=Ah;function Ph(e){return null!=e}function Bh(e,t,n){return e?t:n}var Vh=["children","innerProps"],Th=["children","innerProps"];function Sh(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:vh(u=l)?window.innerHeight:u.clientHeight,v=yh(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,C=b-g,w=I+v,A=d-v-g,N=m-b+v+y,k=v+g-x,G=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(A>=h&&!a)return o&&Ih(l,N,G),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&C>=r)return o&&Ih(l,N,G),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===i||a){var P=t,B=a?I:w;return B>=r&&(P=Math.min(B-y-s,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return o&&xh(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(w>=h&&!a)return o&&Ih(l,k,G),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var V=t;return(!a&&w>=r||a&&I>=r)&&(V=a?I-x:w-x),o&&Ih(l,k,G),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Eh,Rh=function(e){return"auto"===e?"bottom":e},Mh=d(null),Xh=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,u=(m(Mh)||{}).setPortalPlacement,d=a(null),p=Ld(s(r),2),h=p[0],g=p[1],f=Ld(s(null),2),b=f[0],v=f[1],y=c.spacing.controlHeight;return uh(function(){var e=d.current;if(e){var t="fixed"===o,a=Sh({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:y});g(a.maxHeight),v(a.placement),null==u||u(a.placement)}},[r,i,o,l,n,u,y]),t({ref:d,placerProps:Md(Md({},e),{},{placement:b||Rh(i),maxHeight:h})})},Wh=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Lm("div",Ic({},bh(e,"menu",{menu:!0}),{ref:n},r),t)},Lh=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Md({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Fh=Lh,Oh=Lh,Dh=["size"],Zh=["innerProps","isRtl","size"];var zh,Hh,jh="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Yh=function(e){var t=e.size,n=Fd(e,Dh);return Lm("svg",Ic({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:jh},n))},Jh=function(e){return Lm(Yh,Ic({size:20},e),Lm("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Uh=function(e){return Lm(Yh,Ic({size:20},e),Lm("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},$h=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Md({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Qh=$h,_h=$h,Kh=function(){var e=Fm.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Eh||(zh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Hh||(Hh=zh.slice(0)),Eh=Object.freeze(Object.defineProperties(zh,{raw:{value:Object.freeze(Hh)}})))),qh=function(e){var t=e.delay,n=e.offset;return Lm("span",{css:Fm({animation:"".concat(Kh," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},eg=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Lm("div",Ic({ref:i},bh(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},tg=["data"],ng=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Lm("div",Ic({},bh(e,"group",{group:!0}),s),Lm(o,Ic({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Lm("div",null,t))},rg=["innerRef","isDisabled","isHidden","inputClassName"],ig={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},og={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Md({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ig)},ag=function(e){return Md({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ig)},sg=function(e){var t=e.cx,n=e.value,r=fh(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Fd(r,rg);return Lm("div",Ic({},bh(e,"input",{"input-container":!0}),{"data-value":n||""}),Lm("input",Ic({className:t({input:!0},s),ref:i,style:ag(a),disabled:o},l)))},lg=function(e){var t=e.children,n=e.innerProps;return Lm("div",n,t)};var cg=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Lm(l,{data:r,innerProps:Md(Md({},bh(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Lm(c,{data:r,innerProps:Md({},bh(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Lm(u,{data:r,innerProps:Md(Md({},bh(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ug={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Lm("div",Ic({},bh(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Lm(Jh,null))},Control:eg,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Lm("div",Ic({},bh(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Lm(Uh,null))},DownChevron:Uh,CrossIcon:Jh,Group:ng,GroupHeading:function(e){var t=fh(e);t.data;var n=Fd(t,tg);return Lm("div",Ic({},bh(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Lm("div",Ic({},bh(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Lm("span",Ic({},t,bh(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:sg,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Fd(e,Zh);return Lm("div",Ic({},bh(Md(Md({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Lm(qh,{delay:0,offset:n}),Lm(qh,{delay:160,offset:!0}),Lm(qh,{delay:320,offset:!n}))},Menu:Wh,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Lm("div",Ic({},bh(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,l=e.menuPosition,d=a(null),p=a(null),m=Ld(s(Rh(o)),2),h=m[0],g=m[1],f=u(function(){return{setPortalPlacement:g}},[]),b=Ld(s(null),2),v=b[0],y=b[1],x=c(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,l,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);uh(function(){x()},[x]);var I=c(function(){"function"==typeof p.current&&(p.current(),p.current=null),r&&d.current&&(p.current=ch(r,d.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);uh(function(){I()},[I]);var C=c(function(e){d.current=e,I()},[I]);if(!t&&"fixed"!==l||!v)return null;var w=Lm("div",Ic({ref:C},bh(Md(Md({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Lm(Mh.Provider,{value:f},t?G(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Fd(e,Th);return Lm("div",Ic({},bh(Md(Md({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=Fd(e,Vh);return Lm("div",Ic({},bh(Md(Md({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:cg,MultiValueContainer:lg,MultiValueLabel:lg,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Lm("div",Ic({role:"button"},n),t||Lm(Jh,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Lm("div",Ic({},bh(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Lm("div",Ic({},bh(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Lm("div",Ic({},bh(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Lm("div",Ic({},bh(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Lm("div",Ic({},bh(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},dg=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function pg(e,t){return e===t||!(!dg(e)||!dg(t))}function mg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!pg(e[n],t[n]))return!1;return!0}for(var hg="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},gg=function(e){return Lm("span",Ic({css:hg},e))},fg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},bg=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,c=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,h=s.isMulti,g=s.isOptionDisabled,f=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,C=s.isLoading,w=s["aria-label"],A=s["aria-live"],N=u(function(){return Md(Md({},fg),d||{})},[d]),k=u(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,m=d?d.map(p):[],h=Md({isDisabled:c&&g(c,a),label:u,labels:m},t);n=N.onChange(h)}return n},[t,N,g,a,p]),G=u(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:c};e=N.onFocus(s)}return e},[n,r,p,g,N,i,a,c]),P=u(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,b,N,v,y,C]),B="initial-input-focus"===(null==t?void 0:t.action),V=u(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&g(n,a),isMulti:h,isSearchable:f,tabSelectsValue:I,isInitialFocus:B})}return e},[w,n,r,h,g,f,b,N,a,I,B]),T=Lm(x,null,Lm("span",{id:"aria-selection"},k),Lm("span",{id:"aria-focused"},G),Lm("span",{id:"aria-results"},P),Lm("span",{id:"aria-guidance"},V));return Lm(x,null,Lm(gg,{id:l},B&&T),Lm(gg,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!B&&T))},vg=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],yg=new RegExp("["+vg.map(function(e){return e.letters}).join("")+"]","g"),xg={},Ig=0;Ig<vg.length;Ig++)for(var Cg=vg[Ig],wg=0;wg<Cg.letters.length;wg++)xg[Cg.letters[wg]]=Cg.base;var Ag=function(e){return e.replace(yg,function(e){return xg[e]})},Ng=function(e,t){void 0===t&&(t=mg);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(Ag),kg=function(e){return e.replace(/^\s+|\s+$/g,"")},Gg=function(e){return"".concat(e.label," ").concat(e.value)},Pg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Md({ignoreCase:!0,ignoreAccents:!0,stringify:Gg,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?kg(n):n,u=s?kg(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Ng(c),u=Ag(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Bg=["innerRef"];function Vg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=Ld(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Ld(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Fd(e,Bg),"onExited","in","enter","exit","appear");return Lm("input",Ic({ref:t},n,{css:Fm({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Tg=["boxSizing","height","overflow","paddingRight","position"],Sg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Eg(e){e.cancelable&&e.preventDefault()}function Rg(e){e.stopPropagation()}function Mg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Xg(){return"ontouchstart"in window||navigator.maxTouchPoints}var Wg=!("undefined"==typeof window||!window.document||!window.document.createElement),Lg=0,Fg={capture:!1,passive:!1};var Og=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Dg="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Zg(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=a(!1),u=a(!1),d=a(0),p=a(null),m=c(function(e,t){if(null!==p.current){var a=p.current,l=a.scrollTop,c=a.scrollHeight,d=a.clientHeight,m=p.current,h=t>0,g=c-d-l,f=!1;g>t&&s.current&&(r&&r(e),s.current=!1),h&&u.current&&(o&&o(e),u.current=!1),h&&t>g?(n&&!s.current&&n(e),m.scrollTop=c,f=!0,s.current=!0):!h&&-t>l&&(i&&!u.current&&i(e),m.scrollTop=0,f=!0,u.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),h=c(function(e){m(e,e.deltaY)},[m]),g=c(function(e){d.current=e.changedTouches[0].clientY},[]),f=c(function(e){var t=d.current-e.changedTouches[0].clientY;m(e,t)},[m]),b=c(function(e){if(e){var t=!!Gh&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,h]),v=c(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,h]);return l(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=a({}),o=a(null),s=c(function(e){if(Wg){var t=document.body,n=t&&t.style;if(r&&Tg.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Lg<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(Sg).forEach(function(e){var t=Sg[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Xg()&&(t.addEventListener("touchmove",Eg,Fg),e&&(e.addEventListener("touchstart",Mg,Fg),e.addEventListener("touchmove",Rg,Fg))),Lg+=1}},[r]),u=c(function(e){if(Wg){var t=document.body,n=t&&t.style;Lg=Math.max(Lg-1,0),r&&Lg<1&&Tg.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Xg()&&(t.removeEventListener("touchmove",Eg,Fg),e&&(e.removeEventListener("touchstart",Mg,Fg),e.removeEventListener("touchmove",Rg,Fg)))}},[r]);return l(function(){if(t){var e=o.current;return s(e),function(){u(e)}}},[t,s,u]),function(e){o.current=e}}({isEnabled:n});return Lm(x,null,n&&Lm("div",{onClick:Og,css:Dg}),t(function(e){i(e),o(e)}))}var zg="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Hg=function(e){var t=e.name,n=e.onFocus;return Lm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:zg,value:"",onChange:function(){}})};function jg(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Yg(){return jg(/^Mac/i)}function Jg(){return jg(/^iPhone/i)||jg(/^iPad/i)||Yg()&&navigator.maxTouchPoints>1}var Ug={clearIndicator:_h,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return Md({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Qh,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Md({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Md({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return Md(Md({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},og),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return Md({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Oh,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return Md((Ed(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Ed(n,"position","absolute"),Ed(n,"width","100%"),Ed(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Md({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return Md({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return Md({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return Md({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:Fh,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return Md({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Md({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return Md({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Md({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},$g={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Qg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:wh(),captureMenuScroll:!wh(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Pg(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function _g(e,t,n,r){return{type:"option",data:t,isDisabled:af(e,t,n),isSelected:sf(e,t,n),label:rf(e,t),value:of(e,t),index:r}}function Kg(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return _g(e,n,t,r)}).filter(function(t){return tf(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=_g(e,n,t,r);return tf(e,o)?o:void 0}).filter(Ph)}function qg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Yd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ef(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Yd(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function tf(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!cf(e)||!o)&&lf(e,{label:a,value:s,data:i},r)}var nf=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},rf=function(e,t){return e.getOptionLabel(t)},of=function(e,t){return e.getOptionValue(t)};function af(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function sf(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=of(e,t);return n.some(function(t){return of(e,t)===r})}function lf(e,t,n){return!e.filterOption||e.filterOption(t,n)}var cf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},uf=1,df=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zd(e,t)}(t,C);var e=function(e){var t=Hd();return function(){var n,r=zd(e);if(t){var i=zd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jd(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Yd(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=Bh(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Bh(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=Bh(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return nf(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return ef(Kg(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return hh.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return rf(r.props,e)},r.getOptionValue=function(e){return of(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Ug[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Md(Md({},ug),e.components);var e},r.buildCategorizedOptions=function(){return Kg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return qg(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Md({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&vh(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return cf(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,g=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,f))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++uf),r.state.selectValue=gh(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=nf(i,o[a])}return r}return function(e,t,n){t&&Dd(e.prototype,t),n&&Dd(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ch(this.menuListRef,this.focusedOptionRef),(Yg()||Jg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ch(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($g):Md(Md({},$g),this.props.theme):$g}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return af(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return sf(this.props,e,t)}},{key:"filterOption",value:function(e,t){return lf(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,g=i||this.getElementId("input"),f=Md(Md(Md({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Ic({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},f)):r.createElement(Vg,Ic({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ph,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,Ic({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Ic({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return r.createElement(s,Ic({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Ic({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Ic({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Ic({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Ic({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,g=m.inputValue,f=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,I=m.menuPlacement,C=m.menuPosition,w=m.menuPortalTarget,A=m.menuShouldBlockScroll,N=m.menuShouldScrollIntoView,k=m.noOptionsMessage,G=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!x)return null;var B,V=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===o,h=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Ic({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:f,label:l,type:i,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,Ic({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return V(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return V(t,"".concat(t.index))});else if(f){var T=b({inputValue:g});if(null===T)return null;B=r.createElement(l,d,T)}else{var S=k({inputValue:g});if(null===S)return null;B=r.createElement(c,d,S)}var E={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},R=r.createElement(Xh,Ic({},d,E),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,Ic({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),r.createElement(Zg,{captureEnabled:h,onTopArrive:G,onBottomArrive:P,lockEnabled:A},function(t){return r.createElement(a,Ic({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:p}),B)}))});return w||"fixed"===C?r.createElement(s,Ic({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(Hg,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(bg,Ic({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Ic({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Ic({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Ic({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Ic({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=gh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return qg(Kg(e,t))}(e,h):[],b=d?ef(Kg(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:h,focusedOption:y,focusedOptionId:nf(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,C=a&&s;return a&&!C&&(I={value:Bh(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),Md(Md(Md({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();df.defaultProps=Qg;var pf=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,l=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,m=e.onMenuClose,h=e.onMenuOpen,g=e.value,f=Fd(e,Od),b=Ld(s(void 0!==l?l:n),2),v=b[0],y=b[1],x=Ld(s(void 0!==u?u:i),2),I=x[0],C=x[1],w=Ld(s(void 0!==g?g:a),2),A=w[0],N=w[1],k=c(function(e,t){"function"==typeof d&&d(e,t),N(e)},[d]),G=c(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),P=c(function(){"function"==typeof h&&h(),C(!0)},[h]),B=c(function(){"function"==typeof m&&m(),C(!1)},[m]),V=void 0!==l?l:v,T=void 0!==u?u:I,S=void 0!==g?g:A;return Md(Md({},f),{},{inputValue:V,menuIsOpen:T,onChange:k,onInputChange:G,onMenuClose:B,onMenuOpen:P,value:S})}(e);return r.createElement(df,Ic({ref:t},n))}),mf=pf;const hf=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=u(()=>Pg(d),[d]),A=u(()=>({control:({isFocused:e})=>Ct("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ct(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ct("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ct("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,h,n,p,v]);return"unstyled"===y?e(mf,{options:n,value:o,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:Ct("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[f&&e("label",{className:Ct("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(mf,{options:n,value:o,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:Ct("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}),m&&e(Pt,{className:"footnote mt-1 text-text-critical",children:m}),!m&&g&&e(Pt,{className:"footnote mt-1 text-text-info",children:g})]})});function gf({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=P(),c=B(),u=V();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(Pt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(Pt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(Pt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(Pt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(hf,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Vt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(Pt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(Vd,{currentPage:i,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}hf.displayName="Select";const ff=n=>{const{links:r=[],textColor:i="dark",maxWidth:o=!0}=n,a="dark"===i?"text-white xl:text-text":"text-text xl:text-white";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(o?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e("ol",{className:"relative right-0 z-10 mt-4 flex w-full flex-nowrap items-center gap-2 xl:absolute xl:flex-wrap",children:r.map((n,i)=>i===r.length-1?e("li",{className:"flex min-w-0 items-center",children:e(Pt,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})},i):t("li",{className:"flex flex-none items-center",children:[e(Rt,{...n,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(Nt,{name:"chevron_right",className:`${a} `})]},i))})}):null},bf=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:l,searchInputPlaceholder:c,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[g,f]=s("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(Pt,{as:a?"h1":"h2",className:Ct("heading2 md:heading1"),children:i}),o&&e(Pt,{as:"div",className:Ct("subheading2 mt-2 md:subheading1"),children:o})]}),l?e(Pt,{className:"heading6 text-center",children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(wt,{type:"submit",className:"ml-2 inline-flex",children:e(Nt,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(dn,{value:g,onChange:e=>f(e.target.value),placeholder:c,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},vf={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}},yf=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=vf[null==i?void 0:i.toLowerCase()]||vf.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Ct(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(Pt,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:r}),d]})};function xf(r){var i,o,a;const[c,u]=s(0),[d,p]=s(""),{title:m,subTitle:h,tabs:g,tabsContent:f,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;l(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),l(()=>{var e;null===(e=null==g?void 0:g.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return u(t),!0})},[g,d]);const y=(e,t)=>{u(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(i=null==g?void 0:g.items)||void 0===i?void 0:i.map((t,n)=>e(Rt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ct("py-2 whitespace-nowrap",n===c?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==f?void 0:f.map((t,n)=>e("div",{children:e(xc,{children:e(mc.div,{initial:{height:0,opacity:0},animate:{height:n===c?"auto":0,opacity:n===c?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),I=e(n,{children:null===(o=null==g?void 0:g.items)||void 0===o?void 0:o.map((n,r)=>t("div",{className:"py-5",children:[t(Rt,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ct("w-full flex justify-between items-center px-4 py-5",r===c?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(Nt,{name:r===c?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(At,{open:r===c,children:e("div",{className:Ct("px-4 py-4"),children:null==f?void 0:f[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==g?void 0:g.items)||void 0===a?void 0:a.map((t,n)=>e(Rt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ct("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===c?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==f?void 0:f.map((t,n)=>e("div",{children:e(xc,{children:e(mc.div,{initial:{height:0,opacity:0},animate:{height:n===c?"auto":0,opacity:n===c?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[m||h?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[m?e(Pt,{className:"heading2 px-5 md:heading1 md:text-center",children:m}):null,h?e(Pt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:h}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}const If=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===r||!r?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[r]:"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(Nt,{name:i,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Cf({content:n}){let r=3;const[i,o]=s(!1),[c,u]=s(!1),d=a(null);l(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=yt.get(e);return t?bt(t):null}("cookieBannerClosed");o("true"!==e)},[]),l(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),l(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),l(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,c]);c&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] md:max-w-[656px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Rt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=ft(r);yt.set(e,i,n)})("cookieBannerClosed","true",{expires:e})},children:e(Nt,{name:"close"})}),n.richText?e("div",{className:"my-4 mx-auto [&>a]:footnote",children:n.richText}):null]}):null}export{Bt as Accordion,yf as AddressInputBanner,If as AnchoredBottomBanner,Vt as BlogCard,gf as BlogGrid,ff as BreadcrumbNavigation,Rt as Button,Ft as Callout,Ot as Cards,qt as Carousel,Bd as ComparisonTable,Cf as CookieBanner,Gd as CtaCallout,xf as DynamicTabs,Pd as FindKinetic,en as FloatingBanner,tn as Footer,an as ImagePromoBar,Nd as Modal,pn as Navigation,fn as PrimaryHero,Jt as ProductCard,bf as SearchBlock,kd as ShapeBackgroundWrapper,Lt as SimpleCard,Ut as TestimonialCard,bn as Text};
|
|
11
|
+
*/function Ep(){return Vp||(Vp=1,"production"===process.env.NODE_ENV?kp.exports=function(){if(Cp)return Gp;Cp=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case i:case r:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Gp.AsyncMode=l,Gp.ConcurrentMode=c,Gp.ContextConsumer=s,Gp.ContextProvider=a,Gp.Element=t,Gp.ForwardRef=u,Gp.Fragment=i,Gp.Lazy=h,Gp.Memo=m,Gp.Portal=n,Gp.Profiler=r,Gp.StrictMode=o,Gp.Suspense=d,Gp.isAsyncMode=function(e){return x(e)||y(e)===l},Gp.isConcurrentMode=x,Gp.isContextConsumer=function(e){return y(e)===s},Gp.isContextProvider=function(e){return y(e)===a},Gp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Gp.isForwardRef=function(e){return y(e)===u},Gp.isFragment=function(e){return y(e)===i},Gp.isLazy=function(e){return y(e)===h},Gp.isMemo=function(e){return y(e)===m},Gp.isPortal=function(e){return y(e)===n},Gp.isProfiler=function(e){return y(e)===r},Gp.isStrictMode=function(e){return y(e)===o},Gp.isSuspense=function(e){return y(e)===d},Gp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Gp.typeOf=y,Gp}():kp.exports=(Pp||(Pp=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case l:case c:case i:case r:case o:case d:return g;default:var f=g&&g.$$typeof;switch(f){case s:case u:case h:case m:case a:return f;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,k=i,G=h,P=m,V=n,B=r,T=o,S=d,E=!1;function R(e){return y(e)===c}Sp.AsyncMode=x,Sp.ConcurrentMode=I,Sp.ContextConsumer=C,Sp.ContextProvider=w,Sp.Element=A,Sp.ForwardRef=N,Sp.Fragment=k,Sp.Lazy=G,Sp.Memo=P,Sp.Portal=V,Sp.Profiler=B,Sp.StrictMode=T,Sp.Suspense=S,Sp.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},Sp.isConcurrentMode=R,Sp.isContextConsumer=function(e){return y(e)===s},Sp.isContextProvider=function(e){return y(e)===a},Sp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Sp.isForwardRef=function(e){return y(e)===u},Sp.isFragment=function(e){return y(e)===i},Sp.isLazy=function(e){return y(e)===h},Sp.isMemo=function(e){return y(e)===m},Sp.isPortal=function(e){return y(e)===n},Sp.isProfiler=function(e){return y(e)===r},Sp.isStrictMode=function(e){return y(e)===o},Sp.isSuspense=function(e){return y(e)===d},Sp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Sp.typeOf=y}()),Sp)),kp.exports}!function(){if(Tp)return Bp;Tp=1;var e=Ep(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function r(n){return e.isMemo(n)?i:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=i;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Bp=function e(t,i,o){if("string"!=typeof i){if(d){var p=u(i);p&&p!==d&&e(t,p,o)}var m=s(i);l&&(m=m.concat(l(i)));for(var h=r(t),g=r(i),f=0;f<m.length;++f){var b=m[f];if(!(n[b]||o&&o[b]||g&&g[b]||h&&h[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Rp="undefined"!=typeof document;var Mp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===Rp&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var Xp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Wp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Lp=/[A-Z]|^ms/g,Fp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Op=function(e){return 45===e.charCodeAt(1)},Dp=function(e){return null!=e&&"boolean"!=typeof e},Zp=Wp(function(e){return Op(e)?e:e.replace(Lp,"-$&").toLowerCase()}),zp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Fp,function(e,t,n){return jp={name:t,styles:n,next:jp},t})}return 1===Xp[e]||Op(e)||"number"!=typeof t||0===t?t:t+"px"};function Hp(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return jp={name:o.name,styles:o.styles,next:jp},o.name;var r=n;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)jp={name:a.name,styles:a.styles,next:jp},a=a.next;return r.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=Hp(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a){var s=a;Dp(s)&&(i+=Zp(r)+":"+zp(r,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Dp(a[l])&&(i+=Zp(r)+":"+zp(r,a[l])+";");else{var c=Hp(e,t,a);switch(r){case"animation":case"animationName":i+=Zp(r)+":"+c+";";break;default:i+=r+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=jp,l=n(e);return jp=s,Hp(e,t,l)}}return n}var jp,Yp=/label:\s*([^\s;{]+)\s*(;|$)/g;function Jp(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,o="";jp=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=Hp(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++){if(o+=Hp(n,t,e[a]),i)o+=r[a]}Yp.lastIndex=0;for(var s,l="";null!==(s=Yp.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,i=0,o=e.length;o>=4;++i,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:jp}}var Up="undefined"!=typeof document,$p=function(e){return e()},Qp=!!i.useInsertionEffect&&i.useInsertionEffect,_p=Up&&Qp||$p,Kp="undefined"!=typeof document,qp=i.createContext("undefined"!=typeof HTMLElement?Np({key:"css"}):null);qp.Provider;var em=function(e){return r(function(t,n){var i=m(qp);return e(t,i,n)})};Kp||(em=function(e){return function(t){var n=m(qp);return null===n?(n=Np({key:"css"}),i.createElement(qp.Provider,{value:n},e(t,n))):e(t,n)}});var tm,nm,im=i.createContext({}),om={}.hasOwnProperty,rm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",am=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Mp(t,n,o);var r=_p(function(){return function(e,t,n){Mp(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",r=t;do{var a=e.insert(t===r?"."+i:"",r,e.sheet,!0);Rp||void 0===a||(o+=a),r=r.next}while(void 0!==r);if(!Rp&&0!==o.length)return o}}(t,n,o)});if(!Kp&&void 0!==r){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return i.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:r},a.nonce=t.sheet.nonce,a))}return null},sm=em(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[rm],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var i="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")}),i}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Jp(a,void 0,i.useContext(im));s+=t.key+"-"+l.name;var c={};for(var u in e)om.call(e,u)&&"css"!==u&&u!==rm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(am,{cache:t,serialized:l,isStringTag:"string"==typeof r}),i.createElement(r,c))}),lm=sm,cm=function(e,t){var n=arguments;if(null==t||!om.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=lm,r[1]=function(e,t){var n={};for(var i in t)om.call(t,i)&&(n[i]=t[i]);return n[rm]=e,n}(e,t);for(var a=2;a<o;a++)r[a]=n[a];return i.createElement.apply(null,r)};function um(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jp(t)}tm=cm||(cm={}),nm||(nm=tm.JSX||(tm.JSX={}));const dm=Math.min,pm=Math.max,mm=Math.round,hm=Math.floor,gm=e=>({x:e,y:e});function fm(){return"undefined"!=typeof window}function bm(e){return xm(e)?(e.nodeName||"").toLowerCase():"#document"}function vm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ym(e){var t;return null==(t=(xm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function xm(e){return!!fm()&&(e instanceof Node||e instanceof vm(e).Node)}function Im(e){return!!fm()&&(e instanceof HTMLElement||e instanceof vm(e).HTMLElement)}function Cm(e){return!(!fm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof vm(e).ShadowRoot)}const wm=new Set(["inline","contents"]);function Am(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=km(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!wm.has(o)}const Nm=new Set(["html","body","#document"]);function km(e){return vm(e).getComputedStyle(e)}function Gm(e){const t=function(e){if("html"===bm(e))return e;const t=e.assignedSlot||e.parentNode||Cm(e)&&e.host||ym(e);return Cm(t)?t.host:t}(e);return function(e){return Nm.has(bm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Im(t)&&Am(t)?t:Gm(t)}function Pm(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Gm(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=vm(o);if(r){const e=Vm(a);return t.concat(a,a.visualViewport||[],Am(o)?o:[],e&&n?Pm(e):[])}return t.concat(o,Pm(o,[],n))}function Vm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bm(e){return t=e,fm()&&(t instanceof Element||t instanceof vm(t).Element)?e:e.contextElement;var t}function Tm(e){const t=Bm(e);if(!Im(t))return gm(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=function(e){const t=km(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=Im(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=mm(n)!==r||mm(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}(t);let a=(r?mm(n.width):n.width)/i,s=(r?mm(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Sm(e,t,n,i){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),r=Bm(e);let a=gm(1);t&&(a=Tm(e));const s=gm(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(r){const e=i;let t=vm(r),n=Vm(t);for(;n&&i&&e!==t;){const e=Tm(n),i=n.getBoundingClientRect(),o=km(n),r=i.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=i.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=r,c+=a,t=vm(n),n=Vm(t)}}return function(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Rm(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=Bm(e),u=o||r?[...c?Pm(c):[],...Pm(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,i=null;const o=ym(e);function r(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),r();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-hm(d)+"px "+-hm(o.clientWidth-(u+p))+"px "+-hm(o.clientHeight-(d+m))+"px "+-hm(u)+"px",threshold:pm(0,dm(1,l))||1};let g=!0;function f(t){const i=t[0].intersectionRatio;if(i!==l){if(!g)return a();i?a(!1,i):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==i||Em(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...h,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(f,h)}i.observe(e)}(!0),r}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let g=l?Sm(e):null;return l&&function t(){const i=Sm(e);g&&!Em(g,i)&&n();g=i,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Mm="undefined"!=typeof document?p:function(){},Xm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Wm=function(){};function Lm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Fm(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=[].concat(i);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(Lm(e,a)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Om=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===nd(e)&&null!==e?[e]:[];var t},Dm=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,ad({},ud(e,Xm))},Zm=function(e,t,n){var i=e.cx,o=e.getStyles,r=e.getClassNames,a=e.className;return{css:o(t,e),className:i(null!=n?n:{},r(t,e),a)}};function zm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Hm(e){return zm(e)?window.pageYOffset:e.scrollTop}function jm(e,t){zm(e)?window.scrollTo(0,t):e.scrollTop=t}function Ym(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Wm,o=Hm(e),r=t-o,a=0;!function t(){var s,l=r*((s=(s=a+=10)/n-1)*s*s+1)+o;jm(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function Jm(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?jm(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&jm(e,Math.max(t.offsetTop-o,0))}function Um(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var $m=!1,Qm={get passive(){return $m=!0}},_m="undefined"!=typeof window?window:{};_m.addEventListener&&_m.removeEventListener&&(_m.addEventListener("p",Wm,Qm),_m.removeEventListener("p",Wm,!1));var Km=$m;function qm(e){return null!=e}function eh(e,t,n){return e?t:n}var th=["children","innerProps"],nh=["children","innerProps"];function ih(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,o=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,i=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:zm(u=l)?window.innerHeight:u.clientHeight,v=Hm(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,C=b-g,w=I+v,A=d-v-g,N=m-b+v+y,k=v+g-x,G=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(A>=h&&!a)return r&&Ym(l,N,G),{placement:"bottom",maxHeight:t};if(!a&&A>=i||a&&C>=i)return r&&Ym(l,N,G),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===o||a){var P=t,V=a?I:w;return V>=i&&(P=Math.min(V-y-s,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return r&&jm(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(w>=h&&!a)return r&&Ym(l,k,G),{placement:"top",maxHeight:t};if(!a&&w>=i||a&&I>=i){var B=t;return(!a&&w>=i||a&&I>=i)&&(B=a?I-x:w-x),r&&Ym(l,k,G),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var oh,rh=function(e){return"auto"===e?"bottom":e},ah=d(null),sh=function(e){var t=e.children,n=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,r=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,u=(m(ah)||{}).setPortalPlacement,d=a(null),p=cd(s(i),2),h=p[0],g=p[1],f=cd(s(null),2),b=f[0],v=f[1],y=c.spacing.controlHeight;return Mm(function(){var e=d.current;if(e){var t="fixed"===r,a=ih({maxHeight:i,menuEl:e,minHeight:n,placement:o,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:y});g(a.maxHeight),v(a.placement),null==u||u(a.placement)}},[i,o,r,l,n,u,y]),t({ref:d,placerProps:ad(ad({},e),{},{placement:b||rh(o),maxHeight:h})})},lh=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return cm("div",Yl({},Zm(e,"menu",{menu:!0}),{ref:n},i),t)},ch=function(e,t){var n=e.theme,i=n.spacing.baseUnit,o=n.colors;return ad({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},uh=ch,dh=ch,ph=["size"],mh=["innerProps","isRtl","size"];var hh,gh,fh="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},bh=function(e){var t=e.size,n=ud(e,ph);return cm("svg",Yl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:fh},n))},vh=function(e){return cm(bh,Yl({size:20},e),cm("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},yh=function(e){return cm(bh,Yl({size:20},e),cm("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},xh=function(e,t){var n=e.isFocused,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return ad({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*o,":hover":{color:n?r.neutral80:r.neutral40}})},Ih=xh,Ch=xh,wh=function(){var e=um.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(oh||(hh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],gh||(gh=hh.slice(0)),oh=Object.freeze(Object.defineProperties(hh,{raw:{value:Object.freeze(gh)}})))),Ah=function(e){var t=e.delay,n=e.offset;return cm("span",{css:um({animation:"".concat(wh," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Nh=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return cm("div",Yl({ref:o},Zm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},kh=["data"],Gh=function(e){var t=e.children,n=e.cx,i=e.getStyles,o=e.getClassNames,r=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return cm("div",Yl({},Zm(e,"group",{group:!0}),s),cm(r,Yl({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:o,cx:n}),l),cm("div",null,t))},Ph=["innerRef","isDisabled","isHidden","inputClassName"],Vh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Bh={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ad({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Vh)},Th=function(e){return ad({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Vh)},Sh=function(e){var t=e.cx,n=e.value,i=Dm(e),o=i.innerRef,r=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=ud(i,Ph);return cm("div",Yl({},Zm(e,"input",{"input-container":!0}),{"data-value":n||""}),cm("input",Yl({className:t({input:!0},s),ref:o,style:Th(a),disabled:r},l)))},Eh=function(e){var t=e.children,n=e.innerProps;return cm("div",n,t)};var Rh=function(e){var t=e.children,n=e.components,i=e.data,o=e.innerProps,r=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return cm(l,{data:i,innerProps:ad(ad({},Zm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),o),selectProps:s},cm(c,{data:i,innerProps:ad({},Zm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),cm(u,{data:i,innerProps:ad(ad({},Zm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Mh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return cm("div",Yl({},Zm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||cm(vh,null))},Control:Nh,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return cm("div",Yl({},Zm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||cm(yh,null))},DownChevron:yh,CrossIcon:vh,Group:Gh,GroupHeading:function(e){var t=Dm(e);t.data;var n=ud(t,kh);return cm("div",Yl({},Zm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return cm("div",Yl({},Zm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return cm("span",Yl({},t,Zm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Sh,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,o=void 0===i?4:i,r=ud(e,mh);return cm("div",Yl({},Zm(ad(ad({},r),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),cm(Ah,{delay:0,offset:n}),cm(Ah,{delay:160,offset:!0}),cm(Ah,{delay:320,offset:!n}))},Menu:lh,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,o=e.isMulti;return cm("div",Yl({},Zm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,i=e.controlElement,o=e.innerProps,r=e.menuPlacement,l=e.menuPosition,d=a(null),p=a(null),m=cd(s(rh(r)),2),h=m[0],g=m[1],f=u(function(){return{setPortalPlacement:g}},[]),b=cd(s(null),2),v=b[0],y=b[1],x=c(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[i,l,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Mm(function(){x()},[x]);var I=c(function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&d.current&&(p.current=Rm(i,d.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);Mm(function(){I()},[I]);var C=c(function(e){d.current=e,I()},[I]);if(!t&&"fixed"!==l||!v)return null;var w=cm("div",Yl({ref:C},Zm(ad(ad({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return cm(ah.Provider,{value:f},t?V(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,o=ud(e,nh);return cm("div",Yl({},Zm(ad(ad({},o),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,o=ud(e,th);return cm("div",Yl({},Zm(ad(ad({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Rh,MultiValueContainer:Eh,MultiValueLabel:Eh,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return cm("div",Yl({role:"button"},n),t||cm(vh,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.innerRef,a=e.innerProps;return cm("div",Yl({},Zm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":o}),{ref:r,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return cm("div",Yl({},Zm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,o=e.isRtl;return cm("div",Yl({},Zm(e,"container",{"--is-disabled":i,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return cm("div",Yl({},Zm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,i=e.isMulti,o=e.hasValue;return cm("div",Yl({},Zm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),n),t)}},Xh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Wh(e,t){return e===t||!(!Xh(e)||!Xh(t))}function Lh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Wh(e[n],t[n]))return!1;return!0}for(var Fh="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Oh=function(e){return cm("span",Yl({css:Fh},e))},Dh={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,o=e.context,r=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,i=void 0===n?"":n,o=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(i,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,o=e.label,r=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(r).concat(p,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Zh=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,r=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,c=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,h=s.isMulti,g=s.isOptionDisabled,f=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,C=s.isLoading,w=s["aria-label"],A=s["aria-live"],N=u(function(){return ad(ad({},Dh),d||{})},[d]),k=u(function(){var e,n="";if(t&&N.onChange){var i=t.option,o=t.options,r=t.removedValue,s=t.removedValues,l=t.value,c=r||i||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,m=d?d.map(p):[],h=ad({isDisabled:c&&g(c,a),label:u,labels:m},t);n=N.onChange(h)}return n},[t,N,g,a,p]),G=u(function(){var e="",t=n||i,r=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:r,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:c};e=N.onFocus(s)}return e},[n,i,p,g,N,o,a,c]),P=u(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:o.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[o,m,b,N,v,y,C]),V="initial-input-focus"===(null==t?void 0:t.action),B=u(function(){var e="";if(N.guidance){var t=i?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&g(n,a),isMulti:h,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[w,n,i,h,g,f,b,N,a,I,V]),T=cm(x,null,cm("span",{id:"aria-selection"},k),cm("span",{id:"aria-focused"},G),cm("span",{id:"aria-results"},P),cm("span",{id:"aria-guidance"},B));return cm(x,null,cm(Oh,{id:l},V&&T),cm(Oh,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!V&&T))},zh=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Hh=new RegExp("["+zh.map(function(e){return e.letters}).join("")+"]","g"),jh={},Yh=0;Yh<zh.length;Yh++)for(var Jh=zh[Yh],Uh=0;Uh<Jh.letters.length;Uh++)jh[Jh.letters[Uh]]=Jh.base;var $h=function(e){return e.replace(Hh,function(e){return jh[e]})},Qh=function(e,t){void 0===t&&(t=Lh);var n=null;function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var r=e.apply(this,i);return n={lastResult:r,lastArgs:i,lastThis:this},r}return i.clear=function(){n=null},i}($h),_h=function(e){return e.replace(/^\s+|\s+$/g,"")},Kh=function(e){return"".concat(e.label," ").concat(e.value)},qh=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=ad({ignoreCase:!0,ignoreAccents:!0,stringify:Kh,trim:!0,matchFrom:"any"},e),o=i.ignoreCase,r=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?_h(n):n,u=s?_h(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=Qh(c),u=$h(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},eg=["innerRef"];function tg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=Object.entries(e).filter(function(e){var t=cd(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=cd(t,2),i=n[0],o=n[1];return e[i]=o,e},{})}(ud(e,eg),"onExited","in","enter","exit","appear");return cm("input",Yl({ref:t},n,{css:um({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var ng=["boxSizing","height","overflow","paddingRight","position"],ig={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function og(e){e.cancelable&&e.preventDefault()}function rg(e){e.stopPropagation()}function ag(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function sg(){return"ontouchstart"in window||navigator.maxTouchPoints}var lg=!("undefined"==typeof window||!window.document||!window.document.createElement),cg=0,ug={capture:!1,passive:!1};var dg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},pg="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function mg(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,r=e.onTopLeave,s=a(!1),u=a(!1),d=a(0),p=a(null),m=c(function(e,t){if(null!==p.current){var a=p.current,l=a.scrollTop,c=a.scrollHeight,d=a.clientHeight,m=p.current,h=t>0,g=c-d-l,f=!1;g>t&&s.current&&(i&&i(e),s.current=!1),h&&u.current&&(r&&r(e),u.current=!1),h&&t>g?(n&&!s.current&&n(e),m.scrollTop=c,f=!0,s.current=!0):!h&&-t>l&&(o&&!u.current&&o(e),m.scrollTop=0,f=!0,u.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,o,r]),h=c(function(e){m(e,e.deltaY)},[m]),g=c(function(e){d.current=e.changedTouches[0].clientY},[]),f=c(function(e){var t=d.current-e.changedTouches[0].clientY;m(e,t)},[m]),b=c(function(e){if(e){var t=!!Km&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,h]),v=c(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,h]);return l(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,o=a({}),r=a(null),s=c(function(e){if(lg){var t=document.body,n=t&&t.style;if(i&&ng.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&cg<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(ig).forEach(function(e){var t=ig[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&sg()&&(t.addEventListener("touchmove",og,ug),e&&(e.addEventListener("touchstart",ag,ug),e.addEventListener("touchmove",rg,ug))),cg+=1}},[i]),u=c(function(e){if(lg){var t=document.body,n=t&&t.style;cg=Math.max(cg-1,0),i&&cg<1&&ng.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&sg()&&(t.removeEventListener("touchmove",og,ug),e&&(e.removeEventListener("touchstart",ag,ug),e.removeEventListener("touchmove",rg,ug)))}},[i]);return l(function(){if(t){var e=r.current;return s(e),function(){u(e)}}},[t,s,u]),function(e){r.current=e}}({isEnabled:n});return cm(x,null,n&&cm("div",{onClick:dg,css:pg}),t(function(e){o(e),r(e)}))}var hg="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},gg=function(e){var t=e.name,n=e.onFocus;return cm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:hg,value:"",onChange:function(){}})};function fg(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function bg(){return fg(/^Mac/i)}function vg(){return fg(/^iPhone/i)||fg(/^iPad/i)||bg()&&navigator.maxTouchPoints>1}var yg={clearIndicator:Ch,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.theme,r=o.colors,a=o.borderRadius;return ad({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:i?r.primary:r.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:i?r.primary:r.neutral30}})},dropdownIndicator:Ih,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,i=n.colors,o=n.spacing;return ad({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return ad({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,i=e.value,o=e.theme,r=o.spacing,a=o.colors;return ad(ad({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Bh),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,i=e.size,o=e.theme,r=o.colors,a=o.spacing.baseUnit;return ad({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*a})},loadingMessage:dh,menu:function(e,t){var n,i=e.placement,o=e.theme,r=o.borderRadius,a=o.spacing,s=o.colors;return ad((od(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),od(n,"position","absolute"),od(n,"width","100%"),od(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,i=e.theme.spacing.baseUnit;return ad({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},menuPortal:function(e){var t=e.rect,n=e.offset,i=e.position;return{left:t.left,position:i,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors;return ad({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,i=n.borderRadius,o=n.colors,r=e.cropWithEllipsis;return ad({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors,a=e.isFocused;return ad({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?r.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:uh,option:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return ad({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:i?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,i=n.spacing,o=n.colors;return ad({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing,r=i.colors;return ad({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,i=e.isMulti,o=e.hasValue,r=e.selectProps.controlShouldRenderValue;return ad({alignItems:"center",display:i&&o&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},xg={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ig={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Um(),captureMenuScroll:!Um(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:qh(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Cg(e,t,n,i){return{type:"option",data:t,isDisabled:Bg(e,t,n),isSelected:Tg(e,t,n),label:Pg(e,t),value:Vg(e,t),index:i}}function wg(e,t){return e.options.map(function(n,i){if("options"in n){var o=n.options.map(function(n,i){return Cg(e,n,t,i)}).filter(function(t){return kg(e,t)});return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=Cg(e,n,t,i);return kg(e,r)?r:void 0}).filter(qm)}function Ag(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,bd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ng(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,bd(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function kg(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!Eg(e)||!r)&&Sg(e,{label:a,value:s,data:o},i)}var Gg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Pg=function(e,t){return e.getOptionLabel(t)},Vg=function(e,t){return e.getOptionValue(t)};function Bg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Tg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=Vg(e,t);return n.some(function(t){return Vg(e,t)===i})}function Sg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Eg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Rg=1,Mg=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&md(e,t)}(t,C);var e=function(e){var t=gd();return function(){var n,i=hd(e);if(t){var o=hd(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return fd(this,n)}}(t);function t(n){var i;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(e){i.controlRef=e},i.focusedOptionRef=null,i.getFocusedOptionRef=function(e){i.focusedOptionRef=e},i.menuListRef=null,i.getMenuListRef=function(e){i.menuListRef=e},i.inputRef=null,i.getInputRef=function(e){i.inputRef=e},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(e,t){var n=i.props,o=n.onChange,r=n.name;t.name=r,i.ariaOnChange(e,t),o(e,t)},i.setValue=function(e,t,n){var o=i.props,r=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(i.setState({inputIsHiddenAfterUpdate:!a}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(e,{action:t,option:n})},i.selectOption=function(e){var t=i.props,n=t.blurInputOnSelect,o=t.isMulti,r=t.name,a=i.state.selectValue,s=o&&i.isOptionSelected(e,a),l=i.isOptionDisabled(e,a);if(s){var c=i.getOptionValue(e);i.setValue(a.filter(function(e){return i.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void i.ariaOnChange(e,{action:"select-option",option:e,name:r});o?i.setValue([].concat(bd(a),[e]),"select-option",e):i.setValue(e,"select-option")}n&&i.blurInput()},i.removeValue=function(e){var t=i.props.isMulti,n=i.state.selectValue,o=i.getOptionValue(e),r=n.filter(function(e){return i.getOptionValue(e)!==o}),a=eh(t,r,r[0]||null);i.onChange(a,{action:"remove-value",removedValue:e}),i.focusInput()},i.clearValue=function(){var e=i.state.selectValue;i.onChange(eh(i.props.isMulti,[],null),{action:"clear",removedValues:e})},i.popValue=function(){var e=i.props.isMulti,t=i.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),r=eh(e,o,o[0]||null);n&&i.onChange(r,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return Gg(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return Ng(wg(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Fm.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return Pg(i.props,e)},i.getOptionValue=function(e){return Vg(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,o=yg[e](t,n);o.boxSizing="border-box";var r=i.props.styles[e];return r?r(o,t):o},i.getClassNames=function(e,t){var n,o;return null===(n=(o=i.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},i.getElementId=function(e){return"".concat(i.state.instancePrefix,"-").concat(e)},i.getComponents=function(){return e=i.props,ad(ad({},Mh),e.components);var e},i.buildCategorizedOptions=function(){return wg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Ag(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:ad({value:e},t)})},i.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(e){i.blockOptionHover=!1},i.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&i.onMenuClose():t&&i.openMenu("first"):(t&&(i.openAfterFocus=!0),i.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},i.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||i.props.isDisabled)){var t=i.props,n=t.isMulti,o=t.menuIsOpen;i.focusInput(),o?(i.setState({inputIsHiddenAfterUpdate:!n}),i.onMenuClose()):i.openMenu("first"),e.preventDefault()}},i.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(i.clearValue(),e.preventDefault(),i.openAfterFocus=!1,"touchend"===e.type?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(e){"boolean"==typeof i.props.closeMenuOnScroll?e.target instanceof HTMLElement&&zm(e.target)&&i.props.onMenuClose():"function"==typeof i.props.closeMenuOnScroll&&i.props.closeMenuOnScroll(e)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(i.initialTouchX=n.clientX,i.initialTouchY=n.clientY,i.userIsDragging=!1)},i.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-i.initialTouchX),r=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=o>5||r>5}},i.onTouchEnd=function(e){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(e.target)&&i.menuListRef&&!i.menuListRef.contains(e.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(e){i.userIsDragging||i.onControlMouseDown(e)},i.onClearIndicatorTouchEnd=function(e){i.userIsDragging||i.onClearIndicatorMouseDown(e)},i.onDropdownIndicatorTouchEnd=function(e){i.userIsDragging||i.onDropdownIndicatorMouseDown(e)},i.handleInputChange=function(e){var t=i.props.inputValue,n=e.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(n,{action:"input-change",prevInputValue:t}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(e){i.props.onFocus&&i.props.onFocus(e),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(e){var t=i.props.inputValue;i.menuListRef&&i.menuListRef.contains(document.activeElement)?i.inputRef.focus():(i.props.onBlur&&i.props.onBlur(e),i.onInputChange("",{action:"input-blur",prevInputValue:t}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1}))},i.onOptionHover=function(e){if(!i.blockOptionHover&&i.state.focusedOption!==e){var t=i.getFocusableOptions().indexOf(e);i.setState({focusedOption:e,focusedOptionId:t>-1?i.getFocusedOptionId(e):null})}},i.shouldHideSelectedOptions=function(){return Eg(i.props)},i.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),i.focus()},i.onKeyDown=function(e){var t=i.props,n=t.isMulti,o=t.backspaceRemovesValue,r=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=i.state,h=m.focusedOption,g=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(i.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;i.focusValue("previous");break;case"ArrowRight":if(!n||a)return;i.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)i.removeValue(g);else{if(!o)return;n?i.popValue():s&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&i.isOptionSelected(h,f))return;i.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(i.isComposing)return;i.selectOption(h);break}return;case"Escape":c?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:a}),i.onMenuClose()):s&&r&&i.clearValue();break;case" ":if(a)return;if(!c){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":c?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":c?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!c)return;i.focusOption("pageup");break;case"PageDown":if(!c)return;i.focusOption("pagedown");break;case"Home":if(!c)return;i.focusOption("first");break;case"End":if(!c)return;i.focusOption("last");break;default:return}e.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Rg),i.state.selectValue=Om(n.value),n.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),r=i.buildFocusableOptions(),a=r.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=r[a],i.state.focusedOptionId=Gg(o,r[a])}return i}return function(e,t,n){t&&pd(e.prototype,t),n&&pd(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Jm(this.menuListRef,this.focusedOptionRef),(bg()||vg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&i&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Jm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,i=n.selectValue,o=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a],focusedOptionId:this.getFocusedOptionId(r[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(i);i||(o=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?r:o-1;break;case"next":o>-1&&o<r&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var o=0,r=i.indexOf(n);n||(r=-1),"up"===e?o=r>0?r-1:i.length-1:"down"===e?o=(r+1)%i.length:"pageup"===e?(o=r-t)<0&&(o=0):"pagedown"===e?(o=r+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(xg):ad(ad({},xg),this.props.theme):xg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,o=this.getValue,r=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Bg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Tg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Sg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,g=o||this.getElementId("input"),f=ad(ad(ad({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,Yl({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:r},f)):i.createElement(tg,Yl({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Wm,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return h?null:i.createElement(l,Yl({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,Yl({},c,{components:{Container:o,Label:r,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return i.createElement(s,Yl({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,Yl({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!e||!r)return null;return i.createElement(e,Yl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,Yl({},o,{isDisabled:r,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,Yl({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,g=m.inputValue,f=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,I=m.menuPlacement,C=m.menuPosition,w=m.menuPortalTarget,A=m.menuShouldBlockScroll,N=m.menuShouldScrollIntoView,k=m.noOptionsMessage,G=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!x)return null;var V,B=function(t,n){var o=t.type,r=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===r,h=a?void 0:function(){return e.onOptionHover(r)},g=a?void 0:function(){return e.selectOption(r)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,Yl({},d,{innerProps:b,data:r,isDisabled:a,isSelected:s,key:f,label:l,type:o,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i.createElement(n,Yl({},d,{key:l,data:r,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(f){var T=b({inputValue:g});if(null===T)return null;V=i.createElement(l,d,T)}else{var S=k({inputValue:g});if(null===S)return null;V=i.createElement(c,d,S)}var E={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},R=i.createElement(sh,Yl({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return i.createElement(r,Yl({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(mg,{captureEnabled:h,onTopArrive:G,onBottomArrive:P,lockEnabled:A},function(t){return i.createElement(a,Yl({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:p}),V)}))});return w||"fixed"===C?i.createElement(s,Yl({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return i.createElement(gg,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return i.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):i.createElement("input",{name:a,type:"hidden",value:""});return i.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return i.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(Zh,Yl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.createElement(o,Yl({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,Yl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(r,Yl({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,Yl({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=Om(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return Ag(wg(e,t))}(e,h):[],b=d?Ng(wg(e,h),"".concat(l,"-option")):[],v=i?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:h,focusedOption:y,focusedOptionId:Gg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=r,C=a&&s;return a&&!C&&(I={value:eh(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),ad(ad(ad({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Mg.defaultProps=Ig;var Xg=r(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,i=e.defaultMenuIsOpen,o=void 0!==i&&i,r=e.defaultValue,a=void 0===r?null:r,l=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,m=e.onMenuClose,h=e.onMenuOpen,g=e.value,f=ud(e,dd),b=cd(s(void 0!==l?l:n),2),v=b[0],y=b[1],x=cd(s(void 0!==u?u:o),2),I=x[0],C=x[1],w=cd(s(void 0!==g?g:a),2),A=w[0],N=w[1],k=c(function(e,t){"function"==typeof d&&d(e,t),N(e)},[d]),G=c(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),P=c(function(){"function"==typeof h&&h(),C(!0)},[h]),V=c(function(){"function"==typeof m&&m(),C(!1)},[m]),B=void 0!==l?l:v,T=void 0!==u?u:I,S=void 0!==g?g:A;return ad(ad({},f),{},{inputValue:B,menuIsOpen:T,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:P,value:S})}(e);return i.createElement(Mg,Yl({ref:t},n))}),Wg=Xg;const Lg=o.memo(({options:n,className:i,controlClassName:o,value:r,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=u(()=>qh(d),[d]),A=u(()=>({control:({isFocused:e})=>Je("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Je(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Je("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:i})=>{var o;return Je("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==i?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,o,h,n,p,v]);return"unstyled"===y?e(Wg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:Je("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[f&&e("label",{className:Je("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(Wg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:Je("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}),m&&e(qe,{className:"footnote mt-1 text-text-critical",children:m}),!m&&g&&e(qe,{className:"footnote mt-1 text-text-info",children:g})]})});function Fg({paginatedArticles:n,totalArticles:i,currentPage:o,totalPages:r,selectedCategory:a,categoryOptions:s}){const l=B(),c=T(),u=S();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(qe,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(qe,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(qe,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(qe,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(Lg,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var i,o,r,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(tt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(qe,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(td,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Lg.displayName="Select";const Og=n=>{const{links:i=[],textColor:o="dark",maxWidth:r=!0}=n,a="dark"===o?"text-white xl:text-text":"text-text xl:text-white";return i.length?e("nav",{"aria-label":"Breadcrumb",className:(r?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e("ol",{className:"relative right-0 z-10 mt-4 flex w-full flex-nowrap items-center gap-2 xl:absolute xl:flex-wrap",children:i.map((n,o)=>o===i.length-1?e("li",{className:"flex min-w-0 items-center",children:e(qe,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})},o):t("li",{className:"flex flex-none items-center",children:[e(rt,{...n,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(Qe,{name:"chevron_right",className:`${a} `})]},o))})}):null},Dg=n=>{const{anchorId:i="SearchBlock",title:o,subTitle:r,enableHeading:a,searchDescription:l,searchInputPlaceholder:c,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[g,f]=s("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:i,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(qe,{as:a?"h1":"h2",className:Je("heading2 md:heading1"),children:o}),r&&e(qe,{as:"div",className:Je("subheading2 mt-2 md:subheading1"),children:r})]}),l?e(qe,{className:"heading6 text-center",children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Ue,{type:"submit",className:"ml-2 inline-flex",children:e(Qe,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Mt,{value:g,onChange:e=>f(e.target.value),placeholder:c,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},Zg={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}},zg=n=>{const{title:i,variant:o="yellow",cta:r,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Zg[null==o?void 0:o.toLowerCase()]||Zg.yellow;if(!s)return null;const u=(null==r?void 0:r.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==r?void 0:r.buttonVariant,showButtonAs:"solid",cta:r});return t("div",{style:{top:`${a}px`},className:Je(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(qe,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:i}),d]})};function Hg(i){var o,r,a;const[c,u]=s(0),[d,p]=s(""),{title:m,subTitle:h,tabs:g,tabsContent:f,navigationType:b=!0,mobileSidebarTabType:v=!0}=i;l(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),l(()=>{var e;null===(e=null==g?void 0:g.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return u(t),!0})},[g,d]);const y=(e,t)=>{u(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(o=null==g?void 0:g.items)||void 0===o?void 0:o.map((t,n)=>e(rt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Je("py-2 whitespace-nowrap",n===c?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==f?void 0:f.map((t,n)=>e("div",{children:e(jl,{children:e(Ll.div,{initial:{height:0,opacity:0},animate:{height:n===c?"auto":0,opacity:n===c?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),I=e(n,{children:null===(r=null==g?void 0:g.items)||void 0===r?void 0:r.map((n,i)=>t("div",{className:"py-5",children:[t(rt,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:Je("w-full flex justify-between items-center px-4 py-5",i===c?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(Qe,{name:i===c?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e($e,{open:i===c,children:e("div",{className:Je("px-4 py-4"),children:null==f?void 0:f[i]})})]},i))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==g?void 0:g.items)||void 0===a?void 0:a.map((t,n)=>e(rt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Je("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===c?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==f?void 0:f.map((t,n)=>e("div",{children:e(jl,{children:e(Ll.div,{initial:{height:0,opacity:0},animate:{height:n===c?"auto":0,opacity:n===c?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[m||h?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[m?e(qe,{className:"heading2 px-5 md:heading1 md:text-center",children:m}):null,h?e(qe,{className:"subheading3 px-5 md:subheading1 md:text-center",children:h}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}const jg=({ctaSuffixText:n,backgroundColor:i,iconName:o,boxShadow:r,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===i||!i?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${i?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[i]:"bg-bg-fill-brand-accent"} ${r||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(k,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e(Qe,{name:o,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Yg({content:n}){let i=3;const[o,r]=s(!1),[c,u]=s(!1),d=a(null);l(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=A.get(e);return t?w.decode(t):null}("cookieBannerClosed");r("true"!==e)},[]),l(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),l(()=>{var e,t,n,i;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(i=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===i||i.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),l(()=>{if(!o)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let i;const r=()=>{clearTimeout(i),i=setTimeout(e,150)};return window.addEventListener("resize",r),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(i),window.removeEventListener("resize",r),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,c]);c&&(i=14);return o?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] md:max-w-[656px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10",style:{bottom:"0px",right:"20px",marginBottom:`${4*i}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(rt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);r(!1),((e,t,n)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),o=w.encode(i);A.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e(Qe,{name:"close"})}),n.richText?e("div",{className:"my-4 mx-auto [&>a]:footnote",children:n.richText}):null]}):null}export{et as Accordion,zg as AddressInputBanner,jg as AnchoredBottomBanner,tt as BlogCard,Fg as BlogGrid,Og as BreadcrumbNavigation,rt as Button,ut as Callout,dt as Cards,At as Carousel,ed as ComparisonTable,Yg as CookieBanner,Ku as CtaCallout,Hg as DynamicTabs,qu as FindKinetic,Nt as FloatingBanner,kt as Footer,Bt as ImagePromoBar,Qu as Modal,Xt as Navigation,Ot as PrimaryHero,vt as ProductCard,Dg as SearchBlock,_u as ShapeBackgroundWrapper,ct as SimpleCard,yt as TestimonialCard,Dt as Text};
|
|
14
12
|
//# sourceMappingURL=index.esm.js.map
|