@windstream/react-shared-components 0.1.16 → 0.1.18
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.d.ts +2 -0
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +5 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/breadcrumbs/index.tsx +14 -17
- package/src/contentful/blocks/callout/index.tsx +28 -8
- package/src/contentful/blocks/callout/types.ts +15 -14
- package/src/contentful/blocks/cards/blog-card/index.tsx +6 -1
- package/src/contentful/blocks/cards/blog-card/types.ts +1 -0
|
@@ -1,6 +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 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 h,useInsertionEffect as m,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,{flushSync as N,createPortal as k}from"react-dom";import G from"next/link";import{useRouter as P,usePathname as V,useSearchParams as B}from"next/navigation";function T(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=T(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function S(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=T(e))&&(i&&(i+=" "),i+=t);return i}const E=e=>{const t=W(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=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 o=n[e]||[];return t&&i[e]?[...o,...i[e]]:o}}},R=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?R(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},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,i={nextPart:new Map,validators:[]};for(const e in n)L(n[e],i,e,t);return i},L=(e,t,n,i)=>{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(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{L(o,F(t,e),n,i)})})},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,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)}}},Z=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=z(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},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 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 Y(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(i&&(i+=" "),i+=t);return i}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=J(e[i]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,i,o,r=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),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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,g=i(m?p.substring(0,h):p);if(!g){if(!m){l=t+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=t+(l.length>0?" "+l:l);continue}m=!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,m);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(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)/,ie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>K.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&re(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),he=e=>ie.test(e),me=e=>!fe(e)&&!Ce(e),ge=e=>Ve(e,Ee,de),fe=e=>Q.test(e),be=e=>Ve(e,Re,ue),ve=e=>Ve(e,Me,re),ye=e=>Ve(e,Te,de),xe=e=>Ve(e,Se,he),Ie=e=>Ve(e,We,pe),Ce=e=>_.test(e),we=e=>Be(e,Re),Ae=e=>Be(e,Xe),Ne=e=>Be(e,Te),ke=e=>Be(e,Ee),Ge=e=>Be(e,Se),Pe=e=>Be(e,We,!0),Ve=(e,t,n)=>{const i=Q.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Be=(e,t,n=!1)=>{const i=_.exec(e);return!!i&&(i[1]?t(i[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"),i=$("font-weight"),o=$("tracking"),r=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("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=()=>[oe,"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=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ce,fe],V=()=>["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]}],B=()=>["auto","cover","contain",ke,ge,{size:[Ce,fe]}],T=()=>[se,we,be],S=()=>["","none","full",c,Ce,fe],E=()=>["",re,we,be],R=()=>[re,se,Ne,ye],M=()=>["","none",m,Ce,fe],X=()=>["none",re,Ce,fe],W=()=>["none",re,Ce,fe],L=()=>[re,Ce,fe],F=()=>[oe,"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:[me],"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",re],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,fe,Ce,f]}],container:["container"],columns:[{columns:[re,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:[oe,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,oe,"auto","initial","none",fe]}],grow:[{grow:["",re,Ce,fe]}],shrink:[{shrink:["",re,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:[i,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:[o,Ce,fe]}],"line-clamp":[{"line-clamp":[re,"none",Ce,ve]}],leading:[{leading:[r,...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:[re,"from-font","auto",Ce,be]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[re,"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: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"]},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":[re,Ce,fe]}],"outline-w":[{outline:["",re,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":[re,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:[re,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":[re]}],"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":[re]}],"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",Ce,fe]}],filter:[{filter:["","none",Ce,fe]}],blur:[{blur:M()}],brightness:[{brightness:[re,Ce,fe]}],contrast:[{contrast:[re,Ce,fe]}],"drop-shadow":[{"drop-shadow":["","none",h,Pe,Ie]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",re,Ce,fe]}],"hue-rotate":[{"hue-rotate":[re,Ce,fe]}],invert:[{invert:["",re,Ce,fe]}],saturate:[{saturate:[re,Ce,fe]}],sepia:[{sepia:["",re,Ce,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,fe]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[re,Ce,fe]}],"backdrop-contrast":[{"backdrop-contrast":[re,Ce,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,Ce,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,Ce,fe]}],"backdrop-invert":[{"backdrop-invert":["",re,Ce,fe]}],"backdrop-opacity":[{"backdrop-opacity":[re,Ce,fe]}],"backdrop-saturate":[{"backdrop-saturate":[re,Ce,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",re,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:[re,"initial",Ce,fe]}],ease:[{ease:["linear","initial",b,Ce,fe]}],delay:[{delay:[re,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:[re,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 i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},ze=((e,...t)=>"function"==typeof e?U(Le,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:o={},override:r={}})=>(Fe(e,"cacheSize",t),Fe(e,"prefix",n),Fe(e,"experimentalParseClassName",i),Oe(e.theme,r.theme),Oe(e.classGroups,r.classGroups),Oe(e.conflictingClassGroups,r.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Fe(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),De(e.theme,o.theme),De(e.classGroups,o.classGroups),De(e.conflictingClassGroups,o.conflictingClassGroups),De(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Ze(e,o,"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"]}}}),He=(...e)=>ze(S(...e)),je=r(({children:t,className:n="",style:i,disabled:o,...r},a)=>e("button",{ref:a,className:He(n),style:i,disabled:o,...r,children:t}));je.displayName="Button";const Ye=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})})};Ye.displayName="Collapse";const Je=({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:He("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Je.displayName="MaterialIcon";const Ue=n=>{const{title:i,defaultOpen:o,children:r,containerClassName:a,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p,borderRadiusNone:h=!1}=n,[m,g]=s(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;g(e)}else g(Boolean(o))},[p,o]),t("div",{className:He(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(je,{type:"button",className:He(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:He("label5",c),children:i}),e(Je,{name:m?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Ye,{open:m,children:e("div",{className:He("px-4 py-4",u),children:r})})]})};Ue.displayName="Accordion";const $e=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)});$e.displayName="Text";const Qe=({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($e,{as:r?"h1":"h2",className:"heading1 text-left lg:text-center",children:i})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((t,n)=>e("div",{children:e(Ue,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",className:"px-0",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e($e,{children:t.description})})},`item-${n}`))})]})}),_e=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()},Ke=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 h=(()=>{const e=He((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=He((s||o)&&"cursor-not-allowed",o&&"pl-7",s&&"bg-bg-fill-brand-disabled");return He(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[i]||"",t)})();let m=`button--${i}`;o&&(m+=" button--loading"),s&&(m+=" button--disabled");const g=`${m} ${h}`,f=t(n,{children:[o?e(Je,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:He(_e(c)),children:a}),r]}):r]});return"a"===u?e("a",{ref:p,className:He(g),...d,children:f}):e("button",{ref:p,className:He(g),disabled:s||o,...d,children:f})});Ke.displayName="BrandButton";const qe=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={...c,ref:u,className:He(d,`link--${r}`,l&&"link--disabled",i),style:a,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==o||o(e)},...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...p,children:t})});qe.displayName="Link";const et=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:h,renderCheckPlans:m,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,...I}=n;if("check availability"===h){return null==m?void 0:m({ctaText:r,buttonVariant:o,showButtonAs:i,cta:{...n}})}function C(){"modal"===f&&(null==v||v(b))}function w(e){C(),null==y||y(e)}function A(e){C(),null==y||y(e)}let N=e(je,{onClick:A,className:g,...I});switch(i){case"solid":N=e(Ke,s?{as:"a",href:s,id:c,variant:o,text:r,label:a,fullWidth:p,onClick:w}:{id:c,variant:o,text:r,label:a,fullWidth:p,onClick:A});break;case"text":N=t(qe,{href:s,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:w,children:[r," ",x&&e(Je,{name:x,size:24})]})}return N},tt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},nt=({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()},it=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:nt,unoptimized:!1}:{unoptimized:s};return e(w,{ref:i,className:He(t),...n,...l})});it.displayName="NextImage";const ot=({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=tt[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${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(it,"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",children:[n.title&&e($e,{as:"h5",className:"heading5 font-black",children:n.title}),n.body&&e($e,{as:"div",className:"body1",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(et,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right"})})]})})},rt=({title:n,items:i,enableHeading:o=!1,subtitle:r,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l})=>{const c={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)]",u=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-8",children:[t("div",{className:"title-holder",children:[n&&e($e,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),r&&e($e,{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-8 self-stretch lg:gap-6",children:i.map((t,n)=>e(ot,{card:t,lgWidth:c,mdWidth:u},n))})]})})})},at=({fields:t})=>e("div",{children:e($e,{children:"Cards"})}),st={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},lt=r(({children:t,className:n="",variant:i="unstyled",style:o,...r},a)=>{const s=He("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:o,...r,children:t})});lt.displayName="ListItem";const ct=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=He(u,`list--${t}`,`list--${a}`,i),p=r||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(lt,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});ct.displayName="List";const ut=n=>{const{items:i,listIconName:o="check",listItemClassName:r,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=n,u="disc"!==o;return(null==i?void 0:i.length)?e(ct,{className:"mt-2 space-y-1",variant:u?"unstyled":"default",children:i.map((n,i)=>t(lt,{variant:u?"unstyled":"default",className:He(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e("div",{children:e(Je,{name:o,size:a,color:st[l],weight:"600",className:He("top"===s?"mt-1":"",c)})}),e($e,{as:"div",children:n})]},i))}):null};ut.displayName="Checklist";const dt=r(({as:t,className:n="",...i},o)=>{const r=He(n);if(t){return e(t,{ref:o,className:r,...i})}return e("img",{ref:o,className:r,...i})});dt.displayName="Image";const pt=({onSelect:i,speed:o,isSelected:r=!1,renderCheckPlans:a,cta:l,techType:c,isMax:u})=>{const[d,p]=s(!1),h=`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"} `,m=null==a?void 0:a({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return t(n,{children:[t(je,{onClick:()=>{p(!0),i()},className:He(h,"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("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(r?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(Je,{name:"chevron_right",fill:1,size:24})})]}),m]})},ht=({planName:i,planSubtext:o,speed:r,price:a,description:l,bestValue:c=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="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"===h;return t("article",{className:He("relative flex h-full w-full max-w-[392px] flex-col",!c&&"pt-[28px]"),children:[c&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:u}),t("div",{className:He("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",k?"bg-bg-fill-inverse text-white":"bg-white text-text",c?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e($e,{as:"h3",className:He("subheading2 whitespace-nowrap font-black",k?"text-bg-fill-brand-accent":"text-text-brand"),children:i}),e($e,{as:"p",className:`text-label3 font-black ${k?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:o})]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:a.split(".")[0]}),t("span",{className:"text-sm font-black",children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e($e,{className:He("text-base",k?"text-white":"text-text"),children:l})}),e("div",{className:He("flex-col items-center rounded-xl p-2",k?"bg-bg-surface-inverse":"bg-gray-200"),children:d&&(null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2 p-1",children:[e(dt,{src:n.icon,alt:n.title,width:24,height:24}),e($e,{as:"div",className:"text-sm font-bold",children:n.title})]},n.title)))}),e(pt,{onSelect:v,speed:r,isSelected:k,renderCheckPlans:y,cta:x,techType:I,isMax:C}),g.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(je,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center justify-between text-left",children:[e($e,{as:"h4",className:"text-base font-bold",children:m}),e(Je,{name:"keyboard_arrow_up",fill:1,size:24,className:He("transition-transform duration-300",N&&"rotate-180")})]}),t("div",{className:He("overflow-hidden transition-all duration-300 ease-in-out",N?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(ut,{items:g,iconColor:k?"yellow":"green",listItemClassName:""+(k?"text-white":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(dt,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",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($e,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},mt=({title:n,quote:i,rating:o,author:r,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:S("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",l?"bg-white shadow-lg":"bg-gray-50 opacity-60",c),children:[e("header",{children:e($e,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:n})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:i}),o?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e(Je,{size:24,name:"star",fill:1,className:S("h-5 w-5",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,r&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(w,{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:"text-sm font-bold not-italic text-text",children:r}),e($e,{as:"p",className:"text-xs text-text",children:a})]})]})]});function gt({fields:i,renderCheckPlans:o}){var r,u,d,p;const h=(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,[m,g]=s(h),[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,m,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 h=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[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:m;return e("div",{ref:i?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:He(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(ht,{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(!m)},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(je,{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(Je,{name:"arrow_back",size:24})}),e(je,{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(Je,{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-8 px-4",children:x.map((e,t)=>N(e,t))})}const ft=({fields:n})=>{var i;const o=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[],[r,u]=s(0),d=a(null),p=c(()=>{0!==o.length&&u(e=>(e+1)%o.length)},[o.length]),h=c(()=>{0!==o.length&&u(e=>0===e?o.length-1:e-1)},[o.length]);return l(()=>{if(0!==o.length)return d.current=setInterval(()=>{p()},8e3),()=>{d.current&&clearInterval(d.current)}},[p,o.length]),o&&0!==o.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(je,{onClick:h,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:o.map((t,n)=>{let i=n-r;const a=o.length;i>a/2&&(i-=a),i<-a/2&&(i+=a);const s=0===i;return e("div",{className:He("col-start-1 row-start-1 w-full md:max-w-[815px]",s?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${s?"0%":105*i+"%"})`,zIndex:s?10:5,visibility:Math.abs(i)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(mt,{...t,isActive:s,className:"h-full"})},n)})}),e(je,{onClick:p,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:o.map((t,n)=>e("button",{onClick:()=>u(n),className:He("h-2 w-2 rounded-full transition-all duration-300",r===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},bt=({tabs:t,activeTab:n,onChange:i,className:o})=>e("div",{className:He("mx-auto flex w-fit rounded-2xl bg-bg-surface-active p-1",o),children:t.map(t=>e("button",{onClick:()=>i(t),className:He("min-w-[160px] whitespace-nowrap rounded-2xl bg-bg-surface-active px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-bg-surface-hover"),children:t},t))}),vt=({fields:n,hasTestimonialCards:i,hasProductCards:o,disclaimerText:r,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,showSwitch:p=!1})=>e("div",{className:`${a} mx-auto overflow-hidden py-9 md:px-5 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[t("div",{children:[e($e,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e($e,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==n?void 0:n.subTitle})]}),p&&o&&c.length>1&&e(bt,{tabs:c,activeTab:s,onChange:l}),i&&e(ft,{fields:n}),o&&e(gt,{onModalButtonClick:u,renderCheckPlans:d,fields:n}),e($e,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:r})]})}),yt=({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-[40px] xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] 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(it,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[n&&e($e,{as:u?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e($e,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),o&&e($e,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(et,{...s})})]}),r&&e("div",{children:e($e,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),xt=({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("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-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($e,{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(et,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${i}`)})}),t("div",{className:"pt-8",children:[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(et,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},It=({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(Je,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Ct=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:He("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 wt=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:He("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"})})},At=({brow:n,enableHeading:i,title:o,subTitle:r,ctaDisclaimer:a,disclaimer:l,description:c,image:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,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(Ct,{link:V,autoplay:S}):e(wt,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:gap-[126px] "+(p?"xl:flex-row-reverse":"xl:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e($e,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e($e,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:o}),r&&e($e,{as:i?"h2":"h3",className:"subheading1 mt-3",children:r})]}),c&&e($e,{as:"div",className:"body1",children:c}),h.length>0&&e(ut,{items:h,iconPosition:"top",iconSize:24}),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(qe,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(dt,{src:t.image,alt:"icon-link"})})},n))}),(g||m)&&t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(et,{...g,fullWidth:!0,renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta",children:e(et,{...m,fullWidth:!0,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 xl:w-auto",children:[u&&e("div",{className:"relative flex aspect-[16/9] w-full justify-center xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e(it,{src:u,alt:"section-image",width:y,height:x,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:He("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl: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:He(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(it,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(It,{isHovered:G})})]}),!T&&S&&e("div",{className:He("aspect-[16/9] w-full overflow-hidden rounded-[40px] 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})})]})},Nt=({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(et,{...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:[],h=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:s,children:[t(et,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e($e,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Je,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:He("shadow-navDrop fixed z-10 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:h,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(et,{...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}`))})})]})},kt=({link:i})=>{const[r,a]=o.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(et,{...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(et,{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(Je,{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(Gt,{items:u})]})},Gt=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(et,{...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}`),Pt=n=>{const{showBlinkDot:i=!1,buttonStyle:o="primary",size:r="md",children:a,className:s,...l}=n;return t(qe,{...l,className:He("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(Je,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Pt.displayName="CallButton";const Vt=r((n,i)=>{const{className:o,size:r,required:a,placeholder:l,label:u,state:d,errorText:p,prefixIconName:h,prefixIconFill:m=!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:He("inline-block pb-1"),children:t($e,{as:"span",className:"footnote text-text",children:[u,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:He("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:[h?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(Je,{name:h,fill:m?1:0,size:f,className:He(x)})}):null,e("input",{ref:i,id:u,disabled:I||A.disabled,className:He("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(Je,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===N&&p&&""!=p?t($e,{className:He("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Je,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Vt.displayName="Input";const Bt=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",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(et,{linkClassName:He("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(Pt,{className:"border-none",href:u,children:e($e,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(Nt,{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(qe,{href:"/",className:"flex",children:e(it,{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(Pt,{href:u,children:e($e,{as:"span",className:"footnote",children:d})}),e(Tt,{...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(qe,{href:"/",className:"flex",children:e(it,{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(Nt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Et,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(Nt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},Tt=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(et,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(Je,{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:He("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(Pt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(et,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(Je,{name:"close"})})})]}),e(St,{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(kt,{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(et,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:He("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}`))})]})]})})]})},St=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(it,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Vt,{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"})})]})},Et=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(it,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Vt,{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"})]})},Rt=n=>{var i;const{title:o,showAsHeading:r,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,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:He("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:He("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e($e,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e($e,{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($e,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e($e,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e($e,{as:"p",className:"subheading5",children:u}),p?e($e,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(ut,{listItemClassName:"text-white body2 text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:He("hidden md:flex md:flex-col"),children:e(et,{...s,renderCheckPlans:m,onModalButtonClick:y})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(et,{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(et,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e($e,{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(it,{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(it,{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(et,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e($e,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(et,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:He("relative hidden lg:block"),children:[g?e(it,{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(it,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Mt=({fields:t})=>e("div",{children:e($e,{children:"Text Block"})}),Xt={closed:{opacity:0},open:{opacity:1}},Wt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Lt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Ft=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ot=d({}),Dt=d(null),Zt="undefined"!=typeof document,zt=Zt?p:l,Ht=d({strict:!1});function jt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Yt(e){return"string"==typeof e||Array.isArray(e)}function Jt(e){return"object"==typeof e&&"function"==typeof e.start}const Ut=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$t=["initial",...Ut];function Qt(e){return Jt(e.animate)||$t.some(t=>Yt(e[t]))}function _t(e){return Boolean(Qt(e)||e.variants)}function Kt(e){const{initial:t,animate:n}=function(e,t){if(Qt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Yt(t)?t:void 0,animate:Yt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(Ot));return u(()=>({initial:t,animate:n}),[qt(t),qt(n)])}function qt(e){return Array.isArray(e)?e.join(" "):e}const en={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"]},tn={};for(const e in en)tn[e]={isEnabled:t=>en[e].some(e=>!!t[e])};const nn=d({}),on=d({}),rn=Symbol.for("motionComponentSymbol");function an({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:s}){e&&function(e){for(const t in e)tn[t]={...tn[t],...e[t]}}(e);const u=r(function(r,u){let d;const p={...h(Ft),...r,layoutId:sn(r)},{isStatic:g}=p,f=Kt(r),b=o(r,g);if(!g&&Zt){f.visualElement=function(e,t,n,i){const{visualElement:o}=h(Ot),r=h(Ht),s=h(Dt),c=h(Ft).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 m(()=>{d&&d.update(n,s)}),zt(()=>{d&&d.render()}),l(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?zt:l)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(s,b,p,t);const n=h(on),i=h(Ht).strict;f.visualElement&&(d=f.visualElement.loadFeatures(p,i,e,n))}return i.createElement(Ot.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):jt(n)&&(n.current=i))},[t])}(b,f.visualElement,u),b,g,f.visualElement))});return u[rn]=s,u}function sn({layoutId:e}){const t=h(nn).id;return t&&void 0!==e?t+"-"+e:e}function ln(e){function t(t,n={}){return an(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 cn=["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 un(e){return"string"==typeof e&&!e.includes("-")&&!!(cn.indexOf(e)>-1||/[A-Z]/.test(e))}const dn={};const pn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hn=new Set(pn);function mn(e,{layout:t,layoutId:n}){return hn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!dn[e]||"opacity"===e)}const gn=e=>Boolean(e&&e.getVelocity),fn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bn=pn.length;const vn=e=>t=>"string"==typeof t&&t.startsWith(e),yn=vn("--"),xn=vn("var(--"),In=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Cn=(e,t,n)=>Math.min(Math.max(n,e),t),wn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},An={...wn,transform:e=>Cn(0,1,e)},Nn={...wn,default:1},kn=e=>Math.round(1e5*e)/1e5,Gn=/(-)?([\d]*\.?[\d])+/g,Pn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Vn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Bn(e){return"string"==typeof e}const Tn=e=>({test:t=>Bn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Sn=Tn("deg"),En=Tn("%"),Rn=Tn("px"),Mn=Tn("vh"),Xn=Tn("vw"),Wn={...En,parse:e=>En.parse(e)/100,transform:e=>En.transform(100*e)},Ln={...wn,transform:Math.round},Fn={borderWidth:Rn,borderTopWidth:Rn,borderRightWidth:Rn,borderBottomWidth:Rn,borderLeftWidth:Rn,borderRadius:Rn,radius:Rn,borderTopLeftRadius:Rn,borderTopRightRadius:Rn,borderBottomRightRadius:Rn,borderBottomLeftRadius:Rn,width:Rn,maxWidth:Rn,height:Rn,maxHeight:Rn,size:Rn,top:Rn,right:Rn,bottom:Rn,left:Rn,padding:Rn,paddingTop:Rn,paddingRight:Rn,paddingBottom:Rn,paddingLeft:Rn,margin:Rn,marginTop:Rn,marginRight:Rn,marginBottom:Rn,marginLeft:Rn,rotate:Sn,rotateX:Sn,rotateY:Sn,rotateZ:Sn,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:Sn,skewX:Sn,skewY:Sn,distance:Rn,translateX:Rn,translateY:Rn,translateZ:Rn,x:Rn,y:Rn,z:Rn,perspective:Rn,transformPerspective:Rn,opacity:An,originX:Wn,originY:Wn,originZ:Rn,zIndex:Ln,fillOpacity:An,strokeOpacity:An,numOctaves:Ln};function On(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(yn(e)){r[e]=n;continue}const i=Fn[e],d=In(n,i);if(hn.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<bn;t++){const n=pn[t];void 0!==e[n]&&(r+=`${fn[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 Dn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zn(e,t,n){for(const i in t)gn(t[i])||mn(i,n)||(e[i]=t[i])}function zn(e,t,n){const i={};return Zn(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return u(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return On(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function Hn(e,t,n){const i={},o=zn(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 jn=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 Yn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||jn.has(e)}let Jn=e=>!Yn(e);try{(Un=require("@emotion/is-prop-valid").default)&&(Jn=e=>e.startsWith("on")?!Yn(e):Un(e))}catch(e){}var Un;function $n(e,t,n){return"string"==typeof e?e:Rn.transform(t+n*e)}const Qn={offset:"stroke-dashoffset",array:"stroke-dasharray"},_n={offset:"strokeDashoffset",array:"strokeDasharray"};function Kn(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(On(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:g}=e;h.transform&&(g&&(m.transform=h.transform),delete h.transform),g&&(void 0!==o||void 0!==r||m.transform)&&(m.transformOrigin=function(e,t,n){return`${$n(t,e.x,e.width)} ${$n(n,e.y,e.height)}`}(g,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==i&&(h.scale=i),void 0!==a&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?Qn:_n;e[r.offset]=Rn.transform(-i);const a=Rn.transform(t),s=Rn.transform(n);e[r.array]=`${a} ${s}`}(h,a,s,l,!1)}const qn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ei=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ti(e,t,n,i){const o=u(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Kn(n,t,{enableHardwareAcceleration:!1},ei(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Zn(t,e.style,e),o.style={...t,...o.style}}return o}function ni(e=!1){return(t,n,i,{latestValues:o},r)=>{const a=(un(t)?ti:Hn)(n,o,r,t),s=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(Jn(o)||!0===n&&Yn(o)||!t&&!Yn(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(()=>gn(c)?c.get():c,[c]);return g(t,{...l,children:d})}}const ii=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function oi(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 ri=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 ai(e,t,n,i){oi(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(ri.has(n)?n:ii(n),t.attrs[n])}function si(e,t){const{style:n}=e,i={};for(const o in n)(gn(n[o])||t.style&&gn(t.style[o])||mn(o,e))&&(i[o]=n[o]);return i}function li(e,t){const n=si(e,t);for(const i in e)if(gn(e[i])||gn(t[i])){n[-1!==pn.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function ci(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 ui(e){const t=a(null);return null===t.current&&(t.current=e()),t.current}const di=e=>Array.isArray(e),pi=e=>di(e)?e[e.length-1]||0:e;function hi(e){const t=gn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const mi=e=>(t,n)=>{const i=h(Ot),o=h(Dt),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const a={latestValues:gi(i,o,r,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,o);return n?r():ui(r)};function gi(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=hi(r[e]);let{initial:a,animate:s}=e;const l=Qt(e),c=_t(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&&!Jt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=ci(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 fi={useVisualState:mi({scrapeMotionValuesFromProps:li,createRenderState:qn,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}}Kn(n,i,{enableHardwareAcceleration:!1},ei(t.tagName),e.transformTemplate),ai(t,n)}})},bi={useVisualState:mi({scrapeMotionValuesFromProps:si,createRenderState:Dn})};function vi(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const yi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function xi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Ii(e,t,n,i){return vi(e,t,(e=>t=>yi(t)&&e(t,xi(t)))(n),i)}const Ci=(e,t)=>n=>t(e(n)),wi=(...e)=>e.reduce(Ci);function Ai(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Ni=Ai("dragHorizontal"),ki=Ai("dragVertical");function Gi(e){let t=!1;if("y"===e)t=ki();else if("x"===e)t=Ni();else{const e=Ni(),n=ki();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Pi(){const e=Gi(!0);return!e||(e(),!1)}class Vi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Bi={delta:0,timestamp:0,isProcessing:!1};let Ti=!0,Si=!1;const Ei=["read","update","preRender","render","postRender"],Ri=Ei.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}(()=>Si=!0),e),{}),Mi=e=>Ri[e].process(Bi),Xi=e=>{Si=!1,Bi.delta=Ti?1e3/60:Math.max(Math.min(e-Bi.timestamp,40),1),Bi.timestamp=e,Bi.isProcessing=!0,Ei.forEach(Mi),Bi.isProcessing=!1,Si&&(Ti=!1,requestAnimationFrame(Xi))},Wi=Ei.reduce((e,t)=>{const n=Ri[t];return e[t]=(e,t=!1,i=!1)=>(Si||(Si=!0,Ti=!0,Bi.isProcessing||requestAnimationFrame(Xi)),n.schedule(e,t,i)),e},{});function Li(e){Ei.forEach(t=>Ri[t].cancel(e))}function Fi(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return Ii(e.current,n,(n,o)=>{if("touch"===n.type||Pi())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&Wi.update(()=>r[i](n,o))},{passive:!e.getProps()[i]})}const Oi=(e,t)=>!!t&&(e===t||Oi(e,t.parentElement)),Di=e=>e;function Zi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,xi(n))}const zi=new WeakMap,Hi=new WeakMap,ji=e=>{const t=zi.get(e.target);t&&t(e)},Yi=e=>{e.forEach(ji)};function Ji(e,t,n){const i=function({root:e,...t}){const n=e||document;Hi.has(n)||Hi.set(n,{});const i=Hi.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Yi,{root:e,...t})),i[o]}(t);return zi.set(e,n),i.observe(e),()=>{zi.delete(e),i.unobserve(e)}}const Ui={some:0,all:1};const $i={inView:{Feature:class extends Vi{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:Ui[i]};return Ji(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 Vi{constructor(){super(...arguments),this.removeStartListeners=Di,this.removeEndListeners=Di,this.removeAccessibleListeners=Di,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=Ii(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();Wi.update(()=>{Oi(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Ii(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=wi(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=vi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=vi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Zi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Wi.update(()=>n(e,t))})}),Zi("down",(e,t)=>{this.startPress(e,t)})}),t=vi(this.node.current,"blur",()=>{this.isPressing&&Zi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=wi(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&&Wi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Pi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Wi.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Ii(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=vi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wi(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Vi{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=wi(vi(this.node.current,"focus",()=>this.onFocus()),vi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Vi{mount(){this.unmount=wi(Fi(this.node,!0),Fi(this.node,!1))}unmount(){}}}};function Qi(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 _i(e,t,n){const i=e.getProps();return ci(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 Ki="data-"+ii("framerAppearId");let qi=Di,eo=Di;"production"!==process.env.NODE_ENV&&(qi=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},eo=(e,t)=>{if(!e)throw new Error(t)});const to=e=>1e3*e,no=e=>e/1e3,io=!1,oo=e=>Array.isArray(e)&&"number"==typeof e[0];function ro(e){return Boolean(!e||"string"==typeof e&&so[e]||oo(e)||Array.isArray(e)&&e.every(ro))}const ao=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,so={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ao([0,.65,.55,1]),circOut:ao([.55,0,1,.45]),backIn:ao([.31,.01,.66,-.59]),backOut:ao([.33,1.53,.69,.99])};function lo(e){if(e)return oo(e)?ao(e):Array.isArray(e)?e.map(lo):so[e]}const co={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},uo={},po={};for(const e in co)po[e]=()=>(void 0===uo[e]&&(uo[e]=co[e]()),uo[e]);const ho=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function mo(e,t,n,i){if(e===t&&n===i)return Di;const o=t=>function(e,t,n,i,o){let r,a,s=0;do{a=t+(n-t)/2,r=ho(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:ho(o(e),t,i)}const go=mo(.42,0,1,1),fo=mo(0,0,.58,1),bo=mo(.42,0,.58,1),vo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yo=e=>t=>1-e(1-t),xo=e=>1-Math.sin(Math.acos(e)),Io=yo(xo),Co=vo(Io),wo=mo(.33,1.53,.69,.99),Ao=yo(wo),No=vo(Ao),ko={linear:Di,easeIn:go,easeInOut:bo,easeOut:fo,circIn:xo,circInOut:Co,circOut:Io,backIn:Ao,backInOut:No,backOut:wo,anticipate:e=>(e*=2)<1?.5*Ao(e):.5*(2-Math.pow(2,-10*(e-1)))},Go=e=>{if(Array.isArray(e)){eo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return mo(t,n,i,o)}return"string"==typeof e?(eo(void 0!==ko[e],`Invalid easing type '${e}'`),ko[e]):e},Po=(e,t)=>n=>Boolean(Bn(n)&&Vn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Vo=(e,t,n)=>i=>{if(!Bn(i))return i;const[o,r,a,s]=i.match(Gn);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Bo={...wn,transform:e=>Math.round((e=>Cn(0,255,e))(e))},To={test:Po("rgb","red"),parse:Vo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Bo.transform(e)+", "+Bo.transform(t)+", "+Bo.transform(n)+", "+kn(An.transform(i))+")"};const So={test:Po("#"),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:To.transform},Eo={test:Po("hsl","hue"),parse:Vo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+En.transform(kn(t))+", "+En.transform(kn(n))+", "+kn(An.transform(i))+")"},Ro={test:e=>To.test(e)||So.test(e)||Eo.test(e),parse:e=>To.test(e)?To.parse(e):Eo.test(e)?Eo.parse(e):So.parse(e),transform:e=>Bn(e)?e:e.hasOwnProperty("red")?To.transform(e):Eo.transform(e)},Mo=(e,t,n)=>-n*e+n*t+e;function Xo(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 Wo=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},Lo=[So,To,Eo];function Fo(e){const t=(n=e,Lo.find(e=>e.test(n)));var n;eo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===Eo&&(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=Xo(s,i,e+1/3),r=Xo(s,i,e),a=Xo(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 Oo=(e,t)=>{const n=Fo(e),i=Fo(t),o={...n};return e=>(o.red=Wo(n.red,i.red,e),o.green=Wo(n.green,i.green,e),o.blue=Wo(n.blue,i.blue,e),o.alpha=Mo(n.alpha,i.alpha,e),To.transform(o))};const Do={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Di},Zo={regex:Pn,countKey:"Colors",token:"${c}",parse:Ro.parse},zo={regex:Gn,countKey:"Numbers",token:"${n}",parse:wn.parse};function Ho(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 jo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ho(n,Do),Ho(n,Zo),Ho(n,zo),n}function Yo(e){return jo(e).values}function Jo(e){const{values:t,numColors:n,numVars:i,tokenised:o}=jo(e),r=t.length;return e=>{let t=o;for(let o=0;o<r;o++)t=o<i?t.replace(Do.token,e[o]):o<i+n?t.replace(Zo.token,Ro.transform(e[o])):t.replace(zo.token,kn(e[o]));return t}}const Uo=e=>"number"==typeof e?0:e;const $o={test:function(e){var t,n;return isNaN(e)&&Bn(e)&&((null===(t=e.match(Gn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Pn))||void 0===n?void 0:n.length)||0)>0},parse:Yo,createTransformer:Jo,getAnimatableNone:function(e){const t=Yo(e);return Jo(e)(t.map(Uo))}},Qo=(e,t)=>n=>`${n>0?t:e}`;function _o(e,t){return"number"==typeof e?n=>Mo(e,t,n):Ro.test(e)?Oo(e,t):e.startsWith("var(")?Qo(e,t):er(e,t)}const Ko=(e,t)=>{const n=[...e],i=n.length,o=e.map((e,n)=>_o(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}},qo=(e,t)=>{const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=_o(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}},er=(e,t)=>{const n=$o.createTransformer(t),i=jo(e),o=jo(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?wi(Ko(i.values,o.values),n):(qi(!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.`),Qo(e,t))},tr=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},nr=(e,t)=>n=>Mo(e,t,n);function ir(e,t,n){const i=[],o=n||("number"==typeof(r=e[0])?nr:"string"==typeof r?Ro.test(r)?Oo:er:Array.isArray(r)?Ko:"object"==typeof r?qo:nr);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]||Di:t;r=wi(e,r)}i.push(r)}return i}function or(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(eo(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=ir(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=tr(e[n],e[n+1],t);return a[n](i)};return n?t=>l(Cn(e[0],e[r-1],t)):l}function rr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=tr(0,t,i);e.push(Mo(n,1,o))}}(t,e.length-1),t}function ar({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Go):Go(i),r={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:rr(t),e),s=or(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||bo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=s(t),r.done=t>=e,r)}}function sr(e,t){return t?e*(1e3/t):0}function lr(e,t,n){const i=Math.max(t-5,0);return sr(n-e(i),t-i)}const cr=.001;function ur({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r;qi(e<=to(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Cn(.05,1,a),e=Cn(.01,10,no(e)),a<1?(o=t=>{const i=t*a,o=i*e,r=i-n,s=pr(t,a),l=Math.exp(-o);return cr-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=pr(Math.pow(t,2),a);return(-o(t)+cr>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<dr;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=to(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 dr=12;function pr(e,t){return e*Math.sqrt(1-t*t)}const hr=["duration","bounce"],mr=["stiffness","damping","mass"];function gr(e,t){return t.some(t=>void 0!==e[t])}function fr({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(!gr(e,mr)&&gr(e,hr)){const n=ur(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),h=u?-no(u):0,m=l/(2*Math.sqrt(s*c)),g=r-o,f=no(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=pr(f,m);v=t=>{const n=Math.exp(-m*f*t);return r-n*((h+m*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)v=e=>r-Math.exp(-f*e)*(g+(h+f*g)*e);else{const e=f*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*f*t),i=Math.min(e*t,300);return r-n*((h+m*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=h;0!==e&&(o=m<1?lr(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 br({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},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const g=d+m,f=void 0===a?g:a(g);f!==g&&(m=f-d);const b=e=>-m*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=fr({keyframes:[p.value,h(p.value)],velocity:lr(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 vr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Wi.update(t,!0),stop:()=>Li(t),now:()=>Bi.isProcessing?Bi.timestamp:performance.now()}};function yr(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 xr={decay:br,inertia:br,tween:ar,keyframes:ar,spring:fr};function Ir({autoplay:e=!0,delay:t=0,driver:n=vr,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,g=1,f=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=xr[o]||ar;let x;y!==ar&&"number"!=typeof i[0]&&(x=or([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=yr(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=Cn(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 h=null===A&&("finished"===w||"running"===w&&p||g<0&&B<=0);return d&&d(u.value),h&&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)=>m.then(e,t),get time(){return no(B)},set time(e){e=to(e),B=e,null===A&&v&&0!==g?N=v.now()-e/g:A=e},get duration(){const e=null===I.calculatedDuration?yr(I):I.calculatedDuration;return no(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=no(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 Cr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function wr(e,t,{onUpdate:n,onComplete:i,...o}){if(!(po.waapi()&&Cr.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||!ro(t.ease))(t,o)){const e=Ir({...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 h=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=lo(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}),m=()=>h.cancel(),g=()=>{Wi.update(m),r(),l()};return h.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 no(h.currentTime||0)},set time(e){h.currentTime=to(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return no(u)},play:()=>{s||(h.play(),Li(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ir({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>h.finish(),cancel:g}}const Ar={type:"spring",stiffness:500,damping:25,restSpeed:10},Nr={type:"keyframes",duration:.8},kr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Gr=(e,{keyframes:t})=>t.length>2?Nr:hn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ar:kr,Pr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!$o.test(t)&&"0"!==t||t.startsWith("url("))),Vr=new Set(["brightness","contrast","saturate","opacity"]);function Br(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Gn)||[];if(!i)return e;const o=n.replace(i,"");let r=Vr.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const Tr=/([a-z-]*)\(.*?\)/g,Sr={...$o,getAnimatableNone:e=>{const t=e.match(Tr);return t?t.map(Br).join(" "):e}},Er={...Fn,color:Ro,backgroundColor:Ro,outlineColor:Ro,fill:Ro,stroke:Ro,borderColor:Ro,borderTopColor:Ro,borderRightColor:Ro,borderBottomColor:Ro,borderLeftColor:Ro,filter:Sr,WebkitFilter:Sr},Rr=e=>Er[e];function Mr(e,t){let n=Rr(e);return n!==Sr&&(n=$o),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Xr=e=>/^0[^.\s]+$/.test(e);function Wr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Xr(e):void 0}function Lr(e,t){return e[t]||e.default||e}const Fr=(e,t,n,i={})=>o=>{const r=Lr(i,e)||{},a=r.delay||i.delay||0;let{elapsed:s=0}=i;s-=to(a);const l=function(e,t,n,i){const o=Pr(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]),Wr(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]]=Mr(t,s);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=Pr(e,c),p=Pr(e,u);qi(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 h={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)||(h={...h,...Gr(e,h)}),h.duration&&(h.duration=to(h.duration)),h.repeatDelay&&(h.repeatDelay=to(h.repeatDelay)),!d||!p||io||!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:Di,pause:Di,stop:Di,then:e=>(e(),Promise.resolve()),cancel:Di,complete:Di});return t?Ir({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=wr(t,e,h);if(n)return n}return Ir(h)};function Or(e){return Boolean(gn(e)&&e.add)}const Dr=e=>/^\-?\d*\.?\d+$/.test(e);function Zr(e,t){-1===e.indexOf(t)&&e.push(t)}function zr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Hr{constructor(){this.subscriptions=[]}add(e){return Zr(this.subscriptions,e),()=>zr(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 jr=new Set;function Yr(e,t,n){e||jr.has(t)||(console.warn(t),jr.add(t))}class Jr{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}=Bi;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,Wi.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=()=>Wi.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&&Yr(!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 Hr);const n=this.events[e].add(t);return"change"===e?()=>{n(),Wi.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?sr(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 Ur(e,t){return new Jr(e,t)}const $r=e=>t=>t.test(e),Qr=[wn,Rn,En,Sn,Xn,Mn,{test:e=>"auto"===e,parse:e=>e}],_r=e=>Qr.find($r(e)),Kr=[...Qr,Ro,$o],qr=e=>Kr.find($r(e));function ea(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ur(n))}function ta(e,t){if(!t)return;return(t[e]||t.default||t).from}function na({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function ia(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&&na(u,t))continue;const a={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[Ki];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,Wi))}i.start(Fr(t,i,o,e.shouldReduceMotion&&hn.has(t)?{type:!1}:a));const d=i.animation;Or(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=_i(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const t in r)ea(e,t,pi(r[t]))}(e,a)}),c}function oa(e,t,n={}){const i=_i(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(ia(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(ra).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(oa(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 ra(e,t){return e.sortNodePosition(t)}const aa=[...Ut].reverse(),sa=Ut.length;function la(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=>oa(e,t,n));i=Promise.all(o)}else if("string"==typeof t)i=oa(e,t,n);else{const o="function"==typeof t?_i(e,t,n.custom):t;i=Promise.all(ia(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ca(e){let t=la(e);const n={animate:da(!0),whileInView:da(),whileHover:da(),whileTap:da(),whileDrag:da(),whileFocus:da(),exit:da()};let i=!0;const o=(t,n)=>{const i=_i(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<sa;t++){const h=aa[t],m=n[h],g=void 0!==s[h]?s[h]:l[h],f=Yt(g),b=h===a?m.isActive:null;!1===b&&(p=t);let v=g===l[h]&&g!==s[h]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!g&&!m.prevProp||Jt(g)||"boolean"==typeof g)continue;const y=ua(m.prevProp,g);let x=y||h===a&&m.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?di(t)&&di(n)?!Qi(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=g,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...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 h=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),i=!1,h?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 ua(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Qi(t,e)}function da(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let pa=0;const ha={animation:{Feature:class extends Vi{constructor(e){super(e),e.animationState||(e.animationState=ca(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Jt(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 Vi{constructor(){super(...arguments),this.id=pa++}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(){}}}},ma=(e,t)=>Math.abs(e-t);class ga{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=va(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ma(e.x,t.x),i=ma(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}=Bi;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=fa(t,this.transformPagePoint),Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,o=va("pointercancel"===e.type?this.lastMoveEventInfo:fa(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!yi(e))return;this.handlers=t,this.transformPagePoint=n;const i=fa(xi(e),this.transformPagePoint),{point:o}=i,{timestamp:r}=Bi;this.history=[{...o,timestamp:r}];const{onSessionStart:a}=t;a&&a(e,va(i,this.history)),this.removeListeners=wi(Ii(window,"pointermove",this.handlePointerMove),Ii(window,"pointerup",this.handlePointerUp),Ii(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Li(this.updatePoint)}}function fa(e,t){return t?{point:t(e.point)}:e}function ba(e,t){return{x:e.x-t.x,y:e.y-t.y}}function va({point:e},t){return{point:e,delta:ba(e,xa(t)),offset:ba(e,ya(t)),velocity:Ia(t,.1)}}function ya(e){return e[0]}function xa(e){return e[e.length-1]}function Ia(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=xa(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>to(t)));)n--;if(!i)return{x:0,y:0};const r=no(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 Ca(e){return e.max-e.min}function wa(e,t=0,n=.01){return Math.abs(e-t)<=n}function Aa(e,t,n,i=.5){e.origin=i,e.originPoint=Mo(t.min,t.max,e.origin),e.scale=Ca(n)/Ca(t),(wa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Mo(n.min,n.max,e.origin)-e.originPoint,(wa(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Na(e,t,n,i){Aa(e.x,t.x,n.x,i?i.originX:void 0),Aa(e.y,t.y,n.y,i?i.originY:void 0)}function ka(e,t,n){e.min=n.min+t.min,e.max=e.min+Ca(t)}function Ga(e,t,n){e.min=t.min-n.min,e.max=e.min+Ca(t)}function Pa(e,t,n){Ga(e.x,t.x,n.x),Ga(e.y,t.y,n.y)}function Va(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 Ba(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 Ta=.35;function Sa(e,t,n){return{min:Ea(e,t),max:Ea(e,n)}}function Ea(e,t){return"number"==typeof e?e:e[t]||0}const Ra=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ma(e){return[e("x"),e("y")]}function Xa({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Wa(e){return void 0===e||1===e}function La({scale:e,scaleX:t,scaleY:n}){return!Wa(e)||!Wa(t)||!Wa(n)}function Fa(e){return La(e)||Oa(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Oa(e){return Da(e.x)||Da(e.y)}function Da(e){return e&&"0%"!==e}function Za(e,t,n){return n+t*(e-n)}function za(e,t,n,i,o){return void 0!==o&&(e=Za(e,o,i)),Za(e,n,i)+t}function Ha(e,t=0,n=1,i,o){e.min=za(e.min,t,n,i,o),e.max=za(e.max,t,n,i,o)}function ja(e,{x:t,y:n}){Ha(e.x,t.translate,t.scale,t.originPoint),Ha(e.y,n.translate,n.scale,n.originPoint)}function Ya(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ja(e,t){e.min=e.min+t,e.max=e.max+t}function Ua(e,t,[n,i,o]){const r=void 0!==t[o]?t[o]:.5,a=Mo(e.min,e.max,r);Ha(e,t[n],t[i],a,t.scale)}const $a=["x","scaleX","originX"],Qa=["y","scaleY","originY"];function _a(e,t){Ua(e.x,t,$a),Ua(e.y,t,Qa)}function Ka(e,t){return Xa(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 qa=new WeakMap;class es{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 ga(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(xi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Gi(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),Ma(e=>{let t=this.getAxisMotionValue(e).get()||0;if(En.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Ca(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Wi.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&&Wi.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||!ts(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?Mo(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?Mo(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&&jt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:Va(e.x,n,o),y:Va(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=Ta){return!1===e?e=0:!0===e&&(e=Ta),{x:Sa(e,"left","right"),y:Sa(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ma(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||!jt(e))return!1;const n=e.current;eo(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=Ka(e,n),{scroll:o}=t;return o&&(Ja(i.x,o.offset.x),Ja(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Ba(e.x,t.x),y:Ba(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=Xa(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ma(a=>{if(!ts(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(Fr(e,n,0,t))}stopAnimation(){Ma(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){Ma(t=>{const{drag:n}=this.getProps();if(!ts(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]-Mo(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!jt(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ma(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=Ca(e),o=Ca(t);return o>i?n=tr(t.min,t.max-i,e.min):i>o&&(n=tr(e.min,e.max-o,t.min)),Cn(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(),Ma(t=>{if(!ts(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(Mo(o,r,i[t]))})}addListeners(){if(!this.visualElement.current)return;qa.set(this.visualElement,this);const e=Ii(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();jt(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=vi(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ma(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=Ta,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function ts(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ns=e=>(t,n)=>{e&&Wi.update(()=>e(t,n))};const is={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function os(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const rs={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Rn.test(e))return e;e=parseFloat(e)}return`${os(e,t.target.x)}% ${os(e,t.target.y)}%`}},as={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=$o.parse(e);if(o.length>5)return i;const r=$o.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=Mo(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 ss extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;var r;r=cs,Object.assign(dn,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()})),is.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()||Wi.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 ls(e){const[t,n]=function(){const e=h(Dt);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=h(nn);return o.createElement(ss,{...e,layoutGroup:i,switchLayoutGroup:h(on),isPresent:t,safeToRemove:n})}const cs={borderRadius:{...rs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rs,borderTopRightRadius:rs,borderBottomLeftRadius:rs,borderBottomRightRadius:rs,boxShadow:as},us=["TopLeft","TopRight","BottomLeft","BottomRight"],ds=us.length,ps=e=>"string"==typeof e?parseFloat(e):e,hs=e=>"number"==typeof e||Rn.test(e);function ms(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const gs=bs(0,.5,Io),fs=bs(.5,.95,Di);function bs(e,t,n){return i=>i<e?0:i>t?1:n(tr(e,t,i))}function vs(e,t){e.min=t.min,e.max=t.max}function ys(e,t){vs(e.x,t.x),vs(e.y,t.y)}function xs(e,t,n,i,o){return e=Za(e-=t,1/n,i),void 0!==o&&(e=Za(e,1/o,i)),e}function Is(e,t,[n,i,o],r,a){!function(e,t=0,n=1,i=.5,o,r=e,a=e){En.test(t)&&(t=parseFloat(t),t=Mo(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Mo(r.min,r.max,i);e===r&&(s-=t),e.min=xs(e.min,t,n,s,o),e.max=xs(e.max,t,n,s,o)}(e,t[n],t[i],t[o],t.scale,r,a)}const Cs=["x","scaleX","originX"],ws=["y","scaleY","originY"];function As(e,t,n,i){Is(e.x,t,Cs,n?n.x:void 0,i?i.x:void 0),Is(e.y,t,ws,n?n.y:void 0,i?i.y:void 0)}function Ns(e){return 0===e.translate&&1===e.scale}function ks(e){return Ns(e.x)&&Ns(e.y)}function Gs(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 Ps(e){return Ca(e.x)/Ca(e.y)}class Vs{constructor(){this.members=[]}add(e){Zr(this.members,e),e.scheduleRender()}remove(e){if(zr(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 Bs(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 Ts=(e,t)=>e.depth-t.depth;class Ss{constructor(){this.children=[],this.isDirty=!1}add(e){Zr(this.children,e),this.isDirty=!0}remove(e){zr(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ts),this.isDirty=!1,this.children.forEach(e)}}const Es=["","X","Y","Z"];let Rs=0;const Ms={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Xs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Rs++,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;Ms.totalNodes=Ms.resolvedTargetDeltas=Ms.recalculatedProjection=0,this.nodes.forEach(Fs),this.nodes.forEach(Ys),this.nodes.forEach(Js),this.nodes.forEach(Os),e=Ms,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 Ss)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Hr),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&&(Li(i),e(r-t))};return Wi.read(i,!0),()=>Li(i)}(i,250),is.hasAnimatedSinceResize&&(is.hasAnimatedSinceResize=!1,this.nodes.forEach(js))})}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()||qs,{onLayoutAnimationStart:r,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Gs(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={...Lr(o,"layout"),onPlay:r,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||js(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,Li(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(Us),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(Zs);this.isUpdating||this.nodes.forEach(zs),this.isUpdating=!1,this.nodes.forEach(Hs),this.nodes.forEach(Ws),this.nodes.forEach(Ls),this.clearAllSnapshots();const e=performance.now();Bi.delta=Cn(0,1e3/60,e-Bi.timestamp),Bi.timestamp=e,Bi.isProcessing=!0,Ri.update.process(Bi),Ri.preRender.process(Bi),Ri.render.process(Bi),Bi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ds),this.sharedNodes.forEach($s)}scheduleUpdateProjection(){Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Wi.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&&!ks(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||Fa(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)),el((i=n).x),el(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&&(Ja(t.x,n.offset.x),Ja(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ys(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){ys(t,e);const{scroll:n}=this.root;n&&(Ja(t.x,-n.offset.x),Ja(t.y,-n.offset.y))}Ja(t.x,o.offset.x),Ja(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};ys(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&&_a(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Fa(i.latestValues)&&_a(n,i.latestValues)}return Fa(this.latestValues)&&_a(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ys(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Fa(n.latestValues))continue;La(n.latestValues)&&n.updateSnapshot();const i=Ra();ys(i,n.measurePageBox()),As(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Fa(this.latestValues)&&As(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!==Bi.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=Bi.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}},Pa(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ys(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,ka(a.x,s.x,l.x),ka(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ys(this.target,this.layout.layoutBox),ja(this.target,this.targetDelta)):ys(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}},Pa(this.relativeTargetOrigin,this.target,e.target),ys(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ms.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!La(this.parent.latestValues)&&!Oa(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===Bi.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;ys(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&&_a(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,ja(e,a)),i&&Fa(r.latestValues)&&_a(e,r.latestValues))}t.x=Ya(t.x),t.y=Ya(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;Na(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Bs(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ms.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(Ks));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Qs(r.x,e.x,n),Qs(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pa(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){_s(e.x,t.x,n.x,i),_s(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Gs(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),ys(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=Mo(0,void 0!==n.opacity?n.opacity:1,gs(i)),e.opacityExit=Mo(void 0!==t.opacity?t.opacity:1,0,fs(i))):r&&(e.opacity=Mo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<ds;o++){const r=`border${us[o]}Radius`;let a=ms(t,r),s=ms(n,r);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||hs(a)===hs(s)?(e[r]=Math.max(Mo(ps(a),ps(s),i),0),(En.test(s)||En.test(a))&&(e[r]+="%")):e[r]=s)}(t.rotate||n.rotate)&&(e.rotate=Mo(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&&(Li(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wi.update(()=>{is.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=gn(e)?e:Ur(e);return i.start(Fr("",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&&tl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ca(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Ca(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}ys(t,n),_a(t,o),Na(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Vs);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<Es.length;t++){const o="rotate"+Es[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=hi(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=hi(e.pointerEvents)||""),this.hasProjected&&!Fa(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=Bs(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 dn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=dn[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?hi(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(Zs),this.root.sharedNodes.clear()}}}function Ws(e){e.updateLayout()}function Ls(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?Ma(e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=Ca(i);i.min=t[e].min,i.max=i.min+o}):tl(o,n.layoutBox,t)&&Ma(i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],a=Ca(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}};Na(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?Na(s,e.applyTransform(i,!0),n.measuredBox):Na(s,t,n.layoutBox);const l=!ks(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}};Pa(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Pa(s,t,r.layoutBox),Gs(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 Fs(e){Ms.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 Os(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ds(e){e.clearSnapshot()}function Zs(e){e.clearMeasurements()}function zs(e){e.isLayoutDirty=!1}function Hs(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function js(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ys(e){e.resolveTargetDelta()}function Js(e){e.calcProjection()}function Us(e){e.resetRotation()}function $s(e){e.removeLeadSnapshot()}function Qs(e,t,n){e.translate=Mo(t.translate,0,n),e.scale=Mo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _s(e,t,n,i){e.min=Mo(t.min,n.min,i),e.max=Mo(t.max,n.max,i)}function Ks(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const qs={duration:.45,ease:[.4,0,.1,1]};function el(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function tl(e,t,n){return"position"===e||"preserve-aspect"===e&&!wa(Ps(t),Ps(n),.2)}const nl=Xs({attachResizeListener:(e,t)=>vi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),il={current:void 0},ol=Xs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!il.current){const e=new nl({});e.mount(window),e.setOptions({layoutScroll:!0}),il.current=e}return il.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),rl={pan:{Feature:class extends Vi{constructor(){super(...arguments),this.removePointerDownListener=Di}onPointerDown(e){this.session=new ga(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:ns(e),onStart:ns(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&Wi.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=Ii(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 Vi{constructor(e){super(e),this.removeGroupControls=Di,this.removeListeners=Di,this.controls=new es(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Di}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ol,MeasureLayout:ls}},al=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function sl(e,t,n=1){eo(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=al.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():xn(o)?sl(o,t,n+1):o}const ll=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),cl=e=>ll.has(e),ul=e=>e===wn||e===Rn,dl=(e,t)=>parseFloat(e.split(", ")[t]),pl=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return dl(o[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?dl(t[1],e):0}},hl=new Set(["x","y","z"]),ml=pn.filter(e=>!hl.has(e));const gl={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:pl(4,13),y:pl(5,14)},fl=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(cl);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=_r(c);const d=t[o];let p;if(di(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=_r(c);for(let n=t;n<e&&null!==d[n];n++)p?eo(_r(d[n])===p,"All keyframes must be of the same type"):(p=_r(d[n]),eo(p===u||ul(u)&&ul(p),"Keyframes must be of the same dimension as the current value"))}else p=_r(d);if(u!==p)if(ul(u)&&ul(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Rn&&(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 ml.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]=gl[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]=gl[n](l,r)}),e})(t,e,s);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Zt&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}return{target:t,transitionEnd:i}};function bl(e,t,n,i){return(e=>Object.keys(e).some(cl))(t)?fl(e,t,n,i):{target:t,transitionEnd:i}}const vl=(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(!xn(t))return;const n=sl(t,i);n&&e.set(n)});for(const e in t){const o=t[e];if(!xn(o))continue;const r=sl(o,i);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,i);return bl(e,t=o.target,n,i=o.transitionEnd)},yl={current:null},xl={current:!1};const Il=new WeakMap,Cl=Object.keys(tn),wl=Cl.length,Al=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Nl=$t.length;class kl{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=()=>Wi.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=Qt(t),this.isVariantNode=_t(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]&&gn(t)&&(t.set(a[e],!1),Or(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Il.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)),xl.current||function(){if(xl.current=!0,Zt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yl.current=e.matches;e.addListener(t),t()}else yl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||yl.current),"production"!==process.env.NODE_ENV&&Yr(!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(){Il.delete(this.current),this.projection&&this.projection.unmount(),Li(this.notifyUpdate),Li(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=hn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Wi.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?qi(!1,e):eo(!1,e)}for(let e=0;e<wl;e++){const n=Cl[e],{isEnabled:i,Feature:o,ProjectionNode:s,MeasureLayout:l}=tn[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&&jt(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<Al.length;t++){const n=Al[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(gn(r))e.addValue(o,r),Or(i)&&i.add(o),"development"===process.env.NODE_ENV&&Yr("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(gn(a))e.addValue(o,Ur(r,{owner:e})),Or(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,Ur(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<Nl;e++){const n=$t[e],i=this.props[n];(Yt(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=Ur(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=ci(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||gn(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 Hr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Gl extends kl{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=ta(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&&(Dr(c)||Xr(c))?c=parseFloat(c):!qr(c)&&$o.test(l)&&(c=Mr(a,l)),e.addValue(a,Ur(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,r);const e=vl(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Pl extends Gl{readValueFromInstance(e,t){if(hn.has(t)){const e=Rr(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(yn(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ka(e,t)}build(e,t,n,i){On(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return si(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;gn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){oi(e,t,n,i)}}class Vl extends Gl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(hn.has(t)){const e=Rr(t);return e&&e.default||0}return t=ri.has(t)?t:ii(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return li(e,t)}build(e,t,n,i){Kn(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){ai(e,t,0,i)}mount(e){this.isSVGTag=ei(e.tagName),super.mount(e)}}const Bl=(e,t)=>un(e)?new Vl(t,{enableHardwareAcceleration:!1}):new Pl(t,{enableHardwareAcceleration:!0}),Tl={...ha,...$i,...rl,...{layout:{ProjectionNode:ol,MeasureLayout:ls}}},Sl=ln((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...un(e)?fi:bi,preloadedFeatures:n,useRender:ni(t),createVisualElement:i,Component:e}}(e,t,Tl,Bl));function El(){const e=a(!1);return zt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Rl 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 Ml({children:e,isPresent:t}){const n=f(),o=a(null),r=a({width:0,height:0,top:0,left:0});return m(()=>{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(Rl,{isPresent:t,childRef:o,sizeRef:r},i.cloneElement(e,{ref:o}))}const Xl=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:r,presenceAffectsLayout:a,mode:s})=>{const l=ui(Wl),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(Ml,{isPresent:n},e)),i.createElement(Dt.Provider,{value:d},e)};function Wl(){return new Map}const Ll=e=>e.key||"";const Fl=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:r,presenceAffectsLayout:u=!0,mode:d="sync"})=>{eo(!r,"Replace exitBeforeEnter with mode='wait'");const p=h(nn).forceRender||function(){const e=El(),[t,n]=s(0),i=c(()=>{e.current&&n(t+1)},[t]);return[c(()=>Wi.postRender(i),[i]),t]}()[0],m=El(),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(zt(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=Ll(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(Xl,{key:Ll(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:d},e)));f=[...f];const N=I.current.map(Ll),k=g.map(Ll),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===m.current)return;p(),o&&o()}};s=i.createElement(Xl,{key:Ll(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(Xl,{key:Ll(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 Ol(){return Ol=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},Ol.apply(null,arguments)}function Dl(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 Zl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function zl(...e){return c(Zl(...e),e)}function Hl(...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 jl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Yl=i["useId".toString()]||(()=>{});let Jl=0;function Ul(e){const[t,n]=i.useState(Yl());return jl(()=>{n(e=>null!=e?e:String(Jl++))},[e]),e||(t?`radix-${t}`:"")}function $l(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 Ql({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,o]=function({defaultProp:e,onChange:t}){const n=s(e),[i]=n,o=a(i),r=$l(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=$l(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 _l=r((e,t)=>{const{children:n,...i}=e,o=v.toArray(n),r=o.find(ec);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(Kl,Ol({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return g(Kl,Ol({},i,{ref:t}),n)});_l.displayName="Slot";const Kl=r((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...tc(i,n.props),ref:t?Zl(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Kl.displayName="SlotClone";const ql=({children:e})=>g(x,null,e);function ec(e){return y(e)&&e.type===ql}function tc(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 nc=["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?_l:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),g(r,Ol({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const ic="dismissableLayer.update",oc="dismissableLayer.pointerDownOutside",rc="dismissableLayer.focusOutside";let ac;const sc=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lc=r((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...p}=e,m=h(sc),[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=zl(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,k=A>=w,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=$l(e),i=a(!1),o=a(()=>{});return l(()=>{const e=e=>{if(e.target&&!i.current){const r={originalEvent:e};function a(){uc(oc,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=[...m.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=$l(e),i=a(!1);return l(()=>{const e=e=>{if(e.target&&!i.current){uc(rc,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;[...m.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=$l(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),l(()=>{if(f)return i&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(ac=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),cc(),()=>{i&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=ac)}},[f,v,i,m]),l(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),cc())},[f,m]),l(()=>{const e=()=>y({});return document.addEventListener(ic,e),()=>document.removeEventListener(ic,e)},[]),g(nc.div,Ol({},p,{ref:x,style:{pointerEvents:N?k?"auto":"none":void 0,...e.style},onFocusCapture:Dl(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Dl(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Dl(e.onPointerDownCapture,G.onPointerDownCapture)}))});function cc(){const e=new CustomEvent(ic);document.dispatchEvent(e)}function uc(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&&N(()=>e.dispatchEvent(t))}(o,r):o.dispatchEvent(r)}const dc="focusScope.autoFocusOnMount",pc="focusScope.autoFocusOnUnmount",hc={bubbles:!1,cancelable:!0},mc=r((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...u}=e,[d,p]=s(null),h=$l(o),m=$l(r),f=a(null),b=zl(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:vc(f.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||vc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&vc(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){yc.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(dc,hc);d.addEventListener(dc,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(vc(i,{select:t}),document.activeElement!==n)return}((e=gc(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&vc(d))}return()=>{d.removeEventListener(dc,h),setTimeout(()=>{const e=new CustomEvent(pc,hc);d.addEventListener(pc,m),d.dispatchEvent(e),e.defaultPrevented||vc(null!=t?t:document.body,{select:!0}),d.removeEventListener(pc,m),yc.remove(v)},0)}}var e},[d,h,m,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=gc(e),n=fc(t,e),i=fc(t.reverse(),e);return[n,i]}(t);i&&r?e.shiftKey||o!==r?e.shiftKey&&o===i&&(e.preventDefault(),n&&vc(r,{select:!0})):(e.preventDefault(),n&&vc(i,{select:!0})):o===t&&e.preventDefault()}},[n,i,v.paused]);return g(nc.div,Ol({tabIndex:-1},u,{ref:b,onKeyDown:y}))});function gc(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 fc(e,t){for(const n of e)if(!bc(n,{upTo:t}))return n}function bc(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 vc(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 yc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=xc(e,t),e.unshift(t)},remove(t){var n;e=xc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function xc(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const Ic=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?A.createPortal(g(nc.div,Ol({},o,{ref:t})),i):null});const Cc=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=wc(i.current);r.current="mounted"===d?e:"none"},[d]),jl(()=>{const t=i.current,n=o.current;if(n!==e){const i=r.current,a=wc(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]),jl(()=>{if(t){const e=e=>{const n=wc(i.current).includes(e.animationName);e.target===t&&n&&N(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=wc(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=zl(i.ref,o.ref);return"function"==typeof n||i.isPresent?b(o,{ref:r}):null};function wc(e){return(null==e?void 0:e.animationName)||"none"}Cc.displayName="Presence";let Ac=0;function Nc(){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 kc=function(){return kc=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},kc.apply(this,arguments)};function Gc(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 Pc="right-scroll-bar-position",Vc="width-before-scroll-bar";function Bc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Tc="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,Sc=new WeakMap;function Ec(e,t){var n,i,o,r=(n=null,i=function(t){return e.forEach(function(e){return Bc(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 Tc(function(){var t=Sc.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||Bc(e,null)}),i.forEach(function(e){n.has(e)||Bc(e,o)})}Sc.set(r,e)},[e]),r}function Rc(e){return e}var Mc=function(e){var t=e.sideCar,n=Gc(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,kc({},n))};Mc.isSideCarExport=!0;var Xc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Rc);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=kc({async:!0,ssr:!1},e),t}(),Wc=function(){},Lc=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:Wc,onWheelCapture:Wc,onTouchMoveCapture:Wc}),r=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Gc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Ec([n,t]),C=kc(kc({},y),r);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:Xc,removeScrollBar:u,shards:p,noIsolation:m,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),kc(kc({},C),{ref:I})):i.createElement(v,kc({},C,{className:c,ref:I}),l))});Lc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Lc.classNames={fullWidth:Vc,zeroRight:Pc};function Fc(){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 Oc=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=Fc())&&(!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)}}},Dc=function(){var e,t=(e=Oc(),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}},Zc={left:0,top:0,right:0,gap:0},zc=function(e){return parseInt(e||"",10)||0},Hc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Zc;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[zc(n),zc(i),zc(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])}},jc=Dc(),Yc="data-scroll-locked",Jc=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(Yc,"] {\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(Pc," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Vc," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Pc," .").concat(Pc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(Vc," .").concat(Vc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(Yc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Uc=function(){var e=parseInt(document.body.getAttribute(Yc)||"0",10);return isFinite(e)?e:0},$c=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(Yc,(Uc()+1).toString()),function(){var e=Uc()-1;e<=0?document.body.removeAttribute(Yc):document.body.setAttribute(Yc,e.toString())}},[]);var a=i.useMemo(function(){return Hc(r)},[r]);return i.createElement(jc,{styles:Jc(a,!t,r,n?"":"!important")})},Qc=!1;if("undefined"!=typeof window)try{var _c=Object.defineProperty({},"passive",{get:function(){return Qc=!0,!0}});window.addEventListener("test",_c,_c),window.removeEventListener("test",_c,_c)}catch(e){Qc=!1}var Kc=!!Qc&&{passive:!1},qc=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])},eu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),tu(e,n)){var i=nu(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},tu=function(e,t){return"v"===e?function(e){return qc(e,"overflowY")}(t):function(e){return qc(e,"overflowX")}(t)},nu=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},iu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ou=function(e){return[e.deltaX,e.deltaY]},ru=function(e){return e&&"current"in e?e.current:e},au=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},su=0,lu=[];var cu,uu=(cu=function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(su++)[0],a=i.useState(function(){return Dc()})[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(ru),!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=iu(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=eu(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=eu(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=i),!i)return!0;var h=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=nu(e,a),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&tu(e,a)&&(u+=m,d+=h),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}(h,t,e,"h"===h?l:c)},[]),c=i.useCallback(function(e){var n=e;if(lu.length&&lu[lu.length-1]===a){var i="deltaY"in n?ou(n):iu(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(ru).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=iu(e),o.current=void 0},[]),p=i.useCallback(function(t){u(t.type,ou(t),t.target,l(t,e.lockRef.current))},[]),h=i.useCallback(function(t){u(t.type,iu(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return lu.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Kc),document.addEventListener("touchmove",c,Kc),document.addEventListener("touchstart",d,Kc),function(){lu=lu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Kc),document.removeEventListener("touchmove",c,Kc),document.removeEventListener("touchstart",d,Kc)}},[]);var m=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:au(r)}):null,m?i.createElement($c,{gapMode:"margin"}):null)},Xc.useMedium(cu),Mc),du=i.forwardRef(function(e,t){return i.createElement(Lc,kc({},e,{ref:t,sideCar:uu}))});du.classNames=Lc.classNames;var pu=new WeakMap,hu=new WeakMap,mu={},gu=0,fu=function(e){return e&&(e.host||fu(e.parentNode))},bu=function(e,t,n,i){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=fu(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]);mu[n]||(mu[n]=new WeakMap);var r=mu[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=(pu.get(e)||0)+1,c=(r.get(e)||0)+1;pu.set(e,l),r.set(e,c),a.push(e),1===l&&o&&hu.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(),gu++,function(){a.forEach(function(e){var t=pu.get(e)-1,o=r.get(e)-1;pu.set(e,t),r.set(e,o),t||(hu.has(e)||e.removeAttribute(i),hu.delete(e)),o||e.removeAttribute(n)}),--gu||(pu=new WeakMap,pu=new WeakMap,hu=new WeakMap,mu={})}},vu=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"))),bu(i,o,n,"aria-hidden")):function(){return null}};const yu="Dialog",[xu,Iu]=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=h(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Hl(i,...t)]}(yu),[Cu,wu]=xu(yu),Au="DialogPortal",[Nu,ku]=xu(Au,{forceMount:void 0}),Gu="DialogOverlay",Pu=r((e,t)=>{const n=ku(Gu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=wu(Gu,e.__scopeDialog);return r.modal?g(Cc,{present:i||r.open},g(Vu,Ol({},o,{ref:t}))):null}),Vu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=wu(Gu,n);return g(du,{as:_l,allowPinchZoom:!0,shards:[o.contentRef]},g(nc.div,Ol({"data-state":Lu(o.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),Bu="DialogContent",Tu=r((e,t)=>{const n=ku(Bu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=wu(Bu,e.__scopeDialog);return g(Cc,{present:i||r.open},r.modal?g(Su,Ol({},o,{ref:t})):g(Eu,Ol({},o,{ref:t})))}),Su=r((e,t)=>{const n=wu(Bu,e.__scopeDialog),i=a(null),o=zl(t,n.contentRef,i);return l(()=>{const e=i.current;if(e)return vu(e)},[]),g(Ru,Ol({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Dl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Dl(e.onFocusOutside,e=>e.preventDefault())}))}),Eu=r((e,t)=>{const n=wu(Bu,e.__scopeDialog),i=a(!1),o=a(!1);return g(Ru,Ol({},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()}}))}),Ru=r((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:r,...s}=e,c=wu(Bu,n),u=zl(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:Nc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Nc()),Ac++,()=>{1===Ac&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Ac--}},[]),g(x,null,g(mc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:r},g(lc,Ol({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Lu(c.open)},s,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Mu="DialogTitle",Xu="DialogClose",Wu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=wu(Xu,n);return g(nc.button,Ol({type:"button"},i,{ref:t,onClick:Dl(e.onClick,()=>o.onOpenChange(!1))}))});function Lu(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:Bu,titleName:Mu,docsSlug:"dialog"});const Fu=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]=Ql({prop:i,defaultProp:o,onChange:r});return g(Cu,{scope:t,triggerRef:l,contentRef:u,contentId:Ul(),titleId:Ul(),descriptionId:Ul(),open:d,onOpenChange:p,onOpenToggle:c(()=>p(e=>!e),[p]),modal:s},n)},Ou=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,r=wu(Au,t);return g(Nu,{scope:t,forceMount:n},v.map(i,e=>g(Cc,{present:n||r.open},g(Ic,{asChild:!0,container:o},e))))},Du=Pu,Zu=Tu,zu=Wu,Hu=n=>{const{isOpen:i,onRequestClose:o,size:r,title:a,content:s,description:l,children:c,bodyClassName:u}=n;return e(Fu,{open:i,onOpenChange:()=>i&&(null==o?void 0:o()),children:t(Ou,{children:[e(Sl.div,{initial:"closed",animate:i?"open":"closed",variants:Xt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Du,{})}),e(Sl.div,{initial:"closed",animate:i?"open":"closed",variants:Wt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:t(Zu,{className:He("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",u),style:{maxWidth:Lt[r||"lg"]},children:[e(zu,{asChild:!0,children:e(et,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Je,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e($e,{className:He("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:a}):null,l?e($e,{as:"div",children:l}):null,s,c||null]})]})})]})})},ju=({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,h=p?d[i]:void 0,m=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!=h?h:m?"":"bg-white"}`,style:m,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:m,children:n})},Yu=({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:h})=>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:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e($e,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),e($e,{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(et,{...o,renderCheckPlans:h,onModalButtonClick:p})})]})}),Ju=({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($e,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e($e,{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($e,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 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(qe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-8 gap-y-4 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(qe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(it,{width:472,height:100,src:a,alt:"image"})})]})]})}),Uu=({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($e,{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($e,{as:"div",className:"micro mt-8 text-center",children:i})]})}),$u=({href:i,title:o,description:r,date:a,category:s,image:l,readMoreText:c="Read more"})=>t("article",{className:"flex flex-col overflow-hidden rounded-xl bg-white shadow-[0_1px_4px_rgba(0,0,0,0.08),0_4px_16px_rgba(0,0,0,0.06)] transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_4px_12px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.10)]",children:[e(G,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"aspect-video 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-5 pb-6",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"text-body2 font-semibold text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"text-xs text-text","aria-hidden":"true",children:"•"}),e("time",{className:"text-body2 text-text",children:a})]})]}),o&&e(G,{href:i,className:"m-0 line-clamp-3 text-heading6 font-black transition-colors duration-150 hover:text-text-brand",children:o}),r&&e($e,{className:"m-0 line-clamp-3 flex-1 text-body1",children:r}),e(G,{href:i,className:"group mt-auto inline-flex justify-between pt-3 text-sm text-text-brand no-underline transition-all duration-200 hover:gap-2.5 hover:text-[#007ab8]","aria-label":`${c} about ${o||"this article"}`,children:t(je,{"aria-label":`${c} about ${o||"this article"}`,className:"flex w-36 justify-around text-nowrap text-label1 font-black",children:[c,e(Je,{name:"expand_circle_right",fill:0,size:24,weight:"600"})]})})]})]}),Qu=({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(je,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Je,{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(je,{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(je,{className:s,onClick:()=>o(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(Je,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function _u(e){return _u="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},_u(e)}function Ku(e){var t=function(e,t){if("object"!=_u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=_u(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_u(t)?t:t+""}function qu(e,t,n){return(t=Ku(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ed(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 td(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ed(Object(n),!0).forEach(function(t){qu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ed(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nd(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 id(e,t){if(e){if("string"==typeof e)return nd(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)?nd(e,t):void 0}}function od(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)||id(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 rd(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 ad=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function sd(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,Ku(i.key),i)}}function ld(e,t){return ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ld(e,t)}function cd(e){return cd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cd(e)}function ud(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ud=function(){return!!e})()}function dd(e,t){if(t&&("object"==_u(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 pd(e){return function(e){if(Array.isArray(e))return nd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||id(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 hd=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}(),md="-ms-",gd="-moz-",fd="-webkit-",bd="comm",vd="rule",yd="decl",xd="@keyframes",Id=Math.abs,Cd=String.fromCharCode,wd=Object.assign;function Ad(e){return e.trim()}function Nd(e,t,n){return e.replace(t,n)}function kd(e,t){return e.indexOf(t)}function Gd(e,t){return 0|e.charCodeAt(t)}function Pd(e,t,n){return e.slice(t,n)}function Vd(e){return e.length}function Bd(e){return e.length}function Td(e,t){return t.push(e),e}var Sd=1,Ed=1,Rd=0,Md=0,Xd=0,Wd="";function Ld(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:Sd,column:Ed,length:a,return:""}}function Fd(e,t){return wd(Ld("",null,null,"",null,null,0),e,{length:-e.length},t)}function Od(){return Xd=Md>0?Gd(Wd,--Md):0,Ed--,10===Xd&&(Ed=1,Sd--),Xd}function Dd(){return Xd=Md<Rd?Gd(Wd,Md++):0,Ed++,10===Xd&&(Ed=1,Sd++),Xd}function Zd(){return Gd(Wd,Md)}function zd(){return Md}function Hd(e,t){return Pd(Wd,e,t)}function jd(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 Yd(e){return Sd=Ed=1,Rd=Vd(Wd=e),Md=0,[]}function Jd(e){return Wd="",e}function Ud(e){return Ad(Hd(Md-1,_d(91===e?e+2:40===e?e+1:e)))}function $d(e){for(;(Xd=Zd())&&Xd<33;)Dd();return jd(e)>2||jd(Xd)>3?"":" "}function Qd(e,t){for(;--t&&Dd()&&!(Xd<48||Xd>102||Xd>57&&Xd<65||Xd>70&&Xd<97););return Hd(e,zd()+(t<6&&32==Zd()&&32==Dd()))}function _d(e){for(;Dd();)switch(Xd){case e:return Md;case 34:case 39:34!==e&&39!==e&&_d(Xd);break;case 40:41===e&&_d(e);break;case 92:Dd()}return Md}function Kd(e,t){for(;Dd()&&e+Xd!==57&&(e+Xd!==84||47!==Zd()););return"/*"+Hd(t,Md-1)+"*"+Cd(47===e?e:Dd())}function qd(e){for(;!jd(Zd());)Dd();return Hd(e,Md)}function ep(e){return Jd(tp("",null,null,null,[""],e=Yd(e),0,[0],e))}function tp(e,t,n,i,o,r,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,g=1,f=1,b=1,v=0,y="",x=o,I=r,C=i,w=y;f;)switch(m=v,v=Dd()){case 40:if(108!=m&&58==Gd(w,d-1)){-1!=kd(w+=Nd(Ud(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ud(v);break;case 9:case 10:case 13:case 32:w+=$d(m);break;case 92:w+=Qd(zd()-1,7);continue;case 47:switch(Zd()){case 42:case 47:Td(ip(Kd(Dd(),zd()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=Vd(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(w=Nd(w,/\f/g,"")),h>0&&Vd(w)-d&&Td(h>32?op(w+";",i,n,d-1):op(Nd(w," ","")+";",i,n,d-2),l);break;case 59:w+=";";default:if(Td(C=np(w,t,n,c,u,o,s,y,x=[],I=[],d),r),123===v)if(0===u)tp(w,t,C,C,x,r,d,s,I);else switch(99===p&&110===Gd(w,3)?100:p){case 100:case 108:case 109:case 115:tp(e,C,C,i&&Td(np(e,C,C,0,0,o,s,y,o,x=[],d),I),o,I,d,s,i?x:I);break;default:tp(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,g=b=1,y=w="",d=a;break;case 58:d=1+Vd(w),h=m;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Od())continue;switch(w+=Cd(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Vd(w)-1)*b,b=1;break;case 64:45===Zd()&&(w+=Ud(Dd())),p=Zd(),u=d=Vd(y=w+=qd(zd())),v++;break;case 45:45===m&&2==Vd(w)&&(g=0)}}return r}function np(e,t,n,i,o,r,a,s,l,c,u){for(var d=o-1,p=0===o?r:[""],h=Bd(p),m=0,g=0,f=0;m<i;++m)for(var b=0,v=Pd(e,d+1,d=Id(g=a[m])),y=e;b<h;++b)(y=Ad(g>0?p[b]+" "+v:Nd(v,/&\f/g,p[b])))&&(l[f++]=y);return Ld(e,t,n,0===o?vd:s,l,c,u)}function ip(e,t,n){return Ld(e,t,n,bd,Cd(Xd),Pd(e,2,-2),0)}function op(e,t,n,i){return Ld(e,t,n,yd,Pd(e,0,i),Pd(e,i+1,-1),i)}function rp(e,t){for(var n="",i=Bd(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function ap(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case yd:return e.return=e.return||e.value;case bd:return"";case xd:return e.return=e.value+"{"+rp(e.children,i)+"}";case vd:e.value=e.props.join(",")}return Vd(n=rp(e.children,i))?e.return=e.value+"{"+n+"}":""}function sp(e){var t=Bd(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 lp="undefined"!=typeof document,cp=function(e,t,n){for(var i=0,o=0;i=o,o=Zd(),38===i&&12===o&&(t[n]=1),!jd(o);)Dd();return Hd(e,Md)},up=function(e,t){return Jd(function(e,t){var n=-1,i=44;do{switch(jd(i)){case 0:38===i&&12===Zd()&&(t[n]=1),e[n]+=cp(Md-1,t,n);break;case 2:e[n]+=Ud(i);break;case 4:if(44===i){e[++n]=58===Zd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Cd(i)}}while(i=Dd());return e}(Yd(e),t))},dp=new WeakMap,pp=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)||dp.get(n))&&!i){dp.set(e,!0);for(var o=[],r=up(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]}}},hp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function mp(e,t){switch(function(e,t){return 45^Gd(e,0)?(((t<<2^Gd(e,0))<<2^Gd(e,1))<<2^Gd(e,2))<<2^Gd(e,3):0}(e,t)){case 5103:return fd+"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 fd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fd+e+gd+e+md+e+e;case 6828:case 4268:return fd+e+md+e+e;case 6165:return fd+e+md+"flex-"+e+e;case 5187:return fd+e+Nd(e,/(\w+).+(:[^]+)/,fd+"box-$1$2"+md+"flex-$1$2")+e;case 5443:return fd+e+md+"flex-item-"+Nd(e,/flex-|-self/,"")+e;case 4675:return fd+e+md+"flex-line-pack"+Nd(e,/align-content|flex-|-self/,"")+e;case 5548:return fd+e+md+Nd(e,"shrink","negative")+e;case 5292:return fd+e+md+Nd(e,"basis","preferred-size")+e;case 6060:return fd+"box-"+Nd(e,"-grow","")+fd+e+md+Nd(e,"grow","positive")+e;case 4554:return fd+Nd(e,/([^-])(transform)/g,"$1"+fd+"$2")+e;case 6187:return Nd(Nd(Nd(e,/(zoom-|grab)/,fd+"$1"),/(image-set)/,fd+"$1"),e,"")+e;case 5495:case 3959:return Nd(e,/(image-set\([^]*)/,fd+"$1$`$1");case 4968:return Nd(Nd(e,/(.+:)(flex-)?(.*)/,fd+"box-pack:$3"+md+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fd+e+e;case 4095:case 3583:case 4068:case 2532:return Nd(e,/(.+)-inline(.+)/,fd+"$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(Vd(e)-1-t>6)switch(Gd(e,t+1)){case 109:if(45!==Gd(e,t+4))break;case 102:return Nd(e,/(.+:)(.+)-([^]+)/,"$1"+fd+"$2-$3$1"+gd+(108==Gd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kd(e,"stretch")?mp(Nd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Gd(e,t+1))break;case 6444:switch(Gd(e,Vd(e)-3-(~kd(e,"!important")&&10))){case 107:return Nd(e,":",":"+fd)+e;case 101:return Nd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fd+(45===Gd(e,14)?"inline-":"")+"box$3$1"+fd+"$2$3$1"+md+"$2box$3")+e}break;case 5936:switch(Gd(e,t+11)){case 114:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fd+e+md+e+e}return e}var gp,fp,bp,vp=lp?void 0:(gp=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},fp=new WeakMap,function(e){if(fp.has(e))return fp.get(e);var t=gp(e);return fp.set(e,t),t}),yp=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case yd:e.return=mp(e.value,e.length);break;case xd:return rp([Fd(e,{value:Nd(e.value,"@","@"+fd)})],i);case vd: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 rp([Fd(e,{props:[Nd(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return rp([Fd(e,{props:[Nd(t,/:(plac\w+)/,":"+fd+"input-$1")]}),Fd(e,{props:[Nd(t,/:(plac\w+)/,":-moz-$1")]}),Fd(e,{props:[Nd(t,/:(plac\w+)/,md+"input-$1")]})],i)}return""})}}],xp=function(e){var t=e.key;if(lp&&"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||yp,a={},s=[];lp&&(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=[pp,hp];if(vp){var u=[ap],d=sp(c.concat(r,u)),p=vp(r)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=rp(ep(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,i){var o=t.name,r=h(e,t);return void 0===b.compat?(i&&(b.inserted[o]=!0),r):i?void(b.inserted[o]=r):r}}else{var m,g=[ap,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=sp(c.concat(r,g));o=function(e,t,n,i){m=n,rp(ep(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new hd({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},Ip={exports:{}},Cp={};var wp,Ap,Np,kp,Gp={};
|
|
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 h,useInsertionEffect as m,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 V,useSearchParams as B}from"next/navigation";function T(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=T(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function S(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=T(e))&&(i&&(i+=" "),i+=t);return i}const E=e=>{const t=W(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=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 o=n[e]||[];return t&&i[e]?[...o,...i[e]]:o}}},R=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?R(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},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,i={nextPart:new Map,validators:[]};for(const e in n)L(n[e],i,e,t);return i},L=(e,t,n,i)=>{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(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{L(o,F(t,e),n,i)})})},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,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)}}},Z=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=z(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},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 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 Y(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(i&&(i+=" "),i+=t);return i}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=J(e[i]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,i,o,r=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),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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,g=i(m?p.substring(0,h):p);if(!g){if(!m){l=t+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=t+(l.length>0?" "+l:l);continue}m=!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,m);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(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)/,ie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>K.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&re(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),he=e=>ie.test(e),me=e=>!fe(e)&&!Ce(e),ge=e=>Ve(e,Ee,de),fe=e=>Q.test(e),be=e=>Ve(e,Re,ue),ve=e=>Ve(e,Me,re),ye=e=>Ve(e,Te,de),xe=e=>Ve(e,Se,he),Ie=e=>Ve(e,We,pe),Ce=e=>_.test(e),we=e=>Be(e,Re),Ae=e=>Be(e,Xe),Ne=e=>Be(e,Te),ke=e=>Be(e,Ee),Ge=e=>Be(e,Se),Pe=e=>Be(e,We,!0),Ve=(e,t,n)=>{const i=Q.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Be=(e,t,n=!1)=>{const i=_.exec(e);return!!i&&(i[1]?t(i[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"),i=$("font-weight"),o=$("tracking"),r=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("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=()=>[oe,"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=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ce,fe],V=()=>["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]}],B=()=>["auto","cover","contain",ke,ge,{size:[Ce,fe]}],T=()=>[se,we,be],S=()=>["","none","full",c,Ce,fe],E=()=>["",re,we,be],R=()=>[re,se,Ne,ye],M=()=>["","none",m,Ce,fe],X=()=>["none",re,Ce,fe],W=()=>["none",re,Ce,fe],L=()=>[re,Ce,fe],F=()=>[oe,"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:[me],"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",re],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,fe,Ce,f]}],container:["container"],columns:[{columns:[re,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:[oe,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,oe,"auto","initial","none",fe]}],grow:[{grow:["",re,Ce,fe]}],shrink:[{shrink:["",re,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:[i,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:[o,Ce,fe]}],"line-clamp":[{"line-clamp":[re,"none",Ce,ve]}],leading:[{leading:[r,...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:[re,"from-font","auto",Ce,be]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[re,"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: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"]},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":[re,Ce,fe]}],"outline-w":[{outline:["",re,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":[re,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:[re,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":[re]}],"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":[re]}],"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",Ce,fe]}],filter:[{filter:["","none",Ce,fe]}],blur:[{blur:M()}],brightness:[{brightness:[re,Ce,fe]}],contrast:[{contrast:[re,Ce,fe]}],"drop-shadow":[{"drop-shadow":["","none",h,Pe,Ie]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",re,Ce,fe]}],"hue-rotate":[{"hue-rotate":[re,Ce,fe]}],invert:[{invert:["",re,Ce,fe]}],saturate:[{saturate:[re,Ce,fe]}],sepia:[{sepia:["",re,Ce,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,fe]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[re,Ce,fe]}],"backdrop-contrast":[{"backdrop-contrast":[re,Ce,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,Ce,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,Ce,fe]}],"backdrop-invert":[{"backdrop-invert":["",re,Ce,fe]}],"backdrop-opacity":[{"backdrop-opacity":[re,Ce,fe]}],"backdrop-saturate":[{"backdrop-saturate":[re,Ce,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",re,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:[re,"initial",Ce,fe]}],ease:[{ease:["linear","initial",b,Ce,fe]}],delay:[{delay:[re,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:[re,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 i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},ze=((e,...t)=>"function"==typeof e?U(Le,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:o={},override:r={}})=>(Fe(e,"cacheSize",t),Fe(e,"prefix",n),Fe(e,"experimentalParseClassName",i),Oe(e.theme,r.theme),Oe(e.classGroups,r.classGroups),Oe(e.conflictingClassGroups,r.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Fe(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),De(e.theme,o.theme),De(e.classGroups,o.classGroups),De(e.conflictingClassGroups,o.conflictingClassGroups),De(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Ze(e,o,"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"]}}}),He=(...e)=>ze(S(...e)),je=r(({children:t,className:n="",style:i,disabled:o,...r},a)=>e("button",{ref:a,className:He(n),style:i,disabled:o,...r,children:t}));je.displayName="Button";const Ye=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})})};Ye.displayName="Collapse";const Je=({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:He("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Je.displayName="MaterialIcon";const Ue=n=>{const{title:i,defaultOpen:o,children:r,containerClassName:a,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p,borderRadiusNone:h=!1}=n,[m,g]=s(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;g(e)}else g(Boolean(o))},[p,o]),t("div",{className:He(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(je,{type:"button",className:He(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:He("label5",c),children:i}),e(Je,{name:m?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Ye,{open:m,children:e("div",{className:He("px-4 py-4",u),children:r})})]})};Ue.displayName="Accordion";const $e=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)});$e.displayName="Text";const Qe=({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($e,{as:r?"h1":"h2",className:"heading1 text-left lg:text-center",children:i})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((t,n)=>e("div",{children:e(Ue,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",className:"px-0",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e($e,{children:t.description})})},`item-${n}`))})]})}),_e=({href:i,title:o,description:r,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0})=>t("article",{className:u?"flex h-full flex-col overflow-hidden rounded-xl bg-white shadow-[0_1px_4px_rgba(0,0,0,0.08),0_4px_16px_rgba(0,0,0,0.06)] transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_4px_12px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.10)]":"callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] w-full overflow-hidden rounded-xl bg-white shadow-[0_1px_4px_rgba(0,0,0,0.08),0_4px_16px_rgba(0,0,0,0.06)] transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_4px_12px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.10)]",children:[e(A,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"aspect-video 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-5 pb-6",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"text-body2 font-semibold text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"text-xs text-text","aria-hidden":"true",children:"•"}),e("time",{className:"text-body2 text-text",children:a})]})]}),o&&e(A,{href:i,className:"m-0 line-clamp-3 text-heading6 font-black transition-colors duration-150 hover:text-text-brand",children:o}),r&&e($e,{className:"m-0 line-clamp-3 flex-1 text-body1",children:r}),e(A,{href:i,className:"group mt-auto inline-flex justify-between pt-3 text-sm text-text-brand no-underline transition-all duration-200 hover:gap-2.5 hover:text-[#007ab8]","aria-label":`${c} about ${o||"this article"}`,children:t(je,{"aria-label":`${c} about ${o||"this article"}`,className:"flex w-36 justify-around text-nowrap text-label1 font-black",children:[c,e(Je,{name:"expand_circle_right",fill:0,size:24,weight:"600"})]})})]})]}),Ke=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()},qe=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 h=(()=>{const e=He((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=He((s||o)&&"cursor-not-allowed",o&&"pl-7",s&&"bg-bg-fill-brand-disabled");return He(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[i]||"",t)})();let m=`button--${i}`;o&&(m+=" button--loading"),s&&(m+=" button--disabled");const g=`${m} ${h}`,f=t(n,{children:[o?e(Je,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:He(Ke(c)),children:a}),r]}):r]});return"a"===u?e("a",{ref:p,className:He(g),...d,children:f}):e("button",{ref:p,className:He(g),disabled:s||o,...d,children:f})});qe.displayName="BrandButton";const et=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={...c,ref:u,className:He(d,`link--${r}`,l&&"link--disabled",i),style:a,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==o||o(e)},...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...p,children:t})});et.displayName="Link";const tt=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:h,renderCheckPlans:m,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,...I}=n;if("check availability"===h){return null==m?void 0:m({ctaText:r,buttonVariant:o,showButtonAs:i,cta:{...n}})}function C(){"modal"===f&&(null==v||v(b))}function w(e){C(),null==y||y(e)}function A(e){C(),null==y||y(e)}let N=e(je,{onClick:A,className:g,...I});switch(i){case"solid":N=e(qe,s?{as:"a",href:s,id:c,variant:o,text:r,label:a,fullWidth:p,onClick:w}:{id:c,variant:o,text:r,label:a,fullWidth:p,onClick:A});break;case"text":N=t(et,{href:s,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:w,children:[r," ",x&&e(Je,{name:x,size:24})]})}return N},nt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},it=({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()},ot=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:it,unoptimized:!1}:{unoptimized:s};return e(w,{ref:i,className:He(t),...n,...l})});ot.displayName="NextImage";const rt=({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=nt[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${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(ot,"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",children:[n.title&&e($e,{as:"h5",className:"heading5 font-black",children:n.title}),n.body&&e($e,{as:"div",className:"body1",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(tt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right"})})]})})},at=({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-8",children:[t("div",{className:"title-holder",children:[n&&e($e,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),r&&e($e,{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-8 self-stretch lg:gap-6",children:i.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(_e,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1})}return e(rt,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},st=({fields:t})=>e("div",{children:e($e,{children:"Cards"})}),lt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},ct=r(({children:t,className:n="",variant:i="unstyled",style:o,...r},a)=>{const s=He("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:o,...r,children:t})});ct.displayName="ListItem";const ut=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=He(u,`list--${t}`,`list--${a}`,i),p=r||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(ct,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});ut.displayName="List";const dt=n=>{const{items:i,listIconName:o="check",listItemClassName:r,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=n,u="disc"!==o;return(null==i?void 0:i.length)?e(ut,{className:"mt-2 space-y-1",variant:u?"unstyled":"default",children:i.map((n,i)=>t(ct,{variant:u?"unstyled":"default",className:He(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e("div",{children:e(Je,{name:o,size:a,color:lt[l],weight:"600",className:He("top"===s?"mt-1":"",c)})}),e($e,{as:"div",children:n})]},i))}):null};dt.displayName="Checklist";const pt=r(({as:t,className:n="",...i},o)=>{const r=He(n);if(t){return e(t,{ref:o,className:r,...i})}return e("img",{ref:o,className:r,...i})});pt.displayName="Image";const ht=({onSelect:i,speed:o,isSelected:r=!1,renderCheckPlans:a,cta:l,techType:c,isMax:u})=>{const[d,p]=s(!1),h=`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"} `,m=null==a?void 0:a({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return t(n,{children:[t(je,{onClick:()=>{p(!0),i()},className:He(h,"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("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(r?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(Je,{name:"chevron_right",fill:1,size:24})})]}),m]})},mt=({planName:i,planSubtext:o,speed:r,price:a,description:l,bestValue:c=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="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"===h;return t("article",{className:He("relative flex h-full w-full max-w-[392px] flex-col",!c&&"pt-[28px]"),children:[c&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:u}),t("div",{className:He("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",k?"bg-bg-fill-inverse text-white":"bg-white text-text",c?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e($e,{as:"h3",className:He("subheading2 whitespace-nowrap font-black",k?"text-bg-fill-brand-accent":"text-text-brand"),children:i}),e($e,{as:"p",className:`text-label3 font-black ${k?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:o})]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:a.split(".")[0]}),t("span",{className:"text-sm font-black",children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e($e,{className:He("text-base",k?"text-white":"text-text"),children:l})}),e("div",{className:He("flex-col items-center rounded-xl p-2",k?"bg-bg-surface-inverse":"bg-gray-200"),children:d&&(null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2 p-1",children:[e(pt,{src:n.icon,alt:n.title,width:24,height:24}),e($e,{as:"div",className:"text-sm font-bold",children:n.title})]},n.title)))}),e(ht,{onSelect:v,speed:r,isSelected:k,renderCheckPlans:y,cta:x,techType:I,isMax:C}),g.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(je,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center justify-between text-left",children:[e($e,{as:"h4",className:"text-base font-bold",children:m}),e(Je,{name:"keyboard_arrow_up",fill:1,size:24,className:He("transition-transform duration-300",N&&"rotate-180")})]}),t("div",{className:He("overflow-hidden transition-all duration-300 ease-in-out",N?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(dt,{items:g,iconColor:k?"yellow":"green",listItemClassName:""+(k?"text-white":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(pt,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",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($e,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},gt=({title:n,quote:i,rating:o,author:r,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:S("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",l?"bg-white shadow-lg":"bg-gray-50 opacity-60",c),children:[e("header",{children:e($e,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:n})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:i}),o?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e(Je,{size:24,name:"star",fill:1,className:S("h-5 w-5",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,r&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(w,{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:"text-sm font-bold not-italic text-text",children:r}),e($e,{as:"p",className:"text-xs text-text",children:a})]})]})]});function ft({fields:i,renderCheckPlans:o}){var r,u,d,p;const h=(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,[m,g]=s(h),[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,m,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 h=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[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:m;return e("div",{ref:i?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:He(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(mt,{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(!m)},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(je,{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(Je,{name:"arrow_back",size:24})}),e(je,{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(Je,{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-8 px-4",children:x.map((e,t)=>N(e,t))})}const bt=({fields:n})=>{var i;const o=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[],[r,u]=s(0),d=a(null),p=c(()=>{0!==o.length&&u(e=>(e+1)%o.length)},[o.length]),h=c(()=>{0!==o.length&&u(e=>0===e?o.length-1:e-1)},[o.length]);return l(()=>{if(0!==o.length)return d.current=setInterval(()=>{p()},8e3),()=>{d.current&&clearInterval(d.current)}},[p,o.length]),o&&0!==o.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(je,{onClick:h,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:o.map((t,n)=>{let i=n-r;const a=o.length;i>a/2&&(i-=a),i<-a/2&&(i+=a);const s=0===i;return e("div",{className:He("col-start-1 row-start-1 w-full md:max-w-[815px]",s?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${s?"0%":105*i+"%"})`,zIndex:s?10:5,visibility:Math.abs(i)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(gt,{...t,isActive:s,className:"h-full"})},n)})}),e(je,{onClick:p,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:o.map((t,n)=>e("button",{onClick:()=>u(n),className:He("h-2 w-2 rounded-full transition-all duration-300",r===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},vt=({tabs:t,activeTab:n,onChange:i,className:o})=>e("div",{className:He("mx-auto flex w-fit rounded-2xl bg-bg-surface-active p-1",o),children:t.map(t=>e("button",{onClick:()=>i(t),className:He("min-w-[160px] whitespace-nowrap rounded-2xl bg-bg-surface-active px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-bg-surface-hover"),children:t},t))}),yt=({fields:n,hasTestimonialCards:i,hasProductCards:o,disclaimerText:r,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,showSwitch:p=!1})=>e("div",{className:`${a} mx-auto overflow-hidden py-9 md:px-5 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[t("div",{children:[e($e,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e($e,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==n?void 0:n.subTitle})]}),p&&o&&c.length>1&&e(vt,{tabs:c,activeTab:s,onChange:l}),i&&e(bt,{fields:n}),o&&e(ft,{onModalButtonClick:u,renderCheckPlans:d,fields:n}),e($e,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:r})]})}),xt=({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-[40px] xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] 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(ot,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[n&&e($e,{as:u?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e($e,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),o&&e($e,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(tt,{...s})})]}),r&&e("div",{children:e($e,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),It=({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("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-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($e,{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(tt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${i}`)})}),t("div",{className:"pt-8",children:[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(tt,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Ct=({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(Je,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),wt=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:He("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 At=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:He("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"})})},Nt=({brow:n,enableHeading:i,title:o,subTitle:r,ctaDisclaimer:a,disclaimer:l,description:c,image:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,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(wt,{link:V,autoplay:S}):e(At,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:gap-[126px] "+(p?"xl:flex-row-reverse":"xl:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e($e,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e($e,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:o}),r&&e($e,{as:i?"h2":"h3",className:"subheading1 mt-3",children:r})]}),c&&e($e,{as:"div",className:"body1",children:c}),h.length>0&&e(dt,{items:h,iconPosition:"top",iconSize:24}),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(pt,{src:t.image,alt:"icon-link"})})},n))}),(g||m)&&t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(tt,{...g,fullWidth:!0,renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta",children:e(tt,{...m,fullWidth:!0,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 xl:w-auto",children:[u&&e("div",{className:"relative flex aspect-[16/9] w-full justify-center xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e(ot,{src:u,alt:"section-image",width:y,height:x,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:He("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl: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:He(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(ot,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Ct,{isHovered:G})})]}),!T&&S&&e("div",{className:He("aspect-[16/9] w-full overflow-hidden rounded-[40px] 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})})]})},kt=({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(tt,{...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:[],h=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:s,children:[t(tt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e($e,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Je,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:He("shadow-navDrop fixed z-10 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:h,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(tt,{...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}`))})})]})},Gt=({link:i})=>{const[r,a]=o.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(tt,{...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(tt,{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(Je,{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(Pt,{items:u})]})},Pt=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(tt,{...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}`),Vt=n=>{const{showBlinkDot:i=!1,buttonStyle:o="primary",size:r="md",children:a,className:s,...l}=n;return t(et,{...l,className:He("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(Je,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Vt.displayName="CallButton";const Bt=r((n,i)=>{const{className:o,size:r,required:a,placeholder:l,label:u,state:d,errorText:p,prefixIconName:h,prefixIconFill:m=!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:He("inline-block pb-1"),children:t($e,{as:"span",className:"footnote text-text",children:[u,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:He("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:[h?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(Je,{name:h,fill:m?1:0,size:f,className:He(x)})}):null,e("input",{ref:i,id:u,disabled:I||A.disabled,className:He("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(Je,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===N&&p&&""!=p?t($e,{className:He("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Je,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Bt.displayName="Input";const Tt=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",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(tt,{linkClassName:He("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(Vt,{className:"border-none",href:u,children:e($e,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(kt,{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(ot,{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(Vt,{href:u,children:e($e,{as:"span",className:"footnote",children:d})}),e(St,{...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(ot,{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(kt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Rt,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(kt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},St=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(tt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(Je,{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:He("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(Vt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(tt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(Je,{name:"close"})})})]}),e(Et,{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(Gt,{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(tt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:He("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}`))})]})]})})]})},Et=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(ot,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Bt,{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"})})]})},Rt=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(ot,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Bt,{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"})]})},Mt=n=>{var i;const{title:o,showAsHeading:r,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,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:He("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:He("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e($e,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e($e,{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($e,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e($e,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e($e,{as:"p",className:"subheading5",children:u}),p?e($e,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(dt,{listItemClassName:"text-white body2 text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:He("hidden md:flex md:flex-col"),children:e(tt,{...s,renderCheckPlans:m,onModalButtonClick:y})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(tt,{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(tt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e($e,{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(ot,{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(ot,{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(tt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e($e,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(tt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:He("relative hidden lg:block"),children:[g?e(ot,{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(ot,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Xt=({fields:t})=>e("div",{children:e($e,{children:"Text Block"})}),Wt={closed:{opacity:0},open:{opacity:1}},Lt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Ft={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Ot=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Dt=d({}),Zt=d(null),zt="undefined"!=typeof document,Ht=zt?p:l,jt=d({strict:!1});function Yt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Jt(e){return"string"==typeof e||Array.isArray(e)}function Ut(e){return"object"==typeof e&&"function"==typeof e.start}const $t=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Qt=["initial",...$t];function _t(e){return Ut(e.animate)||Qt.some(t=>Jt(e[t]))}function Kt(e){return Boolean(_t(e)||e.variants)}function qt(e){const{initial:t,animate:n}=function(e,t){if(_t(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Jt(t)?t:void 0,animate:Jt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(Dt));return u(()=>({initial:t,animate:n}),[en(t),en(n)])}function en(e){return Array.isArray(e)?e.join(" "):e}const tn={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"]},nn={};for(const e in tn)nn[e]={isEnabled:t=>tn[e].some(e=>!!t[e])};const on=d({}),rn=d({}),an=Symbol.for("motionComponentSymbol");function sn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:s}){e&&function(e){for(const t in e)nn[t]={...nn[t],...e[t]}}(e);const u=r(function(r,u){let d;const p={...h(Ot),...r,layoutId:ln(r)},{isStatic:g}=p,f=qt(r),b=o(r,g);if(!g&&zt){f.visualElement=function(e,t,n,i){const{visualElement:o}=h(Dt),r=h(jt),s=h(Zt),c=h(Ot).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 m(()=>{d&&d.update(n,s)}),Ht(()=>{d&&d.render()}),l(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Ht:l)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(s,b,p,t);const n=h(rn),i=h(jt).strict;f.visualElement&&(d=f.visualElement.loadFeatures(p,i,e,n))}return i.createElement(Dt.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):Yt(n)&&(n.current=i))},[t])}(b,f.visualElement,u),b,g,f.visualElement))});return u[an]=s,u}function ln({layoutId:e}){const t=h(on).id;return t&&void 0!==e?t+"-"+e:e}function cn(e){function t(t,n={}){return sn(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 un=["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 dn(e){return"string"==typeof e&&!e.includes("-")&&!!(un.indexOf(e)>-1||/[A-Z]/.test(e))}const pn={};const hn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],mn=new Set(hn);function gn(e,{layout:t,layoutId:n}){return mn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!pn[e]||"opacity"===e)}const fn=e=>Boolean(e&&e.getVelocity),bn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},vn=hn.length;const yn=e=>t=>"string"==typeof t&&t.startsWith(e),xn=yn("--"),In=yn("var(--"),Cn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,wn=(e,t,n)=>Math.min(Math.max(n,e),t),An={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Nn={...An,transform:e=>wn(0,1,e)},kn={...An,default:1},Gn=e=>Math.round(1e5*e)/1e5,Pn=/(-)?([\d]*\.?[\d])+/g,Vn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Bn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Tn(e){return"string"==typeof e}const Sn=e=>({test:t=>Tn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),En=Sn("deg"),Rn=Sn("%"),Mn=Sn("px"),Xn=Sn("vh"),Wn=Sn("vw"),Ln={...Rn,parse:e=>Rn.parse(e)/100,transform:e=>Rn.transform(100*e)},Fn={...An,transform:Math.round},On={borderWidth:Mn,borderTopWidth:Mn,borderRightWidth:Mn,borderBottomWidth:Mn,borderLeftWidth:Mn,borderRadius:Mn,radius:Mn,borderTopLeftRadius:Mn,borderTopRightRadius:Mn,borderBottomRightRadius:Mn,borderBottomLeftRadius:Mn,width:Mn,maxWidth:Mn,height:Mn,maxHeight:Mn,size:Mn,top:Mn,right:Mn,bottom:Mn,left:Mn,padding:Mn,paddingTop:Mn,paddingRight:Mn,paddingBottom:Mn,paddingLeft:Mn,margin:Mn,marginTop:Mn,marginRight:Mn,marginBottom:Mn,marginLeft:Mn,rotate:En,rotateX:En,rotateY:En,rotateZ:En,scale:kn,scaleX:kn,scaleY:kn,scaleZ:kn,skew:En,skewX:En,skewY:En,distance:Mn,translateX:Mn,translateY:Mn,translateZ:Mn,x:Mn,y:Mn,z:Mn,perspective:Mn,transformPerspective:Mn,opacity:Nn,originX:Ln,originY:Ln,originZ:Mn,zIndex:Fn,fillOpacity:Nn,strokeOpacity:Nn,numOctaves:Fn};function Dn(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(xn(e)){r[e]=n;continue}const i=On[e],d=Cn(n,i);if(mn.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<vn;t++){const n=hn[t];void 0!==e[n]&&(r+=`${bn[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 Zn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function zn(e,t,n){for(const i in t)fn(t[i])||gn(i,n)||(e[i]=t[i])}function Hn(e,t,n){const i={};return zn(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return u(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return Dn(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function jn(e,t,n){const i={},o=Hn(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 Yn=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 Jn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Yn.has(e)}let Un=e=>!Jn(e);try{($n=require("@emotion/is-prop-valid").default)&&(Un=e=>e.startsWith("on")?!Jn(e):$n(e))}catch(e){}var $n;function Qn(e,t,n){return"string"==typeof e?e:Mn.transform(t+n*e)}const _n={offset:"stroke-dashoffset",array:"stroke-dasharray"},Kn={offset:"strokeDashoffset",array:"strokeDasharray"};function qn(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Dn(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:g}=e;h.transform&&(g&&(m.transform=h.transform),delete h.transform),g&&(void 0!==o||void 0!==r||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Qn(t,e.x,e.width)} ${Qn(n,e.y,e.height)}`}(g,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==i&&(h.scale=i),void 0!==a&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?_n:Kn;e[r.offset]=Mn.transform(-i);const a=Mn.transform(t),s=Mn.transform(n);e[r.array]=`${a} ${s}`}(h,a,s,l,!1)}const ei=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ti=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ni(e,t,n,i){const o=u(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return qn(n,t,{enableHardwareAcceleration:!1},ti(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};zn(t,e.style,e),o.style={...t,...o.style}}return o}function ii(e=!1){return(t,n,i,{latestValues:o},r)=>{const a=(dn(t)?ni:jn)(n,o,r,t),s=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(Un(o)||!0===n&&Jn(o)||!t&&!Jn(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(()=>fn(c)?c.get():c,[c]);return g(t,{...l,children:d})}}const oi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ri(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 ai=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 si(e,t,n,i){ri(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(ai.has(n)?n:oi(n),t.attrs[n])}function li(e,t){const{style:n}=e,i={};for(const o in n)(fn(n[o])||t.style&&fn(t.style[o])||gn(o,e))&&(i[o]=n[o]);return i}function ci(e,t){const n=li(e,t);for(const i in e)if(fn(e[i])||fn(t[i])){n[-1!==hn.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function ui(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 di(e){const t=a(null);return null===t.current&&(t.current=e()),t.current}const pi=e=>Array.isArray(e),hi=e=>pi(e)?e[e.length-1]||0:e;function mi(e){const t=fn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const gi=e=>(t,n)=>{const i=h(Dt),o=h(Zt),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const a={latestValues:fi(i,o,r,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,o);return n?r():di(r)};function fi(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=mi(r[e]);let{initial:a,animate:s}=e;const l=_t(e),c=Kt(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&&!Ut(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=ui(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 bi={useVisualState:gi({scrapeMotionValuesFromProps:ci,createRenderState:ei,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}}qn(n,i,{enableHardwareAcceleration:!1},ti(t.tagName),e.transformTemplate),si(t,n)}})},vi={useVisualState:gi({scrapeMotionValuesFromProps:li,createRenderState:Zn})};function yi(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const xi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ii(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Ci(e,t,n,i){return yi(e,t,(e=>t=>xi(t)&&e(t,Ii(t)))(n),i)}const wi=(e,t)=>n=>t(e(n)),Ai=(...e)=>e.reduce(wi);function Ni(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ki=Ni("dragHorizontal"),Gi=Ni("dragVertical");function Pi(e){let t=!1;if("y"===e)t=Gi();else if("x"===e)t=ki();else{const e=ki(),n=Gi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Vi(){const e=Pi(!0);return!e||(e(),!1)}class Bi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ti={delta:0,timestamp:0,isProcessing:!1};let Si=!0,Ei=!1;const Ri=["read","update","preRender","render","postRender"],Mi=Ri.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}(()=>Ei=!0),e),{}),Xi=e=>Mi[e].process(Ti),Wi=e=>{Ei=!1,Ti.delta=Si?1e3/60:Math.max(Math.min(e-Ti.timestamp,40),1),Ti.timestamp=e,Ti.isProcessing=!0,Ri.forEach(Xi),Ti.isProcessing=!1,Ei&&(Si=!1,requestAnimationFrame(Wi))},Li=Ri.reduce((e,t)=>{const n=Mi[t];return e[t]=(e,t=!1,i=!1)=>(Ei||(Ei=!0,Si=!0,Ti.isProcessing||requestAnimationFrame(Wi)),n.schedule(e,t,i)),e},{});function Fi(e){Ri.forEach(t=>Mi[t].cancel(e))}function Oi(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return Ci(e.current,n,(n,o)=>{if("touch"===n.type||Vi())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&Li.update(()=>r[i](n,o))},{passive:!e.getProps()[i]})}const Di=(e,t)=>!!t&&(e===t||Di(e,t.parentElement)),Zi=e=>e;function zi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ii(n))}const Hi=new WeakMap,ji=new WeakMap,Yi=e=>{const t=Hi.get(e.target);t&&t(e)},Ji=e=>{e.forEach(Yi)};function Ui(e,t,n){const i=function({root:e,...t}){const n=e||document;ji.has(n)||ji.set(n,{});const i=ji.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Ji,{root:e,...t})),i[o]}(t);return Hi.set(e,n),i.observe(e),()=>{Hi.delete(e),i.unobserve(e)}}const $i={some:0,all:1};const Qi={inView:{Feature:class extends Bi{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:$i[i]};return Ui(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 Bi{constructor(){super(...arguments),this.removeStartListeners=Zi,this.removeEndListeners=Zi,this.removeAccessibleListeners=Zi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=Ci(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();Li.update(()=>{Di(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Ci(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ai(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=yi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=yi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&zi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Li.update(()=>n(e,t))})}),zi("down",(e,t)=>{this.startPress(e,t)})}),t=yi(this.node.current,"blur",()=>{this.isPressing&&zi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ai(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&&Li.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Vi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Li.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Ci(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=yi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ai(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Bi{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=Ai(yi(this.node.current,"focus",()=>this.onFocus()),yi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Bi{mount(){this.unmount=Ai(Oi(this.node,!0),Oi(this.node,!1))}unmount(){}}}};function _i(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 Ki(e,t,n){const i=e.getProps();return ui(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 qi="data-"+oi("framerAppearId");let eo=Zi,to=Zi;"production"!==process.env.NODE_ENV&&(eo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},to=(e,t)=>{if(!e)throw new Error(t)});const no=e=>1e3*e,io=e=>e/1e3,oo=!1,ro=e=>Array.isArray(e)&&"number"==typeof e[0];function ao(e){return Boolean(!e||"string"==typeof e&&lo[e]||ro(e)||Array.isArray(e)&&e.every(ao))}const so=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,lo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:so([0,.65,.55,1]),circOut:so([.55,0,1,.45]),backIn:so([.31,.01,.66,-.59]),backOut:so([.33,1.53,.69,.99])};function co(e){if(e)return ro(e)?so(e):Array.isArray(e)?e.map(co):lo[e]}const uo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},po={},ho={};for(const e in uo)ho[e]=()=>(void 0===po[e]&&(po[e]=uo[e]()),po[e]);const mo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function go(e,t,n,i){if(e===t&&n===i)return Zi;const o=t=>function(e,t,n,i,o){let r,a,s=0;do{a=t+(n-t)/2,r=mo(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:mo(o(e),t,i)}const fo=go(.42,0,1,1),bo=go(0,0,.58,1),vo=go(.42,0,.58,1),yo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,xo=e=>t=>1-e(1-t),Io=e=>1-Math.sin(Math.acos(e)),Co=xo(Io),wo=yo(Co),Ao=go(.33,1.53,.69,.99),No=xo(Ao),ko=yo(No),Go={linear:Zi,easeIn:fo,easeInOut:vo,easeOut:bo,circIn:Io,circInOut:wo,circOut:Co,backIn:No,backInOut:ko,backOut:Ao,anticipate:e=>(e*=2)<1?.5*No(e):.5*(2-Math.pow(2,-10*(e-1)))},Po=e=>{if(Array.isArray(e)){to(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return go(t,n,i,o)}return"string"==typeof e?(to(void 0!==Go[e],`Invalid easing type '${e}'`),Go[e]):e},Vo=(e,t)=>n=>Boolean(Tn(n)&&Bn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Bo=(e,t,n)=>i=>{if(!Tn(i))return i;const[o,r,a,s]=i.match(Pn);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},To={...An,transform:e=>Math.round((e=>wn(0,255,e))(e))},So={test:Vo("rgb","red"),parse:Bo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+To.transform(e)+", "+To.transform(t)+", "+To.transform(n)+", "+Gn(Nn.transform(i))+")"};const Eo={test:Vo("#"),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:So.transform},Ro={test:Vo("hsl","hue"),parse:Bo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Rn.transform(Gn(t))+", "+Rn.transform(Gn(n))+", "+Gn(Nn.transform(i))+")"},Mo={test:e=>So.test(e)||Eo.test(e)||Ro.test(e),parse:e=>So.test(e)?So.parse(e):Ro.test(e)?Ro.parse(e):Eo.parse(e),transform:e=>Tn(e)?e:e.hasOwnProperty("red")?So.transform(e):Ro.transform(e)},Xo=(e,t,n)=>-n*e+n*t+e;function Wo(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 Lo=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},Fo=[Eo,So,Ro];function Oo(e){const t=(n=e,Fo.find(e=>e.test(n)));var n;to(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===Ro&&(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=Wo(s,i,e+1/3),r=Wo(s,i,e),a=Wo(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 Do=(e,t)=>{const n=Oo(e),i=Oo(t),o={...n};return e=>(o.red=Lo(n.red,i.red,e),o.green=Lo(n.green,i.green,e),o.blue=Lo(n.blue,i.blue,e),o.alpha=Xo(n.alpha,i.alpha,e),So.transform(o))};const Zo={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Zi},zo={regex:Vn,countKey:"Colors",token:"${c}",parse:Mo.parse},Ho={regex:Pn,countKey:"Numbers",token:"${n}",parse:An.parse};function jo(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 Yo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&jo(n,Zo),jo(n,zo),jo(n,Ho),n}function Jo(e){return Yo(e).values}function Uo(e){const{values:t,numColors:n,numVars:i,tokenised:o}=Yo(e),r=t.length;return e=>{let t=o;for(let o=0;o<r;o++)t=o<i?t.replace(Zo.token,e[o]):o<i+n?t.replace(zo.token,Mo.transform(e[o])):t.replace(Ho.token,Gn(e[o]));return t}}const $o=e=>"number"==typeof e?0:e;const Qo={test:function(e){var t,n;return isNaN(e)&&Tn(e)&&((null===(t=e.match(Pn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Vn))||void 0===n?void 0:n.length)||0)>0},parse:Jo,createTransformer:Uo,getAnimatableNone:function(e){const t=Jo(e);return Uo(e)(t.map($o))}},_o=(e,t)=>n=>`${n>0?t:e}`;function Ko(e,t){return"number"==typeof e?n=>Xo(e,t,n):Mo.test(e)?Do(e,t):e.startsWith("var(")?_o(e,t):tr(e,t)}const qo=(e,t)=>{const n=[...e],i=n.length,o=e.map((e,n)=>Ko(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}},er=(e,t)=>{const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=Ko(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}},tr=(e,t)=>{const n=Qo.createTransformer(t),i=Yo(e),o=Yo(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?Ai(qo(i.values,o.values),n):(eo(!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.`),_o(e,t))},nr=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},ir=(e,t)=>n=>Xo(e,t,n);function or(e,t,n){const i=[],o=n||("number"==typeof(r=e[0])?ir:"string"==typeof r?Mo.test(r)?Do:tr:Array.isArray(r)?qo:"object"==typeof r?er:ir);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]||Zi:t;r=Ai(e,r)}i.push(r)}return i}function rr(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(to(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=or(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=nr(e[n],e[n+1],t);return a[n](i)};return n?t=>l(wn(e[0],e[r-1],t)):l}function ar(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=nr(0,t,i);e.push(Xo(n,1,o))}}(t,e.length-1),t}function sr({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Po):Po(i),r={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:ar(t),e),s=rr(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||vo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=s(t),r.done=t>=e,r)}}function lr(e,t){return t?e*(1e3/t):0}function cr(e,t,n){const i=Math.max(t-5,0);return lr(n-e(i),t-i)}const ur=.001;function dr({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r;eo(e<=no(10),"Spring duration must be 10 seconds or less");let a=1-t;a=wn(.05,1,a),e=wn(.01,10,io(e)),a<1?(o=t=>{const i=t*a,o=i*e,r=i-n,s=hr(t,a),l=Math.exp(-o);return ur-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=hr(Math.pow(t,2),a);return(-o(t)+ur>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<pr;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=no(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 pr=12;function hr(e,t){return e*Math.sqrt(1-t*t)}const mr=["duration","bounce"],gr=["stiffness","damping","mass"];function fr(e,t){return t.some(t=>void 0!==e[t])}function br({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(!fr(e,gr)&&fr(e,mr)){const n=dr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),h=u?-io(u):0,m=l/(2*Math.sqrt(s*c)),g=r-o,f=io(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=hr(f,m);v=t=>{const n=Math.exp(-m*f*t);return r-n*((h+m*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)v=e=>r-Math.exp(-f*e)*(g+(h+f*g)*e);else{const e=f*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*f*t),i=Math.min(e*t,300);return r-n*((h+m*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=h;0!==e&&(o=m<1?cr(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 vr({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},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const g=d+m,f=void 0===a?g:a(g);f!==g&&(m=f-d);const b=e=>-m*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=br({keyframes:[p.value,h(p.value)],velocity:cr(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 yr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Li.update(t,!0),stop:()=>Fi(t),now:()=>Ti.isProcessing?Ti.timestamp:performance.now()}};function xr(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 Ir={decay:vr,inertia:vr,tween:sr,keyframes:sr,spring:br};function Cr({autoplay:e=!0,delay:t=0,driver:n=yr,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,g=1,f=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=Ir[o]||sr;let x;y!==sr&&"number"!=typeof i[0]&&(x=rr([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=xr(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=wn(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 h=null===A&&("finished"===w||"running"===w&&p||g<0&&B<=0);return d&&d(u.value),h&&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)=>m.then(e,t),get time(){return io(B)},set time(e){e=no(e),B=e,null===A&&v&&0!==g?N=v.now()-e/g:A=e},get duration(){const e=null===I.calculatedDuration?xr(I):I.calculatedDuration;return io(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=io(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 wr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ar(e,t,{onUpdate:n,onComplete:i,...o}){if(!(ho.waapi()&&wr.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||!ao(t.ease))(t,o)){const e=Cr({...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 h=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=co(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}),m=()=>h.cancel(),g=()=>{Li.update(m),r(),l()};return h.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 io(h.currentTime||0)},set time(e){h.currentTime=no(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return io(u)},play:()=>{s||(h.play(),Fi(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Cr({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>h.finish(),cancel:g}}const Nr={type:"spring",stiffness:500,damping:25,restSpeed:10},kr={type:"keyframes",duration:.8},Gr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pr=(e,{keyframes:t})=>t.length>2?kr:mn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Nr:Gr,Vr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Qo.test(t)&&"0"!==t||t.startsWith("url("))),Br=new Set(["brightness","contrast","saturate","opacity"]);function Tr(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Pn)||[];if(!i)return e;const o=n.replace(i,"");let r=Br.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const Sr=/([a-z-]*)\(.*?\)/g,Er={...Qo,getAnimatableNone:e=>{const t=e.match(Sr);return t?t.map(Tr).join(" "):e}},Rr={...On,color:Mo,backgroundColor:Mo,outlineColor:Mo,fill:Mo,stroke:Mo,borderColor:Mo,borderTopColor:Mo,borderRightColor:Mo,borderBottomColor:Mo,borderLeftColor:Mo,filter:Er,WebkitFilter:Er},Mr=e=>Rr[e];function Xr(e,t){let n=Mr(e);return n!==Er&&(n=Qo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Wr=e=>/^0[^.\s]+$/.test(e);function Lr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Wr(e):void 0}function Fr(e,t){return e[t]||e.default||e}const Or=(e,t,n,i={})=>o=>{const r=Fr(i,e)||{},a=r.delay||i.delay||0;let{elapsed:s=0}=i;s-=no(a);const l=function(e,t,n,i){const o=Vr(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]),Lr(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]]=Xr(t,s);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=Vr(e,c),p=Vr(e,u);eo(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 h={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)||(h={...h,...Pr(e,h)}),h.duration&&(h.duration=no(h.duration)),h.repeatDelay&&(h.repeatDelay=no(h.repeatDelay)),!d||!p||oo||!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:Zi,pause:Zi,stop:Zi,then:e=>(e(),Promise.resolve()),cancel:Zi,complete:Zi});return t?Cr({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ar(t,e,h);if(n)return n}return Cr(h)};function Dr(e){return Boolean(fn(e)&&e.add)}const Zr=e=>/^\-?\d*\.?\d+$/.test(e);function zr(e,t){-1===e.indexOf(t)&&e.push(t)}function Hr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class jr{constructor(){this.subscriptions=[]}add(e){return zr(this.subscriptions,e),()=>Hr(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 Yr=new Set;function Jr(e,t,n){e||Yr.has(t)||(console.warn(t),Yr.add(t))}class Ur{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}=Ti;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,Li.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=()=>Li.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&&Jr(!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 jr);const n=this.events[e].add(t);return"change"===e?()=>{n(),Li.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?lr(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 $r(e,t){return new Ur(e,t)}const Qr=e=>t=>t.test(e),_r=[An,Mn,Rn,En,Wn,Xn,{test:e=>"auto"===e,parse:e=>e}],Kr=e=>_r.find(Qr(e)),qr=[..._r,Mo,Qo],ea=e=>qr.find(Qr(e));function ta(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$r(n))}function na(e,t){if(!t)return;return(t[e]||t.default||t).from}function ia({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function oa(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&&ia(u,t))continue;const a={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[qi];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,Li))}i.start(Or(t,i,o,e.shouldReduceMotion&&mn.has(t)?{type:!1}:a));const d=i.animation;Dr(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Ki(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const t in r)ta(e,t,hi(r[t]))}(e,a)}),c}function ra(e,t,n={}){const i=Ki(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(oa(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(aa).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(ra(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 aa(e,t){return e.sortNodePosition(t)}const sa=[...$t].reverse(),la=$t.length;function ca(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=>ra(e,t,n));i=Promise.all(o)}else if("string"==typeof t)i=ra(e,t,n);else{const o="function"==typeof t?Ki(e,t,n.custom):t;i=Promise.all(oa(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ua(e){let t=ca(e);const n={animate:pa(!0),whileInView:pa(),whileHover:pa(),whileTap:pa(),whileDrag:pa(),whileFocus:pa(),exit:pa()};let i=!0;const o=(t,n)=>{const i=Ki(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<la;t++){const h=sa[t],m=n[h],g=void 0!==s[h]?s[h]:l[h],f=Jt(g),b=h===a?m.isActive:null;!1===b&&(p=t);let v=g===l[h]&&g!==s[h]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!g&&!m.prevProp||Ut(g)||"boolean"==typeof g)continue;const y=da(m.prevProp,g);let x=y||h===a&&m.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?pi(t)&&pi(n)?!_i(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=g,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...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 h=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),i=!1,h?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 da(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!_i(t,e)}function pa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ha=0;const ma={animation:{Feature:class extends Bi{constructor(e){super(e),e.animationState||(e.animationState=ua(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ut(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 Bi{constructor(){super(...arguments),this.id=ha++}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(){}}}},ga=(e,t)=>Math.abs(e-t);class fa{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=ya(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ga(e.x,t.x),i=ga(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}=Ti;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=ba(t,this.transformPagePoint),Li.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,o=ya("pointercancel"===e.type?this.lastMoveEventInfo:ba(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!xi(e))return;this.handlers=t,this.transformPagePoint=n;const i=ba(Ii(e),this.transformPagePoint),{point:o}=i,{timestamp:r}=Ti;this.history=[{...o,timestamp:r}];const{onSessionStart:a}=t;a&&a(e,ya(i,this.history)),this.removeListeners=Ai(Ci(window,"pointermove",this.handlePointerMove),Ci(window,"pointerup",this.handlePointerUp),Ci(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Fi(this.updatePoint)}}function ba(e,t){return t?{point:t(e.point)}:e}function va(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ya({point:e},t){return{point:e,delta:va(e,Ia(t)),offset:va(e,xa(t)),velocity:Ca(t,.1)}}function xa(e){return e[0]}function Ia(e){return e[e.length-1]}function Ca(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=Ia(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>no(t)));)n--;if(!i)return{x:0,y:0};const r=io(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 wa(e){return e.max-e.min}function Aa(e,t=0,n=.01){return Math.abs(e-t)<=n}function Na(e,t,n,i=.5){e.origin=i,e.originPoint=Xo(t.min,t.max,e.origin),e.scale=wa(n)/wa(t),(Aa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Xo(n.min,n.max,e.origin)-e.originPoint,(Aa(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ka(e,t,n,i){Na(e.x,t.x,n.x,i?i.originX:void 0),Na(e.y,t.y,n.y,i?i.originY:void 0)}function Ga(e,t,n){e.min=n.min+t.min,e.max=e.min+wa(t)}function Pa(e,t,n){e.min=t.min-n.min,e.max=e.min+wa(t)}function Va(e,t,n){Pa(e.x,t.x,n.x),Pa(e.y,t.y,n.y)}function Ba(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 Ta(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 Sa=.35;function Ea(e,t,n){return{min:Ra(e,t),max:Ra(e,n)}}function Ra(e,t){return"number"==typeof e?e:e[t]||0}const Ma=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Xa(e){return[e("x"),e("y")]}function Wa({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function La(e){return void 0===e||1===e}function Fa({scale:e,scaleX:t,scaleY:n}){return!La(e)||!La(t)||!La(n)}function Oa(e){return Fa(e)||Da(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Da(e){return Za(e.x)||Za(e.y)}function Za(e){return e&&"0%"!==e}function za(e,t,n){return n+t*(e-n)}function Ha(e,t,n,i,o){return void 0!==o&&(e=za(e,o,i)),za(e,n,i)+t}function ja(e,t=0,n=1,i,o){e.min=Ha(e.min,t,n,i,o),e.max=Ha(e.max,t,n,i,o)}function Ya(e,{x:t,y:n}){ja(e.x,t.translate,t.scale,t.originPoint),ja(e.y,n.translate,n.scale,n.originPoint)}function Ja(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ua(e,t){e.min=e.min+t,e.max=e.max+t}function $a(e,t,[n,i,o]){const r=void 0!==t[o]?t[o]:.5,a=Xo(e.min,e.max,r);ja(e,t[n],t[i],a,t.scale)}const Qa=["x","scaleX","originX"],_a=["y","scaleY","originY"];function Ka(e,t){$a(e.x,t,Qa),$a(e.y,t,_a)}function qa(e,t){return Wa(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 es=new WeakMap;class ts{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 fa(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ii(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Pi(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),Xa(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Rn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=wa(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Li.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&&Li.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||!ns(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?Xo(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?Xo(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&&Yt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:Ba(e.x,n,o),y:Ba(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=Sa){return!1===e?e=0:!0===e&&(e=Sa),{x:Ea(e,"left","right"),y:Ea(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Xa(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||!Yt(e))return!1;const n=e.current;to(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=qa(e,n),{scroll:o}=t;return o&&(Ua(i.x,o.offset.x),Ua(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Ta(e.x,t.x),y:Ta(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=Wa(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Xa(a=>{if(!ns(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(Or(e,n,0,t))}stopAnimation(){Xa(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){Xa(t=>{const{drag:n}=this.getProps();if(!ns(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]-Xo(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Yt(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Xa(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=wa(e),o=wa(t);return o>i?n=nr(t.min,t.max-i,e.min):i>o&&(n=nr(e.min,e.max-o,t.min)),wn(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(),Xa(t=>{if(!ns(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(Xo(o,r,i[t]))})}addListeners(){if(!this.visualElement.current)return;es.set(this.visualElement,this);const e=Ci(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Yt(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=yi(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Xa(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=Sa,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function ns(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const is=e=>(t,n)=>{e&&Li.update(()=>e(t,n))};const os={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const as={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Mn.test(e))return e;e=parseFloat(e)}return`${rs(e,t.target.x)}% ${rs(e,t.target.y)}%`}},ss={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=Qo.parse(e);if(o.length>5)return i;const r=Qo.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=Xo(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 ls extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;var r;r=us,Object.assign(pn,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()})),os.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()||Li.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 cs(e){const[t,n]=function(){const e=h(Zt);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=h(on);return o.createElement(ls,{...e,layoutGroup:i,switchLayoutGroup:h(rn),isPresent:t,safeToRemove:n})}const us={borderRadius:{...as,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:as,borderTopRightRadius:as,borderBottomLeftRadius:as,borderBottomRightRadius:as,boxShadow:ss},ds=["TopLeft","TopRight","BottomLeft","BottomRight"],ps=ds.length,hs=e=>"string"==typeof e?parseFloat(e):e,ms=e=>"number"==typeof e||Mn.test(e);function gs(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const fs=vs(0,.5,Co),bs=vs(.5,.95,Zi);function vs(e,t,n){return i=>i<e?0:i>t?1:n(nr(e,t,i))}function ys(e,t){e.min=t.min,e.max=t.max}function xs(e,t){ys(e.x,t.x),ys(e.y,t.y)}function Is(e,t,n,i,o){return e=za(e-=t,1/n,i),void 0!==o&&(e=za(e,1/o,i)),e}function Cs(e,t,[n,i,o],r,a){!function(e,t=0,n=1,i=.5,o,r=e,a=e){Rn.test(t)&&(t=parseFloat(t),t=Xo(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Xo(r.min,r.max,i);e===r&&(s-=t),e.min=Is(e.min,t,n,s,o),e.max=Is(e.max,t,n,s,o)}(e,t[n],t[i],t[o],t.scale,r,a)}const ws=["x","scaleX","originX"],As=["y","scaleY","originY"];function Ns(e,t,n,i){Cs(e.x,t,ws,n?n.x:void 0,i?i.x:void 0),Cs(e.y,t,As,n?n.y:void 0,i?i.y:void 0)}function ks(e){return 0===e.translate&&1===e.scale}function Gs(e){return ks(e.x)&&ks(e.y)}function Ps(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 Vs(e){return wa(e.x)/wa(e.y)}class Bs{constructor(){this.members=[]}add(e){zr(this.members,e),e.scheduleRender()}remove(e){if(Hr(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 Ts(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 Ss=(e,t)=>e.depth-t.depth;class Es{constructor(){this.children=[],this.isDirty=!1}add(e){zr(this.children,e),this.isDirty=!0}remove(e){Hr(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ss),this.isDirty=!1,this.children.forEach(e)}}const Rs=["","X","Y","Z"];let Ms=0;const Xs={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ws({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ms++,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;Xs.totalNodes=Xs.resolvedTargetDeltas=Xs.recalculatedProjection=0,this.nodes.forEach(Os),this.nodes.forEach(Js),this.nodes.forEach(Us),this.nodes.forEach(Ds),e=Xs,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 Es)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new jr),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&&(Fi(i),e(r-t))};return Li.read(i,!0),()=>Fi(i)}(i,250),os.hasAnimatedSinceResize&&(os.hasAnimatedSinceResize=!1,this.nodes.forEach(Ys))})}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()||el,{onLayoutAnimationStart:r,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Ps(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={...Fr(o,"layout"),onPlay:r,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ys(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,Fi(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($s),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(zs);this.isUpdating||this.nodes.forEach(Hs),this.isUpdating=!1,this.nodes.forEach(js),this.nodes.forEach(Ls),this.nodes.forEach(Fs),this.clearAllSnapshots();const e=performance.now();Ti.delta=wn(0,1e3/60,e-Ti.timestamp),Ti.timestamp=e,Ti.isProcessing=!0,Mi.update.process(Ti),Mi.preRender.process(Ti),Mi.render.process(Ti),Ti.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Zs),this.sharedNodes.forEach(Qs)}scheduleUpdateProjection(){Li.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Li.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&&!Gs(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||Oa(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)),tl((i=n).x),tl(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&&(Ua(t.x,n.offset.x),Ua(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};xs(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){xs(t,e);const{scroll:n}=this.root;n&&(Ua(t.x,-n.offset.x),Ua(t.y,-n.offset.y))}Ua(t.x,o.offset.x),Ua(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};xs(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&&Ka(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Oa(i.latestValues)&&Ka(n,i.latestValues)}return Oa(this.latestValues)&&Ka(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};xs(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Oa(n.latestValues))continue;Fa(n.latestValues)&&n.updateSnapshot();const i=Ma();xs(i,n.measurePageBox()),Ns(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Oa(this.latestValues)&&Ns(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!==Ti.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=Ti.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}},Va(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),xs(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,Ga(a.x,s.x,l.x),Ga(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):xs(this.target,this.layout.layoutBox),Ya(this.target,this.targetDelta)):xs(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}},Va(this.relativeTargetOrigin,this.target,e.target),xs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Xs.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Fa(this.parent.latestValues)&&!Da(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===Ti.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;xs(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&&Ka(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Ya(e,a)),i&&Oa(r.latestValues)&&Ka(e,r.latestValues))}t.x=Ja(t.x),t.y=Ja(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;ka(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Ts(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Xs.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(qs));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;_s(r.x,e.x,n),_s(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Va(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){Ks(e.x,t.x,n.x,i),Ks(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Ps(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),xs(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=Xo(0,void 0!==n.opacity?n.opacity:1,fs(i)),e.opacityExit=Xo(void 0!==t.opacity?t.opacity:1,0,bs(i))):r&&(e.opacity=Xo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<ps;o++){const r=`border${ds[o]}Radius`;let a=gs(t,r),s=gs(n,r);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||ms(a)===ms(s)?(e[r]=Math.max(Xo(hs(a),hs(s),i),0),(Rn.test(s)||Rn.test(a))&&(e[r]+="%")):e[r]=s)}(t.rotate||n.rotate)&&(e.rotate=Xo(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&&(Fi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Li.update(()=>{os.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=fn(e)?e:$r(e);return i.start(Or("",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&&nl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=wa(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=wa(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}xs(t,n),Ka(t,o),ka(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bs);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<Rs.length;t++){const o="rotate"+Rs[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=mi(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=mi(e.pointerEvents)||""),this.hasProjected&&!Oa(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=Ts(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 pn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=pn[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?mi(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(zs),this.root.sharedNodes.clear()}}}function Ls(e){e.updateLayout()}function Fs(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?Xa(e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=wa(i);i.min=t[e].min,i.max=i.min+o}):nl(o,n.layoutBox,t)&&Xa(i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],a=wa(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}};ka(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?ka(s,e.applyTransform(i,!0),n.measuredBox):ka(s,t,n.layoutBox);const l=!Gs(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}};Va(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Va(s,t,r.layoutBox),Ps(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 Os(e){Xs.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 Ds(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Zs(e){e.clearSnapshot()}function zs(e){e.clearMeasurements()}function Hs(e){e.isLayoutDirty=!1}function js(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ys(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Js(e){e.resolveTargetDelta()}function Us(e){e.calcProjection()}function $s(e){e.resetRotation()}function Qs(e){e.removeLeadSnapshot()}function _s(e,t,n){e.translate=Xo(t.translate,0,n),e.scale=Xo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ks(e,t,n,i){e.min=Xo(t.min,n.min,i),e.max=Xo(t.max,n.max,i)}function qs(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const el={duration:.45,ease:[.4,0,.1,1]};function tl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function nl(e,t,n){return"position"===e||"preserve-aspect"===e&&!Aa(Vs(t),Vs(n),.2)}const il=Ws({attachResizeListener:(e,t)=>yi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ol={current:void 0},rl=Ws({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ol.current){const e=new il({});e.mount(window),e.setOptions({layoutScroll:!0}),ol.current=e}return ol.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),al={pan:{Feature:class extends Bi{constructor(){super(...arguments),this.removePointerDownListener=Zi}onPointerDown(e){this.session=new fa(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:is(e),onStart:is(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&Li.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=Ci(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 Bi{constructor(e){super(e),this.removeGroupControls=Zi,this.removeListeners=Zi,this.controls=new ts(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Zi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:rl,MeasureLayout:cs}},sl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ll(e,t,n=1){to(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=sl.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():In(o)?ll(o,t,n+1):o}const cl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ul=e=>cl.has(e),dl=e=>e===An||e===Mn,pl=(e,t)=>parseFloat(e.split(", ")[t]),hl=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return pl(o[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?pl(t[1],e):0}},ml=new Set(["x","y","z"]),gl=hn.filter(e=>!ml.has(e));const fl={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:hl(4,13),y:hl(5,14)},bl=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(ul);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=Kr(c);const d=t[o];let p;if(pi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Kr(c);for(let n=t;n<e&&null!==d[n];n++)p?to(Kr(d[n])===p,"All keyframes must be of the same type"):(p=Kr(d[n]),to(p===u||dl(u)&&dl(p),"Keyframes must be of the same dimension as the current value"))}else p=Kr(d);if(u!==p)if(dl(u)&&dl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Mn&&(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 gl.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]=fl[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]=fl[n](l,r)}),e})(t,e,s);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),zt&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}return{target:t,transitionEnd:i}};function vl(e,t,n,i){return(e=>Object.keys(e).some(ul))(t)?bl(e,t,n,i):{target:t,transitionEnd:i}}const yl=(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(!In(t))return;const n=ll(t,i);n&&e.set(n)});for(const e in t){const o=t[e];if(!In(o))continue;const r=ll(o,i);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,i);return vl(e,t=o.target,n,i=o.transitionEnd)},xl={current:null},Il={current:!1};const Cl=new WeakMap,wl=Object.keys(nn),Al=wl.length,Nl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],kl=Qt.length;class Gl{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=()=>Li.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=_t(t),this.isVariantNode=Kt(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]&&fn(t)&&(t.set(a[e],!1),Dr(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Cl.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)),Il.current||function(){if(Il.current=!0,zt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xl.current=e.matches;e.addListener(t),t()}else xl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||xl.current),"production"!==process.env.NODE_ENV&&Jr(!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(){Cl.delete(this.current),this.projection&&this.projection.unmount(),Fi(this.notifyUpdate),Fi(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=mn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Li.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?eo(!1,e):to(!1,e)}for(let e=0;e<Al;e++){const n=wl[e],{isEnabled:i,Feature:o,ProjectionNode:s,MeasureLayout:l}=nn[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&&Yt(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<Nl.length;t++){const n=Nl[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(fn(r))e.addValue(o,r),Dr(i)&&i.add(o),"development"===process.env.NODE_ENV&&Jr("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(fn(a))e.addValue(o,$r(r,{owner:e})),Dr(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,$r(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<kl;e++){const n=Qt[e],i=this.props[n];(Jt(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=$r(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=ui(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||fn(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 jr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Pl extends Gl{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=na(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&&(Zr(c)||Wr(c))?c=parseFloat(c):!ea(c)&&Qo.test(l)&&(c=Xr(a,l)),e.addValue(a,$r(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,r);const e=yl(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Vl extends Pl{readValueFromInstance(e,t){if(mn.has(t)){const e=Mr(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(xn(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return qa(e,t)}build(e,t,n,i){Dn(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return li(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;fn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){ri(e,t,n,i)}}class Bl extends Pl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(mn.has(t)){const e=Mr(t);return e&&e.default||0}return t=ai.has(t)?t:oi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ci(e,t)}build(e,t,n,i){qn(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){si(e,t,0,i)}mount(e){this.isSVGTag=ti(e.tagName),super.mount(e)}}const Tl=(e,t)=>dn(e)?new Bl(t,{enableHardwareAcceleration:!1}):new Vl(t,{enableHardwareAcceleration:!0}),Sl={...ma,...Qi,...al,...{layout:{ProjectionNode:rl,MeasureLayout:cs}}},El=cn((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...dn(e)?bi:vi,preloadedFeatures:n,useRender:ii(t),createVisualElement:i,Component:e}}(e,t,Sl,Tl));function Rl(){const e=a(!1);return Ht(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Ml 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 Xl({children:e,isPresent:t}){const n=f(),o=a(null),r=a({width:0,height:0,top:0,left:0});return m(()=>{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(Ml,{isPresent:t,childRef:o,sizeRef:r},i.cloneElement(e,{ref:o}))}const Wl=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:r,presenceAffectsLayout:a,mode:s})=>{const l=di(Ll),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(Xl,{isPresent:n},e)),i.createElement(Zt.Provider,{value:d},e)};function Ll(){return new Map}const Fl=e=>e.key||"";const Ol=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:r,presenceAffectsLayout:u=!0,mode:d="sync"})=>{to(!r,"Replace exitBeforeEnter with mode='wait'");const p=h(on).forceRender||function(){const e=Rl(),[t,n]=s(0),i=c(()=>{e.current&&n(t+1)},[t]);return[c(()=>Li.postRender(i),[i]),t]}()[0],m=Rl(),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(Ht(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=Fl(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(Wl,{key:Fl(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:d},e)));f=[...f];const N=I.current.map(Fl),k=g.map(Fl),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===m.current)return;p(),o&&o()}};s=i.createElement(Wl,{key:Fl(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(Wl,{key:Fl(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 Dl(){return Dl=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},Dl.apply(null,arguments)}function Zl(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 zl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Hl(...e){return c(zl(...e),e)}function jl(...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 Yl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Jl=i["useId".toString()]||(()=>{});let Ul=0;function $l(e){const[t,n]=i.useState(Jl());return Yl(()=>{n(e=>null!=e?e:String(Ul++))},[e]),e||(t?`radix-${t}`:"")}function Ql(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 _l({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,o]=function({defaultProp:e,onChange:t}){const n=s(e),[i]=n,o=a(i),r=Ql(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=Ql(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 Kl=r((e,t)=>{const{children:n,...i}=e,o=v.toArray(n),r=o.find(tc);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(ql,Dl({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return g(ql,Dl({},i,{ref:t}),n)});Kl.displayName="Slot";const ql=r((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...nc(i,n.props),ref:t?zl(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});ql.displayName="SlotClone";const ec=({children:e})=>g(x,null,e);function tc(e){return y(e)&&e.type===ec}function nc(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 ic=["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?Kl:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),g(r,Dl({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const oc="dismissableLayer.update",rc="dismissableLayer.pointerDownOutside",ac="dismissableLayer.focusOutside";let sc;const lc=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cc=r((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...p}=e,m=h(lc),[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=Hl(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,k=A>=w,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ql(e),i=a(!1),o=a(()=>{});return l(()=>{const e=e=>{if(e.target&&!i.current){const r={originalEvent:e};function a(){dc(rc,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=[...m.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=Ql(e),i=a(!1);return l(()=>{const e=e=>{if(e.target&&!i.current){dc(ac,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;[...m.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=Ql(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),l(()=>{if(f)return i&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(sc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),uc(),()=>{i&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=sc)}},[f,v,i,m]),l(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),uc())},[f,m]),l(()=>{const e=()=>y({});return document.addEventListener(oc,e),()=>document.removeEventListener(oc,e)},[]),g(ic.div,Dl({},p,{ref:x,style:{pointerEvents:N?k?"auto":"none":void 0,...e.style},onFocusCapture:Zl(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Zl(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Zl(e.onPointerDownCapture,G.onPointerDownCapture)}))});function uc(){const e=new CustomEvent(oc);document.dispatchEvent(e)}function dc(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&&k(()=>e.dispatchEvent(t))}(o,r):o.dispatchEvent(r)}const pc="focusScope.autoFocusOnMount",hc="focusScope.autoFocusOnUnmount",mc={bubbles:!1,cancelable:!0},gc=r((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...u}=e,[d,p]=s(null),h=Ql(o),m=Ql(r),f=a(null),b=Hl(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:yc(f.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||yc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&yc(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){xc.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(pc,mc);d.addEventListener(pc,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(yc(i,{select:t}),document.activeElement!==n)return}((e=fc(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&yc(d))}return()=>{d.removeEventListener(pc,h),setTimeout(()=>{const e=new CustomEvent(hc,mc);d.addEventListener(hc,m),d.dispatchEvent(e),e.defaultPrevented||yc(null!=t?t:document.body,{select:!0}),d.removeEventListener(hc,m),xc.remove(v)},0)}}var e},[d,h,m,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=fc(e),n=bc(t,e),i=bc(t.reverse(),e);return[n,i]}(t);i&&r?e.shiftKey||o!==r?e.shiftKey&&o===i&&(e.preventDefault(),n&&yc(r,{select:!0})):(e.preventDefault(),n&&yc(i,{select:!0})):o===t&&e.preventDefault()}},[n,i,v.paused]);return g(ic.div,Dl({tabIndex:-1},u,{ref:b,onKeyDown:y}))});function fc(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 bc(e,t){for(const n of e)if(!vc(n,{upTo:t}))return n}function vc(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 yc(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 xc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Ic(e,t),e.unshift(t)},remove(t){var n;e=Ic(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Ic(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const Cc=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?N.createPortal(g(ic.div,Dl({},o,{ref:t})),i):null});const wc=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=Ac(i.current);r.current="mounted"===d?e:"none"},[d]),Yl(()=>{const t=i.current,n=o.current;if(n!==e){const i=r.current,a=Ac(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]),Yl(()=>{if(t){const e=e=>{const n=Ac(i.current).includes(e.animationName);e.target===t&&n&&k(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=Ac(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=Hl(i.ref,o.ref);return"function"==typeof n||i.isPresent?b(o,{ref:r}):null};function Ac(e){return(null==e?void 0:e.animationName)||"none"}wc.displayName="Presence";let Nc=0;function kc(){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 Gc=function(){return Gc=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},Gc.apply(this,arguments)};function Pc(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 Vc="right-scroll-bar-position",Bc="width-before-scroll-bar";function Tc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Sc="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,Ec=new WeakMap;function Rc(e,t){var n,i,o,r=(n=null,i=function(t){return e.forEach(function(e){return Tc(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 Sc(function(){var t=Ec.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||Tc(e,null)}),i.forEach(function(e){n.has(e)||Tc(e,o)})}Ec.set(r,e)},[e]),r}function Mc(e){return e}var Xc=function(e){var t=e.sideCar,n=Pc(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,Gc({},n))};Xc.isSideCarExport=!0;var Wc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Mc);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=Gc({async:!0,ssr:!1},e),t}(),Lc=function(){},Fc=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:Lc,onWheelCapture:Lc,onTouchMoveCapture:Lc}),r=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Pc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Rc([n,t]),C=Gc(Gc({},y),r);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:Wc,removeScrollBar:u,shards:p,noIsolation:m,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),Gc(Gc({},C),{ref:I})):i.createElement(v,Gc({},C,{className:c,ref:I}),l))});Fc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Fc.classNames={fullWidth:Bc,zeroRight:Vc};function Oc(){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 Dc=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=Oc())&&(!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)}}},Zc=function(){var e,t=(e=Dc(),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}},zc={left:0,top:0,right:0,gap:0},Hc=function(e){return parseInt(e||"",10)||0},jc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return zc;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[Hc(n),Hc(i),Hc(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])}},Yc=Zc(),Jc="data-scroll-locked",Uc=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(Jc,"] {\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(Vc," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Bc," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Vc," .").concat(Vc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(Bc," .").concat(Bc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(Jc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},$c=function(){var e=parseInt(document.body.getAttribute(Jc)||"0",10);return isFinite(e)?e:0},Qc=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(Jc,($c()+1).toString()),function(){var e=$c()-1;e<=0?document.body.removeAttribute(Jc):document.body.setAttribute(Jc,e.toString())}},[]);var a=i.useMemo(function(){return jc(r)},[r]);return i.createElement(Yc,{styles:Uc(a,!t,r,n?"":"!important")})},_c=!1;if("undefined"!=typeof window)try{var Kc=Object.defineProperty({},"passive",{get:function(){return _c=!0,!0}});window.addEventListener("test",Kc,Kc),window.removeEventListener("test",Kc,Kc)}catch(e){_c=!1}var qc=!!_c&&{passive:!1},eu=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])},tu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),nu(e,n)){var i=iu(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},nu=function(e,t){return"v"===e?function(e){return eu(e,"overflowY")}(t):function(e){return eu(e,"overflowX")}(t)},iu=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},ou=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ru=function(e){return[e.deltaX,e.deltaY]},au=function(e){return e&&"current"in e?e.current:e},su=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},lu=0,cu=[];var uu,du=(uu=function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(lu++)[0],a=i.useState(function(){return Zc()})[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(au),!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=ou(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=tu(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=tu(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=i),!i)return!0;var h=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=iu(e,a),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&nu(e,a)&&(u+=m,d+=h),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}(h,t,e,"h"===h?l:c)},[]),c=i.useCallback(function(e){var n=e;if(cu.length&&cu[cu.length-1]===a){var i="deltaY"in n?ru(n):ou(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(au).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=ou(e),o.current=void 0},[]),p=i.useCallback(function(t){u(t.type,ru(t),t.target,l(t,e.lockRef.current))},[]),h=i.useCallback(function(t){u(t.type,ou(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return cu.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,qc),document.addEventListener("touchmove",c,qc),document.addEventListener("touchstart",d,qc),function(){cu=cu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,qc),document.removeEventListener("touchmove",c,qc),document.removeEventListener("touchstart",d,qc)}},[]);var m=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:su(r)}):null,m?i.createElement(Qc,{gapMode:"margin"}):null)},Wc.useMedium(uu),Xc),pu=i.forwardRef(function(e,t){return i.createElement(Fc,Gc({},e,{ref:t,sideCar:du}))});pu.classNames=Fc.classNames;var hu=new WeakMap,mu=new WeakMap,gu={},fu=0,bu=function(e){return e&&(e.host||bu(e.parentNode))},vu=function(e,t,n,i){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=bu(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]);gu[n]||(gu[n]=new WeakMap);var r=gu[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=(hu.get(e)||0)+1,c=(r.get(e)||0)+1;hu.set(e,l),r.set(e,c),a.push(e),1===l&&o&&mu.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(),fu++,function(){a.forEach(function(e){var t=hu.get(e)-1,o=r.get(e)-1;hu.set(e,t),r.set(e,o),t||(mu.has(e)||e.removeAttribute(i),mu.delete(e)),o||e.removeAttribute(n)}),--fu||(hu=new WeakMap,hu=new WeakMap,mu=new WeakMap,gu={})}},yu=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"))),vu(i,o,n,"aria-hidden")):function(){return null}};const xu="Dialog",[Iu,Cu]=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=h(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},jl(i,...t)]}(xu),[wu,Au]=Iu(xu),Nu="DialogPortal",[ku,Gu]=Iu(Nu,{forceMount:void 0}),Pu="DialogOverlay",Vu=r((e,t)=>{const n=Gu(Pu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Au(Pu,e.__scopeDialog);return r.modal?g(wc,{present:i||r.open},g(Bu,Dl({},o,{ref:t}))):null}),Bu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Au(Pu,n);return g(pu,{as:Kl,allowPinchZoom:!0,shards:[o.contentRef]},g(ic.div,Dl({"data-state":Fu(o.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),Tu="DialogContent",Su=r((e,t)=>{const n=Gu(Tu,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Au(Tu,e.__scopeDialog);return g(wc,{present:i||r.open},r.modal?g(Eu,Dl({},o,{ref:t})):g(Ru,Dl({},o,{ref:t})))}),Eu=r((e,t)=>{const n=Au(Tu,e.__scopeDialog),i=a(null),o=Hl(t,n.contentRef,i);return l(()=>{const e=i.current;if(e)return yu(e)},[]),g(Mu,Dl({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Zl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Zl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Zl(e.onFocusOutside,e=>e.preventDefault())}))}),Ru=r((e,t)=>{const n=Au(Tu,e.__scopeDialog),i=a(!1),o=a(!1);return g(Mu,Dl({},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()}}))}),Mu=r((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:r,...s}=e,c=Au(Tu,n),u=Hl(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:kc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:kc()),Nc++,()=>{1===Nc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Nc--}},[]),g(x,null,g(gc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:r},g(cc,Dl({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Fu(c.open)},s,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Xu="DialogTitle",Wu="DialogClose",Lu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Au(Wu,n);return g(ic.button,Dl({type:"button"},i,{ref:t,onClick:Zl(e.onClick,()=>o.onOpenChange(!1))}))});function Fu(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:Tu,titleName:Xu,docsSlug:"dialog"});const Ou=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]=_l({prop:i,defaultProp:o,onChange:r});return g(wu,{scope:t,triggerRef:l,contentRef:u,contentId:$l(),titleId:$l(),descriptionId:$l(),open:d,onOpenChange:p,onOpenToggle:c(()=>p(e=>!e),[p]),modal:s},n)},Du=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,r=Au(Nu,t);return g(ku,{scope:t,forceMount:n},v.map(i,e=>g(wc,{present:n||r.open},g(Cc,{asChild:!0,container:o},e))))},Zu=Vu,zu=Su,Hu=Lu,ju=n=>{const{isOpen:i,onRequestClose:o,size:r,title:a,content:s,description:l,children:c,bodyClassName:u}=n;return e(Ou,{open:i,onOpenChange:()=>i&&(null==o?void 0:o()),children:t(Du,{children:[e(El.div,{initial:"closed",animate:i?"open":"closed",variants:Wt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Zu,{})}),e(El.div,{initial:"closed",animate:i?"open":"closed",variants:Lt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:t(zu,{className:He("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",u),style:{maxWidth:Ft[r||"lg"]},children:[e(Hu,{asChild:!0,children:e(tt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Je,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e($e,{className:He("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:a}):null,l?e($e,{as:"div",children:l}):null,s,c||null]})]})})]})})},Yu=({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,h=p?d[i]:void 0,m=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!=h?h:m?"":"bg-white"}`,style:m,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:m,children:n})},Ju=({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:h})=>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:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e($e,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),e($e,{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(tt,{...o,renderCheckPlans:h,onModalButtonClick:p})})]})}),Uu=({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($e,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e($e,{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($e,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 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(et,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-8 gap-y-4 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(et,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(ot,{width:472,height:100,src:a,alt:"image"})})]})]})}),$u=({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($e,{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($e,{as:"div",className:"micro mt-8 text-center",children:i})]})}),Qu=({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(je,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Je,{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(je,{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(je,{className:s,onClick:()=>o(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(Je,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function _u(e){return _u="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},_u(e)}function Ku(e){var t=function(e,t){if("object"!=_u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=_u(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_u(t)?t:t+""}function qu(e,t,n){return(t=Ku(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ed(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 td(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ed(Object(n),!0).forEach(function(t){qu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ed(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nd(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 id(e,t){if(e){if("string"==typeof e)return nd(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)?nd(e,t):void 0}}function od(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)||id(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 rd(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 ad=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function sd(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,Ku(i.key),i)}}function ld(e,t){return ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ld(e,t)}function cd(e){return cd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cd(e)}function ud(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ud=function(){return!!e})()}function dd(e,t){if(t&&("object"==_u(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 pd(e){return function(e){if(Array.isArray(e))return nd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||id(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 hd=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}(),md="-ms-",gd="-moz-",fd="-webkit-",bd="comm",vd="rule",yd="decl",xd="@keyframes",Id=Math.abs,Cd=String.fromCharCode,wd=Object.assign;function Ad(e){return e.trim()}function Nd(e,t,n){return e.replace(t,n)}function kd(e,t){return e.indexOf(t)}function Gd(e,t){return 0|e.charCodeAt(t)}function Pd(e,t,n){return e.slice(t,n)}function Vd(e){return e.length}function Bd(e){return e.length}function Td(e,t){return t.push(e),e}var Sd=1,Ed=1,Rd=0,Md=0,Xd=0,Wd="";function Ld(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:Sd,column:Ed,length:a,return:""}}function Fd(e,t){return wd(Ld("",null,null,"",null,null,0),e,{length:-e.length},t)}function Od(){return Xd=Md>0?Gd(Wd,--Md):0,Ed--,10===Xd&&(Ed=1,Sd--),Xd}function Dd(){return Xd=Md<Rd?Gd(Wd,Md++):0,Ed++,10===Xd&&(Ed=1,Sd++),Xd}function Zd(){return Gd(Wd,Md)}function zd(){return Md}function Hd(e,t){return Pd(Wd,e,t)}function jd(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 Yd(e){return Sd=Ed=1,Rd=Vd(Wd=e),Md=0,[]}function Jd(e){return Wd="",e}function Ud(e){return Ad(Hd(Md-1,_d(91===e?e+2:40===e?e+1:e)))}function $d(e){for(;(Xd=Zd())&&Xd<33;)Dd();return jd(e)>2||jd(Xd)>3?"":" "}function Qd(e,t){for(;--t&&Dd()&&!(Xd<48||Xd>102||Xd>57&&Xd<65||Xd>70&&Xd<97););return Hd(e,zd()+(t<6&&32==Zd()&&32==Dd()))}function _d(e){for(;Dd();)switch(Xd){case e:return Md;case 34:case 39:34!==e&&39!==e&&_d(Xd);break;case 40:41===e&&_d(e);break;case 92:Dd()}return Md}function Kd(e,t){for(;Dd()&&e+Xd!==57&&(e+Xd!==84||47!==Zd()););return"/*"+Hd(t,Md-1)+"*"+Cd(47===e?e:Dd())}function qd(e){for(;!jd(Zd());)Dd();return Hd(e,Md)}function ep(e){return Jd(tp("",null,null,null,[""],e=Yd(e),0,[0],e))}function tp(e,t,n,i,o,r,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,g=1,f=1,b=1,v=0,y="",x=o,I=r,C=i,w=y;f;)switch(m=v,v=Dd()){case 40:if(108!=m&&58==Gd(w,d-1)){-1!=kd(w+=Nd(Ud(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ud(v);break;case 9:case 10:case 13:case 32:w+=$d(m);break;case 92:w+=Qd(zd()-1,7);continue;case 47:switch(Zd()){case 42:case 47:Td(ip(Kd(Dd(),zd()),t,n),l);break;default:w+="/"}break;case 123*g:s[c++]=Vd(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(w=Nd(w,/\f/g,"")),h>0&&Vd(w)-d&&Td(h>32?op(w+";",i,n,d-1):op(Nd(w," ","")+";",i,n,d-2),l);break;case 59:w+=";";default:if(Td(C=np(w,t,n,c,u,o,s,y,x=[],I=[],d),r),123===v)if(0===u)tp(w,t,C,C,x,r,d,s,I);else switch(99===p&&110===Gd(w,3)?100:p){case 100:case 108:case 109:case 115:tp(e,C,C,i&&Td(np(e,C,C,0,0,o,s,y,o,x=[],d),I),o,I,d,s,i?x:I);break;default:tp(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,g=b=1,y=w="",d=a;break;case 58:d=1+Vd(w),h=m;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Od())continue;switch(w+=Cd(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Vd(w)-1)*b,b=1;break;case 64:45===Zd()&&(w+=Ud(Dd())),p=Zd(),u=d=Vd(y=w+=qd(zd())),v++;break;case 45:45===m&&2==Vd(w)&&(g=0)}}return r}function np(e,t,n,i,o,r,a,s,l,c,u){for(var d=o-1,p=0===o?r:[""],h=Bd(p),m=0,g=0,f=0;m<i;++m)for(var b=0,v=Pd(e,d+1,d=Id(g=a[m])),y=e;b<h;++b)(y=Ad(g>0?p[b]+" "+v:Nd(v,/&\f/g,p[b])))&&(l[f++]=y);return Ld(e,t,n,0===o?vd:s,l,c,u)}function ip(e,t,n){return Ld(e,t,n,bd,Cd(Xd),Pd(e,2,-2),0)}function op(e,t,n,i){return Ld(e,t,n,yd,Pd(e,0,i),Pd(e,i+1,-1),i)}function rp(e,t){for(var n="",i=Bd(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function ap(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case yd:return e.return=e.return||e.value;case bd:return"";case xd:return e.return=e.value+"{"+rp(e.children,i)+"}";case vd:e.value=e.props.join(",")}return Vd(n=rp(e.children,i))?e.return=e.value+"{"+n+"}":""}function sp(e){var t=Bd(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 lp="undefined"!=typeof document,cp=function(e,t,n){for(var i=0,o=0;i=o,o=Zd(),38===i&&12===o&&(t[n]=1),!jd(o);)Dd();return Hd(e,Md)},up=function(e,t){return Jd(function(e,t){var n=-1,i=44;do{switch(jd(i)){case 0:38===i&&12===Zd()&&(t[n]=1),e[n]+=cp(Md-1,t,n);break;case 2:e[n]+=Ud(i);break;case 4:if(44===i){e[++n]=58===Zd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Cd(i)}}while(i=Dd());return e}(Yd(e),t))},dp=new WeakMap,pp=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)||dp.get(n))&&!i){dp.set(e,!0);for(var o=[],r=up(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]}}},hp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function mp(e,t){switch(function(e,t){return 45^Gd(e,0)?(((t<<2^Gd(e,0))<<2^Gd(e,1))<<2^Gd(e,2))<<2^Gd(e,3):0}(e,t)){case 5103:return fd+"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 fd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fd+e+gd+e+md+e+e;case 6828:case 4268:return fd+e+md+e+e;case 6165:return fd+e+md+"flex-"+e+e;case 5187:return fd+e+Nd(e,/(\w+).+(:[^]+)/,fd+"box-$1$2"+md+"flex-$1$2")+e;case 5443:return fd+e+md+"flex-item-"+Nd(e,/flex-|-self/,"")+e;case 4675:return fd+e+md+"flex-line-pack"+Nd(e,/align-content|flex-|-self/,"")+e;case 5548:return fd+e+md+Nd(e,"shrink","negative")+e;case 5292:return fd+e+md+Nd(e,"basis","preferred-size")+e;case 6060:return fd+"box-"+Nd(e,"-grow","")+fd+e+md+Nd(e,"grow","positive")+e;case 4554:return fd+Nd(e,/([^-])(transform)/g,"$1"+fd+"$2")+e;case 6187:return Nd(Nd(Nd(e,/(zoom-|grab)/,fd+"$1"),/(image-set)/,fd+"$1"),e,"")+e;case 5495:case 3959:return Nd(e,/(image-set\([^]*)/,fd+"$1$`$1");case 4968:return Nd(Nd(e,/(.+:)(flex-)?(.*)/,fd+"box-pack:$3"+md+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fd+e+e;case 4095:case 3583:case 4068:case 2532:return Nd(e,/(.+)-inline(.+)/,fd+"$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(Vd(e)-1-t>6)switch(Gd(e,t+1)){case 109:if(45!==Gd(e,t+4))break;case 102:return Nd(e,/(.+:)(.+)-([^]+)/,"$1"+fd+"$2-$3$1"+gd+(108==Gd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kd(e,"stretch")?mp(Nd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Gd(e,t+1))break;case 6444:switch(Gd(e,Vd(e)-3-(~kd(e,"!important")&&10))){case 107:return Nd(e,":",":"+fd)+e;case 101:return Nd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fd+(45===Gd(e,14)?"inline-":"")+"box$3$1"+fd+"$2$3$1"+md+"$2box$3")+e}break;case 5936:switch(Gd(e,t+11)){case 114:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fd+e+md+Nd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fd+e+md+e+e}return e}var gp,fp,bp,vp=lp?void 0:(gp=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},fp=new WeakMap,function(e){if(fp.has(e))return fp.get(e);var t=gp(e);return fp.set(e,t),t}),yp=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case yd:e.return=mp(e.value,e.length);break;case xd:return rp([Fd(e,{value:Nd(e.value,"@","@"+fd)})],i);case vd: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 rp([Fd(e,{props:[Nd(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return rp([Fd(e,{props:[Nd(t,/:(plac\w+)/,":"+fd+"input-$1")]}),Fd(e,{props:[Nd(t,/:(plac\w+)/,":-moz-$1")]}),Fd(e,{props:[Nd(t,/:(plac\w+)/,md+"input-$1")]})],i)}return""})}}],xp=function(e){var t=e.key;if(lp&&"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||yp,a={},s=[];lp&&(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=[pp,hp];if(vp){var u=[ap],d=sp(c.concat(r,u)),p=vp(r)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=rp(ep(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,i){var o=t.name,r=h(e,t);return void 0===b.compat?(i&&(b.inserted[o]=!0),r):i?void(b.inserted[o]=r):r}}else{var m,g=[ap,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=sp(c.concat(r,g));o=function(e,t,n,i){m=n,rp(ep(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new hd({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},Ip={exports:{}},Cp={};var wp,Ap,Np,kp,Gp={};
|
|
4
4
|
/** @license React v16.13.1
|
|
5
5
|
* react-is.development.js
|
|
6
6
|
*
|
|
@@ -8,5 +8,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/function Pp(){return Ap||(Ap=1,"production"===process.env.NODE_ENV?Ip.exports=function(){if(bp)return Cp;bp=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,h=e?Symbol.for("react.memo"):60115,m=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 m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Cp.AsyncMode=l,Cp.ConcurrentMode=c,Cp.ContextConsumer=s,Cp.ContextProvider=a,Cp.Element=t,Cp.ForwardRef=u,Cp.Fragment=i,Cp.Lazy=m,Cp.Memo=h,Cp.Portal=n,Cp.Profiler=r,Cp.StrictMode=o,Cp.Suspense=d,Cp.isAsyncMode=function(e){return x(e)||y(e)===l},Cp.isConcurrentMode=x,Cp.isContextConsumer=function(e){return y(e)===s},Cp.isContextProvider=function(e){return y(e)===a},Cp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Cp.isForwardRef=function(e){return y(e)===u},Cp.isFragment=function(e){return y(e)===i},Cp.isLazy=function(e){return y(e)===m},Cp.isMemo=function(e){return y(e)===h},Cp.isPortal=function(e){return y(e)===n},Cp.isProfiler=function(e){return y(e)===r},Cp.isStrictMode=function(e){return y(e)===o},Cp.isSuspense=function(e){return y(e)===d},Cp.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Cp.typeOf=y,Cp}():Ip.exports=(wp||(wp=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,h=e?Symbol.for("react.memo"):60115,m=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 m:case h: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=m,P=h,V=n,B=r,T=o,S=d,E=!1;function R(e){return y(e)===c}Gp.AsyncMode=x,Gp.ConcurrentMode=I,Gp.ContextConsumer=C,Gp.ContextProvider=w,Gp.Element=A,Gp.ForwardRef=N,Gp.Fragment=k,Gp.Lazy=G,Gp.Memo=P,Gp.Portal=V,Gp.Profiler=B,Gp.StrictMode=T,Gp.Suspense=S,Gp.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},Gp.isConcurrentMode=R,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)===m},Gp.isMemo=function(e){return y(e)===h},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===m||e.$$typeof===h||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)),Ip.exports}!function(){if(kp)return Np;kp=1;var e=Pp(),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;Np=function e(t,i,o){if("string"!=typeof i){if(d){var p=u(i);p&&p!==d&&e(t,p,o)}var h=s(i);l&&(h=h.concat(l(i)));for(var m=r(t),g=r(i),f=0;f<h.length;++f){var b=h[f];if(!(n[b]||o&&o[b]||g&&g[b]||m&&m[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Vp="undefined"!=typeof document;var Bp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===Vp&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var Tp={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 Sp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ep=/[A-Z]|^ms/g,Rp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mp=function(e){return 45===e.charCodeAt(1)},Xp=function(e){return null!=e&&"boolean"!=typeof e},Wp=Sp(function(e){return Mp(e)?e:e.replace(Ep,"-$&").toLowerCase()}),Lp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Rp,function(e,t,n){return Op={name:t,styles:n,next:Op},t})}return 1===Tp[e]||Mp(e)||"number"!=typeof t||0===t?t:t+"px"};function Fp(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 Op={name:o.name,styles:o.styles,next:Op},o.name;var r=n;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)Op={name:a.name,styles:a.styles,next:Op},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+=Fp(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a){var s=a;Xp(s)&&(i+=Wp(r)+":"+Lp(r,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Xp(a[l])&&(i+=Wp(r)+":"+Lp(r,a[l])+";");else{var c=Fp(e,t,a);switch(r){case"animation":case"animationName":i+=Wp(r)+":"+c+";";break;default:i+=r+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=Op,l=n(e);return Op=s,Fp(e,t,l)}}return n}var Op,Dp=/label:\s*([^\s;{]+)\s*(;|$)/g;function Zp(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="";Op=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=Fp(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++){if(o+=Fp(n,t,e[a]),i)o+=r[a]}Dp.lastIndex=0;for(var s,l="";null!==(s=Dp.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:Op}}var zp="undefined"!=typeof document,Hp=function(e){return e()},jp=!!i.useInsertionEffect&&i.useInsertionEffect,Yp=zp&&jp||Hp,Jp="undefined"!=typeof document,Up=i.createContext("undefined"!=typeof HTMLElement?xp({key:"css"}):null);Up.Provider;var $p=function(e){return r(function(t,n){var i=h(Up);return e(t,i,n)})};Jp||($p=function(e){return function(t){var n=h(Up);return null===n?(n=xp({key:"css"}),i.createElement(Up.Provider,{value:n},e(t,n))):e(t,n)}});var Qp,_p,Kp=i.createContext({}),qp={}.hasOwnProperty,eh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",th=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Bp(t,n,o);var r=Yp(function(){return function(e,t,n){Bp(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);Vp||void 0===a||(o+=a),r=r.next}while(void 0!==r);if(!Vp&&0!==o.length)return o}}(t,n,o)});if(!Jp&&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},nh=$p(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[eh],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=Zp(a,void 0,i.useContext(Kp));s+=t.key+"-"+l.name;var c={};for(var u in e)qp.call(e,u)&&"css"!==u&&u!==eh&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(th,{cache:t,serialized:l,isStringTag:"string"==typeof r}),i.createElement(r,c))}),ih=nh,oh=function(e,t){var n=arguments;if(null==t||!qp.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=ih,r[1]=function(e,t){var n={};for(var i in t)qp.call(t,i)&&(n[i]=t[i]);return n[eh]=e,n}(e,t);for(var a=2;a<o;a++)r[a]=n[a];return i.createElement.apply(null,r)};function rh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Zp(t)}Qp=oh||(oh={}),_p||(_p=Qp.JSX||(Qp.JSX={}));const ah=Math.min,sh=Math.max,lh=Math.round,ch=Math.floor,uh=e=>({x:e,y:e});function dh(){return"undefined"!=typeof window}function ph(e){return gh(e)?(e.nodeName||"").toLowerCase():"#document"}function hh(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function mh(e){var t;return null==(t=(gh(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function gh(e){return!!dh()&&(e instanceof Node||e instanceof hh(e).Node)}function fh(e){return!!dh()&&(e instanceof HTMLElement||e instanceof hh(e).HTMLElement)}function bh(e){return!(!dh()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof hh(e).ShadowRoot)}const vh=new Set(["inline","contents"]);function yh(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=Ih(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!vh.has(o)}const xh=new Set(["html","body","#document"]);function Ih(e){return hh(e).getComputedStyle(e)}function Ch(e){const t=function(e){if("html"===ph(e))return e;const t=e.assignedSlot||e.parentNode||bh(e)&&e.host||mh(e);return bh(t)?t.host:t}(e);return function(e){return xh.has(ph(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:fh(t)&&yh(t)?t:Ch(t)}function wh(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ch(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=hh(o);if(r){const e=Ah(a);return t.concat(a,a.visualViewport||[],yh(o)?o:[],e&&n?wh(e):[])}return t.concat(o,wh(o,[],n))}function Ah(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Nh(e){return t=e,dh()&&(t instanceof Element||t instanceof hh(t).Element)?e:e.contextElement;var t}function kh(e){const t=Nh(e);if(!fh(t))return uh(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=function(e){const t=Ih(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=fh(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=lh(n)!==r||lh(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}(t);let a=(r?lh(n.width):n.width)/i,s=(r?lh(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Gh(e,t,n,i){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),r=Nh(e);let a=uh(1);t&&(a=kh(e));const s=uh(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=hh(r),n=Ah(t);for(;n&&i&&e!==t;){const e=kh(n),i=n.getBoundingClientRect(),o=Ih(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=hh(n),n=Ah(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 Ph(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vh(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=Nh(e),u=o||r?[...c?wh(c):[],...wh(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=mh(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:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-ch(d)+"px "+-ch(o.clientWidth-(u+p))+"px "+-ch(o.clientHeight-(d+h))+"px "+-ch(u)+"px",threshold:sh(0,ah(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||Ph(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(f,m)}i.observe(e)}(!0),r}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let g=l?Gh(e):null;return l&&function t(){const i=Gh(e);g&&!Ph(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=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Bh="undefined"!=typeof document?p:function(){},Th=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Sh=function(){};function Eh(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Rh(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(Eh(e,a)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Mh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===_u(e)&&null!==e?[e]:[];var t},Xh=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,td({},rd(e,Th))},Wh=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 Lh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Fh(e){return Lh(e)?window.pageYOffset:e.scrollTop}function Oh(e,t){Lh(e)?window.scrollTo(0,t):e.scrollTop=t}function Dh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Sh,o=Fh(e),r=t-o,a=0;!function t(){var s,l=r*((s=(s=a+=10)/n-1)*s*s+1)+o;Oh(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function Zh(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?Oh(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&Oh(e,Math.max(t.offsetTop-o,0))}function zh(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Hh=!1,jh={get passive(){return Hh=!0}},Yh="undefined"!=typeof window?window:{};Yh.addEventListener&&Yh.removeEventListener&&(Yh.addEventListener("p",Sh,jh),Yh.removeEventListener("p",Sh,!1));var Jh=Hh;function Uh(e){return null!=e}function $h(e,t,n){return e?t:n}var Qh=["children","innerProps"],_h=["children","innerProps"];function Kh(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(),h=p.bottom,m=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Lh(u=l)?window.innerHeight:u.clientHeight,v=Fh(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=h-b+v+y,k=v+g-x,G=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return r&&Dh(l,N,G),{placement:"bottom",maxHeight:t};if(!a&&A>=i||a&&C>=i)return r&&Dh(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&&Oh(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return r&&Dh(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&&Dh(l,k,G),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var qh,em=function(e){return"auto"===e?"bottom":e},tm=d(null),nm=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=(h(tm)||{}).setPortalPlacement,d=a(null),p=od(s(i),2),m=p[0],g=p[1],f=od(s(null),2),b=f[0],v=f[1],y=c.spacing.controlHeight;return Bh(function(){var e=d.current;if(e){var t="fixed"===r,a=Kh({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:td(td({},e),{},{placement:b||em(o),maxHeight:m})})},im=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return oh("div",Ol({},Wh(e,"menu",{menu:!0}),{ref:n},i),t)},om=function(e,t){var n=e.theme,i=n.spacing.baseUnit,o=n.colors;return td({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},rm=om,am=om,sm=["size"],lm=["innerProps","isRtl","size"];var cm,um,dm="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi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Mb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},pm=function(e){var t=e.size,n=rd(e,sm);return oh("svg",Ol({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:dm},n))},hm=function(e){return oh(pm,Ol({size:20},e),oh("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"}))},mm=function(e){return oh(pm,Ol({size:20},e),oh("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"}))},gm=function(e,t){var n=e.isFocused,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return td({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*o,":hover":{color:n?r.neutral80:r.neutral40}})},fm=gm,bm=gm,vm=function(){var e=rh.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_"}}}(qh||(cm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],um||(um=cm.slice(0)),qh=Object.freeze(Object.defineProperties(cm,{raw:{value:Object.freeze(um)}})))),ym=function(e){var t=e.delay,n=e.offset;return oh("span",{css:rh({animation:"".concat(vm," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBza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0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},xm=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return oh("div",Ol({ref:o},Wh(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},Im=["data"],Cm=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 oh("div",Ol({},Wh(e,"group",{group:!0}),s),oh(r,Ol({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:o,cx:n}),l),oh("div",null,t))},wm=["innerRef","isDisabled","isHidden","inputClassName"],Am={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Nm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":td({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Am)},km=function(e){return td({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Am)},Gm=function(e){var t=e.cx,n=e.value,i=Xh(e),o=i.innerRef,r=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=rd(i,wm);return oh("div",Ol({},Wh(e,"input",{"input-container":!0}),{"data-value":n||""}),oh("input",Ol({className:t({input:!0},s),ref:o,style:km(a),disabled:r},l)))},Pm=function(e){var t=e.children,n=e.innerProps;return oh("div",n,t)};var Vm=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 oh(l,{data:i,innerProps:td(td({},Wh(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),o),selectProps:s},oh(c,{data:i,innerProps:td({},Wh(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),oh(u,{data:i,innerProps:td(td({},Wh(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Bm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return oh("div",Ol({},Wh(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||oh(hm,null))},Control:xm,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return oh("div",Ol({},Wh(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||oh(mm,null))},DownChevron:mm,CrossIcon:hm,Group:Cm,GroupHeading:function(e){var t=Xh(e);t.data;var n=rd(t,Im);return oh("div",Ol({},Wh(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return oh("div",Ol({},Wh(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return oh("span",Ol({},t,Wh(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Gm,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,o=void 0===i?4:i,r=rd(e,lm);return oh("div",Ol({},Wh(td(td({},r),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),oh(ym,{delay:0,offset:n}),oh(ym,{delay:160,offset:!0}),oh(ym,{delay:320,offset:!n}))},Menu:im,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,o=e.isMulti;return oh("div",Ol({},Wh(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),h=od(s(em(r)),2),m=h[0],g=h[1],f=u(function(){return{setPortalPlacement:g}},[]),b=od(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[m]+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,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Bh(function(){x()},[x]);var I=c(function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&d.current&&(p.current=Vh(i,d.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);Bh(function(){I()},[I]);var C=c(function(e){d.current=e,I()},[I]);if(!t&&"fixed"!==l||!v)return null;var w=oh("div",Ol({ref:C},Wh(td(td({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return oh(tm.Provider,{value:f},t?k(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,o=rd(e,_h);return oh("div",Ol({},Wh(td(td({},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=rd(e,Qh);return oh("div",Ol({},Wh(td(td({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Vm,MultiValueContainer:Pm,MultiValueLabel:Pm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return oh("div",Ol({role:"button"},n),t||oh(hm,{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 oh("div",Ol({},Wh(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 oh("div",Ol({},Wh(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,o=e.isRtl;return oh("div",Ol({},Wh(e,"container",{"--is-disabled":i,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return oh("div",Ol({},Wh(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 oh("div",Ol({},Wh(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),n),t)}},Tm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Sm(e,t){return e===t||!(!Tm(e)||!Tm(t))}function Em(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Sm(e[n],t[n]))return!1;return!0}for(var Rm="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)."}},Mm=function(e){return oh("span",Ol({css:Rm},e))},Xm={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:"",".")}},Wm=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,h=s.inputValue,m=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 td(td({},Xm),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,h=d?d.map(p):[],m=td({isDisabled:c&&g(c,a),label:u,labels:h},t);n=N.onChange(m)}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:h,resultsMessage:t})}return e},[o,h,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:m,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[w,n,i,m,g,f,b,N,a,I,V]),T=oh(x,null,oh("span",{id:"aria-selection"},k),oh("span",{id:"aria-focused"},G),oh("span",{id:"aria-results"},P),oh("span",{id:"aria-guidance"},B));return oh(x,null,oh(Mm,{id:l},V&&T),oh(Mm,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!V&&T))},Lm=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Fm=new RegExp("["+Lm.map(function(e){return e.letters}).join("")+"]","g"),Om={},Dm=0;Dm<Lm.length;Dm++)for(var Zm=Lm[Dm],zm=0;zm<Zm.letters.length;zm++)Om[Zm.letters[zm]]=Zm.base;var Hm=function(e){return e.replace(Fm,function(e){return Om[e]})},jm=function(e,t){void 0===t&&(t=Em);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}(Hm),Ym=function(e){return e.replace(/^\s+|\s+$/g,"")},Jm=function(e){return"".concat(e.label," ").concat(e.value)},Um=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=td({ignoreCase:!0,ignoreAccents:!0,stringify:Jm,trim:!0,matchFrom:"any"},e),o=i.ignoreCase,r=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?Ym(n):n,u=s?Ym(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=jm(c),u=Hm(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},$m=["innerRef"];function Qm(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=od(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=od(t,2),i=n[0],o=n[1];return e[i]=o,e},{})}(rd(e,$m),"onExited","in","enter","exit","appear");return oh("input",Ol({ref:t},n,{css:rh({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9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HdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var _m=["boxSizing","height","overflow","paddingRight","position"],Km={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function qm(e){e.cancelable&&e.preventDefault()}function eg(e){e.stopPropagation()}function tg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ng(){return"ontouchstart"in window||navigator.maxTouchPoints}var ig=!("undefined"==typeof window||!window.document||!window.document.createElement),og=0,rg={capture:!1,passive:!1};var ag=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},sg="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0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RvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 lg(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),h=c(function(e,t){if(null!==p.current){var a=p.current,l=a.scrollTop,c=a.scrollHeight,d=a.clientHeight,h=p.current,m=t>0,g=c-d-l,f=!1;g>t&&s.current&&(i&&i(e),s.current=!1),m&&u.current&&(r&&r(e),u.current=!1),m&&t>g?(n&&!s.current&&n(e),h.scrollTop=c,f=!0,s.current=!0):!m&&-t>l&&(o&&!u.current&&o(e),h.scrollTop=0,f=!0,u.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,o,r]),m=c(function(e){h(e,e.deltaY)},[h]),g=c(function(e){d.current=e.changedTouches[0].clientY},[]),f=c(function(e){var t=d.current-e.changedTouches[0].clientY;h(e,t)},[h]),b=c(function(e){if(e){var t=!!Jh&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,m]),v=c(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,m]);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(ig){var t=document.body,n=t&&t.style;if(i&&_m.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&og<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Km).forEach(function(e){var t=Km[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&ng()&&(t.addEventListener("touchmove",qm,rg),e&&(e.addEventListener("touchstart",tg,rg),e.addEventListener("touchmove",eg,rg))),og+=1}},[i]),u=c(function(e){if(ig){var t=document.body,n=t&&t.style;og=Math.max(og-1,0),i&&og<1&&_m.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&ng()&&(t.removeEventListener("touchmove",qm,rg),e&&(e.removeEventListener("touchstart",tg,rg),e.removeEventListener("touchmove",eg,rg)))}},[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 oh(x,null,n&&oh("div",{onClick:ag,css:sg}),t(function(e){o(e),r(e)}))}var cg="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)."}},ug=function(e){var t=e.name,n=e.onFocus;return oh("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:cg,value:"",onChange:function(){}})};function dg(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 pg(){return dg(/^Mac/i)}function hg(){return dg(/^iPhone/i)||dg(/^iPad/i)||pg()&&navigator.maxTouchPoints>1}var mg={clearIndicator:bm,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 td({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:fm,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 td({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 td({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 td(td({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Nm),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 td({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:am,menu:function(e,t){var n,i=e.placement,o=e.theme,r=o.borderRadius,a=o.spacing,s=o.colors;return td((qu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),qu(n,"position","absolute"),qu(n,"width","100%"),qu(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 td({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 td({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 td({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 td({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:rm,option:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return td({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 td({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 td({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 td({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")})}},gg={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}},fg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:zh(),captureMenuScroll:!zh(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Um(),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 bg(e,t,n,i){return{type:"option",data:t,isDisabled:Ng(e,t,n),isSelected:kg(e,t,n),label:wg(e,t),value:Ag(e,t),index:i}}function vg(e,t){return e.options.map(function(n,i){if("options"in n){var o=n.options.map(function(n,i){return bg(e,n,t,i)}).filter(function(t){return Ig(e,t)});return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=bg(e,n,t,i);return Ig(e,r)?r:void 0}).filter(Uh)}function yg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,pd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function xg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,pd(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 Ig(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!Pg(e)||!r)&&Gg(e,{label:a,value:s,data:o},i)}var Cg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},wg=function(e,t){return e.getOptionLabel(t)},Ag=function(e,t){return e.getOptionValue(t)};function Ng(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function kg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=Ag(e,t);return n.some(function(t){return Ag(e,t)===i})}function Gg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Pg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Vg=1,Bg=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&&ld(e,t)}(t,C);var e=function(e){var t=ud();return function(){var n,i=cd(e);if(t){var o=cd(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return dd(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(pd(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=$h(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($h(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=$h(e,o,o[0]||null);n&&i.onChange(r,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return Cg(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return xg(vg(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 Rh.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return wg(i.props,e)},i.getOptionValue=function(e){return Ag(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,o=mg[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,td(td({},Bm),e.components);var e},i.buildCategorizedOptions=function(){return vg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return yg(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:td({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&&Lh(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 Pg(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,h=i.state,m=h.focusedOption,g=h.focusedValue,f=h.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||!m||p&&i.isOptionSelected(m,f))return;i.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(i.isComposing)return;i.selectOption(m);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(!m)return;i.selectOption(m);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||++Vg),i.state.selectValue=Mh(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=Cg(o,r[a])}return i}return function(e,t,n){t&&sd(e.prototype,t),n&&sd(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&&Zh(this.menuListRef,this.focusedOptionRef),(pg()||hg())&&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&&(Zh(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(gg):td(td({},gg),this.props.theme):gg}},{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 Ng(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return kg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Gg(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,h=d.ariaSelection,m=this.commonProps,g=o||this.getElementId("input"),f=td(td(td({"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==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,Ol({},m,{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(Qm,Ol({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Sh,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,h=u.isMulti,m=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return m?null:i.createElement(l,Ol({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,Ol({},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(m)return null;var x=b[0];return i.createElement(s,Ol({},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,Ol({},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,Ol({},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,Ol({},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,Ol({},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,h=this.props,m=h.captureMenuScroll,g=h.inputValue,f=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,k=h.noOptionsMessage,G=h.onMenuScrollToTop,P=h.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,h=p===r,m=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:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,Ol({},d,{innerProps:b,data:r,isDisabled:a,isSelected:s,key:f,label:l,type:o,value:c,isFocused:h,innerRef:h?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,Ol({},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(nm,Ol({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return i.createElement(r,Ol({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(lg,{captureEnabled:m,onTopArrive:G,onBottomArrive:P,lockEnabled:A},function(t){return i.createElement(a,Ol({},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,Ol({},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(ug,{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(Wm,Ol({},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,Ol({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,Ol({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(r,Ol({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,Ol({},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,h=e.isMulti,m=Mh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return yg(vg(e,t))}(e,m):[],b=d?xg(vg(e,m),"".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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:m,focusedOption:y,focusedOptionId:Cg(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:$h(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),td(td(td({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Bg.defaultProps=fg;var Tg=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,h=e.onMenuClose,m=e.onMenuOpen,g=e.value,f=rd(e,ad),b=od(s(void 0!==l?l:n),2),v=b[0],y=b[1],x=od(s(void 0!==u?u:o),2),I=x[0],C=x[1],w=od(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 m&&m(),C(!0)},[m]),V=c(function(){"function"==typeof h&&h(),C(!1)},[h]),B=void 0!==l?l:v,T=void 0!==u?u:I,S=void 0!==g?g:A;return td(td({},f),{},{inputValue:B,menuIsOpen:T,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:P,value:S})}(e);return i.createElement(Bg,Ol({ref:t},n))}),Sg=Tg;const Eg=o.memo(({options:n,className:i,controlClassName:o,value:r,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=u(()=>Um(d),[d]),A=u(()=>({control:({isFocused:e})=>He("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:()=>He(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>He("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:i})=>{var o;return He("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,m,n,p,v]);return"unstyled"===y?e(Sg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:He("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[f&&e("label",{className:He("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(Sg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:He("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e($e,{className:"footnote mt-1 text-text-critical",children:h}),!h&&g&&e($e,{className:"footnote mt-1 text-text-info",children:g})]})});function Rg({paginatedArticles:n,totalArticles:i,currentPage:o,totalPages:r,selectedCategory:a,categoryOptions:s}){const l=P(),c=V(),u=B();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",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e($e,{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($e,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e($e,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t($e,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(Eg,{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=>{var n,i,o,r,a;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,l=(null===(n=null==t?void 0:t.cover)||void 0===n?void 0:n.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===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e($u,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:l},t.slug)})}):e($e,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(Qu,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Eg.displayName="Select";const Mg=i=>{const{links:o=[],textColor:r="dark",maxWidth:a=!0}=i,s="dark"===r?"text-white xl:text-text":"text-text xl:text-white";return o.length?e("nav",{"aria-label":"Breadcrumb",className:(a?"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:o.map((i,r)=>{const a=r===o.length-1;return e("li",{className:"flex items-center",children:a?e($e,{as:"span",className:`label3 mr-2 ${s}`,children:i.buttonLabel}):t(n,{children:[e(et,{...i,linkClassName:`label3 mr-2 ${s}`,linkVariant:"unstyled"}),e(Je,{name:"chevron_right",className:`${s}`})]})},r)})})}):null},Xg=n=>{const{anchorId:i="SearchBlock",title:o,subTitle:r,enableHeading:a,searchDescription:l,searchInputPlaceholder:c,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=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"==h?"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($e,{as:a?"h1":"h2",className:He("heading2 md:heading1"),children:o}),r&&e($e,{as:"div",className:He("subheading2 mt-2 md:subheading1"),children:r})]}),l?e($e,{className:"heading6 text-center",children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(je,{type:"submit",className:"ml-2 inline-flex",children:e(Je,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Vt,{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]})})})},Wg={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"}},Lg=n=>{const{title:i,variant:o="yellow",cta:r,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Wg[null==o?void 0:o.toLowerCase()]||Wg.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:He(`fixed left-0 right-0 z-[999] w-full shadow-lg transition-all duration-300 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-8 lg:py-[10px]"),children:[e($e,{className:"w-full whitespace-nowrap text-center text-label1 font-black lg:w-auto lg:text-left",children:i}),d]})};function Fg(i){var o,r,a;const[c,u]=s(0),[d,p]=s(""),{title:h,subTitle:m,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(et,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:He("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(Fl,{children:e(Sl.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(et,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:He("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(Je,{name:i===c?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Ye,{open:i===c,children:e("div",{className:He("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(et,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:He("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(Fl,{children:e(Sl.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:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e($e,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e($e,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}export{Qe as Accordion,Lg as AddressInputBanner,$u as BlogCard,Rg as BlogGrid,Mg as BreadcrumbNavigation,et as Button,rt as Callout,at as Cards,vt as Carousel,Uu as ComparisonTable,Yu as CtaCallout,Fg as DynamicTabs,Ju as FindKinetic,yt as FloatingBanner,xt as Footer,At as ImagePromoBar,Hu as Modal,Bt as Navigation,Rt as PrimaryHero,ht as ProductCard,Xg as SearchBlock,ju as ShapeBackgroundWrapper,ot as SimpleCard,mt as TestimonialCard,Mt as Text};
|
|
11
|
+
*/function Pp(){return Ap||(Ap=1,"production"===process.env.NODE_ENV?Ip.exports=function(){if(bp)return Cp;bp=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,h=e?Symbol.for("react.memo"):60115,m=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 m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Cp.AsyncMode=l,Cp.ConcurrentMode=c,Cp.ContextConsumer=s,Cp.ContextProvider=a,Cp.Element=t,Cp.ForwardRef=u,Cp.Fragment=i,Cp.Lazy=m,Cp.Memo=h,Cp.Portal=n,Cp.Profiler=r,Cp.StrictMode=o,Cp.Suspense=d,Cp.isAsyncMode=function(e){return x(e)||y(e)===l},Cp.isConcurrentMode=x,Cp.isContextConsumer=function(e){return y(e)===s},Cp.isContextProvider=function(e){return y(e)===a},Cp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Cp.isForwardRef=function(e){return y(e)===u},Cp.isFragment=function(e){return y(e)===i},Cp.isLazy=function(e){return y(e)===m},Cp.isMemo=function(e){return y(e)===h},Cp.isPortal=function(e){return y(e)===n},Cp.isProfiler=function(e){return y(e)===r},Cp.isStrictMode=function(e){return y(e)===o},Cp.isSuspense=function(e){return y(e)===d},Cp.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Cp.typeOf=y,Cp}():Ip.exports=(wp||(wp=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,h=e?Symbol.for("react.memo"):60115,m=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 m:case h: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=m,P=h,V=n,B=r,T=o,S=d,E=!1;function R(e){return y(e)===c}Gp.AsyncMode=x,Gp.ConcurrentMode=I,Gp.ContextConsumer=C,Gp.ContextProvider=w,Gp.Element=A,Gp.ForwardRef=N,Gp.Fragment=k,Gp.Lazy=G,Gp.Memo=P,Gp.Portal=V,Gp.Profiler=B,Gp.StrictMode=T,Gp.Suspense=S,Gp.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},Gp.isConcurrentMode=R,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)===m},Gp.isMemo=function(e){return y(e)===h},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===m||e.$$typeof===h||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)),Ip.exports}!function(){if(kp)return Np;kp=1;var e=Pp(),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;Np=function e(t,i,o){if("string"!=typeof i){if(d){var p=u(i);p&&p!==d&&e(t,p,o)}var h=s(i);l&&(h=h.concat(l(i)));for(var m=r(t),g=r(i),f=0;f<h.length;++f){var b=h[f];if(!(n[b]||o&&o[b]||g&&g[b]||m&&m[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Vp="undefined"!=typeof document;var Bp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===Vp&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var Tp={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 Sp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ep=/[A-Z]|^ms/g,Rp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mp=function(e){return 45===e.charCodeAt(1)},Xp=function(e){return null!=e&&"boolean"!=typeof e},Wp=Sp(function(e){return Mp(e)?e:e.replace(Ep,"-$&").toLowerCase()}),Lp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Rp,function(e,t,n){return Op={name:t,styles:n,next:Op},t})}return 1===Tp[e]||Mp(e)||"number"!=typeof t||0===t?t:t+"px"};function Fp(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 Op={name:o.name,styles:o.styles,next:Op},o.name;var r=n;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)Op={name:a.name,styles:a.styles,next:Op},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+=Fp(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a){var s=a;Xp(s)&&(i+=Wp(r)+":"+Lp(r,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Xp(a[l])&&(i+=Wp(r)+":"+Lp(r,a[l])+";");else{var c=Fp(e,t,a);switch(r){case"animation":case"animationName":i+=Wp(r)+":"+c+";";break;default:i+=r+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=Op,l=n(e);return Op=s,Fp(e,t,l)}}return n}var Op,Dp=/label:\s*([^\s;{]+)\s*(;|$)/g;function Zp(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="";Op=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=Fp(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++){if(o+=Fp(n,t,e[a]),i)o+=r[a]}Dp.lastIndex=0;for(var s,l="";null!==(s=Dp.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:Op}}var zp="undefined"!=typeof document,Hp=function(e){return e()},jp=!!i.useInsertionEffect&&i.useInsertionEffect,Yp=zp&&jp||Hp,Jp="undefined"!=typeof document,Up=i.createContext("undefined"!=typeof HTMLElement?xp({key:"css"}):null);Up.Provider;var $p=function(e){return r(function(t,n){var i=h(Up);return e(t,i,n)})};Jp||($p=function(e){return function(t){var n=h(Up);return null===n?(n=xp({key:"css"}),i.createElement(Up.Provider,{value:n},e(t,n))):e(t,n)}});var Qp,_p,Kp=i.createContext({}),qp={}.hasOwnProperty,eh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",th=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Bp(t,n,o);var r=Yp(function(){return function(e,t,n){Bp(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);Vp||void 0===a||(o+=a),r=r.next}while(void 0!==r);if(!Vp&&0!==o.length)return o}}(t,n,o)});if(!Jp&&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},nh=$p(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[eh],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=Zp(a,void 0,i.useContext(Kp));s+=t.key+"-"+l.name;var c={};for(var u in e)qp.call(e,u)&&"css"!==u&&u!==eh&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(th,{cache:t,serialized:l,isStringTag:"string"==typeof r}),i.createElement(r,c))}),ih=nh,oh=function(e,t){var n=arguments;if(null==t||!qp.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=ih,r[1]=function(e,t){var n={};for(var i in t)qp.call(t,i)&&(n[i]=t[i]);return n[eh]=e,n}(e,t);for(var a=2;a<o;a++)r[a]=n[a];return i.createElement.apply(null,r)};function rh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Zp(t)}Qp=oh||(oh={}),_p||(_p=Qp.JSX||(Qp.JSX={}));const ah=Math.min,sh=Math.max,lh=Math.round,ch=Math.floor,uh=e=>({x:e,y:e});function dh(){return"undefined"!=typeof window}function ph(e){return gh(e)?(e.nodeName||"").toLowerCase():"#document"}function hh(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function mh(e){var t;return null==(t=(gh(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function gh(e){return!!dh()&&(e instanceof Node||e instanceof hh(e).Node)}function fh(e){return!!dh()&&(e instanceof HTMLElement||e instanceof hh(e).HTMLElement)}function bh(e){return!(!dh()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof hh(e).ShadowRoot)}const vh=new Set(["inline","contents"]);function yh(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=Ih(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!vh.has(o)}const xh=new Set(["html","body","#document"]);function Ih(e){return hh(e).getComputedStyle(e)}function Ch(e){const t=function(e){if("html"===ph(e))return e;const t=e.assignedSlot||e.parentNode||bh(e)&&e.host||mh(e);return bh(t)?t.host:t}(e);return function(e){return xh.has(ph(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:fh(t)&&yh(t)?t:Ch(t)}function wh(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ch(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=hh(o);if(r){const e=Ah(a);return t.concat(a,a.visualViewport||[],yh(o)?o:[],e&&n?wh(e):[])}return t.concat(o,wh(o,[],n))}function Ah(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Nh(e){return t=e,dh()&&(t instanceof Element||t instanceof hh(t).Element)?e:e.contextElement;var t}function kh(e){const t=Nh(e);if(!fh(t))return uh(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=function(e){const t=Ih(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=fh(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=lh(n)!==r||lh(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}(t);let a=(r?lh(n.width):n.width)/i,s=(r?lh(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Gh(e,t,n,i){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),r=Nh(e);let a=uh(1);t&&(a=kh(e));const s=uh(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=hh(r),n=Ah(t);for(;n&&i&&e!==t;){const e=kh(n),i=n.getBoundingClientRect(),o=Ih(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=hh(n),n=Ah(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 Ph(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vh(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=Nh(e),u=o||r?[...c?wh(c):[],...wh(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=mh(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:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-ch(d)+"px "+-ch(o.clientWidth-(u+p))+"px "+-ch(o.clientHeight-(d+h))+"px "+-ch(u)+"px",threshold:sh(0,ah(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||Ph(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...m,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(f,m)}i.observe(e)}(!0),r}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let g=l?Gh(e):null;return l&&function t(){const i=Gh(e);g&&!Ph(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=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Bh="undefined"!=typeof document?p:function(){},Th=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Sh=function(){};function Eh(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Rh(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(Eh(e,a)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Mh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===_u(e)&&null!==e?[e]:[];var t},Xh=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,td({},rd(e,Th))},Wh=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 Lh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Fh(e){return Lh(e)?window.pageYOffset:e.scrollTop}function Oh(e,t){Lh(e)?window.scrollTo(0,t):e.scrollTop=t}function Dh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Sh,o=Fh(e),r=t-o,a=0;!function t(){var s,l=r*((s=(s=a+=10)/n-1)*s*s+1)+o;Oh(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function Zh(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?Oh(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&Oh(e,Math.max(t.offsetTop-o,0))}function zh(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Hh=!1,jh={get passive(){return Hh=!0}},Yh="undefined"!=typeof window?window:{};Yh.addEventListener&&Yh.removeEventListener&&(Yh.addEventListener("p",Sh,jh),Yh.removeEventListener("p",Sh,!1));var Jh=Hh;function Uh(e){return null!=e}function $h(e,t,n){return e?t:n}var Qh=["children","innerProps"],_h=["children","innerProps"];function Kh(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(),h=p.bottom,m=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Lh(u=l)?window.innerHeight:u.clientHeight,v=Fh(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=h-b+v+y,k=v+g-x,G=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return r&&Dh(l,N,G),{placement:"bottom",maxHeight:t};if(!a&&A>=i||a&&C>=i)return r&&Dh(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&&Oh(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return r&&Dh(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&&Dh(l,k,G),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var qh,em=function(e){return"auto"===e?"bottom":e},tm=d(null),nm=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=(h(tm)||{}).setPortalPlacement,d=a(null),p=od(s(i),2),m=p[0],g=p[1],f=od(s(null),2),b=f[0],v=f[1],y=c.spacing.controlHeight;return Bh(function(){var e=d.current;if(e){var t="fixed"===r,a=Kh({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:td(td({},e),{},{placement:b||em(o),maxHeight:m})})},im=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return oh("div",Dl({},Wh(e,"menu",{menu:!0}),{ref:n},i),t)},om=function(e,t){var n=e.theme,i=n.spacing.baseUnit,o=n.colors;return td({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},rm=om,am=om,sm=["size"],lm=["innerProps","isRtl","size"];var cm,um,dm="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlN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e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},pm=function(e){var t=e.size,n=rd(e,sm);return oh("svg",Dl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:dm},n))},hm=function(e){return oh(pm,Dl({size:20},e),oh("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"}))},mm=function(e){return oh(pm,Dl({size:20},e),oh("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"}))},gm=function(e,t){var n=e.isFocused,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return td({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*o,":hover":{color:n?r.neutral80:r.neutral40}})},fm=gm,bm=gm,vm=function(){var e=rh.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_"}}}(qh||(cm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],um||(um=cm.slice(0)),qh=Object.freeze(Object.defineProperties(cm,{raw:{value:Object.freeze(um)}})))),ym=function(e){var t=e.delay,n=e.offset;return oh("span",{css:rh({animation:"".concat(vm," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnN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aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},xm=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return oh("div",Dl({ref:o},Wh(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},Im=["data"],Cm=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 oh("div",Dl({},Wh(e,"group",{group:!0}),s),oh(r,Dl({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:o,cx:n}),l),oh("div",null,t))},wm=["innerRef","isDisabled","isHidden","inputClassName"],Am={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Nm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":td({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Am)},km=function(e){return td({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Am)},Gm=function(e){var t=e.cx,n=e.value,i=Xh(e),o=i.innerRef,r=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=rd(i,wm);return oh("div",Dl({},Wh(e,"input",{"input-container":!0}),{"data-value":n||""}),oh("input",Dl({className:t({input:!0},s),ref:o,style:km(a),disabled:r},l)))},Pm=function(e){var t=e.children,n=e.innerProps;return oh("div",n,t)};var Vm=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 oh(l,{data:i,innerProps:td(td({},Wh(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),o),selectProps:s},oh(c,{data:i,innerProps:td({},Wh(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),oh(u,{data:i,innerProps:td(td({},Wh(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Bm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return oh("div",Dl({},Wh(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||oh(hm,null))},Control:xm,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return oh("div",Dl({},Wh(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||oh(mm,null))},DownChevron:mm,CrossIcon:hm,Group:Cm,GroupHeading:function(e){var t=Xh(e);t.data;var n=rd(t,Im);return oh("div",Dl({},Wh(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return oh("div",Dl({},Wh(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return oh("span",Dl({},t,Wh(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Gm,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,o=void 0===i?4:i,r=rd(e,lm);return oh("div",Dl({},Wh(td(td({},r),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),oh(ym,{delay:0,offset:n}),oh(ym,{delay:160,offset:!0}),oh(ym,{delay:320,offset:!n}))},Menu:im,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,o=e.isMulti;return oh("div",Dl({},Wh(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),h=od(s(em(r)),2),m=h[0],g=h[1],f=u(function(){return{setPortalPlacement:g}},[]),b=od(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[m]+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,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Bh(function(){x()},[x]);var I=c(function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&d.current&&(p.current=Vh(i,d.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);Bh(function(){I()},[I]);var C=c(function(e){d.current=e,I()},[I]);if(!t&&"fixed"!==l||!v)return null;var w=oh("div",Dl({ref:C},Wh(td(td({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return oh(tm.Provider,{value:f},t?G(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,o=rd(e,_h);return oh("div",Dl({},Wh(td(td({},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=rd(e,Qh);return oh("div",Dl({},Wh(td(td({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Vm,MultiValueContainer:Pm,MultiValueLabel:Pm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return oh("div",Dl({role:"button"},n),t||oh(hm,{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 oh("div",Dl({},Wh(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 oh("div",Dl({},Wh(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,o=e.isRtl;return oh("div",Dl({},Wh(e,"container",{"--is-disabled":i,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return oh("div",Dl({},Wh(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 oh("div",Dl({},Wh(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),n),t)}},Tm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Sm(e,t){return e===t||!(!Tm(e)||!Tm(t))}function Em(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Sm(e[n],t[n]))return!1;return!0}for(var Rm="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)."}},Mm=function(e){return oh("span",Dl({css:Rm},e))},Xm={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:"",".")}},Wm=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,h=s.inputValue,m=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 td(td({},Xm),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,h=d?d.map(p):[],m=td({isDisabled:c&&g(c,a),label:u,labels:h},t);n=N.onChange(m)}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:h,resultsMessage:t})}return e},[o,h,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:m,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[w,n,i,m,g,f,b,N,a,I,V]),T=oh(x,null,oh("span",{id:"aria-selection"},k),oh("span",{id:"aria-focused"},G),oh("span",{id:"aria-results"},P),oh("span",{id:"aria-guidance"},B));return oh(x,null,oh(Mm,{id:l},V&&T),oh(Mm,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!V&&T))},Lm=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Fm=new RegExp("["+Lm.map(function(e){return e.letters}).join("")+"]","g"),Om={},Dm=0;Dm<Lm.length;Dm++)for(var Zm=Lm[Dm],zm=0;zm<Zm.letters.length;zm++)Om[Zm.letters[zm]]=Zm.base;var Hm=function(e){return e.replace(Fm,function(e){return Om[e]})},jm=function(e,t){void 0===t&&(t=Em);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}(Hm),Ym=function(e){return e.replace(/^\s+|\s+$/g,"")},Jm=function(e){return"".concat(e.label," ").concat(e.value)},Um=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=td({ignoreCase:!0,ignoreAccents:!0,stringify:Jm,trim:!0,matchFrom:"any"},e),o=i.ignoreCase,r=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?Ym(n):n,u=s?Ym(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=jm(c),u=Hm(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},$m=["innerRef"];function Qm(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=od(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=od(t,2),i=n[0],o=n[1];return e[i]=o,e},{})}(rd(e,$m),"onExited","in","enter","exit","appear");return oh("input",Dl({ref:t},n,{css:rh({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGR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ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var _m=["boxSizing","height","overflow","paddingRight","position"],Km={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function qm(e){e.cancelable&&e.preventDefault()}function eg(e){e.stopPropagation()}function tg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ng(){return"ontouchstart"in window||navigator.maxTouchPoints}var ig=!("undefined"==typeof window||!window.document||!window.document.createElement),og=0,rg={capture:!1,passive:!1};var ag=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},sg="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3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uICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 lg(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),h=c(function(e,t){if(null!==p.current){var a=p.current,l=a.scrollTop,c=a.scrollHeight,d=a.clientHeight,h=p.current,m=t>0,g=c-d-l,f=!1;g>t&&s.current&&(i&&i(e),s.current=!1),m&&u.current&&(r&&r(e),u.current=!1),m&&t>g?(n&&!s.current&&n(e),h.scrollTop=c,f=!0,s.current=!0):!m&&-t>l&&(o&&!u.current&&o(e),h.scrollTop=0,f=!0,u.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,o,r]),m=c(function(e){h(e,e.deltaY)},[h]),g=c(function(e){d.current=e.changedTouches[0].clientY},[]),f=c(function(e){var t=d.current-e.changedTouches[0].clientY;h(e,t)},[h]),b=c(function(e){if(e){var t=!!Jh&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,m]),v=c(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,m]);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(ig){var t=document.body,n=t&&t.style;if(i&&_m.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&og<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Km).forEach(function(e){var t=Km[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&ng()&&(t.addEventListener("touchmove",qm,rg),e&&(e.addEventListener("touchstart",tg,rg),e.addEventListener("touchmove",eg,rg))),og+=1}},[i]),u=c(function(e){if(ig){var t=document.body,n=t&&t.style;og=Math.max(og-1,0),i&&og<1&&_m.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&ng()&&(t.removeEventListener("touchmove",qm,rg),e&&(e.removeEventListener("touchstart",tg,rg),e.removeEventListener("touchmove",eg,rg)))}},[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 oh(x,null,n&&oh("div",{onClick:ag,css:sg}),t(function(e){o(e),r(e)}))}var cg="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)."}},ug=function(e){var t=e.name,n=e.onFocus;return oh("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:cg,value:"",onChange:function(){}})};function dg(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 pg(){return dg(/^Mac/i)}function hg(){return dg(/^iPhone/i)||dg(/^iPad/i)||pg()&&navigator.maxTouchPoints>1}var mg={clearIndicator:bm,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 td({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:fm,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 td({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 td({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 td(td({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Nm),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 td({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:am,menu:function(e,t){var n,i=e.placement,o=e.theme,r=o.borderRadius,a=o.spacing,s=o.colors;return td((qu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),qu(n,"position","absolute"),qu(n,"width","100%"),qu(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 td({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 td({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 td({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 td({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:rm,option:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return td({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 td({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 td({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 td({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")})}},gg={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}},fg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:zh(),captureMenuScroll:!zh(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Um(),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 bg(e,t,n,i){return{type:"option",data:t,isDisabled:Ng(e,t,n),isSelected:kg(e,t,n),label:wg(e,t),value:Ag(e,t),index:i}}function vg(e,t){return e.options.map(function(n,i){if("options"in n){var o=n.options.map(function(n,i){return bg(e,n,t,i)}).filter(function(t){return Ig(e,t)});return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=bg(e,n,t,i);return Ig(e,r)?r:void 0}).filter(Uh)}function yg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,pd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function xg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,pd(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 Ig(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!Pg(e)||!r)&&Gg(e,{label:a,value:s,data:o},i)}var Cg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},wg=function(e,t){return e.getOptionLabel(t)},Ag=function(e,t){return e.getOptionValue(t)};function Ng(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function kg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=Ag(e,t);return n.some(function(t){return Ag(e,t)===i})}function Gg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Pg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Vg=1,Bg=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&&ld(e,t)}(t,C);var e=function(e){var t=ud();return function(){var n,i=cd(e);if(t){var o=cd(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return dd(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(pd(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=$h(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($h(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=$h(e,o,o[0]||null);n&&i.onChange(r,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return Cg(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return xg(vg(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 Rh.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return wg(i.props,e)},i.getOptionValue=function(e){return Ag(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,o=mg[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,td(td({},Bm),e.components);var e},i.buildCategorizedOptions=function(){return vg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return yg(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:td({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&&Lh(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 Pg(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,h=i.state,m=h.focusedOption,g=h.focusedValue,f=h.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||!m||p&&i.isOptionSelected(m,f))return;i.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(i.isComposing)return;i.selectOption(m);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(!m)return;i.selectOption(m);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||++Vg),i.state.selectValue=Mh(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=Cg(o,r[a])}return i}return function(e,t,n){t&&sd(e.prototype,t),n&&sd(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&&Zh(this.menuListRef,this.focusedOptionRef),(pg()||hg())&&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&&(Zh(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(gg):td(td({},gg),this.props.theme):gg}},{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 Ng(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return kg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Gg(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,h=d.ariaSelection,m=this.commonProps,g=o||this.getElementId("input"),f=td(td(td({"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==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,Dl({},m,{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(Qm,Dl({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Sh,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,h=u.isMulti,m=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return m?null:i.createElement(l,Dl({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,Dl({},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(m)return null;var x=b[0];return i.createElement(s,Dl({},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,Dl({},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,Dl({},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,Dl({},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,Dl({},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,h=this.props,m=h.captureMenuScroll,g=h.inputValue,f=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,k=h.noOptionsMessage,G=h.onMenuScrollToTop,P=h.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,h=p===r,m=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:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,Dl({},d,{innerProps:b,data:r,isDisabled:a,isSelected:s,key:f,label:l,type:o,value:c,isFocused:h,innerRef:h?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,Dl({},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(nm,Dl({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return i.createElement(r,Dl({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(lg,{captureEnabled:m,onTopArrive:G,onBottomArrive:P,lockEnabled:A},function(t){return i.createElement(a,Dl({},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,Dl({},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(ug,{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(Wm,Dl({},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,Dl({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,Dl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(r,Dl({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,Dl({},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,h=e.isMulti,m=Mh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return yg(vg(e,t))}(e,m):[],b=d?xg(vg(e,m),"".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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:m,focusedOption:y,focusedOptionId:Cg(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:$h(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),td(td(td({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Bg.defaultProps=fg;var Tg=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,h=e.onMenuClose,m=e.onMenuOpen,g=e.value,f=rd(e,ad),b=od(s(void 0!==l?l:n),2),v=b[0],y=b[1],x=od(s(void 0!==u?u:o),2),I=x[0],C=x[1],w=od(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 m&&m(),C(!0)},[m]),V=c(function(){"function"==typeof h&&h(),C(!1)},[h]),B=void 0!==l?l:v,T=void 0!==u?u:I,S=void 0!==g?g:A;return td(td({},f),{},{inputValue:B,menuIsOpen:T,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:P,value:S})}(e);return i.createElement(Bg,Dl({ref:t},n))}),Sg=Tg;const Eg=o.memo(({options:n,className:i,controlClassName:o,value:r,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=u(()=>Um(d),[d]),A=u(()=>({control:({isFocused:e})=>He("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:()=>He(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>He("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:i})=>{var o;return He("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,m,n,p,v]);return"unstyled"===y?e(Sg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:He("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[f&&e("label",{className:He("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(Sg,{options:n,value:r,placeholder:l?`${s}*`:s,onChange:c,filterOption:w,className:He("rounded-xl",i),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e($e,{className:"footnote mt-1 text-text-critical",children:h}),!h&&g&&e($e,{className:"footnote mt-1 text-text-info",children:g})]})});function Rg({paginatedArticles:n,totalArticles:i,currentPage:o,totalPages:r,selectedCategory:a,categoryOptions:s}){const l=P(),c=V(),u=B();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",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e($e,{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($e,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e($e,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t($e,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(Eg,{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=>{var n,i,o,r,a;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,l=(null===(n=null==t?void 0:t.cover)||void 0===n?void 0:n.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===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e(_e,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:l},t.slug)})}):e($e,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(Qu,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Eg.displayName="Select";const Mg=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($e,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})},o):t("li",{className:"flex flex-none items-center",children:[e(tt,{...n,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(Je,{name:"chevron_right",className:`${a} `})]},o))})}):null},Xg=n=>{const{anchorId:i="SearchBlock",title:o,subTitle:r,enableHeading:a,searchDescription:l,searchInputPlaceholder:c,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=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"==h?"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($e,{as:a?"h1":"h2",className:He("heading2 md:heading1"),children:o}),r&&e($e,{as:"div",className:He("subheading2 mt-2 md:subheading1"),children:r})]}),l?e($e,{className:"heading6 text-center",children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(je,{type:"submit",className:"ml-2 inline-flex",children:e(Je,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Bt,{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]})})})},Wg={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"}},Lg=n=>{const{title:i,variant:o="yellow",cta:r,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Wg[null==o?void 0:o.toLowerCase()]||Wg.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:He(`fixed left-0 right-0 z-[999] w-full shadow-lg transition-all duration-300 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-8 lg:py-[10px]"),children:[e($e,{className:"w-full whitespace-nowrap text-center text-label1 font-black lg:w-auto lg:text-left",children:i}),d]})};function Fg(i){var o,r,a;const[c,u]=s(0),[d,p]=s(""),{title:h,subTitle:m,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(tt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:He("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(Ol,{children:e(El.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(tt,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:He("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(Je,{name:i===c?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Ye,{open:i===c,children:e("div",{className:He("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(tt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:He("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(Ol,{children:e(El.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:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e($e,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e($e,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}export{Qe as Accordion,Lg as AddressInputBanner,_e as BlogCard,Rg as BlogGrid,Mg as BreadcrumbNavigation,tt as Button,at as Callout,st as Cards,yt as Carousel,$u as ComparisonTable,Ju as CtaCallout,Fg as DynamicTabs,Uu as FindKinetic,xt as FloatingBanner,It as Footer,Nt as ImagePromoBar,ju as Modal,Tt as Navigation,Mt as PrimaryHero,mt as ProductCard,Xg as SearchBlock,Yu as ShapeBackgroundWrapper,rt as SimpleCard,gt as TestimonialCard,Xt as Text};
|
|
12
12
|
//# sourceMappingURL=index.esm.js.map
|