@windstream/react-shared-components 0.1.48 → 0.1.50
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.
|
@@ -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 o from"react";import r,{forwardRef as i,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as p,useLayoutEffect as m,useContext as f,useInsertionEffect as h,useId as g,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as w,Component as C}from"react";import{Base64 as I}from"js-base64";import N from"js-cookie";import{documentToReactComponents as A}from"@contentful/rich-text-react-renderer";import{INLINES as k,BLOCKS as E,MARKS as S}from"@contentful/rich-text-types";import P from"next/link";import T from"next/image";import G,{flushSync as V,createPortal as R}from"react-dom";import{useRouter as B,usePathname as O,useSearchParams as M}from"next/navigation";function L(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=L(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function W(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=L(e))&&(o&&(o+=" "),o+=t);return o}const D=e=>{const t=z(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),F(n,t)||j(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},F=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?F(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},X=/^\[(.+)\]$/,j=e=>{if(X.test(e)){const t=X.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},z=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)Z(n[e],o,e,t);return o},Z=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:H(t,e)).classGroupId=n)}if("function"==typeof e)return Y(e)?void Z(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{Z(r,H(t,e),n,o)})})},H=(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},Y=e=>e.isThemeGetter,J=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},U=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===o&&0===r){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?o++:"]"===s?o--:"("===s?r++:")"===s&&r--}const a=0===t.length?e:e.substring(i),s=$(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},$=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,_=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},Q=/\s+/;function K(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=q(e))&&(o&&(o+=" "),o+=t);return o}const q=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=q(e[o]))&&(n&&(n+=" "),n+=t);return n};function ee(e,...t){let n,o,r,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:J(e.cacheSize),parseClassName:U(e),sortModifiers:_(e),...D(e)}))(l),o=n.cache.get,r=n.cache.set,i=a,a(s)};function a(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,a=[],s=e.trim().split(Q);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let f=!!m,h=o(f?p.substring(0,m):p);if(!h){if(!f){l=t+(l.length>0?" "+l:l);continue}if(h=o(p),!h){l=t+(l.length>0?" "+l:l);continue}f=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+h;if(a.includes(v))continue;a.push(v);const y=r(h,f);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 r(e,i),i}return function(){return i(K.apply(null,arguments))}}const te=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,re=/^\d+\/\d+$/,ie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ae=/\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$/,se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,le=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ce=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ue=e=>re.test(e),de=e=>!!e&&!Number.isNaN(Number(e)),pe=e=>!!e&&Number.isInteger(Number(e)),me=e=>e.endsWith("%")&&de(e.slice(0,-1)),fe=e=>ie.test(e),he=()=>!0,ge=e=>ae.test(e)&&!se.test(e),be=()=>!1,ve=e=>le.test(e),ye=e=>ce.test(e),xe=e=>!Ce(e)&&!Se(e),we=e=>Oe(e,De,be),Ce=e=>ne.test(e),Ie=e=>Oe(e,Fe,ge),Ne=e=>Oe(e,Xe,de),Ae=e=>Oe(e,Le,be),ke=e=>Oe(e,We,ye),Ee=e=>Oe(e,ze,ve),Se=e=>oe.test(e),Pe=e=>Me(e,Fe),Te=e=>Me(e,je),Ge=e=>Me(e,Le),Ve=e=>Me(e,De),Re=e=>Me(e,We),Be=e=>Me(e,ze,!0),Oe=(e,t,n)=>{const o=ne.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},Me=(e,t,n=!1)=>{const o=oe.exec(e);return!!o&&(o[1]?t(o[1]):n)},Le=e=>"position"===e||"percentage"===e,We=e=>"image"===e||"url"===e,De=e=>"length"===e||"size"===e||"bg-size"===e,Fe=e=>"length"===e,Xe=e=>"number"===e,je=e=>"family-name"===e,ze=e=>"shadow"===e,Ze=()=>{const e=te("color"),t=te("font"),n=te("text"),o=te("font-weight"),r=te("tracking"),i=te("leading"),a=te("breakpoint"),s=te("container"),l=te("spacing"),c=te("radius"),u=te("shadow"),d=te("inset-shadow"),p=te("text-shadow"),m=te("drop-shadow"),f=te("blur"),h=te("perspective"),g=te("aspect"),b=te("ease"),v=te("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Se,Ce],x=()=>[Se,Ce,l],w=()=>[ue,"full","auto",...x()],C=()=>[pe,"none","subgrid",Se,Ce],I=()=>["auto",{span:["full",pe,Se,Ce]},pe,Se,Ce],N=()=>[pe,"auto",Se,Ce],A=()=>["auto","min","max","fr",Se,Ce],k=()=>["auto",...x()],E=()=>[ue,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],S=()=>[e,Se,Ce],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ge,Ae,{position:[Se,Ce]}],T=()=>["auto","cover","contain",Ve,we,{size:[Se,Ce]}],G=()=>[me,Pe,Ie],V=()=>["","none","full",c,Se,Ce],R=()=>["",de,Pe,Ie],B=()=>[de,me,Ge,Ae],O=()=>["","none",f,Se,Ce],M=()=>["none",de,Se,Ce],L=()=>["none",de,Se,Ce],W=()=>[de,Se,Ce],D=()=>[ue,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fe],breakpoint:[fe],color:[he],container:[fe],"drop-shadow":[fe],ease:["in","out","in-out"],font:[xe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fe],shadow:[fe],spacing:["px",de],text:[fe],"text-shadow":[fe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ue,Ce,Se,g]}],container:["container"],columns:[{columns:[de,Ce,Se,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:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[pe,"auto",Se,Ce]}],basis:[{basis:[ue,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[de,ue,"auto","initial","none",Ce]}],grow:[{grow:["",de,Se,Ce]}],shrink:[{shrink:["",de,Se,Ce]}],order:[{order:[pe,"first","last","none",Se,Ce]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],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:E()}],w:[{w:[s,"screen",...E()]}],"min-w":[{"min-w":[s,"screen","none",...E()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",n,Pe,Ie]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Se,Ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",me,Ce]}],"font-family":[{font:[Te,Ce,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:[r,Se,Ce]}],"line-clamp":[{"line-clamp":[de,"none",Se,Ne]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",Se,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Se,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[de,"from-font","auto",Se,Ie]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[de,"auto",Se,Ce]}],"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",Se,Ce]}],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",Se,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pe,Se,Ce],radial:["",Se,Ce],conic:[pe,Se,Ce]},Re,ke]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"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:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[de,Se,Ce]}],"outline-w":[{outline:["",de,Pe,Ie]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",u,Be,Ee]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",d,Be,Ee]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[de,Ie]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",p,Be,Ee]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[de,Se,Ce]}],"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":[de]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[Se,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"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":[de]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Se,Ce]}],filter:[{filter:["","none",Se,Ce]}],blur:[{blur:O()}],brightness:[{brightness:[de,Se,Ce]}],contrast:[{contrast:[de,Se,Ce]}],"drop-shadow":[{"drop-shadow":["","none",m,Be,Ee]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",de,Se,Ce]}],"hue-rotate":[{"hue-rotate":[de,Se,Ce]}],invert:[{invert:["",de,Se,Ce]}],saturate:[{saturate:[de,Se,Ce]}],sepia:[{sepia:["",de,Se,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",Se,Ce]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[de,Se,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[de,Se,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",de,Se,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[de,Se,Ce]}],"backdrop-invert":[{"backdrop-invert":["",de,Se,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[de,Se,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[de,Se,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",de,Se,Ce]}],"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",Se,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[de,"initial",Se,Ce]}],ease:[{ease:["linear","initial",b,Se,Ce]}],delay:[{delay:[de,Se,Ce]}],animate:[{animate:["none",v,Se,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Se,Ce]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[Se,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:D()}],"translate-x":[{"translate-x":D()}],"translate-y":[{"translate-y":D()}],"translate-z":[{"translate-z":D()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"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",Se,Ce]}],"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",Se,Ce]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[de,Pe,Ie,Ne]}],stroke:[{stroke:["none",...S()]}],"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"]}},He=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ye=(e,t)=>{if(t)for(const n in t)He(e,n,t[n])},Je=(e,t)=>{if(t)for(const n in t)Ue(e,t,n)},Ue=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},$e=((e,...t)=>"function"==typeof e?ee(Ze,e,...t):ee(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(He(e,"cacheSize",t),He(e,"prefix",n),He(e,"experimentalParseClassName",o),Ye(e.theme,i.theme),Ye(e.classGroups,i.classGroups),Ye(e.conflictingClassGroups,i.conflictingClassGroups),Ye(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),He(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Je(e.theme,r.theme),Je(e.classGroups,r.classGroups),Je(e.conflictingClassGroups,r.conflictingClassGroups),Je(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ue(e,r,"orderSensitiveModifiers"),e))(Ze(),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"]}}}),_e=(...e)=>$e(W(...e));const Qe=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Ke=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,qe=e=>{if(!e)return null;if(Ke(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Ke(t)?t:null}return null},et={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},tt=i(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=_e("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e("li",{ref:a,className:s,style:r,...i,children:t})});tt.displayName="ListItem";const nt=i(({type:t="ul",items:n,className:o="",renderItem:r,children:i,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=_e(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e(tt,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...m,ref:c})});nt.displayName="List";const ot=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:_e("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};ot.displayName="MaterialIcon";const rt=i(({children:e,as:t,className:n="",style:o,...i},a)=>{const s=t||"p";return r.createElement(s,{ref:a,className:n,style:o,...i},e)});rt.displayName="Text";const it=n=>{const{items:o,listIconName:r="check",listItemClassName:i,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==r;return(null==o?void 0:o.length)?e(nt,{className:_e("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:o.map((n,o)=>t(tt,{variant:d?"unstyled":"default",className:_e(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&e("div",{className:"flex leading-none",children:e(ot,{name:r,size:s,color:et[c],weight:"600",className:_e("block","top"===l?"mt-1":"",u)})}),e(rt,{as:"div",children:n})]},o))}):null};it.displayName="Checklist";const at=i(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)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[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},m=_e(d,`link--${i}`,l&&"link--disabled",o),f={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...f,children:t}):e(P,{href:n||"#",className:m,onClick:p,...c,children:t})});at.displayName="Link";const st={renderMark:{[S.BOLD]:t=>e("strong",{className:"label3",children:t}),[S.ITALIC]:t=>e("em",{children:t}),[S.UNDERLINE]:t=>e("u",{children:t}),[S.CODE]:t=>e("code",{children:t})},renderNode:{[E.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[E.HEADING_1]:(t,n)=>e(rt,{as:"h1",className:"heading2 md:heading1",children:n}),[E.HEADING_2]:(t,n)=>e(rt,{as:"h2",className:"heading6 md:heading5",children:n}),[E.HEADING_3]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[E.HEADING_4]:(t,n)=>e(rt,{as:"h3",className:"headingClass",children:n}),[E.HEADING_5]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[E.HEADING_6]:(t,n)=>e(rt,{as:"h3",className:"heading6",children:n}),[E.QUOTE]:(t,n)=>e("blockquote",{children:n}),[E.UL_LIST]:(t,n)=>e("ul",{children:n}),[E.OL_LIST]:(t,n)=>e("ol",{children:n}),[E.LIST_ITEM]:(t,n)=>e("li",{children:n}),[k.HYPERLINK]:(t,n)=>{var o;const r=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,i=/^https?:\/\//.test(r);return e("a",{href:r,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[E.EMBEDDED_ASSET]:t=>{var n,o;const r=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==r?void 0:r.fields,a=(null==r?void 0:r.url)||(null===(o=null==i?void 0:i.file)||void 0===o?void 0:o.url),s=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[E.EMBEDDED_ENTRY]:n=>{var o,r,i,a;const s=null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.target;return"callout"===(null===(a=null===(i=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[k.EMBEDDED_ENTRY]:n=>{var o,r,i,a,s,l;const c=null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.target;return"componentCheckList"===(null===(a=null===(i=null===(r=null==c?void 0:c.sys)||void 0===r?void 0:r.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function lt(t,n,o="body1",r="body1 font-bold",i){if(!t||!Array.isArray(t.content))return null;const a={...st,...i,renderNode:{...st.renderNode,...null==i?void 0:i.renderNode,[E.PARAGRAPH]:(t,n)=>e("div",{className:o,children:n}),[k.HYPERLINK]:(t,o)=>{var i;const a=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(at,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:r,children:o})}}};return A(t,a)}function ct(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...st,renderMark:{...st.renderMark,...null==t?void 0:t.renderMark},renderNode:{...st.renderNode,...null==t?void 0:t.renderNode}};return A(e,n)},[e,t])}function ut(o,r){if(!o||!Array.isArray(o.content))return null;const i={...st,renderMark:{...st.renderMark,[S.BOLD]:t=>e("strong",{className:"label2",children:t})},renderNode:{...st.renderNode,[E.PARAGRAPH]:(t,n)=>e("div",{className:"body2",children:n}),[E.TABLE]:(t,n)=>{var o,r;return e("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(r=null===(o=t.content[0])||void 0===o?void 0:o.content)||void 0===r?void 0:r.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[E.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[E.TABLE_HEADER_CELL]:(t,n)=>{var o;const r=(null===(o=t.parent)||void 0===o?void 0:o.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center ${r?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[E.TABLE_CELL]:(o,r)=>{var i,a,s,l;const c=(null===(i=o.parent)||void 0===i?void 0:i.content.length)>2,u=null===(l=null===(s=null===(a=o.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(ot,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(ot,{name:"cancel",color:"#CECECE",fill:1}):r]})})},[k.EMBEDDED_ENTRY]:t=>{var n,o,i,a;const s=t.data.target.sys.id,l=null===(o=null===(n=null==r?void 0:r.entries)||void 0===n?void 0:n.inline)||void 0===o?void 0:o.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map(e=>{var t;return lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e(it,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e("span",{children:l.title||""})}}};return A(o,i)}const dt={renderMark:{[S.BOLD]:e=>s("span",{className:"label1"},e)}};function pt(e,t,n,o){return a(()=>{var r,i;const a=null!==(i=null===(r=null==e?void 0:e.list)||void 0===r?void 0:r.items)&&void 0!==i?i:[];return t?a.map(e=>{var t,r;return null!==(r=lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,n))&&void 0!==r?r:""}):a.map(e=>{var t,r,i,a,s;return{title:null!==(r=lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,n))&&void 0!==r?r:"",iconUrl:null!==(a=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,o])}const mt=i(({children:t,className:n="",style:o,disabled:r,...i},a)=>e("button",{ref:a,className:_e(n),style:o,disabled:r,...i,children:t}));mt.displayName="Button";const ft=t=>{const{open:n,children:o}=t,r=l(null),[i,a]=c(0);return u(()=>{const e=r.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};ft.displayName="Collapse";const ht=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:m,borderRadiusNone:f=!1}=n,[h,g]=c(Boolean(!1));return u(()=>{if(m){const e=window.innerWidth>=1024;g(e)}else g(Boolean(r))},[m,r]),t("div",{className:_e(f?"rounded-none border":"rounded-surface-xs border",a),children:[t(mt,{type:"button",className:_e(f?"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:_e("label5 flex-1",s),children:o}),e(ot,{className:_e("flex-shrink-0",p),name:h?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(ft,{open:h,children:e("div",{className:_e("px-4 py-4",l),children:i})})]})};ht.displayName="Accordion";const gt=t=>{const{className:n,...o}=t;return e("div",{className:_e("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};gt.displayName="Divider";const bt=({items:n,title:o,anchorId:r,background:i="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:m})=>{const[f,h]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);h(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:r,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:o}),e("div",{className:`pt-6 md:pt-10 ${null!=m?m:""}`,children:null==n?void 0:n.map((o,r)=>{const i=o.anchorId||`item-${r}`,a=o.anchorId?f.includes(o.anchorId):void 0;return t("div",{id:o.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(ht,{title:o.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...o.anchorId&&{onClick:()=>{return e=o.anchorId,void h(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(rt,{as:"div",children:o.description})})}),r<n.length-1&&e(gt,{className:"my-6 md:my-10"},`divider-${r}`)]},i)})})]})})},vt=({href:o,title:r,description:i,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:m})=>t("article",{className:u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(P,{href:o,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(T,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),r&&e(P,{href:o,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:r}),i&&e(rt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:i}),t(P,{href:o,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${r||"this article"}`,children:[e(rt,{"aria-label":`${c} about ${r||"this article"}`,className:"label1 text-nowrap",children:c}),e(ot,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),yt=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()},xt=i(({variant:o="primary_brand",isLoading:r=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},m)=>{const f=(()=>{const e=_e((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()})(u),"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 whitespace-nowrap",l?"w-full":"w-auto"),t=_e((s||r)&&"cursor-not-allowed",r&&"pl-7");return _e(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[o]||"",t,c)})();let h=`button--${o}`;r&&(h+=" button--loading"),s&&(h+=" button--disabled");const g=`${h} ${f}`,b=t(n,{children:[r?e(ot,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:_e(yt(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:m,className:_e(g),...p,children:b}):e("button",{ref:m,className:_e(g),disabled:s||r,...p,children:b})});xt.displayName="BrandButton";const wt=n=>{const{showButtonAs:o="solid",buttonVariant:r="primary_brand",buttonLabel:i,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:f,buttonClassName:h,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:w=0,size:C,iconSize:I=24,preserveQueryParameters:N,...A}=n;if("check availability"===m){return null==f?void 0:f({ctaText:i,buttonVariant:r,showButtonAs:o,cta:{...n}})}function k(){"modal"===g&&(null==v||v(b))}function E(e){k(),null==y||y(e)}function S(e){k(),null==y||y(e)}const P="undefined"!=typeof window?window.location.search:"",T=s&&N&&P?function(e,t){if(!t)return e;const n=new URLSearchParams(t),o=new Set(Qe),r=new Set([...o,"searchtext","page"]);let i,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");i=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{r.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${i}?${l}`:i}(s,P):s;let G=e(mt,{onClick:S,className:h,...A});switch(o){case"solid":G=e(xt,T?{as:"a",href:T,id:c,variant:r,text:i,label:a,fullWidth:p,buttonClassName:h,size:C,onClick:E}:{id:c,variant:r,text:i,label:a,fullWidth:p,size:C,onClick:S,buttonClassName:h});break;case"text":G=t(at,{href:T,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:E,children:[i," ",x&&e(ot,{name:x,size:I,fill:w})]})}return G},Ct={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 o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},Nt=i(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",a=r.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:It,unoptimized:!1}:{unoptimized:s};return e(T,{ref:o,className:_e(t),...n,...l})});Nt.displayName="NextImage";const At=({card:n,lgWidth:o,mdWidth:r})=>{var i,a,s;const l=(null===(i=n.imageAlignment)||void 0===i?void 0:i.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${r} ${o} w-full ${null!==(s=Ct[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,o,r;if(!t.image)return null;const i=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(Nt,"full"===i?{width:400,height:280,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e(rt,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e(rt,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(wt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},kt=({title:n,items:o,enableHeading:r=!1,subtitle:i,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===o.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e(rt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),i&&e(rt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:i})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:o.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(vt,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:u,mdWidth:d})}return e(At,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},Et=({fields:t})=>e("div",{children:e(rt,{children:"Cards"})}),St=i(({as:t,className:n="",...o},r)=>{const i=_e(n);if(t){return e(t,{ref:r,className:i,...o})}return e("img",{ref:r,className:i,...o})});St.displayName="Image";const Pt=({onSelect:o,speed:r,isSelected:i=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[m,f]=c(!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 ${i?" 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"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:m,setModalOpen:()=>{f(!1)},speed:r,techType:d,isMax:p},cta:u});return t(n,{children:[t(mt,{onClick:()=>{f(!0),o()},className:_e(h,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(ot,{className:_e(l,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},Tt=({planName:o,planSubtext:r,speed:i,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:m="light",featuresTitle:f="Business Ready Internet features",features:h=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:w,ismaxSpeed:C})=>{const[I,N]=c(!1),A=void 0!==g?g:I,k="dark"===m;return t("article",{className:_e("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:_e("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(rt,{as:"h3",className:_e("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o}),e(rt,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),t("div",{className:"flex items-start",children:[e(rt,{as:"span",className:_e("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(rt,{as:"span",className:_e("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(rt,{as:"span",className:_e("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(rt,{className:_e("body2",k?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:_e("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(St,{src:n.icon,alt:n.title,width:24,height:24}),e(rt,{as:"div",className:_e("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Pt,{onSelect:v,speed:i,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:w,isMax:C}),h.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(mt,{onClick:()=>{b?b():N(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e(rt,{as:"h4",className:_e("label3",k?"text-text-inverse":"text-text"),children:f}),e(ot,{name:"keyboard_arrow_down",fill:1,size:24,className:_e("transition-transform duration-300",A&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:_e("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(it,{items:h,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(St,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(rt,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Gt=({title:n,quote:o,rating:r,author:i,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:W("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(rt,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:o}),r?e("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e(ot,{size:24,name:"star",fill:1,className:W("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(T,{src:s,alt:i,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:i.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:i}),e(rt,{as:"p",className:"body3 text-text",children:a})]})]})]});function Vt({fields:o,renderCheckPlans:r}){var i,a,s,p;const m=(null===(s=null===(a=null===(i=null==o?void 0:o.items)||void 0===i?void 0:i.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[f,h]=c(m),[g,b]=c({}),[v,y]=c(0),x=(null===(p=null==o?void 0:o.items)||void 0===p?void 0:p.items)||[],w=x.length>2,C=l([]),I=d(()=>{w&&y(e=>(e+3)%x.length)},[w,x.length]),N=d(()=>{w&&y(e=>(e-3+x.length)%x.length)},[w,x.length]);if(u(()=>{if(!w)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)},[w,f,x.length]),!x.length&&!(null==o?void 0:o.title))return null;const A=(t,n,o=!1)=>{var i,a,s,l,c,u,d,p;const m=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),v=(null==m?void 0:m[0])||"",y=(null==m?void 0:m[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",w=`${(null==t?void 0:t.price)||"0"}.${x}`,I=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(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)||""},E=o?g[n]||!1:f;return e("div",{ref:o?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:_e(o?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(Tt,{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:w,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:I,isExpanded:E,onToggleExpand:()=>{o?b(e=>({...e,[n]:!e[n]})):h(!f)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)},k=[...x,...x,...x,...x,...x],E=2*x.length;return w?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>A(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(mt,{onClick:I,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(ot,{name:"arrow_back",size:24})}),e(mt,{onClick:N,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(ot,{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(-${E+v} * (392px + 12px)))`},children:k.map((e,t)=>A(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>A(e,t))})}const Rt=r.memo(({item:t,index:n,currentIndex:o,totalItems:r,swipeOffset:i,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-o;u>r/2&&(u-=r),u<-r/2&&(u+=r);const d=0===u,p=1===Math.abs(u),m=u*c+i/l*100,f=!s||(a?d||p:d);return e("div",{className:_e("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",f?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e(Gt,{...t,isActive:d,className:"h-full"})})});Rt.displayName="TestimonialCarouselSlide";const Bt=({fields:n,autoScroll:o=!0,autoScrollInterval:r=8e3})=>{var i;const a=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:o=.15,mobileBreakpoint:r=768,autoScrollInterval:i=8e3,enableAutoScroll:a=!0}=e,[s,p]=c(0),[m,f]=c(0),[h,g]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),w=l(null),C=l(0),I=l(null),N={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:r,AUTO_SCROLL_INTERVAL:i};u(()=>{const e=()=>{var e;v((null===(e=I.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const A=d(()=>{0!==t&&p(e=>(e+1)%t)},[t]),k=d(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),E=d(e=>{e<0||e>=t||p(e)},[t]),S=d(e=>{C.current=e.touches[0].clientX,g(!0),w.current&&clearInterval(w.current)},[]),P=d(e=>{if(!h)return;const t=e.touches[0].clientX-C.current;f(t)},[h]),T=d(()=>{g(!1);const e=b*o;m>e?k():m<-e&&A(),f(0),a&&i>0&&(w.current=setInterval(()=>{A()},i))},[m,b,o,k,A,a,i]);return u(()=>{const e=()=>{x(window.innerWidth<r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),u(()=>{if(a&&0!==t&&0!==i)return w.current=setInterval(()=>{A()},i),()=>{w.current&&clearInterval(w.current)}},[A,t,a,i]),{currentIndex:s,swipeOffset:m,isSwiping:h,isMobile:y,containerWidth:b,containerRef:I,nextSlide:A,prevSlide:k,goToSlide:E,handleTouchStart:S,handleTouchMove:P,handleTouchEnd:T,constants:N}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:r,enableAutoScroll:o});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(mt,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(ot,{name:"arrow_back",size:24})}),e(mt,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(ot,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(Rt,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:_e("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Ot=({tabs:n,activeTab:o,onChange:r,className:i})=>{const a=n.indexOf(o),s=l([]),[d,p]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:_e("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>r(t),className:_e("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",o===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Mt=({fields:n,hasTestimonialCards:o,hasProductCards:r,disclaimerText:i,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:m=!1})=>t("div",{className:`${a} ${r?"px-3 py-9 md:py-20":o?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(rt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(rt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),m&&r&&t("div",{className:"flex flex-col gap-8",children:[m&&r&&c.length>1&&e(Ot,{tabs:c,activeTab:s,onChange:l}),r&&e(Vt,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),o&&e(Bt,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),i&&e(rt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]}),Lt=({title:n,subtitle:o,description:r,disclaimer:i,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Nt,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(rt,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),o&&e(rt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:o}),r&&e(rt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(wt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e("div",{children:e(rt,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),Wt=({body:n,links:o,bottomLinks:i,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(gt,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==o?void 0:o.map((n,o)=>{var i,a;return t(r.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(rt,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(wt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${o}`)},`footer-link-group-${o}`),e(gt,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${o}`)})}),t("div",{className:"py-8",children:[e(gt,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==i?void 0:i.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(wt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Dt=({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(ot,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Ft=t=>{const{link:n,containerClassName:o,autoplay:r=!1,debug:i=!1}=t,{href:s,embedId:l}=a(()=>{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,})/),o=t.split("/"),r=o[o.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[n]);if(i&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=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],o=n[2],r=`https://player.vimeo.com/video/${e}`;return o&&/^[a-f0-9]+$/i.test(o)&&t.searchParams.set("h",o),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:r?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Xt=t=>{const{link:n,containerClassName:o,autoplay:r=!1}=t,i=a(()=>{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]),s=r?"?autoplay=1":"";return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${i}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},jt=({brow:n,enableHeading:o,title:r,subTitle:i,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:p=!0,checklist:m,secondaryCta:f,cta:h,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:w,renderCheckPlans:C})=>{var I,N;const[A,k]=c(""),[E,S]=c(!1),P=null!==(I=null==g?void 0:g.link)&&void 0!==I?I:"",T=null==g?void 0:g.image,G=null!==(N=null==g?void 0:g.videoPopup)&&void 0!==N&&N,V=Boolean(A&&A===P),R=g&&T?P.includes("vimeo")?e(Ft,{link:P,autoplay:V}):e(Xt,{link:P,autoplay:V}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(rt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e(rt,{as:o?"h1":"h2",className:"heading2 xl:heading1",children:r}),i&&e(rt,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e(rt,{as:"div",className:"body1",children:l}),m.length>0&&e(it,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(at,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(St,{src:t.image,alt:"icon-link"})})},n))}),(h||f)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[h&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(wt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:w})}),f&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(wt,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:w})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Nt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:_e("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!V&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),children:[t("div",{className:_e(V&&!G&&"hidden",V&&!G?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(Nt,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Dt,{isHovered:E})})]}),!G&&V&&e("div",{className:_e("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",V?"opacity-100":"opacity-0"),children:R})]})]})]})}),G&&V&&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:R})})]})},zt=({link:n,anchorName:o})=>{const[i,a]=r.useState(!1),s=r.useRef(null);if(((e,t)=>{const n=n=>{var o;(null===(o=null==e?void 0:e.current)||void 0===o?void 0:o.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(wt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${o}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[t(wt,{onClick:()=>a(e=>!e),"aria-expanded":i,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(rt,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(ot,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:_e("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",i&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(wt,{...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}`))})})]})},Zt=({link:o})=>{const[i,a]=r.useState(!1);if(!o)return null;if((e=>"string"==typeof e.href)(o))return e(wt,{...o,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${o.anchorId}`);const{anchorId:s,title:l,items:c}=o,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(wt,{onClick:()=>a(e=>!e),"aria-expanded":i,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(ot,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),i&&u.length>0&&e(Ht,{items:u})]})},Ht=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(wt,{...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}`),Yt=n=>{const{showBlinkDot:o=!1,buttonStyle:r="primary",size:i="md",children:a,className:s,...l}=n;return t(at,{...l,className:_e("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"}[i],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[o?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -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"}[i]} items-center justify-center rounded-full bg-icon-brand`,children:e(ot,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Yt.displayName="CallButton";const Jt=i((n,o)=>{const{className:r,size:i,required:a,placeholder:s,label:l,state:u,errorText:p,prefixIconName:m,prefixIconFill:f=!0,suffixIconFill:h=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:w,hasError:C,type:I,...N}=n,A=C?"error":u,[k,E]=c(!1),[S,P]=c(!1),[T,G]=c(I||"text"),V=d(e=>{e.stopPropagation(),G(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:_e("inline-block pb-1"),children:t(rt,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:_e("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]"}[i||"medium"],y,(k||"hover"===A)&&!S&&"error"!==A&&"border-input-border-hover",(S||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(ot,{name:m,fill:f?1:0,size:g,className:_e(x)})}):null,e("input",{ref:o,id:l,disabled:w||N.disabled,className:_e("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:s,type:T,...N,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=N.onFocus)||void 0===t||t.call(N,e),P(!0)},onBlur:e=>{var t;null===(t=N.onBlur)||void 0===t||t.call(N,e),P(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:V,children:e(ot,{name:"text"===T?"visibility":"visibility_off",size:v,fill:h?1:0})}):null]}),"error"===A&&p&&""!=p?t(rt,{className:_e("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(ot,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Jt.displayName="Input";const Ut=n=>{const{primaryNavigationLinks:o,utilityNavigationLinks:r,checkPlansJSX:i,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e("li",{children:e(wt,{linkClassName:_e("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(Yt,{className:"border-none",href:u,children:e(rt,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(zt,{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(at,{href:"/",className:"flex",children:e(Nt,{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(Yt,{href:u,children:e(rt,{as:"span",className:"footnote",children:d})}),e($t,{...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(at,{href:"/",className:"flex",children:e(Nt,{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==o?void 0:o.map((t,n)=>e(zt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Qt,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(zt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),i&&e("div",{className:"md:hidden",children:i})]})},$t=n=>{var o;const{primaryNavigationLinks:i,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=r.useState(!1);r.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],o=t[t.length-1],r=e=>{var t,r,i,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=o).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===o&&(null===(a=(i=n).focus)||void 0===a||a.call(i),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(wt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(ot,{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:_e("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(Yt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(wt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(ot,{name:"close"})})})]}),e(_t,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(o=n.searchBarIcon)||void 0===o?void 0:o.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...i||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(Zt,{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(wt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:_e("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}`))})]})]})})]})},_t=n=>{const{closeMenu:o,onSearch:i,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=r.useState(""),u=r.useRef(null),d=e=>{o(),e.preventDefault(),i(l)};return r.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(Nt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Jt,{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"})})]})},Qt=n=>{const{searchBarIconURL:o,onSearch:i}=n,[a,s]=r.useState(""),l=r.useRef(null),c=e=>{e.preventDefault(),i(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(Nt,{src:o,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Jt,{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"})]})},Kt=n=>{var o;const{title:r,showAsHeading:i,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:m,renderCheckPlans:f,badgeImage:h,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,w=null!==(o=null==c?void 0:c.buttonLabel)&&void 0!==o?o:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:_e("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:_e("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e(rt,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:r}),a&&e(rt,{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(rt,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(rt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(rt,{as:"p",className:"subheading5",children:u}),p?e(rt,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,m&&e(it,{listItemClassName:"text-white text-left",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:_e("md:block",x&&"hidden"),children:e(wt,{...s,renderCheckPlans:f,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(wt,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(w||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(wt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e(rt,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[h?e(Nt,{src:h,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(Nt,{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&&(w||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(wt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e(rt,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(wt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:_e("relative hidden lg:block"),children:[h?e(Nt,{src:h,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(Nt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},qt=({fields:t})=>e("div",{children:e(rt,{children:"Text Block"})}),en={closed:{opacity:0},open:{opacity:1}},tn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},nn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},on=p({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),rn=p({}),an=p(null),sn="undefined"!=typeof document,ln=sn?m:u,cn=p({strict:!1});function un(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function dn(e){return"string"==typeof e||Array.isArray(e)}function pn(e){return"object"==typeof e&&"function"==typeof e.start}const mn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fn=["initial",...mn];function hn(e){return pn(e.animate)||fn.some(t=>dn(e[t]))}function gn(e){return Boolean(hn(e)||e.variants)}function bn(e){const{initial:t,animate:n}=function(e,t){if(hn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||dn(t)?t:void 0,animate:dn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,f(rn));return a(()=>({initial:t,animate:n}),[vn(t),vn(n)])}function vn(e){return Array.isArray(e)?e.join(" "):e}const yn={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"]},xn={};for(const e in yn)xn[e]={isEnabled:t=>yn[e].some(e=>!!t[e])};const wn=p({}),Cn=p({}),In=Symbol.for("motionComponentSymbol");function Nn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:a}){e&&function(e){for(const t in e)xn[t]={...xn[t],...e[t]}}(e);const s=i(function(i,s){let c;const p={...f(on),...i,layoutId:An(i)},{isStatic:m}=p,g=bn(i),b=r(i,m);if(!m&&sn){g.visualElement=function(e,t,n,o){const{visualElement:r}=f(rn),i=f(cn),a=f(an),s=f(on).reducedMotion,c=l();o=o||i.renderer,!c.current&&o&&(c.current=o(e,{visualState:t,parent:r,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const d=c.current;return h(()=>{d&&d.update(n,a)}),ln(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?ln:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,p,t);const n=f(Cn),o=f(cn).strict;g.visualElement&&(c=g.visualElement.loadFeatures(p,o,e,n))}return o.createElement(rn.Provider,{value:g},c&&g.visualElement?o.createElement(c,{visualElement:g.visualElement,...p}):null,n(a,i,function(e,t,n){return d(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),n&&("function"==typeof n?n(o):un(n)&&(n.current=o))},[t])}(b,g.visualElement,s),b,m,g.visualElement))});return s[In]=a,s}function An({layoutId:e}){const t=f(wn).id;return t&&void 0!==e?t+"-"+e:e}function kn(e){function t(t,n={}){return Nn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const En=["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 Sn(e){return"string"==typeof e&&!e.includes("-")&&!!(En.indexOf(e)>-1||/[A-Z]/.test(e))}const Pn={};const Tn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gn=new Set(Tn);function Vn(e,{layout:t,layoutId:n}){return Gn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Pn[e]||"opacity"===e)}const Rn=e=>Boolean(e&&e.getVelocity),Bn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},On=Tn.length;const Mn=e=>t=>"string"==typeof t&&t.startsWith(e),Ln=Mn("--"),Wn=Mn("var(--"),Dn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Fn=(e,t,n)=>Math.min(Math.max(n,e),t),Xn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},jn={...Xn,transform:e=>Fn(0,1,e)},zn={...Xn,default:1},Zn=e=>Math.round(1e5*e)/1e5,Hn=/(-)?([\d]*\.?[\d])+/g,Yn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Jn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Un(e){return"string"==typeof e}const $n=e=>({test:t=>Un(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),_n=$n("deg"),Qn=$n("%"),Kn=$n("px"),qn=$n("vh"),eo=$n("vw"),to={...Qn,parse:e=>Qn.parse(e)/100,transform:e=>Qn.transform(100*e)},no={...Xn,transform:Math.round},oo={borderWidth:Kn,borderTopWidth:Kn,borderRightWidth:Kn,borderBottomWidth:Kn,borderLeftWidth:Kn,borderRadius:Kn,radius:Kn,borderTopLeftRadius:Kn,borderTopRightRadius:Kn,borderBottomRightRadius:Kn,borderBottomLeftRadius:Kn,width:Kn,maxWidth:Kn,height:Kn,maxHeight:Kn,size:Kn,top:Kn,right:Kn,bottom:Kn,left:Kn,padding:Kn,paddingTop:Kn,paddingRight:Kn,paddingBottom:Kn,paddingLeft:Kn,margin:Kn,marginTop:Kn,marginRight:Kn,marginBottom:Kn,marginLeft:Kn,rotate:_n,rotateX:_n,rotateY:_n,rotateZ:_n,scale:zn,scaleX:zn,scaleY:zn,scaleZ:zn,skew:_n,skewX:_n,skewY:_n,distance:Kn,translateX:Kn,translateY:Kn,translateZ:Kn,x:Kn,y:Kn,z:Kn,perspective:Kn,transformPerspective:Kn,opacity:jn,originX:to,originY:to,originZ:Kn,zIndex:no,fillOpacity:jn,strokeOpacity:jn,numOctaves:no};function ro(e,t,n,o){const{style:r,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Ln(e)){i[e]=n;continue}const o=oo[e],d=Dn(n,o);if(Gn.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<On;t++){const n=Tn[t];void 0!==e[n]&&(i+=`${Bn[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}const io=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ao(e,t,n){for(const o in t)Rn(t[o])||Vn(o,n)||(e[o]=t[o])}function so(e,t,n){const o={};return ao(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,n){return a(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{}};return ro(o,t,{enableHardwareAcceleration:!n},e),Object.assign({},o.vars,o.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}function lo(e,t,n){const o={},r=so(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const co=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 uo(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||co.has(e)}let po=e=>!uo(e);try{(mo=require("@emotion/is-prop-valid").default)&&(po=e=>e.startsWith("on")?!uo(e):mo(e))}catch(e){}var mo;function fo(e,t,n){return"string"==typeof e?e:Kn.transform(t+n*e)}const ho={offset:"stroke-dashoffset",array:"stroke-dasharray"},go={offset:"strokeDashoffset",array:"strokeDasharray"};function bo(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(ro(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:f,dimensions:h}=e;m.transform&&(h&&(f.transform=m.transform),delete m.transform),h&&(void 0!==r||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,n){return`${fo(t,e.x,e.width)} ${fo(n,e.y,e.height)}`}(h,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==o&&(m.scale=o),void 0!==a&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?ho:go;e[i.offset]=Kn.transform(-o);const a=Kn.transform(t),s=Kn.transform(n);e[i.array]=`${a} ${s}`}(m,a,s,l,!1)}const vo=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),yo=e=>"string"==typeof e&&"svg"===e.toLowerCase();function xo(e,t,n,o){const r=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return bo(n,t,{enableHardwareAcceleration:!1},yo(o),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};ao(t,e.style,e),r.style={...t,...r.style}}return r}function wo(e=!1){return(t,n,o,{latestValues:r},i)=>{const l=(Sn(t)?xo:lo)(n,r,i,t),c=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(po(r)||!0===n&&uo(r)||!t&&!uo(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(n,"string"==typeof t,e),u={...c,...l,ref:o},{children:d}=n,p=a(()=>Rn(d)?d.get():d,[d]);return s(t,{...u,children:p})}}const Co=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Io(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const No=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 Ao(e,t,n,o){Io(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(No.has(n)?n:Co(n),t.attrs[n])}function ko(e,t){const{style:n}=e,o={};for(const r in n)(Rn(n[r])||t.style&&Rn(t.style[r])||Vn(r,e))&&(o[r]=n[r]);return o}function Eo(e,t){const n=ko(e,t);for(const o in e)if(Rn(e[o])||Rn(t[o])){n[-1!==Tn.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function So(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}function Po(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const To=e=>Array.isArray(e),Go=e=>To(e)?e[e.length-1]||0:e;function Vo(e){const t=Rn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Ro=e=>(t,n)=>{const o=f(rn),r=f(an),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const a={latestValues:Bo(o,r,i,e),renderState:t()};return n&&(a.mount=e=>n(o,e,a)),a}(e,t,o,r);return n?i():Po(i)};function Bo(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Vo(i[e]);let{initial:a,animate:s}=e;const l=hn(e),c=gn(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&&!pn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=So(e,t);if(!n)return;const{transitionEnd:o,transition:i,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const Oo={useVisualState:Ro({scrapeMotionValuesFromProps:Eo,createRenderState:vo,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}bo(n,o,{enableHardwareAcceleration:!1},yo(t.tagName),e.transformTemplate),Ao(t,n)}})},Mo={useVisualState:Ro({scrapeMotionValuesFromProps:ko,createRenderState:io})};function Lo(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const Wo=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Do(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Fo(e,t,n,o){return Lo(e,t,(e=>t=>Wo(t)&&e(t,Do(t)))(n),o)}const Xo=(e,t)=>n=>t(e(n)),jo=(...e)=>e.reduce(Xo);function zo(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Zo=zo("dragHorizontal"),Ho=zo("dragVertical");function Yo(e){let t=!1;if("y"===e)t=Ho();else if("x"===e)t=Zo();else{const e=Zo(),n=Ho();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Jo(){const e=Yo(!0);return!e||(e(),!1)}class Uo{constructor(e){this.isMounted=!1,this.node=e}update(){}}const $o={delta:0,timestamp:0,isProcessing:!1};let _o=!0,Qo=!1;const Ko=["read","update","preRender","render","postRender"],qo=Ko.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&r,c=l?t:n;return i&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),a.has(o)&&(s.schedule(o),e())}r=!1,i&&(i=!1,s.process(l))}}};return s}(()=>Qo=!0),e),{}),er=e=>qo[e].process($o),tr=e=>{Qo=!1,$o.delta=_o?1e3/60:Math.max(Math.min(e-$o.timestamp,40),1),$o.timestamp=e,$o.isProcessing=!0,Ko.forEach(er),$o.isProcessing=!1,Qo&&(_o=!1,requestAnimationFrame(tr))},nr=Ko.reduce((e,t)=>{const n=qo[t];return e[t]=(e,t=!1,o=!1)=>(Qo||(Qo=!0,_o=!0,$o.isProcessing||requestAnimationFrame(tr)),n.schedule(e,t,o)),e},{});function or(e){Ko.forEach(t=>qo[t].cancel(e))}function rr(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return Fo(e.current,n,(n,r)=>{if("touch"===n.type||Jo())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&nr.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const ir=(e,t)=>!!t&&(e===t||ir(e,t.parentElement)),ar=e=>e;function sr(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Do(n))}const lr=new WeakMap,cr=new WeakMap,ur=e=>{const t=lr.get(e.target);t&&t(e)},dr=e=>{e.forEach(ur)};function pr(e,t,n){const o=function({root:e,...t}){const n=e||document;cr.has(n)||cr.set(n,{});const o=cr.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(dr,{root:e,...t})),o[r]}(t);return lr.set(e,n),o.observe(e),()=>{lr.delete(e),o.unobserve(e)}}const mr={some:0,all:1};const fr={inView:{Feature:class extends Uo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:mr[o]};return pr(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(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 Uo{constructor(){super(...arguments),this.removeStartListeners=ar,this.removeEndListeners=ar,this.removeAccessibleListeners=ar,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=Fo(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();nr.update(()=>{ir(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=Fo(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=jo(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Lo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Lo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&sr("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&nr.update(()=>n(e,t))})}),sr("down",(e,t)=>{this.startPress(e,t)})}),t=Lo(this.node.current,"blur",()=>{this.isPressing&&sr("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=jo(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&nr.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Jo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&nr.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Fo(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Lo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=jo(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Uo{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=jo(Lo(this.node.current,"focus",()=>this.onFocus()),Lo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Uo{mount(){this.unmount=jo(rr(this.node,!0),rr(this.node,!1))}unmount(){}}}};function hr(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function gr(e,t,n){const o=e.getProps();return So(o,t,void 0!==n?n:o.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 br="data-"+Co("framerAppearId");let vr=ar,yr=ar;"production"!==process.env.NODE_ENV&&(vr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},yr=(e,t)=>{if(!e)throw new Error(t)});const xr=e=>1e3*e,wr=e=>e/1e3,Cr=!1,Ir=e=>Array.isArray(e)&&"number"==typeof e[0];function Nr(e){return Boolean(!e||"string"==typeof e&&kr[e]||Ir(e)||Array.isArray(e)&&e.every(Nr))}const Ar=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,kr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ar([0,.65,.55,1]),circOut:Ar([.55,0,1,.45]),backIn:Ar([.31,.01,.66,-.59]),backOut:Ar([.33,1.53,.69,.99])};function Er(e){if(e)return Ir(e)?Ar(e):Array.isArray(e)?e.map(Er):kr[e]}const Sr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Pr={},Tr={};for(const e in Sr)Tr[e]=()=>(void 0===Pr[e]&&(Pr[e]=Sr[e]()),Pr[e]);const Gr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Vr(e,t,n,o){if(e===t&&n===o)return ar;const r=t=>function(e,t,n,o,r){let i,a,s=0;do{a=t+(n-t)/2,i=Gr(a,o,r)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Gr(r(e),t,o)}const Rr=Vr(.42,0,1,1),Br=Vr(0,0,.58,1),Or=Vr(.42,0,.58,1),Mr=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lr=e=>t=>1-e(1-t),Wr=e=>1-Math.sin(Math.acos(e)),Dr=Lr(Wr),Fr=Mr(Dr),Xr=Vr(.33,1.53,.69,.99),jr=Lr(Xr),zr=Mr(jr),Zr={linear:ar,easeIn:Rr,easeInOut:Or,easeOut:Br,circIn:Wr,circInOut:Fr,circOut:Dr,backIn:jr,backInOut:zr,backOut:Xr,anticipate:e=>(e*=2)<1?.5*jr(e):.5*(2-Math.pow(2,-10*(e-1)))},Hr=e=>{if(Array.isArray(e)){yr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Vr(t,n,o,r)}return"string"==typeof e?(yr(void 0!==Zr[e],`Invalid easing type '${e}'`),Zr[e]):e},Yr=(e,t)=>n=>Boolean(Un(n)&&Jn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Jr=(e,t,n)=>o=>{if(!Un(o))return o;const[r,i,a,s]=o.match(Hn);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ur={...Xn,transform:e=>Math.round((e=>Fn(0,255,e))(e))},$r={test:Yr("rgb","red"),parse:Jr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+Ur.transform(e)+", "+Ur.transform(t)+", "+Ur.transform(n)+", "+Zn(jn.transform(o))+")"};const _r={test:Yr("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:$r.transform},Qr={test:Yr("hsl","hue"),parse:Jr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Qn.transform(Zn(t))+", "+Qn.transform(Zn(n))+", "+Zn(jn.transform(o))+")"},Kr={test:e=>$r.test(e)||_r.test(e)||Qr.test(e),parse:e=>$r.test(e)?$r.parse(e):Qr.test(e)?Qr.parse(e):_r.parse(e),transform:e=>Un(e)?e:e.hasOwnProperty("red")?$r.transform(e):Qr.transform(e)},qr=(e,t,n)=>-n*e+n*t+e;function ei(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 ti=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},ni=[_r,$r,Qr];function oi(e){const t=(n=e,ni.find(e=>e.test(n)));var n;yr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===Qr&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,a=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=ei(s,o,e+1/3),i=ei(s,o,e),a=ei(s,o,e-1/3)}else r=i=a=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*a),alpha:o}}(o)),o}const ri=(e,t)=>{const n=oi(e),o=oi(t),r={...n};return e=>(r.red=ti(n.red,o.red,e),r.green=ti(n.green,o.green,e),r.blue=ti(n.blue,o.blue,e),r.alpha=qr(n.alpha,o.alpha,e),$r.transform(r))};const ii={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:ar},ai={regex:Yn,countKey:"Colors",token:"${c}",parse:Kr.parse},si={regex:Hn,countKey:"Numbers",token:"${n}",parse:Xn.parse};function li(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function ci(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&li(n,ii),li(n,ai),li(n,si),n}function ui(e){return ci(e).values}function di(e){const{values:t,numColors:n,numVars:o,tokenised:r}=ci(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(ii.token,e[r]):r<o+n?t.replace(ai.token,Kr.transform(e[r])):t.replace(si.token,Zn(e[r]));return t}}const pi=e=>"number"==typeof e?0:e;const mi={test:function(e){var t,n;return isNaN(e)&&Un(e)&&((null===(t=e.match(Hn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Yn))||void 0===n?void 0:n.length)||0)>0},parse:ui,createTransformer:di,getAnimatableNone:function(e){const t=ui(e);return di(e)(t.map(pi))}},fi=(e,t)=>n=>`${n>0?t:e}`;function hi(e,t){return"number"==typeof e?n=>qr(e,t,n):Kr.test(e)?ri(e,t):e.startsWith("var(")?fi(e,t):vi(e,t)}const gi=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>hi(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},bi=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=hi(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},vi=(e,t)=>{const n=mi.createTransformer(t),o=ci(e),r=ci(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?jo(gi(o.values,r.values),n):(vr(!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.`),fi(e,t))},yi=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},xi=(e,t)=>n=>qr(e,t,n);function wi(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?xi:"string"==typeof i?Kr.test(i)?ri:vi:Array.isArray(i)?gi:"object"==typeof i?bi:xi);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||ar:t;i=jo(e,i)}o.push(i)}return o}function Ci(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(yr(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=wi(t,o,r),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=yi(e[n],e[n+1],t);return a[n](o)};return n?t=>l(Fn(e[0],e[i-1],t)):l}function Ii(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=yi(0,t,o);e.push(qr(n,1,r))}}(t,e.length-1),t}function Ni({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(Hr):Hr(o),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Ii(t),e),s=Ci(a,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Or).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function Ai(e,t){return t?e*(1e3/t):0}function ki(e,t,n){const o=Math.max(t-5,0);return Ai(n-e(o),t-o)}const Ei=.001;function Si({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;vr(e<=xr(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Fn(.05,1,a),e=Fn(.01,10,wr(e)),a<1?(r=t=>{const o=t*a,r=o*e,i=o-n,s=Ti(t,a),l=Math.exp(-r);return Ei-i/s*l},i=t=>{const o=t*a*e,i=o*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Ti(Math.pow(t,2),a);return(-r(t)+Ei>0?-1:1)*((i-s)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let o=n;for(let n=1;n<Pi;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=xr(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*o;return{stiffness:t,damping:2*a*Math.sqrt(o*t),duration:e}}}const Pi=12;function Ti(e,t){return e*Math.sqrt(1-t*t)}const Gi=["duration","bounce"],Vi=["stiffness","damping","mass"];function Ri(e,t){return t.some(t=>void 0!==e[t])}function Bi({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],a={done:!1,value:r},{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(!Ri(e,Vi)&&Ri(e,Gi)){const n=Si(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),m=u?-wr(u):0,f=l/(2*Math.sqrt(s*c)),h=i-r,g=wr(Math.sqrt(s/c)),b=Math.abs(h)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),f<1){const e=Ti(g,f);v=t=>{const n=Math.exp(-f*g*t);return i-n*((m+f*g*h)/e*Math.sin(e*t)+h*Math.cos(e*t))}}else if(1===f)v=e=>i-Math.exp(-g*e)*(h+(m+g*h)*e);else{const e=g*Math.sqrt(f*f-1);v=t=>{const n=Math.exp(-f*g*t),o=Math.min(e*t,300);return i-n*((m+f*g*h)*Math.sinh(o)+e*h*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)a.done=e>=d;else{let r=m;0!==e&&(r=f<1?ki(v,e,o):0);const s=Math.abs(r)<=n,l=Math.abs(i-o)<=t;a.done=s&&l}return a.value=a.done?i:o,a}}}function Oi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let f=n*t;const h=d+f,g=void 0===a?h:a(h);g!==h&&(f=g-d);const b=e=>-f*Math.exp(-e/o),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,w;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=Bi({keyframes:[p.value,m(p.value)],velocity:ki(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?w.next(e-x):(!t&&y(e),p)}}}const Mi=e=>{const t=({timestamp:t})=>e(t);return{start:()=>nr.update(t,!0),stop:()=>or(t),now:()=>$o.isProcessing?$o.timestamp:performance.now()}};function Li(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 Wi={decay:Oi,inertia:Oi,tween:Ni,keyframes:Ni,spring:Bi};function Di({autoplay:e=!0,delay:t=0,driver:n=Mi,keyframes:o,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,f,h=1,g=!1;const b=()=>{m&&m(),f=new Promise(e=>{m=e})};let v;b();const y=Wi[r]||Ni;let x;y!==Ni&&"number"!=typeof o[0]&&(x=Ci([0,100],o,{clamp:!1}),o=[0,100]);const w=y({...p,keyframes:o});let C;"mirror"===s&&(C=y({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let I="idle",N=null,A=null,k=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=Li(w));const{calculatedDuration:E}=w;let S=1/0,P=1/0;null!==E&&(S=E+a,P=S*(i+1)-a);let T=0;const G=e=>{if(null===A)return;h>0&&(A=Math.min(A,e)),T=null!==N?N:(e-A)*h;const n=T-t,r=n<0;T=Math.max(n,0),"finished"===I&&null===N&&(T=P);let l=T,c=w;if(i){const e=T/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===s?(n=1-n,a&&(n-=a/S)):"mirror"===s&&(c=C));let r=Fn(0,1,n);T>P&&(r="reverse"===s&&o?1:0),l=r*S}const u=r?{done:!1,value:o[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;r||null===E||(p=T>=P);const m=null===N&&("finished"===I||"running"===I&&p||h<0&&T<=0);return d&&d(u.value),m&&B(),u},V=()=>{v&&v.stop(),v=void 0},R=()=>{I="idle",V(),b(),A=k=null},B=()=>{I="finished",u&&u(),V(),b()},O=()=>{if(g)return;v||(v=n(G));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==I||(A=e),k=A,N=null,I="running",v.start()};e&&O();const M={then:(e,t)=>f.then(e,t),get time(){return wr(T)},set time(e){e=xr(e),T=e,null===N&&v&&0!==h?A=v.now()-e/h:N=e},get duration(){const e=null===w.calculatedDuration?Li(w):w.calculatedDuration;return wr(e)},get speed(){return h},set speed(e){e!==h&&v&&(h=e,M.time=wr(T))},get state(){return I},play:O,pause:()=>{I="paused",N=T},stop:()=>{g=!0,"idle"!==I&&(I="idle",c&&c(),R())},cancel:()=>{null!==k&&G(k),R()},complete:()=>{I="finished"},sample:e=>(A=0,G(e))};return M}const Fi=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Xi(e,t,{onUpdate:n,onComplete:o,...r}){if(!(Tr.waapi()&&Fi.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,a,s=!1;const l=()=>{a=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Nr(t.ease))(t,r)){const e=Di({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const m=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Er(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),f=()=>m.cancel(),h=()=>{nr.update(f),i(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),h()},{then:(e,t)=>a.then(e,t),get time(){return wr(m.currentTime||0)},set time(e){m.currentTime=xr(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return wr(u)},play:()=>{s||(m.play(),or(f))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Di({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}h()},complete:()=>m.finish(),cancel:h}}const ji={type:"spring",stiffness:500,damping:25,restSpeed:10},zi={type:"keyframes",duration:.8},Zi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Hi=(e,{keyframes:t})=>t.length>2?zi:Gn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ji:Zi,Yi=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!mi.test(t)&&"0"!==t||t.startsWith("url("))),Ji=new Set(["brightness","contrast","saturate","opacity"]);function Ui(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Hn)||[];if(!o)return e;const r=n.replace(o,"");let i=Ji.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const $i=/([a-z-]*)\(.*?\)/g,_i={...mi,getAnimatableNone:e=>{const t=e.match($i);return t?t.map(Ui).join(" "):e}},Qi={...oo,color:Kr,backgroundColor:Kr,outlineColor:Kr,fill:Kr,stroke:Kr,borderColor:Kr,borderTopColor:Kr,borderRightColor:Kr,borderBottomColor:Kr,borderLeftColor:Kr,filter:_i,WebkitFilter:_i},Ki=e=>Qi[e];function qi(e,t){let n=Ki(e);return n!==_i&&(n=mi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ea=e=>/^0[^.\s]+$/.test(e);function ta(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||ea(e):void 0}function na(e,t){return e[t]||e.default||e}const oa=(e,t,n,o={})=>r=>{const i=na(o,e)||{},a=i.delay||o.delay||0;let{elapsed:s=0}=o;s-=xr(a);const l=function(e,t,n,o){const r=Yi(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const a=void 0!==o.from?o.from:e.get();let s;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?a:i[e-1]),ta(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(s=i[e]);if(r&&l.length&&s)for(let e=0;e<l.length;e++)i[l[e]]=qi(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Yi(e,c),p=Yi(e,u);vr(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(m={...m,...Hi(e,m)}),m.duration&&(m.duration=xr(m.duration)),m.repeatDelay&&(m.repeatDelay=xr(m.repeatDelay)),!d||!p||Cr||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:ar,pause:ar,stop:ar,then:e=>(e(),Promise.resolve()),cancel:ar,complete:ar});return t?Di({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Xi(t,e,m);if(n)return n}return Di(m)};function ra(e){return Boolean(Rn(e)&&e.add)}const ia=e=>/^\-?\d*\.?\d+$/.test(e);function aa(e,t){-1===e.indexOf(t)&&e.push(t)}function sa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class la{constructor(){this.subscriptions=[]}add(e){return aa(this.subscriptions,e),()=>sa(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ca=new Set;function ua(e,t,n){e||ca.has(t)||(console.warn(t),ca.add(t))}class da{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:o}=$o;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,nr.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=()=>nr.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&&ua(!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 la);const n=this.events[e].add(t);return"change"===e?()=>{n(),nr.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?Ai(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 pa(e,t){return new da(e,t)}const ma=e=>t=>t.test(e),fa=[Xn,Kn,Qn,_n,eo,qn,{test:e=>"auto"===e,parse:e=>e}],ha=e=>fa.find(ma(e)),ga=[...fa,Kr,mi],ba=e=>ga.find(ma(e));function va(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,pa(n))}function ya(e,t){if(!t)return;return(t[e]||t.default||t).from}function xa({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function wa(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in s){const o=e.getValue(t),r=s[t];if(!o||void 0===r||u&&xa(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[br];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,o,nr))}o.start(oa(t,o,r,e.shouldReduceMotion&&Gn.has(t)?{type:!1}:a));const d=o.animation;ra(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=gr(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)va(e,t,Go(i[t]))}(e,a)}),c}function Ca(e,t,n={}){const o=gr(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all(wa(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return function(e,t,n=0,o=0,r=1,i){const a=[],s=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>s-e*o;return Array.from(e.variantChildren).sort(Ia).forEach((e,o)=>{e.notify("AnimationStart",t),a.push(Ca(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+o,a,s,n)}:()=>Promise.resolve(),{when:s}=r;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}function Ia(e,t){return e.sortNodePosition(t)}const Na=[...mn].reverse(),Aa=mn.length;function ka(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>Ca(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=Ca(e,t,n);else{const r="function"==typeof t?gr(e,t,n.custom):t;o=Promise.all(wa(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ea(e){let t=ka(e);const n={animate:Pa(!0),whileInView:Pa(),whileHover:Pa(),whileTap:Pa(),whileDrag:Pa(),whileFocus:Pa(),exit:Pa()};let o=!0;const r=(t,n)=>{const o=gr(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Aa;t++){const m=Na[t],f=n[m],h=void 0!==s[m]?s[m]:l[m],g=dn(h),b=m===a?f.isActive:null;!1===b&&(p=t);let v=h===l[m]&&h!==s[m]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...d},!f.isActive&&null===b||!h&&!f.prevProp||pn(h)||"boolean"==typeof h)continue;const y=Sa(f.prevProp,h);let x=y||m===a&&f.isActive&&!v&&g||t>p&&g;const w=Array.isArray(h)?h:[h];let C=w.reduce(r,{});!1===b&&(C={});const{prevResolvedValues:I={}}=f,N={...I,...C},A=e=>{x=!0,u.delete(e),f.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=I[e];d.hasOwnProperty(e)||(t!==n?To(t)&&To(n)?!hr(t,n)||y?A(e):f.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):f.protectedKeys[e]=!0)}f.prevProp=h,f.prevResolvedValues=C,f.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...w.map(e=>({animation:e,options:{type:m,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let m=Boolean(c.length);return o&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),o=!1,m?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var a;if(n[t].isActive===o)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,o)}),n[t].isActive=o;const s=i(r,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Sa(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!hr(t,e)}function Pa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ta=0;const Ga={animation:{Feature:class extends Uo{constructor(e){super(e),e.animationState||(e.animationState=Ea(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),pn(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 Uo{constructor(){super(...arguments),this.id=Ta++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Va=(e,t)=>Math.abs(e-t);class Ra{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=Ma(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Va(e.x,t.x),o=Va(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=$o;this.history.push({...o,timestamp:r});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(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),nr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=Ma("pointercancel"===e.type?this.lastMoveEventInfo:Ba(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!Wo(e))return;this.handlers=t,this.transformPagePoint=n;const o=Ba(Do(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=$o;this.history=[{...r,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,Ma(o,this.history)),this.removeListeners=jo(Fo(window,"pointermove",this.handlePointerMove),Fo(window,"pointerup",this.handlePointerUp),Fo(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),or(this.updatePoint)}}function Ba(e,t){return t?{point:t(e.point)}:e}function Oa(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ma({point:e},t){return{point:e,delta:Oa(e,Wa(t)),offset:Oa(e,La(t)),velocity:Da(t,.1)}}function La(e){return e[0]}function Wa(e){return e[e.length-1]}function Da(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=Wa(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>xr(t)));)n--;if(!o)return{x:0,y:0};const i=wr(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const a={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Fa(e){return e.max-e.min}function Xa(e,t=0,n=.01){return Math.abs(e-t)<=n}function ja(e,t,n,o=.5){e.origin=o,e.originPoint=qr(t.min,t.max,e.origin),e.scale=Fa(n)/Fa(t),(Xa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=qr(n.min,n.max,e.origin)-e.originPoint,(Xa(e.translate)||isNaN(e.translate))&&(e.translate=0)}function za(e,t,n,o){ja(e.x,t.x,n.x,o?o.originX:void 0),ja(e.y,t.y,n.y,o?o.originY:void 0)}function Za(e,t,n){e.min=n.min+t.min,e.max=e.min+Fa(t)}function Ha(e,t,n){e.min=t.min-n.min,e.max=e.min+Fa(t)}function Ya(e,t,n){Ha(e.x,t.x,n.x),Ha(e.y,t.y,n.y)}function Ja(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 Ua(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const $a=.35;function _a(e,t,n){return{min:Qa(e,t),max:Qa(e,n)}}function Qa(e,t){return"number"==typeof e?e:e[t]||0}const Ka=()=>({x:{min:0,max:0},y:{min:0,max:0}});function qa(e){return[e("x"),e("y")]}function es({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function ts(e){return void 0===e||1===e}function ns({scale:e,scaleX:t,scaleY:n}){return!ts(e)||!ts(t)||!ts(n)}function os(e){return ns(e)||rs(e)||e.z||e.rotate||e.rotateX||e.rotateY}function rs(e){return is(e.x)||is(e.y)}function is(e){return e&&"0%"!==e}function as(e,t,n){return n+t*(e-n)}function ss(e,t,n,o,r){return void 0!==r&&(e=as(e,r,o)),as(e,n,o)+t}function ls(e,t=0,n=1,o,r){e.min=ss(e.min,t,n,o,r),e.max=ss(e.max,t,n,o,r)}function cs(e,{x:t,y:n}){ls(e.x,t.translate,t.scale,t.originPoint),ls(e.y,n.translate,n.scale,n.originPoint)}function us(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ds(e,t){e.min=e.min+t,e.max=e.max+t}function ps(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,a=qr(e.min,e.max,i);ls(e,t[n],t[o],a,t.scale)}const ms=["x","scaleX","originX"],fs=["y","scaleY","originY"];function hs(e,t){ps(e.x,t,ms),ps(e.y,t,fs)}function gs(e,t){return es(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const bs=new WeakMap;class vs{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 Ra(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Do(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Yo(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),qa(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Qn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=Fa(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&nr.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(o&&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&&r&&r(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(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:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&nr.update(()=>r(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:o}=this.getProps();if(!n||!ys(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?qr(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?qr(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&un(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:Ja(e.x,n,r),y:Ja(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=$a){return!1===e?e=0:!0===e&&(e=$a),{x:_a(e,"left","right"),y:_a(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&qa(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||!un(e))return!1;const n=e.current;yr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=gs(e,n),{scroll:r}=t;return r&&(ds(o.x,r.offset.x),ds(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Ua(e.x,t.x),y:Ua(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=es(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=qa(a=>{if(!ys(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(oa(e,n,0,t))}stopAnimation(){qa(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){qa(t=>{const{drag:n}=this.getProps();if(!ys(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-qr(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!un(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};qa(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=Fa(e),r=Fa(t);return r>o?n=yi(t.min,t.max-o,e.min):o>r&&(n=yi(e.min,e.max-r,t.min)),Fn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),qa(t=>{if(!ys(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(qr(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;bs.set(this.visualElement,this);const e=Fo(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();un(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Lo(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(qa(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=$a,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:a}}}function ys(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const xs=e=>(t,n)=>{e&&nr.update(()=>e(t,n))};const ws={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Cs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Is={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Kn.test(e))return e;e=parseFloat(e)}return`${Cs(e,t.target.x)}% ${Cs(e,t.target.y)}%`}},Ns={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=mi.parse(e);if(r.length>5)return o;const i=mi.createTransformer(e),a="number"!=typeof r[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;r[0+a]/=s,r[1+a]/=l;const c=qr(s,l,.5);return"number"==typeof r[2+a]&&(r[2+a]/=c),"number"==typeof r[3+a]&&(r[3+a]/=c),i(r)}};class As extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=Es,Object.assign(Pn,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ws.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||nr.postRender(()=>{const e=i.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:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ks(e){const[t,n]=function(){const e=f(an);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=e,r=g();return u(()=>o(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}(),o=f(wn);return r.createElement(As,{...e,layoutGroup:o,switchLayoutGroup:f(Cn),isPresent:t,safeToRemove:n})}const Es={borderRadius:{...Is,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Is,borderTopRightRadius:Is,borderBottomLeftRadius:Is,borderBottomRightRadius:Is,boxShadow:Ns},Ss=["TopLeft","TopRight","BottomLeft","BottomRight"],Ps=Ss.length,Ts=e=>"string"==typeof e?parseFloat(e):e,Gs=e=>"number"==typeof e||Kn.test(e);function Vs(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Rs=Os(0,.5,Dr),Bs=Os(.5,.95,ar);function Os(e,t,n){return o=>o<e?0:o>t?1:n(yi(e,t,o))}function Ms(e,t){e.min=t.min,e.max=t.max}function Ls(e,t){Ms(e.x,t.x),Ms(e.y,t.y)}function Ws(e,t,n,o,r){return e=as(e-=t,1/n,o),void 0!==r&&(e=as(e,1/r,o)),e}function Ds(e,t,[n,o,r],i,a){!function(e,t=0,n=1,o=.5,r,i=e,a=e){Qn.test(t)&&(t=parseFloat(t),t=qr(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=qr(i.min,i.max,o);e===i&&(s-=t),e.min=Ws(e.min,t,n,s,r),e.max=Ws(e.max,t,n,s,r)}(e,t[n],t[o],t[r],t.scale,i,a)}const Fs=["x","scaleX","originX"],Xs=["y","scaleY","originY"];function js(e,t,n,o){Ds(e.x,t,Fs,n?n.x:void 0,o?o.x:void 0),Ds(e.y,t,Xs,n?n.y:void 0,o?o.y:void 0)}function zs(e){return 0===e.translate&&1===e.scale}function Zs(e){return zs(e.x)&&zs(e.y)}function Hs(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 Ys(e){return Fa(e.x)/Fa(e.y)}class Js{constructor(){this.members=[]}add(e){aa(this.members,e),e.scheduleRender()}remove(e){if(sa(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:o}=e.options;!1===o&&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 Us(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(o+=`scale(${a}, ${s})`),o||"none"}const $s=(e,t)=>e.depth-t.depth;class _s{constructor(){this.children=[],this.isDirty=!1}add(e){aa(this.children,e),this.isDirty=!0}remove(e){sa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort($s),this.isDirty=!1,this.children.forEach(e)}}const Qs=["","X","Y","Z"];let Ks=0;const qs={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function el({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ks++,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;qs.totalNodes=qs.resolvedTargetDeltas=qs.recalculatedProjection=0,this.nodes.forEach(ol),this.nodes.forEach(ul),this.nodes.forEach(dl),this.nodes.forEach(rl),e=qs,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 _s)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new la),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 o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(or(o),e(i-t))};return nr.read(o,!0),()=>or(o)}(o,250),ws.hasAnimatedSinceResize&&(ws.hasAnimatedSinceResize=!1,this.nodes.forEach(cl))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&a&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||a.getDefaultTransition()||bl,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Hs(this.targetLayout,o)||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={...na(r,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||cl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}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,or(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(pl),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 o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(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(al);this.isUpdating||this.nodes.forEach(sl),this.isUpdating=!1,this.nodes.forEach(ll),this.nodes.forEach(tl),this.nodes.forEach(nl),this.clearAllSnapshots();const e=performance.now();$o.delta=Fn(0,1e3/60,e-$o.timestamp),$o.timestamp=e,$o.isProcessing=!0,qo.update.process($o),qo.preRender.process($o),qo.render.process($o),$o.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(il),this.sharedNodes.forEach(ml)}scheduleUpdateProjection(){nr.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){nr.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:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Zs(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||os(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),vl((o=n).x),vl(o.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&&(ds(t.x,n.offset.x),ds(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ls(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){Ls(t,e);const{scroll:n}=this.root;n&&(ds(t.x,-n.offset.x),ds(t.y,-n.offset.y))}ds(t.x,r.offset.x),ds(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ls(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&hs(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),os(o.latestValues)&&hs(n,o.latestValues)}return os(this.latestValues)&&hs(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ls(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!os(n.latestValues))continue;ns(n.latestValues)&&n.updateSnapshot();const o=Ka();Ls(o,n.measurePageBox()),js(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return os(this.latestValues)&&js(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!==$o.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 o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=$o.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}},Ya(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ls(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,Za(a.x,s.x,l.x),Za(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ls(this.target,this.layout.layoutBox),cs(this.target,this.targetDelta)):Ls(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}},Ya(this.relativeTargetOrigin,this.target,e.target),Ls(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}qs.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ns(this.parent.latestValues)&&!rs(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 o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===$o.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=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||!r&&!i)return;Ls(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,a;t.x=t.y=1;for(let s=0;s<r;s++){i=n[s],a=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&hs(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,cs(e,a)),o&&os(i.latestValues)&&hs(e,i.latestValues))}t.x=us(t.x),t.y=us(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;za(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Us(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),qs.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,o=n?n.latestValues:{},r={...this.latestValues},i={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(gl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;fl(i.x,e.x,n),fl(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ya(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){hl(e.x,t.x,n.x,o),hl(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Hs(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ls(d,this.relativeTarget)),s&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=qr(0,void 0!==n.opacity?n.opacity:1,Rs(o)),e.opacityExit=qr(void 0!==t.opacity?t.opacity:1,0,Bs(o))):i&&(e.opacity=qr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<Ps;r++){const i=`border${Ss[r]}Radius`;let a=Vs(t,i),s=Vs(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Gs(a)===Gs(s)?(e[i]=Math.max(qr(Ts(a),Ts(s),o),0),(Qn.test(s)||Qn.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=qr(t.rotate||0,n.rotate||0,o))}(r,o,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&&(or(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nr.update(()=>{ws.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=Rn(e)?e:pa(e);return o.start(oa("",o,t,n)),o.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:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&yl(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Fa(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=Fa(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Ls(t,n),hs(t,r),za(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Js);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 o=this.getStack();o&&o.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 o={};for(let t=0;t<Qs.length;t++){const r="rotate"+Qs[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Vo(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Vo(e.pointerEvents)||""),this.hasProjected&&!os(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=Us(this.projectionDeltaWithTransform,this.treeScale,a),r&&(o.transform=r(a,o.transform));const{x:s,y:l}=this.projectionDelta;o.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===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:o.opacity=i===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],r="none"===o.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?Vo(e.pointerEvents)||"":"none"),o}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(al),this.root.sharedNodes.clear()}}}function tl(e){e.updateLayout()}function nl(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:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?qa(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=Fa(o);o.min=t[e].min,o.max=o.min+r}):yl(r,n.layoutBox,t)&&qa(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],a=Fa(t[o]);r.max=r.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};za(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?za(s,e.applyTransform(o,!0),n.measuredBox):za(s,t,n.layoutBox);const l=!Zs(a);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Ya(a,n.layoutBox,r.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ya(s,t,i.layoutBox),Hs(a,s)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=o)}}}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 ol(e){qs.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 rl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function il(e){e.clearSnapshot()}function al(e){e.clearMeasurements()}function sl(e){e.isLayoutDirty=!1}function ll(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ul(e){e.resolveTargetDelta()}function dl(e){e.calcProjection()}function pl(e){e.resetRotation()}function ml(e){e.removeLeadSnapshot()}function fl(e,t,n){e.translate=qr(t.translate,0,n),e.scale=qr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hl(e,t,n,o){e.min=qr(t.min,n.min,o),e.max=qr(t.max,n.max,o)}function gl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const bl={duration:.45,ease:[.4,0,.1,1]};function vl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function yl(e,t,n){return"position"===e||"preserve-aspect"===e&&!Xa(Ys(t),Ys(n),.2)}const xl=el({attachResizeListener:(e,t)=>Lo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),wl={current:void 0},Cl=el({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!wl.current){const e=new xl({});e.mount(window),e.setOptions({layoutScroll:!0}),wl.current=e}return wl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Il={pan:{Feature:class extends Uo{constructor(){super(...arguments),this.removePointerDownListener=ar}onPointerDown(e){this.session=new Ra(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:xs(e),onStart:xs(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&nr.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=Fo(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 Uo{constructor(e){super(e),this.removeGroupControls=ar,this.removeListeners=ar,this.controls=new vs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ar}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Cl,MeasureLayout:ks}},Nl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Al(e,t,n=1){yr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=Nl.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():Wn(r)?Al(r,t,n+1):r}const kl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),El=e=>kl.has(e),Sl=e=>e===Xn||e===Kn,Pl=(e,t)=>parseFloat(e.split(", ")[t]),Tl=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return Pl(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?Pl(t[1],e):0}},Gl=new Set(["x","y","z"]),Vl=Tn.filter(e=>!Gl.has(e));const Rl={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:Tl(4,13),y:Tl(5,14)},Bl=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(El);let i=[],a=!1;const s=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=ha(c);const d=t[r];let p;if(To(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ha(c);for(let n=t;n<e&&null!==d[n];n++)p?yr(ha(d[n])===p,"All keyframes must be of the same type"):(p=ha(d[n]),yr(p===u||Sl(u)&&Sl(p),"Keyframes must be of the same dimension as the current value"))}else p=ha(d);if(u!==p)if(Sl(u)&&Sl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===Kn&&(t[r]=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[r]=u.transform(d):(a||(i=function(e){const t=[];return Vl.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Rl[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(s[n]),e[n]=Rl[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),sn&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function Ol(e,t,n,o){return(e=>Object.keys(e).some(El))(t)?Bl(e,t,n,o):{target:t,transitionEnd:o}}const Ml=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Wn(t))return;const n=Al(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!Wn(r))continue;const i=Al(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return Ol(e,t=r.target,n,o=r.transitionEnd)},Ll={current:null},Wl={current:!1};const Dl=new WeakMap,Fl=Object.keys(xn),Xl=Fl.length,jl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],zl=fn.length;class Zl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){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=()=>nr.render(this.render,!1,!0);const{latestValues:a,renderState:s}=r;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=o,this.options=i,this.isControllingVariants=hn(t),this.isVariantNode=gn(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]&&Rn(t)&&(t.set(a[e],!1),ra(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Dl.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)),Wl.current||function(){if(Wl.current=!0,sn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ll.current=e.matches;e.addListener(t),t()}else Ll.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ll.current),"production"!==process.env.NODE_ENV&&ua(!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(){Dl.delete(this.current),this.projection&&this.projection.unmount(),or(this.notifyUpdate),or(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=Gn.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&nr.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,a;if("production"!==process.env.NODE_ENV&&o&&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?vr(!1,e):yr(!1,e)}for(let e=0;e<Xl;e++){const n=Fl[e],{isEnabled:o,Feature:r,ProjectionNode:s,MeasureLayout:l}=xn[n];s&&(i=s),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(a=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||a&&un(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,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<jl.length;t++){const n=jl[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],a=n[r];if(Rn(i))e.addValue(r,i),ra(o)&&o.add(r),"development"===process.env.NODE_ENV&&ua("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Rn(a))e.addValue(r,pa(i,{owner:e})),ra(o)&&o.remove(r);else if(a!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,pa(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);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<zl;e++){const n=fn[e],o=this.props[n];(dn(o)||!1===o)&&(t[n]=o)}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=pa(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,o="string"==typeof n||"object"==typeof n?null===(t=So(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Rn(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new la),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Hl extends Zl{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:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=ya(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[a])&&void 0!==o?o:e.readValue(a))&&void 0!==r?r:t[a]),null!=c&&("string"==typeof c&&(ia(c)||ea(c))?c=parseFloat(c):!ba(c)&&mi.test(l)&&(c=qi(a,l)),e.addValue(a,pa(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=Ml(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Yl extends Hl{readValueFromInstance(e,t){if(Gn.has(t)){const e=Ki(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Ln(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return gs(e,t)}build(e,t,n,o){ro(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ko(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Rn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){Io(e,t,n,o)}}class Jl extends Hl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Gn.has(t)){const e=Ki(t);return e&&e.default||0}return t=No.has(t)?t:Co(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Eo(e,t)}build(e,t,n,o){bo(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){Ao(e,t,0,o)}mount(e){this.isSVGTag=yo(e.tagName),super.mount(e)}}const Ul=(e,t)=>Sn(e)?new Jl(t,{enableHardwareAcceleration:!1}):new Yl(t,{enableHardwareAcceleration:!0}),$l={...Ga,...fr,...Il,...{layout:{ProjectionNode:Cl,MeasureLayout:ks}}},_l=kn((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...Sn(e)?Oo:Mo,preloadedFeatures:n,useRender:wo(t),createVisualElement:o,Component:e}}(e,t,$l,Ul));function Ql(){const e=l(!1);return ln(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Kl extends o.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 ql({children:e,isPresent:t}){const n=g(),r=l(null),i=l({width:0,height:0,top:0,left:0});return h(()=>{const{width:e,height:o,top:a,left:s}=i.current;if(t||!r.current||!e||!o)return;r.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: ${o}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),o.createElement(Kl,{isPresent:t,childRef:r,sizeRef:i},o.cloneElement(e,{ref:r}))}const ec=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:l})=>{const c=Po(tc),u=g(),d=a(()=>({id:u,initial:t,isPresent:n,custom:i,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;r&&r()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),o.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),"popLayout"===l&&(e=o.createElement(ql,{isPresent:n},e)),o.createElement(an.Provider,{value:d},e)};function tc(){return new Map}const nc=e=>e.key||"";const oc=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{yr(!i,"Replace exitBeforeEnter with mode='wait'");const p=f(wn).forceRender||function(){const e=Ql(),[t,n]=c(0),o=d(()=>{e.current&&n(t+1)},[t]);return[d(()=>nr.postRender(o),[o]),t]}()[0],m=Ql(),h=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let g=h;const x=l(new Map).current,w=l(g),C=l(new Map).current,I=l(!0);var N;if(ln(()=>{I.current=!1,function(e,t){e.forEach(e=>{const n=nc(e);t.set(n,e)})}(h,C),w.current=g}),N=()=>{I.current=!0,C.clear(),x.clear()},u(()=>()=>N(),[]),I.current)return o.createElement(o.Fragment,null,g.map(e=>o.createElement(ec,{key:nc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));g=[...g];const A=w.current.map(nc),k=h.map(nc),E=A.length;for(let e=0;e<E;e++){const t=A[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(g=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const i=C.get(n);if(!i)return;const l=A.indexOf(n);let c=e;if(!c){const e=()=>{C.delete(n),x.delete(n);const e=w.current.findIndex(e=>e.key===n);if(w.current.splice(e,1),!x.size){if(w.current=h,!1===m.current)return;p(),r&&r()}};c=o.createElement(ec,{key:nc(i),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},i),x.set(n,c)}g.splice(l,0,c)}),g=g.map(e=>{const t=e.key;return x.has(t)?e:o.createElement(ec,{key:nc(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&g.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.'),o.createElement(o.Fragment,null,x.size?g:g.map(e=>b(e)))};function rc(){return rc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},rc.apply(null,arguments)}function ic(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}function ac(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function sc(...e){return d(ac(...e),e)}function lc(...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 o=n.reduce((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}const cc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:()=>{},uc=o["useId".toString()]||(()=>{});let dc=0;function pc(e){const[t,n]=o.useState(uc());return cc(()=>{n(e=>null!=e?e:String(dc++))},[e]),e||(t?`radix-${t}`:"")}function mc(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function fc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,r]=function({defaultProp:e,onChange:t}){const n=c(e),[o]=n,r=l(o),i=mc(t);return u(()=>{r.current!==o&&(i(o),r.current=o)},[o,r,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:o,s=mc(n);return[a,d(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else r(t)},[i,e,r,s])]}const hc=i((e,t)=>{const{children:n,...o}=e,r=v.toArray(n),i=r.find(vc);if(i){const e=i.props.children,n=r.map(t=>t===i?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(gc,rc({},o,{ref:t}),y(e)?b(e,void 0,n):null)}return s(gc,rc({},o,{ref:t}),n)});hc.displayName="Slot";const gc=i((e,t)=>{const{children:n,...o}=e;return y(n)?b(n,{...yc(o,n.props),ref:t?ac(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});gc.displayName="SlotClone";const bc=({children:e})=>s(x,null,e);function vc(e){return y(e)&&e.type===bc}function yc(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...e)=>{i(...e),r(...e)}:r&&(n[o]=r):"style"===o?n[o]={...r,...i}:"className"===o&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}const xc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=i((e,n)=>{const{asChild:o,...r}=e,i=o?hc:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(i,rc({},r,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const wc="dismissableLayer.update",Cc="dismissableLayer.pointerDownOutside",Ic="dismissableLayer.focusOutside";let Nc;const Ac=p({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kc=i((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:d,onDismiss:p,...m}=e,h=f(Ac),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=sc(t,e=>b(e)),w=Array.from(h.layers),[C]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),I=w.indexOf(C),N=g?w.indexOf(g):-1,A=h.layersWithOutsidePointerEventsDisabled.size>0,k=N>=I,E=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e),o=l(!1),r=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!o.current){const i={originalEvent:e};function a(){Sc(Cc,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",r.current),r.current=a,t.addEventListener("click",r.current,{once:!0})):a()}else t.removeEventListener("click",r.current);o.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...h.branches].some(e=>e.contains(t));k&&!n&&(null==i||i(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e),o=l(!1);return u(()=>{const e=e=>{if(e.target&&!o.current){Sc(Ic,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...h.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{N===h.layers.size-1&&(null==r||r(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),u(()=>{if(g)return o&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(Nc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),Ec(),()=>{o&&1===h.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Nc)}},[g,v,o,h]),u(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),Ec())},[g,h]),u(()=>{const e=()=>y({});return document.addEventListener(wc,e),()=>document.removeEventListener(wc,e)},[]),s(xc.div,rc({},m,{ref:x,style:{pointerEvents:A?k?"auto":"none":void 0,...e.style},onFocusCapture:ic(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ic(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ic(e.onPointerDownCapture,E.onPointerDownCapture)}))});function Ec(){const e=new CustomEvent(wc);document.dispatchEvent(e)}function Sc(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?function(e,t){e&&V(()=>e.dispatchEvent(t))}(r,i):r.dispatchEvent(i)}const Pc="focusScope.autoFocusOnMount",Tc="focusScope.autoFocusOnUnmount",Gc={bubbles:!1,cancelable:!0},Vc=i((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...a}=e,[p,m]=c(null),f=mc(r),h=mc(i),g=l(null),b=sc(t,e=>m(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(o){function e(e){if(v.paused||!p)return;const t=e.target;p.contains(t)?g.current=t:Mc(g.current,{select:!0})}function t(e){if(v.paused||!p)return;const t=e.relatedTarget;null!==t&&(p.contains(t)||Mc(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Mc(p)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return p&&r.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,p,v.paused]),u(()=>{if(p){Lc.add(v);const t=document.activeElement;if(!p.contains(t)){const n=new CustomEvent(Pc,Gc);p.addEventListener(Pc,f),p.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Mc(o,{select:t}),document.activeElement!==n)return}((e=Rc(p),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Mc(p))}return()=>{p.removeEventListener(Pc,f),setTimeout(()=>{const e=new CustomEvent(Tc,Gc);p.addEventListener(Tc,h),p.dispatchEvent(e),e.defaultPrevented||Mc(null!=t?t:document.body,{select:!0}),p.removeEventListener(Tc,h),Lc.remove(v)},0)}}var e},[p,f,h,v]);const y=d(e=>{if(!n&&!o)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,i]=function(e){const t=Rc(e),n=Bc(t,e),o=Bc(t.reverse(),e);return[n,o]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&Mc(i,{select:!0})):(e.preventDefault(),n&&Mc(o,{select:!0})):r===t&&e.preventDefault()}},[n,o,v.paused]);return s(xc.div,rc({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Rc(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(!Oc(n,{upTo:t}))return n}function Oc(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 Mc(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 Lc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Wc(e,t),e.unshift(t)},remove(t){var n;e=Wc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Wc(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const Dc=i((e,t)=>{var n;const{container:o=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...r}=e;return o?G.createPortal(s(xc.div,rc({},r,{ref:t})),o):null});const Fc=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=c(),o=l({}),r=l(e),i=l("none"),a=e?"mounted":"unmounted",[s,p]=function(e,t){return w((e,n)=>{const o=t[e][n];return null!=o?o:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=Xc(o.current);i.current="mounted"===s?e:"none"},[s]),cc(()=>{const t=o.current,n=r.current;if(n!==e){const o=i.current,a=Xc(t);if(e)p("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&o!==a?"ANIMATION_OUT":"UNMOUNT")}r.current=e}},[e,p]),cc(()=>{if(t){const e=e=>{const n=Xc(o.current).includes(e.animationName);e.target===t&&n&&V(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=Xc(o.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(s),ref:d(e=>{e&&(o.current=getComputedStyle(e)),n(e)},[])}}(t),r="function"==typeof n?n({present:o.isPresent}):v.only(n),i=sc(o.ref,r.ref);return"function"==typeof n||o.isPresent?b(r,{ref:i}):null};function Xc(e){return(null==e?void 0:e.animationName)||"none"}Fc.displayName="Presence";let jc=0;function zc(){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 Zc=function(){return Zc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Zc.apply(this,arguments)};function Hc(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Yc="right-scroll-bar-position",Jc="width-before-scroll-bar";function Uc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var $c="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,_c=new WeakMap;function Qc(e,t){var n,o,r,i=(n=null,o=function(t){return e.forEach(function(e){return Uc(e,t)})},(r=c(function(){return{value:n,callback:o,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0]).callback=o,r.facade);return $c(function(){var t=_c.get(i);if(t){var n=new Set(t),o=new Set(e),r=i.current;n.forEach(function(e){o.has(e)||Uc(e,null)}),o.forEach(function(e){n.has(e)||Uc(e,r)})}_c.set(i,e)},[e]),i}function Kc(e){return e}var qc=function(e){var t=e.sideCar,n=Hc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return o.createElement(r,Zc({},n))};qc.isSideCarExport=!0;var eu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Kc);var n=[],o=!1,r={read:function(){if(o)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 r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=Zc({async:!0,ssr:!1},e),t}(),tu=function(){},nu=o.forwardRef(function(e,t){var n=o.useRef(null),r=o.useState({onScrollCapture:tu,onWheelCapture:tu,onTouchMoveCapture:tu}),i=r[0],a=r[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,f=e.noIsolation,h=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Hc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,w=Qc([n,t]),C=Zc(Zc({},y),i);return o.createElement(o.Fragment,null,d&&o.createElement(x,{sideCar:eu,removeScrollBar:u,shards:p,noIsolation:f,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?o.cloneElement(o.Children.only(l),Zc(Zc({},C),{ref:w})):o.createElement(v,Zc({},C,{className:c,ref:w}),l))});nu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nu.classNames={fullWidth:Jc,zeroRight:Yc};function ou(){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 ru=function(){var e=0,t=null;return{add:function(n){var o;0==e&&(t=ou())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},iu=function(){var e,t=(e=ru(),function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,o=e.dynamic;return t(n,o),null}},au={left:0,top:0,right:0,gap:0},su=function(e){return parseInt(e||"",10)||0},lu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return au;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[su(n),su(o),su(r)]}(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},cu=iu(),uu="data-scroll-locked",du=function(e,t,n,o){var r=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(s,"px ").concat(o,";\n }\n body[").concat(uu,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Yc," {\n right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(Jc," {\n margin-right: ").concat(s,"px ").concat(o,";\n }\n \n .").concat(Yc," .").concat(Yc," {\n right: 0 ").concat(o,";\n }\n \n .").concat(Jc," .").concat(Jc," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(uu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},pu=function(){var e=parseInt(document.body.getAttribute(uu)||"0",10);return isFinite(e)?e:0},mu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;o.useEffect(function(){return document.body.setAttribute(uu,(pu()+1).toString()),function(){var e=pu()-1;e<=0?document.body.removeAttribute(uu):document.body.setAttribute(uu,e.toString())}},[]);var a=o.useMemo(function(){return lu(i)},[i]);return o.createElement(cu,{styles:du(a,!t,i,n?"":"!important")})},fu=!1;if("undefined"!=typeof window)try{var hu=Object.defineProperty({},"passive",{get:function(){return fu=!0,!0}});window.addEventListener("test",hu,hu),window.removeEventListener("test",hu,hu)}catch(e){fu=!1}var gu=!!fu&&{passive:!1},bu=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])},vu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),yu(e,n)){var o=xu(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},yu=function(e,t){return"v"===e?function(e){return bu(e,"overflowY")}(t):function(e){return bu(e,"overflowX")}(t)},xu=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},wu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cu=function(e){return[e.deltaX,e.deltaY]},Iu=function(e){return e&&"current"in e?e.current:e},Nu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Au=0,ku=[];var Eu,Su=(Eu=function(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),i=o.useState(Au++)[0],a=o.useState(function(){return iu()})[0],s=o.useRef(e);o.useEffect(function(){s.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Iu),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,i=wu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[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=vu(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=vu(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var m=r.current||o;return function(e,t,n,o){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=r*o,a=n.target,s=t.contains(a),l=!1,c=i>0,u=0,d=0;do{var p=xu(e,a),m=p[0],f=p[1]-p[2]-r*m;(m||f)&&yu(e,a)&&(u+=f,d+=m),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=o.useCallback(function(e){var n=e;if(ku.length&&ku[ku.length-1]===a){var o="deltaY"in n?Cu(n):wu(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=o,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var i=(s.current.shards||[]).map(Iu).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=o.useCallback(function(e,n,o,r){var i={name:e,delta:n,target:o,should:r};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=o.useCallback(function(e){n.current=wu(e),r.current=void 0},[]),p=o.useCallback(function(t){u(t.type,Cu(t),t.target,l(t,e.lockRef.current))},[]),m=o.useCallback(function(t){u(t.type,wu(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return ku.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,gu),document.addEventListener("touchmove",c,gu),document.addEventListener("touchstart",d,gu),function(){ku=ku.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,gu),document.removeEventListener("touchmove",c,gu),document.removeEventListener("touchstart",d,gu)}},[]);var f=e.removeScrollBar,h=e.inert;return o.createElement(o.Fragment,null,h?o.createElement(a,{styles:Nu(i)}):null,f?o.createElement(mu,{gapMode:"margin"}):null)},eu.useMedium(Eu),qc),Pu=o.forwardRef(function(e,t){return o.createElement(nu,Zc({},e,{ref:t,sideCar:Su}))});Pu.classNames=nu.classNames;var Tu=new WeakMap,Gu=new WeakMap,Vu={},Ru=0,Bu=function(e){return e&&(e.host||Bu(e.parentNode))},Ou=function(e,t,n,o){var r=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]);Vu[n]||(Vu[n]=new WeakMap);var i=Vu[n],a=[],s=new Set,l=new Set(r),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};r.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(o),r=null!==t&&"false"!==t,l=(Tu.get(e)||0)+1,c=(i.get(e)||0)+1;Tu.set(e,l),i.set(e,c),a.push(e),1===l&&r&&Gu.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Ru++,function(){a.forEach(function(e){var t=Tu.get(e)-1,r=i.get(e)-1;Tu.set(e,t),i.set(e,r),t||(Gu.has(e)||e.removeAttribute(o),Gu.delete(e)),r||e.removeAttribute(n)}),--Ru||(Tu=new WeakMap,Tu=new WeakMap,Gu=new WeakMap,Vu={})}},Mu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Ou(o,r,n,"aria-hidden")):function(){return null}};const Lu="Dialog",[Wu,Du]=function(e,t=[]){let n=[];const o=()=>{const t=n.map(e=>p(e));return function(n){const o=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){const r=p(o),i=n.length;function l(t){const{scope:n,children:o,...l}=t,c=(null==n?void 0:n[e][i])||r,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},o)}return n=[...n,o],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][i])||r,l=f(s);if(l)return l;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},lc(o,...t)]}(Lu),[Fu,Xu]=Wu(Lu),ju="DialogPortal",[zu,Zu]=Wu(ju,{forceMount:void 0}),Hu="DialogOverlay",Yu=i((e,t)=>{const n=Zu(Hu,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=Xu(Hu,e.__scopeDialog);return i.modal?s(Fc,{present:o||i.open},s(Ju,rc({},r,{ref:t}))):null}),Ju=i((e,t)=>{const{__scopeDialog:n,...o}=e,r=Xu(Hu,n);return s(Pu,{as:hc,allowPinchZoom:!0,shards:[r.contentRef]},s(xc.div,rc({"data-state":nd(r.open)},o,{ref:t,style:{pointerEvents:"auto",...o.style}})))}),Uu="DialogContent",$u=i((e,t)=>{const n=Zu(Uu,e.__scopeDialog),{forceMount:o=n.forceMount,...r}=e,i=Xu(Uu,e.__scopeDialog);return s(Fc,{present:o||i.open},i.modal?s(_u,rc({},r,{ref:t})):s(Qu,rc({},r,{ref:t})))}),_u=i((e,t)=>{const n=Xu(Uu,e.__scopeDialog),o=l(null),r=sc(t,n.contentRef,o);return u(()=>{const e=o.current;if(e)return Mu(e)},[]),s(Ku,rc({},e,{ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ic(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:ic(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:ic(e.onFocusOutside,e=>e.preventDefault())}))}),Qu=i((e,t)=>{const n=Xu(Uu,e.__scopeDialog),o=l(!1),r=l(!1);return s(Ku,rc({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());o.current=!1,r.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(r.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&&r.current&&t.preventDefault()}}))}),Ku=i((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:r,onCloseAutoFocus:i,...a}=e,c=Xu(Uu,n),d=sc(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:zc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:zc()),jc++,()=>{1===jc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),jc--}},[]),s(x,null,s(Vc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:r,onUnmountAutoFocus:i},s(kc,rc({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":nd(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),qu="DialogTitle",ed="DialogClose",td=i((e,t)=>{const{__scopeDialog:n,...o}=e,r=Xu(ed,n);return s(xc.button,rc({type:"button"},o,{ref:t,onClick:ic(e.onClick,()=>r.onOpenChange(!1))}))});function nd(e){return e?"open":"closed"}!function(e,t){const n=p(t);function o(e){const{children:t,...o}=e,r=a(()=>o,Object.values(o));return s(n.Provider,{value:r},t)}o.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Uu,titleName:qu,docsSlug:"dialog"});const od=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:r,onOpenChange:i,modal:a=!0}=e,c=l(null),u=l(null),[p=!1,m]=fc({prop:o,defaultProp:r,onChange:i});return s(Fu,{scope:t,triggerRef:c,contentRef:u,contentId:pc(),titleId:pc(),descriptionId:pc(),open:p,onOpenChange:m,onOpenToggle:d(()=>m(e=>!e),[m]),modal:a},n)},rd=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,i=Xu(ju,t);return s(zu,{scope:t,forceMount:n},v.map(o,e=>s(Fc,{present:n||i.open},s(Dc,{asChild:!0,container:r},e))))},id=Yu,ad=$u,sd=td,ld=n=>{const{isOpen:o,onRequestClose:r,size:i,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(od,{open:o,onOpenChange:()=>o&&(null==r?void 0:r()),children:t(rd,{children:[e(_l.div,{initial:"closed",animate:o?"open":"closed",variants:en,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(id,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(_l.div,{initial:"closed",animate:o?"open":"closed",variants:tn,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(ad,{className:_e("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:nn[i||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(sd,{asChild:!0,children:e(wt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(ot,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(rt,{className:_e("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(rt,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},cd=({children:n,background:o,className:r,fill:i="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 o&&o in d,m=p?d[o]:void 0,f=o&&!p?{background:o}:void 0,h=i in u?u[i]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${a?"max-content":""} ${null!=m?m:f?"":"bg-white"}`,style:f,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 ${h}`,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 ${h}`,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 ${h}`,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 ${h}`,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:r,style:f,children:n})},ud=({title:n,background:o="white",button:r,color:i,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:m})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[o]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[n&&e(rt,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(rt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(wt,{...r,renderCheckPlans:m,onModalButtonClick:p,size:{base:"large"}})})]})}),dd=({background:o="white",description:r,enableHeading:i,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]"}[o]} 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(rt,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(rt,{as:i?"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:[r&&e(rt,{as:"p",className:"body1",children:r}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),o=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e("li",{children:e(at,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),o=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e("li",{children:e(at,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Nt,{width:472,height:100,src:a,alt:"image"})})]})]})}),pd=({title:n,disclaimer:o,table:r,maxWidth:i=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(i?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:r}),e(rt,{as:"div",className:"micro mt-8 text-center",children:o})]})}),md=({currentPage:n,totalPages:o,onPageChange:r,ariaLabel:i="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 o=Math.max(2,e-1),r=Math.min(t-1,e+1);for(let e=o;e<=r;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,o),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":i,children:[e(mt,{className:s,onClick:()=>r(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(ot,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,o)=>"..."===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-${o}`):e(mt,{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:()=>r(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(mt,{className:s,onClick:()=>r(n+1),disabled:n===o,"aria-label":"Go to next page",children:e(ot,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function fd(e){return fd="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},fd(e)}function hd(e){var t=function(e,t){if("object"!=fd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=fd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fd(t)?t:t+""}function gd(e,t,n){return(t=hd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach(function(t){gd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function xd(e,t){if(e){if("string"==typeof e)return yd(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)?yd(e,t):void 0}}function wd(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 o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||xd(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 Cd(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function Id(e,t){if(null==e)return{};var n,o,r=Cd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Nd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ad(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,hd(o.key),o)}}function kd(e,t){return kd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kd(e,t)}function Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ed(e)}function Sd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sd=function(){return!!e})()}function Pd(e,t){if(t&&("object"==fd(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 Td(e){return function(e){if(Array.isArray(e))return yd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||xd(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 Gd=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}(),Vd="-ms-",Rd="-moz-",Bd="-webkit-",Od="comm",Md="rule",Ld="decl",Wd="@keyframes",Dd=Math.abs,Fd=String.fromCharCode,Xd=Object.assign;function jd(e){return e.trim()}function zd(e,t,n){return e.replace(t,n)}function Zd(e,t){return e.indexOf(t)}function Hd(e,t){return 0|e.charCodeAt(t)}function Yd(e,t,n){return e.slice(t,n)}function Jd(e){return e.length}function Ud(e){return e.length}function $d(e,t){return t.push(e),e}var _d=1,Qd=1,Kd=0,qd=0,ep=0,tp="";function np(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:_d,column:Qd,length:a,return:""}}function op(e,t){return Xd(np("",null,null,"",null,null,0),e,{length:-e.length},t)}function rp(){return ep=qd>0?Hd(tp,--qd):0,Qd--,10===ep&&(Qd=1,_d--),ep}function ip(){return ep=qd<Kd?Hd(tp,qd++):0,Qd++,10===ep&&(Qd=1,_d++),ep}function ap(){return Hd(tp,qd)}function sp(){return qd}function lp(e,t){return Yd(tp,e,t)}function cp(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 up(e){return _d=Qd=1,Kd=Jd(tp=e),qd=0,[]}function dp(e){return tp="",e}function pp(e){return jd(lp(qd-1,hp(91===e?e+2:40===e?e+1:e)))}function mp(e){for(;(ep=ap())&&ep<33;)ip();return cp(e)>2||cp(ep)>3?"":" "}function fp(e,t){for(;--t&&ip()&&!(ep<48||ep>102||ep>57&&ep<65||ep>70&&ep<97););return lp(e,sp()+(t<6&&32==ap()&&32==ip()))}function hp(e){for(;ip();)switch(ep){case e:return qd;case 34:case 39:34!==e&&39!==e&&hp(ep);break;case 40:41===e&&hp(e);break;case 92:ip()}return qd}function gp(e,t){for(;ip()&&e+ep!==57&&(e+ep!==84||47!==ap()););return"/*"+lp(t,qd-1)+"*"+Fd(47===e?e:ip())}function bp(e){for(;!cp(ap());)ip();return lp(e,qd)}function vp(e){return dp(yp("",null,null,null,[""],e=up(e),0,[0],e))}function yp(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,f=0,h=1,g=1,b=1,v=0,y="",x=r,w=i,C=o,I=y;g;)switch(f=v,v=ip()){case 40:if(108!=f&&58==Hd(I,d-1)){-1!=Zd(I+=zd(pp(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:I+=pp(v);break;case 9:case 10:case 13:case 32:I+=mp(f);break;case 92:I+=fp(sp()-1,7);continue;case 47:switch(ap()){case 42:case 47:$d(wp(gp(ip(),sp()),t,n),l);break;default:I+="/"}break;case 123*h:s[c++]=Jd(I)*b;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(I=zd(I,/\f/g,"")),m>0&&Jd(I)-d&&$d(m>32?Cp(I+";",o,n,d-1):Cp(zd(I," ","")+";",o,n,d-2),l);break;case 59:I+=";";default:if($d(C=xp(I,t,n,c,u,r,s,y,x=[],w=[],d),i),123===v)if(0===u)yp(I,t,C,C,x,i,d,s,w);else switch(99===p&&110===Hd(I,3)?100:p){case 100:case 108:case 109:case 115:yp(e,C,C,o&&$d(xp(e,C,C,0,0,r,s,y,r,x=[],d),w),r,w,d,s,o?x:w);break;default:yp(I,C,C,C,[""],w,0,s,w)}}c=u=m=0,h=b=1,y=I="",d=a;break;case 58:d=1+Jd(I),m=f;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==rp())continue;switch(I+=Fd(v),v*h){case 38:b=u>0?1:(I+="\f",-1);break;case 44:s[c++]=(Jd(I)-1)*b,b=1;break;case 64:45===ap()&&(I+=pp(ip())),p=ap(),u=d=Jd(y=I+=bp(sp())),v++;break;case 45:45===f&&2==Jd(I)&&(h=0)}}return i}function xp(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],m=Ud(p),f=0,h=0,g=0;f<o;++f)for(var b=0,v=Yd(e,d+1,d=Dd(h=a[f])),y=e;b<m;++b)(y=jd(h>0?p[b]+" "+v:zd(v,/&\f/g,p[b])))&&(l[g++]=y);return np(e,t,n,0===r?Md:s,l,c,u)}function wp(e,t,n){return np(e,t,n,Od,Fd(ep),Yd(e,2,-2),0)}function Cp(e,t,n,o){return np(e,t,n,Ld,Yd(e,0,o),Yd(e,o+1,-1),o)}function Ip(e,t){for(var n="",o=Ud(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Np(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ld:return e.return=e.return||e.value;case Od:return"";case Wd:return e.return=e.value+"{"+Ip(e.children,o)+"}";case Md:e.value=e.props.join(",")}return Jd(n=Ip(e.children,o))?e.return=e.value+"{"+n+"}":""}function Ap(e){var t=Ud(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}var kp="undefined"!=typeof document,Ep=function(e,t,n){for(var o=0,r=0;o=r,r=ap(),38===o&&12===r&&(t[n]=1),!cp(r);)ip();return lp(e,qd)},Sp=function(e,t){return dp(function(e,t){var n=-1,o=44;do{switch(cp(o)){case 0:38===o&&12===ap()&&(t[n]=1),e[n]+=Ep(qd-1,t,n);break;case 2:e[n]+=pp(o);break;case 4:if(44===o){e[++n]=58===ap()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Fd(o)}}while(o=ip());return e}(up(e),t))},Pp=new WeakMap,Tp=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=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)||Pp.get(n))&&!o){Pp.set(e,!0);for(var r=[],i=Sp(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Gp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Vp(e,t){switch(function(e,t){return 45^Hd(e,0)?(((t<<2^Hd(e,0))<<2^Hd(e,1))<<2^Hd(e,2))<<2^Hd(e,3):0}(e,t)){case 5103:return Bd+"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 Bd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Bd+e+Rd+e+Vd+e+e;case 6828:case 4268:return Bd+e+Vd+e+e;case 6165:return Bd+e+Vd+"flex-"+e+e;case 5187:return Bd+e+zd(e,/(\w+).+(:[^]+)/,Bd+"box-$1$2"+Vd+"flex-$1$2")+e;case 5443:return Bd+e+Vd+"flex-item-"+zd(e,/flex-|-self/,"")+e;case 4675:return Bd+e+Vd+"flex-line-pack"+zd(e,/align-content|flex-|-self/,"")+e;case 5548:return Bd+e+Vd+zd(e,"shrink","negative")+e;case 5292:return Bd+e+Vd+zd(e,"basis","preferred-size")+e;case 6060:return Bd+"box-"+zd(e,"-grow","")+Bd+e+Vd+zd(e,"grow","positive")+e;case 4554:return Bd+zd(e,/([^-])(transform)/g,"$1"+Bd+"$2")+e;case 6187:return zd(zd(zd(e,/(zoom-|grab)/,Bd+"$1"),/(image-set)/,Bd+"$1"),e,"")+e;case 5495:case 3959:return zd(e,/(image-set\([^]*)/,Bd+"$1$`$1");case 4968:return zd(zd(e,/(.+:)(flex-)?(.*)/,Bd+"box-pack:$3"+Vd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Bd+e+e;case 4095:case 3583:case 4068:case 2532:return zd(e,/(.+)-inline(.+)/,Bd+"$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(Jd(e)-1-t>6)switch(Hd(e,t+1)){case 109:if(45!==Hd(e,t+4))break;case 102:return zd(e,/(.+:)(.+)-([^]+)/,"$1"+Bd+"$2-$3$1"+Rd+(108==Hd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Zd(e,"stretch")?Vp(zd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hd(e,t+1))break;case 6444:switch(Hd(e,Jd(e)-3-(~Zd(e,"!important")&&10))){case 107:return zd(e,":",":"+Bd)+e;case 101:return zd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Bd+(45===Hd(e,14)?"inline-":"")+"box$3$1"+Bd+"$2$3$1"+Vd+"$2box$3")+e}break;case 5936:switch(Hd(e,t+11)){case 114:return Bd+e+Vd+zd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Bd+e+Vd+zd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Bd+e+Vd+zd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Bd+e+Vd+e+e}return e}var Rp,Bp,Op=kp?void 0:(Rp=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},Bp=new WeakMap,function(e){if(Bp.has(e))return Bp.get(e);var t=Rp(e);return Bp.set(e,t),t}),Mp=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Ld:e.return=Vp(e.value,e.length);break;case Wd:return Ip([op(e,{value:zd(e.value,"@","@"+Bd)})],o);case Md: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 Ip([op(e,{props:[zd(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Ip([op(e,{props:[zd(t,/:(plac\w+)/,":"+Bd+"input-$1")]}),op(e,{props:[zd(t,/:(plac\w+)/,":-moz-$1")]}),op(e,{props:[zd(t,/:(plac\w+)/,Vd+"input-$1")]})],o)}return""})}}],Lp=function(e){var t=e.key;if(kp&&"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 o,r,i=e.stylisPlugins||Mp,a={},s=[];kp&&(o=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=[Tp,Gp];if(Op){var u=[Np],d=Ap(c.concat(i,u)),p=Op(i)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Ip(vp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=m(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var f,h=[Np,(l=function(e){f.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Ap(c.concat(i,h));r=function(e,t,n,o){f=n,Ip(vp(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Gd({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return b.sheet.hydrate(s),b};function Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dp(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}var Fp,Xp={exports:{}},jp={};var zp,Zp,Hp,Yp,Jp={};
|
|
3
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from"react";import r,{forwardRef as o,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as p,useLayoutEffect as m,useContext as h,useInsertionEffect as g,useId as f,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as w}from"react";import{Base64 as C}from"js-base64";import N from"js-cookie";import{documentToReactComponents as A}from"@contentful/rich-text-react-renderer";import{INLINES as k,BLOCKS as G,MARKS as P}from"@contentful/rich-text-types";import V from"next/link";import T from"next/image";import B,{flushSync as S,createPortal as E}from"react-dom";import{useRouter as R,usePathname as M,useSearchParams as X}from"next/navigation";function L(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=L(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function W(){for(var e,t,n=0,i="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=L(e))&&(i&&(i+=" "),i+=t);return i}const F=e=>{const t=z(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),O(n,t)||Z(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&i[e]?[...r,...i[e]]:r}}},O=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),r=i?O(e.slice(1),i):void 0;if(r)return r;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},D=/^\[(.+)\]$/,Z=e=>{if(D.test(e)){const t=D.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},z=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const e in n)H(n[e],i,e,t);return i},H=(e,t,n,i)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:j(t,e)).classGroupId=n)}if("function"==typeof e)return Y(e)?void H(e(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{H(r,j(t,e),n,i)})})},j=(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},Y=e=>e.isThemeGetter,J=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const r=(r,o)=>{n.set(r,o),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))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},U=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=e=>{const t=[];let n,i=0,r=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===i&&0===r){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?i++:"]"===s?i--:"("===s?r++:")"===s&&r--}const a=0===t.length?e:e.substring(o),s=$(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o: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},$=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Q=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}},_=/\s+/;function K(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=q(e))&&(i&&(i+=" "),i+=t);return i}const q=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=q(e[i]))&&(n&&(n+=" "),n+=t);return n};function ee(e,...t){let n,i,r,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:J(e.cacheSize),parseClassName:U(e),sortModifiers:Q(e),...F(e)}))(l),i=n.cache.get,r=n.cache.set,o=a,a(s)};function a(e){const t=i(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:o}=t,a=[],s=e.trim().split(_);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,g=i(h?p.substring(0,m):p);if(!g){if(!h){l=t+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=t+(l.length>0?" "+l:l);continue}h=!1}const f=o(u).join(":"),b=d?f+"!":f,v=b+g;if(a.includes(v))continue;a.push(v);const y=r(g,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,o),o}return function(){return o(K.apply(null,arguments))}}const te=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ne=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ie=/^\((?:(\w[\w-]*):)?(.+)\)$/i,re=/^\d+\/\d+$/,oe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ae=/\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$/,se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,le=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ce=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ue=e=>re.test(e),de=e=>!!e&&!Number.isNaN(Number(e)),pe=e=>!!e&&Number.isInteger(Number(e)),me=e=>e.endsWith("%")&&de(e.slice(0,-1)),he=e=>oe.test(e),ge=()=>!0,fe=e=>ae.test(e)&&!se.test(e),be=()=>!1,ve=e=>le.test(e),ye=e=>ce.test(e),xe=e=>!we(e)&&!Pe(e),Ie=e=>Me(e,Fe,be),we=e=>ne.test(e),Ce=e=>Me(e,Oe,fe),Ne=e=>Me(e,De,de),Ae=e=>Me(e,Le,be),ke=e=>Me(e,We,ye),Ge=e=>Me(e,ze,ve),Pe=e=>ie.test(e),Ve=e=>Xe(e,Oe),Te=e=>Xe(e,Ze),Be=e=>Xe(e,Le),Se=e=>Xe(e,Fe),Ee=e=>Xe(e,We),Re=e=>Xe(e,ze,!0),Me=(e,t,n)=>{const i=ne.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Xe=(e,t,n=!1)=>{const i=ie.exec(e);return!!i&&(i[1]?t(i[1]):n)},Le=e=>"position"===e||"percentage"===e,We=e=>"image"===e||"url"===e,Fe=e=>"length"===e||"size"===e||"bg-size"===e,Oe=e=>"length"===e,De=e=>"number"===e,Ze=e=>"family-name"===e,ze=e=>"shadow"===e,He=()=>{const e=te("color"),t=te("font"),n=te("text"),i=te("font-weight"),r=te("tracking"),o=te("leading"),a=te("breakpoint"),s=te("container"),l=te("spacing"),c=te("radius"),u=te("shadow"),d=te("inset-shadow"),p=te("text-shadow"),m=te("drop-shadow"),h=te("blur"),g=te("perspective"),f=te("aspect"),b=te("ease"),v=te("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Pe,we],x=()=>[Pe,we,l],I=()=>[ue,"full","auto",...x()],w=()=>[pe,"none","subgrid",Pe,we],C=()=>["auto",{span:["full",pe,Pe,we]},pe,Pe,we],N=()=>[pe,"auto",Pe,we],A=()=>["auto","min","max","fr",Pe,we],k=()=>["auto",...x()],G=()=>[ue,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Pe,we],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Be,Ae,{position:[Pe,we]}],T=()=>["auto","cover","contain",Se,Ie,{size:[Pe,we]}],B=()=>[me,Ve,Ce],S=()=>["","none","full",c,Pe,we],E=()=>["",de,Ve,Ce],R=()=>[de,me,Be,Ae],M=()=>["","none",h,Pe,we],X=()=>["none",de,Pe,we],L=()=>["none",de,Pe,we],W=()=>[de,Pe,we],F=()=>[ue,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[he],breakpoint:[he],color:[ge],container:[he],"drop-shadow":[he],ease:["in","out","in-out"],font:[xe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[he],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[he],shadow:[he],spacing:["px",de],text:[he],"text-shadow":[he],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ue,we,Pe,f]}],container:["container"],columns:[{columns:[de,we,Pe,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:[pe,"auto",Pe,we]}],basis:[{basis:[ue,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[de,ue,"auto","initial","none",we]}],grow:[{grow:["",de,Pe,we]}],shrink:[{shrink:["",de,Pe,we]}],order:[{order:[pe,"first","last","none",Pe,we]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],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,Ve,Ce]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Pe,Ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",me,we]}],"font-family":[{font:[Te,we,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:[r,Pe,we]}],"line-clamp":[{"line-clamp":[de,"none",Pe,Ne]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Pe,we]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Pe,we]}],"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:[de,"from-font","auto",Pe,Ce]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[de,"auto",Pe,we]}],"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",Pe,we]}],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",Pe,we]}],"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:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pe,Pe,we],radial:["",Pe,we],conic:[pe,Pe,we]},Ee,ke]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"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":[de,Pe,we]}],"outline-w":[{outline:["",de,Ve,Ce]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Re,Ge]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Re,Ge]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[de,Ce]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,Re,Ge]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[de,Pe,we]}],"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":[de]}],"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":[Pe,we]}],"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":[de]}],"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:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Pe,we]}],filter:[{filter:["","none",Pe,we]}],blur:[{blur:M()}],brightness:[{brightness:[de,Pe,we]}],contrast:[{contrast:[de,Pe,we]}],"drop-shadow":[{"drop-shadow":["","none",m,Re,Ge]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",de,Pe,we]}],"hue-rotate":[{"hue-rotate":[de,Pe,we]}],invert:[{invert:["",de,Pe,we]}],saturate:[{saturate:[de,Pe,we]}],sepia:[{sepia:["",de,Pe,we]}],"backdrop-filter":[{"backdrop-filter":["","none",Pe,we]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[de,Pe,we]}],"backdrop-contrast":[{"backdrop-contrast":[de,Pe,we]}],"backdrop-grayscale":[{"backdrop-grayscale":["",de,Pe,we]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[de,Pe,we]}],"backdrop-invert":[{"backdrop-invert":["",de,Pe,we]}],"backdrop-opacity":[{"backdrop-opacity":[de,Pe,we]}],"backdrop-saturate":[{"backdrop-saturate":[de,Pe,we]}],"backdrop-sepia":[{"backdrop-sepia":["",de,Pe,we]}],"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",Pe,we]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[de,"initial",Pe,we]}],ease:[{ease:["linear","initial",b,Pe,we]}],delay:[{delay:[de,Pe,we]}],animate:[{animate:["none",v,Pe,we]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Pe,we]}],"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:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[Pe,we,"","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",Pe,we]}],"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",Pe,we]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[de,Ve,Ce,Ne]}],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"]}},je=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ye=(e,t)=>{if(t)for(const n in t)je(e,n,t[n])},Je=(e,t)=>{if(t)for(const n in t)Ue(e,t,n)},Ue=(e,t,n)=>{const i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},$e=((e,...t)=>"function"==typeof e?ee(He,e,...t):ee(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:r={},override:o={}})=>(je(e,"cacheSize",t),je(e,"prefix",n),je(e,"experimentalParseClassName",i),Ye(e.theme,o.theme),Ye(e.classGroups,o.classGroups),Ye(e.conflictingClassGroups,o.conflictingClassGroups),Ye(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),je(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Je(e.theme,r.theme),Je(e.classGroups,r.classGroups),Je(e.conflictingClassGroups,r.conflictingClassGroups),Je(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ue(e,r,"orderSensitiveModifiers"),e))(He(),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"]}}}),Qe=(...e)=>$e(W(...e));const _e=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Ke=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,qe=e=>{if(!e)return null;if(Ke(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Ke(t)?t:null}return null},et={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},tt=o(({children:t,className:n="",variant:i="unstyled",style:r,...o},a)=>{const s=Qe("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:r,...o,children:t})});tt.displayName="ListItem";const nt=o(({type:t="ul",items:n,className:i="",renderItem:r,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Qe(u,`list--${t}`,`list--${a}`,i),p=o||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e(tt,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...m,ref:c})});nt.displayName="List";const it=({name:t,fill:n=0,opticalSize:i="48dp",weight:r="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${o}, 'opsz' ${i.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Qe("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};it.displayName="MaterialIcon";const rt=o(({children:e,as:t,className:n="",style:i,...o},a)=>{const s=t||"p";return r.createElement(s,{ref:a,className:n,style:i,...o},e)});rt.displayName="Text";const ot=n=>{const{items:i,listIconName:r="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==r;return(null==i?void 0:i.length)?e(nt,{className:Qe("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:i.map((n,i)=>t(tt,{variant:d?"unstyled":"default",className:Qe(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(it,{name:r,size:s,color:et[c],weight:"600",className:Qe("block","top"===l?"mt-1":"",u)})}),e(rt,{as:"div",children:n})]},i))}):null};ot.displayName="Checklist";const at=o(({children:t,href:n,className:i="",onClick:r,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},m=Qe(d,`link--${o}`,l&&"link--disabled",i),h={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(V,{href:n||"#",className:m,onClick:p,...c,children:t})});at.displayName="Link";const st={renderMark:{[P.BOLD]:t=>e("strong",{className:"label3",children:t}),[P.ITALIC]:t=>e("em",{children:t}),[P.UNDERLINE]:t=>e("u",{children:t}),[P.CODE]:t=>e("code",{children:t})},renderNode:{[G.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[G.HEADING_1]:(t,n)=>e(rt,{as:"h1",className:"heading2 md:heading1",children:n}),[G.HEADING_2]:(t,n)=>e(rt,{as:"h2",className:"heading6 md:heading5",children:n}),[G.HEADING_3]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_4]:(t,n)=>e(rt,{as:"h3",className:"headingClass",children:n}),[G.HEADING_5]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_6]:(t,n)=>e(rt,{as:"h3",className:"heading6",children:n}),[G.QUOTE]:(t,n)=>e("blockquote",{children:n}),[G.UL_LIST]:(t,n)=>e("ul",{children:n}),[G.OL_LIST]:(t,n)=>e("ol",{children:n}),[G.LIST_ITEM]:(t,n)=>e("li",{children:n}),[k.HYPERLINK]:(t,n)=>{var i;const r=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,o=/^https?:\/\//.test(r);return e("a",{href:r,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[G.EMBEDDED_ASSET]:t=>{var n,i;const r=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==r?void 0:r.fields,a=(null==r?void 0:r.url)||(null===(i=null==o?void 0:o.file)||void 0===i?void 0:i.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[G.EMBEDDED_ENTRY]:n=>{var i,r,o,a;const s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"callout"===(null===(a=null===(o=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[k.EMBEDDED_ENTRY]:n=>{var i,r,o,a,s,l;const c=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"componentCheckList"===(null===(a=null===(o=null===(r=null==c?void 0:c.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function lt(t,n,i="body1",r="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const a={...st,...o,renderNode:{...st.renderNode,...null==o?void 0:o.renderNode,[G.PARAGRAPH]:(t,n)=>e("div",{className:i,children:n}),[k.HYPERLINK]:(t,i)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(at,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:r,children:i})}}};return A(t,a)}function ct(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...st,renderMark:{...st.renderMark,...null==t?void 0:t.renderMark},renderNode:{...st.renderNode,...null==t?void 0:t.renderNode}};return A(e,n)},[e,t])}function ut(i,r){if(!i||!Array.isArray(i.content))return null;const o={...st,renderMark:{...st.renderMark,[P.BOLD]:t=>e("strong",{className:"label2",children:t})},renderNode:{...st.renderNode,[G.PARAGRAPH]:(t,n)=>e("div",{className:"body2",children:n}),[G.TABLE]:(t,n)=>{var i,r;return e("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(r=null===(i=t.content[0])||void 0===i?void 0:i.content)||void 0===r?void 0:r.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[G.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[G.TABLE_HEADER_CELL]:(t,n)=>{var i;const r=(null===(i=t.parent)||void 0===i?void 0:i.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center ${r?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[G.TABLE_CELL]:(i,r)=>{var o,a,s,l;const c=(null===(o=i.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=i.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(it,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(it,{name:"cancel",color:"#CECECE",fill:1}):r]})})},[k.EMBEDDED_ENTRY]:t=>{var n,i,o,a;const s=t.data.target.sys.id,l=null===(i=null===(n=null==r?void 0:r.entries)||void 0===n?void 0:n.inline)||void 0===i?void 0:i.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e(ot,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e("span",{children:l.title||""})}}};return A(i,o)}const dt={renderMark:{[P.BOLD]:e=>s("span",{className:"label1"},e)}};function pt(e,t,n,i){return a(()=>{var r,o;const a=null!==(o=null===(r=null==e?void 0:e.list)||void 0===r?void 0:r.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,r;return null!==(r=lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==r?r:""}):a.map(e=>{var t,r,o,a,s;return{title:null!==(r=lt(qe(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==r?r:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,i])}const mt=o(({children:t,className:n="",style:i,disabled:r,...o},a)=>e("button",{ref:a,className:Qe(n),style:i,disabled:r,...o,children:t}));mt.displayName="Button";const ht=t=>{const{open:n,children:i}=t,r=l(null),[o,a]=c(0);return u(()=>{const e=r.current;if(!e)return;const t=()=>{a(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:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:i})})};ht.displayName="Collapse";const gt=n=>{const{title:i,defaultOpen:r,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:m,borderRadiusNone:h=!1}=n,[g,f]=c(Boolean(!1));return u(()=>{if(m){const e=window.innerWidth>=1024;f(e)}else f(Boolean(r))},[m,r]),t("div",{className:Qe(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(mt,{type:"button",className:Qe(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>f(e=>!e),children:[e("span",{className:Qe("label5 flex-1",s),children:i}),e(it,{className:Qe("flex-shrink-0",p),name:g?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(ht,{open:g,children:e("div",{className:Qe("px-4 py-4",l),children:o})})]})};gt.displayName="Accordion";const ft=t=>{const{className:n,...i}=t;return e("div",{className:Qe("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...i})};ft.displayName="Divider";const bt=({items:n,title:i,anchorId:r,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:m})=>{const[h,g]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);g(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:r,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:i}),e("div",{className:`pt-6 md:pt-10 ${null!=m?m:""}`,children:null==n?void 0:n.map((i,r)=>{const o=i.anchorId||`item-${r}`,a=i.anchorId?h.includes(i.anchorId):void 0;return t("div",{id:i.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(gt,{title:i.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...i.anchorId&&{onClick:()=>{return e=i.anchorId,void g(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(rt,{as:"div",children:i.description})})}),r<n.length-1&&e(ft,{className:"my-6 md:my-10"},`divider-${r}`)]},o)})})]})})},vt=({href:i,title:r,description:o,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:m})=>t("article",{className:u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(V,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(T,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),r&&e(V,{href:i,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:r}),o&&e(rt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(V,{href:i,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${r||"this article"}`,children:[e(rt,{"aria-label":`${c} about ${r||"this article"}`,className:"label1 text-nowrap",children:c}),e(it,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),yt=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()},xt=o(({variant:i="primary_brand",isLoading:r=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},m)=>{const h=(()=>{const e=Qe((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()})(u),"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 whitespace-nowrap",l?"w-full":"w-auto"),t=Qe((s||r)&&"cursor-not-allowed",r&&"pl-7");return Qe(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[i]||"",t,c)})();let g=`button--${i}`;r&&(g+=" button--loading"),s&&(g+=" button--disabled");const f=`${g} ${h}`,b=t(n,{children:[r?e(it,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Qe(yt(u)),children:a}),o]}):o]});return"a"===d?e("a",{ref:m,className:Qe(f),...p,children:b}):e("button",{ref:m,className:Qe(f),disabled:s||r,...p,children:b})});xt.displayName="BrandButton";const It=n=>{const{showButtonAs:i="solid",buttonVariant:r="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:w,iconSize:C=24,preserveQueryParameters:N,...A}=n;if("check availability"===m){return null==h?void 0:h({ctaText:o,buttonVariant:r,showButtonAs:i,cta:{...n}})}function k(){"modal"===f&&(null==v||v(b))}function G(e){k(),null==y||y(e)}function P(e){k(),null==y||y(e)}const V="undefined"!=typeof window?window.location.search:"",T=s&&N&&V?function(e,t){if(!t)return e;const n=new URLSearchParams(t),i=new Set(_e),r=new Set([...i,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{r.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,V):s;let B=e(mt,{onClick:P,className:g,...A});switch(i){case"solid":B=e(xt,T?{as:"a",href:T,id:c,variant:r,text:o,label:a,fullWidth:p,buttonClassName:g,size:w,onClick:G}:{id:c,variant:r,text:o,label:a,fullWidth:p,size:w,onClick:P,buttonClassName:g});break;case"text":B=t(at,{href:T,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:G,children:[o," ",x&&e(it,{name:x,size:C,fill:I})]})}return B},wt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ct=({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()},Nt=o(({className:t,...n},i)=>{const r="string"==typeof n.src?n.src:"",o=r.toLowerCase().split("?")[0]||"",a=r.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Ct,unoptimized:!1}:{unoptimized:s};return e(T,{ref:i,className:Qe(t),...n,...l})});Nt.displayName="NextImage";const At=({card:n,lgWidth:i,mdWidth:r})=>{var o,a,s;const l=(null===(o=n.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${r} ${i} w-full ${null!==(s=wt[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,i,r;if(!t.image)return null;const o=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(Nt,"full"===o?{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!==(r=t.title)&&void 0!==r?r:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e(rt,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e(rt,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(It,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},kt=({title:n,items:i,enableHeading:r=!1,subtitle:o,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===i.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e(rt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e(rt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:i.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(vt,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:u,mdWidth:d})}return e(At,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},Gt=({fields:t})=>e("div",{children:e(rt,{children:"Cards"})}),Pt=o(({as:t,className:n="",...i},r)=>{const o=Qe(n);if(t){return e(t,{ref:r,className:o,...i})}return e("img",{ref:r,className:o,...i})});Pt.displayName="Image";const Vt=({onSelect:i,speed:r,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[m,h]=c(!1),g=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,f=null==a?void 0:a({speedCardConfig:{isModalOpen:m,setModalOpen:()=>{h(!1)},speed:r,techType:d,isMax:p},cta:u});return t(n,{children:[t(mt,{onClick:()=>{h(!0),i()},className:Qe(g,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(it,{className:Qe(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),f]})},Tt=({planName:i,planSubtext:r,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:m="light",featuresTitle:h="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:w})=>{const[C,N]=c(!1),A=void 0!==f?f:C,k="dark"===m;return t("article",{className:Qe("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Qe("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(rt,{as:"h3",className:Qe("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i}),e(rt,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),t("div",{className:"flex items-start",children:[e(rt,{as:"span",className:Qe("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(rt,{as:"span",className:Qe("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(rt,{as:"span",className:Qe("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(rt,{className:Qe("body2",k?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Qe("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Pt,{src:n.icon,alt:n.title,width:24,height:24}),e(rt,{as:"div",className:Qe("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Vt,{onSelect:v,speed:o,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:w}),g.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(mt,{onClick:()=>{b?b():N(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(rt,{as:"h4",className:Qe("label3",k?"text-text-inverse":"text-text"),children:h}),e(it,{name:"keyboard_arrow_down",fill:1,size:24,className:Qe("transition-transform duration-300",A&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:Qe("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(ot,{items:g,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Pt,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(rt,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Bt=({title:n,quote:i,rating:r,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:W("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(rt,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:i}),r?e("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e(it,{size:24,name:"star",fill:1,className:W("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(T,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(rt,{as:"p",className:"body3 text-text",children:a})]})]})]});function St({fields:i,renderCheckPlans:r}){var o,a,s,p;const m=(null===(s=null===(a=null===(o=null==i?void 0:i.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[h,g]=c(m),[f,b]=c({}),[v,y]=c(0),x=(null===(p=null==i?void 0:i.items)||void 0===p?void 0:p.items)||[],I=x.length>2,w=l([]),C=d(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),N=d(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(u(()=>{if(!I)return;const e=()=>{const e=w.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,h,x.length]),!x.length&&!(null==i?void 0:i.title))return null;const A=(t,n,i=!1)=>{var o,a,s,l,c,u,d,p;const m=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==m?void 0:m[0])||"",y=(null==m?void 0:m[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],k={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},G=i?f[n]||!1:h;return e("div",{ref:i?void 0:e=>{e&&!w.current.includes(e)&&(w.current[n]=e)},className:Qe(i?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(Tt,{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:A,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:G,onToggleExpand:()=>{i?b(e=>({...e,[n]:!e[n]})):g(!h)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,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)=>A(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(mt,{onClick:C,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(it,{name:"arrow_back",size:24})}),e(mt,{onClick:N,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(it,{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)=>A(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>A(e,t))})}const Et=r.memo(({item:t,index:n,currentIndex:i,totalItems:r,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-i;u>r/2&&(u-=r),u<-r/2&&(u+=r);const d=0===u,p=1===Math.abs(u),m=u*c+o/l*100,h=!s||(a?d||p:d);return e("div",{className:Qe("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e(Bt,{...t,isActive:d,className:"h-full"})})});Et.displayName="TestimonialCarouselSlide";const Rt=({fields:n,autoScroll:i=!0,autoScrollInterval:r=8e3})=>{var o;const a=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:i=.15,mobileBreakpoint:r=768,autoScrollInterval:o=8e3,enableAutoScroll:a=!0}=e,[s,p]=c(0),[m,h]=c(0),[g,f]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),w=l(0),C=l(null),N={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:r,AUTO_SCROLL_INTERVAL:o};u(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const A=d(()=>{0!==t&&p(e=>(e+1)%t)},[t]),k=d(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),G=d(e=>{e<0||e>=t||p(e)},[t]),P=d(e=>{w.current=e.touches[0].clientX,f(!0),I.current&&clearInterval(I.current)},[]),V=d(e=>{if(!g)return;const t=e.touches[0].clientX-w.current;h(t)},[g]),T=d(()=>{f(!1);const e=b*i;m>e?k():m<-e&&A(),h(0),a&&o>0&&(I.current=setInterval(()=>{A()},o))},[m,b,i,k,A,a,o]);return u(()=>{const e=()=>{x(window.innerWidth<r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),u(()=>{if(a&&0!==t&&0!==o)return I.current=setInterval(()=>{A()},o),()=>{I.current&&clearInterval(I.current)}},[A,t,a,o]),{currentIndex:s,swipeOffset:m,isSwiping:g,isMobile:y,containerWidth:b,containerRef:C,nextSlide:A,prevSlide:k,goToSlide:G,handleTouchStart:P,handleTouchMove:V,handleTouchEnd:T,constants:N}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:r,enableAutoScroll:i});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(mt,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(it,{name:"arrow_back",size:24})}),e(mt,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(it,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(Et,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:Qe("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Mt=({tabs:n,activeTab:i,onChange:r,className:o})=>{const a=n.indexOf(i),s=l([]),[d,p]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Qe("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>r(t),className:Qe("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",i===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Xt=({fields:n,hasTestimonialCards:i,hasProductCards:r,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:m=!1})=>t("div",{className:`${a} ${r?"px-3 py-9 md:py-20":i?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(rt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(rt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),m&&r&&t("div",{className:"flex flex-col gap-8",children:[m&&r&&c.length>1&&e(Mt,{tabs:c,activeTab:s,onChange:l}),r&&e(St,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),i&&e(Rt,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e(rt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),Lt=({title:n,subtitle:i,description:r,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Nt,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(rt,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e(rt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),r&&e(rt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(It,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(rt,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),Wt=({body:n,links:i,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(ft,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==i?void 0:i.map((n,i)=>{var o,a;return t(r.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(rt,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(It,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e(ft,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${i}`)})}),t("div",{className:"py-8",children:[e(ft,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(It,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Ft=({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(it,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Ot=t=>{const{link:n,containerClassName:i,autoplay:r=!1,debug:o=!1}=t,{href:s,embedId:l}=a(()=>{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("/"),r=i[i.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[n]);if(o&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=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],r=`https://player.vimeo.com/video/${e}`;return i&&/^[a-f0-9]+$/i.test(i)&&t.searchParams.set("h",i),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:r?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Qe("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:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Dt=t=>{const{link:n,containerClassName:i,autoplay:r=!1}=t,o=a(()=>{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]),s=r?"?autoplay=1":"";return e("div",{className:Qe("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/${o}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Zt=({brow:n,enableHeading:i,title:r,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:p=!0,checklist:m,secondaryCta:h,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:w})=>{var C,N;const[A,k]=c(""),[G,P]=c(!1),V=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",T=null==f?void 0:f.image,B=null!==(N=null==f?void 0:f.videoPopup)&&void 0!==N&&N,S=Boolean(A&&A===V),E=f&&T?V.includes("vimeo")?e(Ot,{link:V,autoplay:S}):e(Dt,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(rt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e(rt,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:r}),o&&e(rt,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e(rt,{as:"div",className:"body1",children:l}),m.length>0&&e(ot,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(at,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Pt,{src:t.image,alt:"icon-link"})})},n))}),(g||h)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(It,{...g,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})}),h&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(It,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Nt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:Qe("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:Qe(S&&!B&&"hidden",S&&!B?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(Nt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Ft,{isHovered:G})})]}),!B&&S&&e("div",{className:Qe("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:E})]})]})]})}),B&&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})})]})},zt=({link:n,anchorName:i})=>{const[o,a]=r.useState(!1),s=r.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()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(It,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[t(It,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(rt,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(it,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:Qe("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(It,{...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}`))})})]})},Ht=({link:i})=>{const[o,a]=r.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(It,{...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(It,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(it,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(jt,{items:u})]})},jt=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(It,{...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}`),Yt=n=>{const{showBlinkDot:i=!1,buttonStyle:r="primary",size:o="md",children:a,className:s,...l}=n;return t(at,{...l,className:Qe("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[i?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e(it,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Yt.displayName="CallButton";const Jt=o((n,i)=>{const{className:r,size:o,required:a,placeholder:s,label:l,state:u,errorText:p,prefixIconName:m,prefixIconFill:h=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:w,type:C,...N}=n,A=w?"error":u,[k,G]=c(!1),[P,V]=c(!1),[T,B]=c(C||"text"),S=d(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Qe("inline-block pb-1"),children:t(rt,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Qe("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],y,(k||"hover"===A)&&!P&&"error"!==A&&"border-input-border-hover",(P||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(it,{name:m,fill:h?1:0,size:f,className:Qe(x)})}):null,e("input",{ref:i,id:l,disabled:I||N.disabled,className:Qe("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",r),placeholder:s,type:T,...N,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=N.onFocus)||void 0===t||t.call(N,e),V(!0)},onBlur:e=>{var t;null===(t=N.onBlur)||void 0===t||t.call(N,e),V(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(it,{name:"text"===T?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===A&&p&&""!=p?t(rt,{className:Qe("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(it,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Jt.displayName="Input";const Ut=n=>{const{primaryNavigationLinks:i,utilityNavigationLinks:r,checkPlansJSX:o,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e("li",{children:e(It,{linkClassName:Qe("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(Yt,{className:"border-none",href:u,children:e(rt,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(zt,{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(at,{href:"/",className:"flex",children:e(Nt,{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(Yt,{href:u,children:e(rt,{as:"span",className:"footnote",children:d})}),e($t,{...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(at,{href:"/",className:"flex",children:e(Nt,{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(zt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(_t,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(zt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e("div",{className:"md:hidden",children:o})]})},$t=n=>{var i;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=r.useState(!1);r.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],r=e=>{var t,r,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=i).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===i&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(It,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(it,{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:Qe("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(Yt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(It,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(it,{name:"close"})})})]}),e(Qt,{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:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(Ht,{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(It,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Qe("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}`))})]})]})})]})},Qt=n=>{const{closeMenu:i,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=r.useState(""),u=r.useRef(null),d=e=>{i(),e.preventDefault(),o(l)};return r.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(Nt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Jt,{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"})})]})},_t=n=>{const{searchBarIconURL:i,onSearch:o}=n,[a,s]=r.useState(""),l=r.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Nt,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Jt,{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"})]})},Kt=n=>{var i;const{title:r,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:m,renderCheckPlans:h,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(i=null==c?void 0:c.buttonLabel)&&void 0!==i?i:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Qe("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:Qe("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e(rt,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:r}),a&&e(rt,{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(rt,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(rt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(rt,{as:"p",className:"subheading5",children:u}),p?e(rt,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,m&&e(ot,{listItemClassName:"text-white text-left",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Qe("md:block",x&&"hidden"),children:e(It,{...s,renderCheckPlans:h,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(It,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(I||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(It,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e(rt,{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(Nt,{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(Nt,{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&&(I||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(It,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e(rt,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(It,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Qe("relative hidden lg:block"),children:[g?e(Nt,{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(Nt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},qt=({fields:t})=>e("div",{children:e(rt,{children:"Text Block"})}),en={closed:{opacity:0},open:{opacity:1}},tn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},nn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},rn=p({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),on=p({}),an=p(null),sn="undefined"!=typeof document,ln=sn?m:u,cn=p({strict:!1});function un(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function dn(e){return"string"==typeof e||Array.isArray(e)}function pn(e){return"object"==typeof e&&"function"==typeof e.start}const mn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hn=["initial",...mn];function gn(e){return pn(e.animate)||hn.some(t=>dn(e[t]))}function fn(e){return Boolean(gn(e)||e.variants)}function bn(e){const{initial:t,animate:n}=function(e,t){if(gn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||dn(t)?t:void 0,animate:dn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(on));return a(()=>({initial:t,animate:n}),[vn(t),vn(n)])}function vn(e){return Array.isArray(e)?e.join(" "):e}const yn={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"]},xn={};for(const e in yn)xn[e]={isEnabled:t=>yn[e].some(e=>!!t[e])};const In=p({}),wn=p({}),Cn=Symbol.for("motionComponentSymbol");function Nn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:a}){e&&function(e){for(const t in e)xn[t]={...xn[t],...e[t]}}(e);const s=o(function(o,s){let c;const p={...h(rn),...o,layoutId:An(o)},{isStatic:m}=p,f=bn(o),b=r(o,m);if(!m&&sn){f.visualElement=function(e,t,n,i){const{visualElement:r}=h(on),o=h(cn),a=h(an),s=h(rn).reducedMotion,c=l();i=i||o.renderer,!c.current&&i&&(c.current=i(e,{visualState:t,parent:r,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const d=c.current;return g(()=>{d&&d.update(n,a)}),ln(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?ln:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,p,t);const n=h(wn),i=h(cn).strict;f.visualElement&&(c=f.visualElement.loadFeatures(p,i,e,n))}return i.createElement(on.Provider,{value:f},c&&f.visualElement?i.createElement(c,{visualElement:f.visualElement,...p}):null,n(a,o,function(e,t,n){return d(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):un(n)&&(n.current=i))},[t])}(b,f.visualElement,s),b,m,f.visualElement))});return s[Cn]=a,s}function An({layoutId:e}){const t=h(In).id;return t&&void 0!==e?t+"-"+e:e}function kn(e){function t(t,n={}){return Nn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Gn=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Pn(e){return"string"==typeof e&&!e.includes("-")&&!!(Gn.indexOf(e)>-1||/[A-Z]/.test(e))}const Vn={};const Tn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bn=new Set(Tn);function Sn(e,{layout:t,layoutId:n}){return Bn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Vn[e]||"opacity"===e)}const En=e=>Boolean(e&&e.getVelocity),Rn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Mn=Tn.length;const Xn=e=>t=>"string"==typeof t&&t.startsWith(e),Ln=Xn("--"),Wn=Xn("var(--"),Fn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,On=(e,t,n)=>Math.min(Math.max(n,e),t),Dn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Zn={...Dn,transform:e=>On(0,1,e)},zn={...Dn,default:1},Hn=e=>Math.round(1e5*e)/1e5,jn=/(-)?([\d]*\.?[\d])+/g,Yn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Jn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Un(e){return"string"==typeof e}const $n=e=>({test:t=>Un(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Qn=$n("deg"),_n=$n("%"),Kn=$n("px"),qn=$n("vh"),ei=$n("vw"),ti={..._n,parse:e=>_n.parse(e)/100,transform:e=>_n.transform(100*e)},ni={...Dn,transform:Math.round},ii={borderWidth:Kn,borderTopWidth:Kn,borderRightWidth:Kn,borderBottomWidth:Kn,borderLeftWidth:Kn,borderRadius:Kn,radius:Kn,borderTopLeftRadius:Kn,borderTopRightRadius:Kn,borderBottomRightRadius:Kn,borderBottomLeftRadius:Kn,width:Kn,maxWidth:Kn,height:Kn,maxHeight:Kn,size:Kn,top:Kn,right:Kn,bottom:Kn,left:Kn,padding:Kn,paddingTop:Kn,paddingRight:Kn,paddingBottom:Kn,paddingLeft:Kn,margin:Kn,marginTop:Kn,marginRight:Kn,marginBottom:Kn,marginLeft:Kn,rotate:Qn,rotateX:Qn,rotateY:Qn,rotateZ:Qn,scale:zn,scaleX:zn,scaleY:zn,scaleZ:zn,skew:Qn,skewX:Qn,skewY:Qn,distance:Kn,translateX:Kn,translateY:Kn,translateZ:Kn,x:Kn,y:Kn,z:Kn,perspective:Kn,transformPerspective:Kn,opacity:Zn,originX:ti,originY:ti,originZ:Kn,zIndex:ni,fillOpacity:Zn,strokeOpacity:Zn,numOctaves:ni};function ri(e,t,n,i){const{style:r,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Ln(e)){o[e]=n;continue}const i=ii[e],d=Fn(n,i);if(Bn.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):r[e]=d}if(t.transform||(l||i?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,r){let o="";for(let t=0;t<Mn;t++){const n=Tn[t];void 0!==e[n]&&(o+=`${Rn[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(e,i?"":o):n&&i&&(o="none"),o}(e.transform,n,u,i):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}const oi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ai(e,t,n){for(const i in t)En(t[i])||Sn(i,n)||(e[i]=t[i])}function si(e,t,n){const i={};return ai(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return a(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return ri(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function li(e,t,n){const i={},r=si(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,i}const ci=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 ui(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||ci.has(e)}let di=e=>!ui(e);try{(pi=require("@emotion/is-prop-valid").default)&&(di=e=>e.startsWith("on")?!ui(e):pi(e))}catch(e){}var pi;function mi(e,t,n){return"string"==typeof e?e:Kn.transform(t+n*e)}const hi={offset:"stroke-dashoffset",array:"stroke-dasharray"},gi={offset:"strokeDashoffset",array:"strokeDasharray"};function fi(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(ri(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(void 0!==r||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${mi(t,e.x,e.width)} ${mi(n,e.y,e.height)}`}(g,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==i&&(m.scale=i),void 0!==a&&function(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?hi:gi;e[o.offset]=Kn.transform(-i);const a=Kn.transform(t),s=Kn.transform(n);e[o.array]=`${a} ${s}`}(m,a,s,l,!1)}const bi=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),vi=e=>"string"==typeof e&&"svg"===e.toLowerCase();function yi(e,t,n,i){const r=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return fi(n,t,{enableHardwareAcceleration:!1},vi(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};ai(t,e.style,e),r.style={...t,...r.style}}return r}function xi(e=!1){return(t,n,i,{latestValues:r},o)=>{const l=(Pn(t)?yi:li)(n,r,o,t),c=function(e,t,n){const i={};for(const r in e)"values"===r&&"object"==typeof e.values||(di(r)||!0===n&&ui(r)||!t&&!ui(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(n,"string"==typeof t,e),u={...c,...l,ref:i},{children:d}=n,p=a(()=>En(d)?d.get():d,[d]);return s(t,{...u,children:p})}}const Ii=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function wi(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const Ci=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 Ni(e,t,n,i){wi(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(Ci.has(n)?n:Ii(n),t.attrs[n])}function Ai(e,t){const{style:n}=e,i={};for(const r in n)(En(n[r])||t.style&&En(t.style[r])||Sn(r,e))&&(i[r]=n[r]);return i}function ki(e,t){const n=Ai(e,t);for(const i in e)if(En(e[i])||En(t[i])){n[-1!==Tn.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function Gi(e,t,n,i={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),t}function Pi(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const Vi=e=>Array.isArray(e),Ti=e=>Vi(e)?e[e.length-1]||0:e;function Bi(e){const t=En(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Si=e=>(t,n)=>{const i=h(on),r=h(an),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,r,o){const a={latestValues:Ei(i,r,o,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,r);return n?o():Pi(o)};function Ei(e,t,n,i){const r={},o=i(e,{});for(const e in o)r[e]=Bi(o[e]);let{initial:a,animate:s}=e;const l=gn(e),c=fn(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&&!pn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Gi(e,t);if(!n)return;const{transitionEnd:i,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in i)r[e]=i[e]})}return r}const Ri={useVisualState:Si({scrapeMotionValuesFromProps:ki,createRenderState:bi,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}}fi(n,i,{enableHardwareAcceleration:!1},vi(t.tagName),e.transformTemplate),Ni(t,n)}})},Mi={useVisualState:Si({scrapeMotionValuesFromProps:Ai,createRenderState:oi})};function Xi(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const Li=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Wi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Fi(e,t,n,i){return Xi(e,t,(e=>t=>Li(t)&&e(t,Wi(t)))(n),i)}const Oi=(e,t)=>n=>t(e(n)),Di=(...e)=>e.reduce(Oi);function Zi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const zi=Zi("dragHorizontal"),Hi=Zi("dragVertical");function ji(e){let t=!1;if("y"===e)t=Hi();else if("x"===e)t=zi();else{const e=zi(),n=Hi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Yi(){const e=ji(!0);return!e||(e(),!1)}class Ji{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ui={delta:0,timestamp:0,isProcessing:!1};let $i=!0,Qi=!1;const _i=["read","update","preRender","render","postRender"],Ki=_i.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],i=0,r=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&r,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(i=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(r)o=!0;else{if(r=!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())}r=!1,o&&(o=!1,s.process(l))}}};return s}(()=>Qi=!0),e),{}),qi=e=>Ki[e].process(Ui),er=e=>{Qi=!1,Ui.delta=$i?1e3/60:Math.max(Math.min(e-Ui.timestamp,40),1),Ui.timestamp=e,Ui.isProcessing=!0,_i.forEach(qi),Ui.isProcessing=!1,Qi&&($i=!1,requestAnimationFrame(er))},tr=_i.reduce((e,t)=>{const n=Ki[t];return e[t]=(e,t=!1,i=!1)=>(Qi||(Qi=!0,$i=!0,Ui.isProcessing||requestAnimationFrame(er)),n.schedule(e,t,i)),e},{});function nr(e){_i.forEach(t=>Ki[t].cancel(e))}function ir(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return Fi(e.current,n,(n,r)=>{if("touch"===n.type||Yi())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[i]&&tr.update(()=>o[i](n,r))},{passive:!e.getProps()[i]})}const rr=(e,t)=>!!t&&(e===t||rr(e,t.parentElement)),or=e=>e;function ar(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Wi(n))}const sr=new WeakMap,lr=new WeakMap,cr=e=>{const t=sr.get(e.target);t&&t(e)},ur=e=>{e.forEach(cr)};function dr(e,t,n){const i=function({root:e,...t}){const n=e||document;lr.has(n)||lr.set(n,{});const i=lr.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(ur,{root:e,...t})),i[r]}(t);return sr.set(e,n),i.observe(e),()=>{sr.delete(e),i.unobserve(e)}}const pr={some:0,all:1};const mr={inView:{Feature:class extends Ji{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:r}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:pr[i]};return dr(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!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(),o=t?n:i;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ji{constructor(){super(...arguments),this.removeStartListeners=or,this.removeEndListeners=or,this.removeAccessibleListeners=or,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=Fi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();tr.update(()=>{rr(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=Fi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Di(i,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Xi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Xi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&ar("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&tr.update(()=>n(e,t))})}),ar("down",(e,t)=>{this.startPress(e,t)})}),t=Xi(this.node.current,"blur",()=>{this.isPressing&&ar("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Di(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&&tr.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Yi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&tr.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Fi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Xi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Di(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Ji{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=Di(Xi(this.node.current,"focus",()=>this.onFocus()),Xi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ji{mount(){this.unmount=Di(ir(this.node,!0),ir(this.node,!1))}unmount(){}}}};function hr(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 gr(e,t,n){const i=e.getProps();return Gi(i,t,void 0!==n?n:i.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const fr="data-"+Ii("framerAppearId");let br=or,vr=or;"production"!==process.env.NODE_ENV&&(br=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},vr=(e,t)=>{if(!e)throw new Error(t)});const yr=e=>1e3*e,xr=e=>e/1e3,Ir=!1,wr=e=>Array.isArray(e)&&"number"==typeof e[0];function Cr(e){return Boolean(!e||"string"==typeof e&&Ar[e]||wr(e)||Array.isArray(e)&&e.every(Cr))}const Nr=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ar={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Nr([0,.65,.55,1]),circOut:Nr([.55,0,1,.45]),backIn:Nr([.31,.01,.66,-.59]),backOut:Nr([.33,1.53,.69,.99])};function kr(e){if(e)return wr(e)?Nr(e):Array.isArray(e)?e.map(kr):Ar[e]}const Gr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Pr={},Vr={};for(const e in Gr)Vr[e]=()=>(void 0===Pr[e]&&(Pr[e]=Gr[e]()),Pr[e]);const Tr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Br(e,t,n,i){if(e===t&&n===i)return or;const r=t=>function(e,t,n,i,r){let o,a,s=0;do{a=t+(n-t)/2,o=Tr(a,i,r)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Tr(r(e),t,i)}const Sr=Br(.42,0,1,1),Er=Br(0,0,.58,1),Rr=Br(.42,0,.58,1),Mr=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Xr=e=>t=>1-e(1-t),Lr=e=>1-Math.sin(Math.acos(e)),Wr=Xr(Lr),Fr=Mr(Wr),Or=Br(.33,1.53,.69,.99),Dr=Xr(Or),Zr=Mr(Dr),zr={linear:or,easeIn:Sr,easeInOut:Rr,easeOut:Er,circIn:Lr,circInOut:Fr,circOut:Wr,backIn:Dr,backInOut:Zr,backOut:Or,anticipate:e=>(e*=2)<1?.5*Dr(e):.5*(2-Math.pow(2,-10*(e-1)))},Hr=e=>{if(Array.isArray(e)){vr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return Br(t,n,i,r)}return"string"==typeof e?(vr(void 0!==zr[e],`Invalid easing type '${e}'`),zr[e]):e},jr=(e,t)=>n=>Boolean(Un(n)&&Jn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Yr=(e,t,n)=>i=>{if(!Un(i))return i;const[r,o,a,s]=i.match(jn);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Jr={...Dn,transform:e=>Math.round((e=>On(0,255,e))(e))},Ur={test:jr("rgb","red"),parse:Yr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Jr.transform(e)+", "+Jr.transform(t)+", "+Jr.transform(n)+", "+Hn(Zn.transform(i))+")"};const $r={test:jr("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:Ur.transform},Qr={test:jr("hsl","hue"),parse:Yr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+_n.transform(Hn(t))+", "+_n.transform(Hn(n))+", "+Hn(Zn.transform(i))+")"},_r={test:e=>Ur.test(e)||$r.test(e)||Qr.test(e),parse:e=>Ur.test(e)?Ur.parse(e):Qr.test(e)?Qr.parse(e):$r.parse(e),transform:e=>Un(e)?e:e.hasOwnProperty("red")?Ur.transform(e):Qr.transform(e)},Kr=(e,t,n)=>-n*e+n*t+e;function qr(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 eo=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},to=[$r,Ur,Qr];function no(e){const t=(n=e,to.find(e=>e.test(n)));var n;vr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===Qr&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let r=0,o=0,a=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=qr(s,i,e+1/3),o=qr(s,i,e),a=qr(s,i,e-1/3)}else r=o=a=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:i}}(i)),i}const io=(e,t)=>{const n=no(e),i=no(t),r={...n};return e=>(r.red=eo(n.red,i.red,e),r.green=eo(n.green,i.green,e),r.blue=eo(n.blue,i.blue,e),r.alpha=Kr(n.alpha,i.alpha,e),Ur.transform(r))};const ro={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:or},oo={regex:Yn,countKey:"Colors",token:"${c}",parse:_r.parse},ao={regex:jn,countKey:"Numbers",token:"${n}",parse:Dn.parse};function so(e,{regex:t,countKey:n,token:i,parse:r}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...o.map(r)))}function lo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&so(n,ro),so(n,oo),so(n,ao),n}function co(e){return lo(e).values}function uo(e){const{values:t,numColors:n,numVars:i,tokenised:r}=lo(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=r<i?t.replace(ro.token,e[r]):r<i+n?t.replace(oo.token,_r.transform(e[r])):t.replace(ao.token,Hn(e[r]));return t}}const po=e=>"number"==typeof e?0:e;const mo={test:function(e){var t,n;return isNaN(e)&&Un(e)&&((null===(t=e.match(jn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Yn))||void 0===n?void 0:n.length)||0)>0},parse:co,createTransformer:uo,getAnimatableNone:function(e){const t=co(e);return uo(e)(t.map(po))}},ho=(e,t)=>n=>`${n>0?t:e}`;function go(e,t){return"number"==typeof e?n=>Kr(e,t,n):_r.test(e)?io(e,t):e.startsWith("var(")?ho(e,t):vo(e,t)}const fo=(e,t)=>{const n=[...e],i=n.length,r=e.map((e,n)=>go(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}},bo=(e,t)=>{const n={...e,...t},i={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=go(e[r],t[r]));return e=>{for(const t in i)n[t]=i[t](e);return n}},vo=(e,t)=>{const n=mo.createTransformer(t),i=lo(e),r=lo(t);return i.numVars===r.numVars&&i.numColors===r.numColors&&i.numNumbers>=r.numNumbers?Di(fo(i.values,r.values),n):(br(!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.`),ho(e,t))},yo=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},xo=(e,t)=>n=>Kr(e,t,n);function Io(e,t,n){const i=[],r=n||("number"==typeof(o=e[0])?xo:"string"==typeof o?_r.test(o)?io:vo:Array.isArray(o)?fo:"object"==typeof o?bo:xo);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||or:t;o=Di(e,o)}i.push(o)}return i}function wo(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(vr(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Io(t,i,r),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const i=yo(e[n],e[n+1],t);return a[n](i)};return n?t=>l(On(e[0],e[o-1],t)):l}function Co(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=yo(0,t,i);e.push(Kr(n,1,r))}}(t,e.length-1),t}function No({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Hr):Hr(i),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Co(t),e),s=wo(a,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Rr).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Ao(e,t){return t?e*(1e3/t):0}function ko(e,t,n){const i=Math.max(t-5,0);return Ao(n-e(i),t-i)}const Go=.001;function Po({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,o;br(e<=yr(10),"Spring duration must be 10 seconds or less");let a=1-t;a=On(.05,1,a),e=On(.01,10,xr(e)),a<1?(r=t=>{const i=t*a,r=i*e,o=i-n,s=To(t,a),l=Math.exp(-r);return Go-o/s*l},o=t=>{const i=t*a*e,o=i*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=To(Math.pow(t,2),a);return(-r(t)+Go>0?-1:1)*((o-s)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let i=n;for(let n=1;n<Vo;n++)i-=e(i)/t(i);return i}(r,o,5/e);if(e=yr(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 Vo=12;function To(e,t){return e*Math.sqrt(1-t*t)}const Bo=["duration","bounce"],So=["stiffness","damping","mass"];function Eo(e,t){return t.some(t=>void 0!==e[t])}function Ro({keyframes:e,restDelta:t,restSpeed:n,...i}){const r=e[0],o=e[e.length-1],a={done:!1,value:r},{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(!Eo(e,So)&&Eo(e,Bo)){const n=Po(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),m=u?-xr(u):0,h=l/(2*Math.sqrt(s*c)),g=o-r,f=xr(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=To(f,h);v=t=>{const n=Math.exp(-h*f*t);return o-n*((m+h*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-f*e)*(g+(m+f*g)*e);else{const e=f*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*f*t),i=Math.min(e*t,300);return o-n*((m+h*f*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}return{calculatedDuration:p&&d||null,next:e=>{const i=v(e);if(p)a.done=e>=d;else{let r=m;0!==e&&(r=h<1?ko(v,e,i):0);const s=Math.abs(r)<=n,l=Math.abs(o-i)<=t;a.done=s&&l}return a.value=a.done?o:i,a}}}function Mo({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const g=d+h,f=void 0===a?g:a(g);f!==g&&(h=f-d);const b=e=>-h*Math.exp(-e/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 w=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Ro({keyframes:[p.value,m(p.value)],velocity:ko(v,e,p.value),damping:r,stiffness:o,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Xo=e=>{const t=({timestamp:t})=>e(t);return{start:()=>tr.update(t,!0),stop:()=>nr(t),now:()=>Ui.isProcessing?Ui.timestamp:performance.now()}};function Lo(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 Wo={decay:Mo,inertia:Mo,tween:No,keyframes:No,spring:Ro};function Fo({autoplay:e=!0,delay:t=0,driver:n=Xo,keyframes:i,type:r="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,g=1,f=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const y=Wo[r]||No;let x;y!==No&&"number"!=typeof i[0]&&(x=wo([0,100],i,{clamp:!1}),i=[0,100]);const I=y({...p,keyframes:i});let w;"mirror"===s&&(w=y({...p,keyframes:[...i].reverse(),velocity:-(p.velocity||0)}));let C="idle",N=null,A=null,k=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=Lo(I));const{calculatedDuration:G}=I;let P=1/0,V=1/0;null!==G&&(P=G+a,V=P*(o+1)-a);let T=0;const B=e=>{if(null===A)return;g>0&&(A=Math.min(A,e)),T=null!==N?N:(e-A)*g;const n=T-t,r=n<0;T=Math.max(n,0),"finished"===C&&null===N&&(T=V);let l=T,c=I;if(o){const e=T/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const i=Boolean(t%2);i&&("reverse"===s?(n=1-n,a&&(n-=a/P)):"mirror"===s&&(c=w));let r=On(0,1,n);T>V&&(r="reverse"===s&&i?1:0),l=r*P}const u=r?{done:!1,value:i[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;r||null===G||(p=T>=V);const m=null===N&&("finished"===C||"running"===C&&p||g<0&&T<=0);return d&&d(u.value),m&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{C="idle",S(),b(),A=k=null},R=()=>{C="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(B));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==C||(A=e),k=A,N=null,C="running",v.start()};e&&M();const X={then:(e,t)=>h.then(e,t),get time(){return xr(T)},set time(e){e=yr(e),T=e,null===N&&v&&0!==g?A=v.now()-e/g:N=e},get duration(){const e=null===I.calculatedDuration?Lo(I):I.calculatedDuration;return xr(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=xr(T))},get state(){return C},play:M,pause:()=>{C="paused",N=T},stop:()=>{f=!0,"idle"!==C&&(C="idle",c&&c(),E())},cancel:()=>{null!==k&&B(k),E()},complete:()=>{C="finished"},sample:e=>(A=0,B(e))};return X}const Oo=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Do(e,t,{onUpdate:n,onComplete:i,...r}){if(!(Vr.waapi()&&Oo.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Cr(t.ease))(t,r)){const e=Fo({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let i=0;for(;!t.done&&i<2e4;)t=e.sample(i),n.push(t.value),i+=10;p=void 0,c=n,u=i-10,d="linear"}const m=function(e,t,n,{delay:i=0,duration:r,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=kr(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),h=()=>m.cancel(),g=()=>{tr.update(h),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),i&&i(),g()},{then:(e,t)=>a.then(e,t),get time(){return xr(m.currentTime||0)},set time(e){m.currentTime=yr(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return xr(u)},play:()=>{s||(m.play(),nr(h))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Fo({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>m.finish(),cancel:g}}const Zo={type:"spring",stiffness:500,damping:25,restSpeed:10},zo={type:"keyframes",duration:.8},Ho={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jo=(e,{keyframes:t})=>t.length>2?zo:Bn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Zo:Ho,Yo=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!mo.test(t)&&"0"!==t||t.startsWith("url("))),Jo=new Set(["brightness","contrast","saturate","opacity"]);function Uo(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(jn)||[];if(!i)return e;const r=n.replace(i,"");let o=Jo.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const $o=/([a-z-]*)\(.*?\)/g,Qo={...mo,getAnimatableNone:e=>{const t=e.match($o);return t?t.map(Uo).join(" "):e}},_o={...ii,color:_r,backgroundColor:_r,outlineColor:_r,fill:_r,stroke:_r,borderColor:_r,borderTopColor:_r,borderRightColor:_r,borderBottomColor:_r,borderLeftColor:_r,filter:Qo,WebkitFilter:Qo},Ko=e=>_o[e];function qo(e,t){let n=Ko(e);return n!==Qo&&(n=mo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ea=e=>/^0[^.\s]+$/.test(e);function ta(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||ea(e):void 0}function na(e,t){return e[t]||e.default||e}const ia=(e,t,n,i={})=>r=>{const o=na(i,e)||{},a=o.delay||i.delay||0;let{elapsed:s=0}=i;s-=yr(a);const l=function(e,t,n,i){const r=Yo(t,n);let o;o=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<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),ta(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(r&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=qo(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=Yo(e,c),p=Yo(e,u);br(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{r(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(m={...m,...jo(e,m)}),m.duration&&(m.duration=yr(m.duration)),m.repeatDelay&&(m.repeatDelay=yr(m.repeatDelay)),!d||!p||Ir||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const r=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:or,pause:or,stop:or,then:e=>(e(),Promise.resolve()),cancel:or,complete:or});return t?Fo({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Do(t,e,m);if(n)return n}return Fo(m)};function ra(e){return Boolean(En(e)&&e.add)}const oa=e=>/^\-?\d*\.?\d+$/.test(e);function aa(e,t){-1===e.indexOf(t)&&e.push(t)}function sa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class la{constructor(){this.subscriptions=[]}add(e){return aa(this.subscriptions,e),()=>sa(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 r=0;r<i;r++){const i=this.subscriptions[r];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ca=new Set;function ua(e,t,n){e||ca.has(t)||(console.warn(t),ca.add(t))}class da{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}=Ui;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,tr.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=()=>tr.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&&ua(!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 la);const n=this.events[e].add(t);return"change"===e?()=>{n(),tr.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?Ao(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 pa(e,t){return new da(e,t)}const ma=e=>t=>t.test(e),ha=[Dn,Kn,_n,Qn,ei,qn,{test:e=>"auto"===e,parse:e=>e}],ga=e=>ha.find(ma(e)),fa=[...ha,_r,mo],ba=e=>fa.find(ma(e));function va(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,pa(n))}function ya(e,t){if(!t)return;return(t[e]||t.default||t).from}function xa({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:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");i&&(o=i);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in s){const i=e.getValue(t),r=s[t];if(!i||void 0===r||u&&xa(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[fr];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,tr))}i.start(ia(t,i,r,e.shouldReduceMotion&&Bn.has(t)?{type:!1}:a));const d=i.animation;ra(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=gr(e,t);let{transitionEnd:i={},transition:r={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...i};for(const t in o)va(e,t,Ti(o[t]))}(e,a)}),c}function wa(e,t,n={}){const i=gr(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(Ia(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=r;return function(e,t,n=0,i=0,r=1,o){const a=[],s=(e.variantChildren.size-1)*i,l=1===r?(e=0)=>e*i:(e=0)=>s-e*i;return Array.from(e.variantChildren).sort(Ca).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(wa(e,t,{...o,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+i,a,s,n)}:()=>Promise.resolve(),{when:s}=r;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function Ca(e,t){return e.sortNodePosition(t)}const Na=[...mn].reverse(),Aa=mn.length;function ka(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 r=t.map(t=>wa(e,t,n));i=Promise.all(r)}else if("string"==typeof t)i=wa(e,t,n);else{const r="function"==typeof t?gr(e,t,n.custom):t;i=Promise.all(Ia(e,r,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ga(e){let t=ka(e);const n={animate:Va(!0),whileInView:Va(),whileHover:Va(),whileTap:Va(),whileDrag:Va(),whileFocus:Va(),exit:Va()};let i=!0;const r=(t,n)=>{const i=gr(e,n);if(i){const{transition:e,transitionEnd:n,...r}=i;t={...t,...r,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Aa;t++){const m=Na[t],h=n[m],g=void 0!==s[m]?s[m]:l[m],f=dn(g),b=m===a?h.isActive:null;!1===b&&(p=t);let v=g===l[m]&&g!==s[m]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!g&&!h.prevProp||pn(g)||"boolean"==typeof g)continue;const y=Pa(h.prevProp,g);let x=y||m===a&&h.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let w=I.reduce(r,{});!1===b&&(w={});const{prevResolvedValues:C={}}=h,N={...C,...w},A=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=w[e],n=C[e];d.hasOwnProperty(e)||(t!==n?Vi(t)&&Vi(n)?!hr(t,n)||y?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=w,h.isActive&&(d={...d,...w}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...o}})))}if(u.size){const t={};u.forEach(n=>{const i=e.getBaseTarget(n);void 0!==i&&(t[n]=i)}),c.push({animation:t})}let m=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,i,r){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=o(r,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Pa(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!hr(t,e)}function Va(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ta=0;const Ba={animation:{Feature:class extends Ji{constructor(e){super(e),e.animationState||(e.animationState=Ga(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),pn(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 Ji{constructor(){super(...arguments),this.id=Ta++}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 r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Sa=(e,t)=>Math.abs(e-t);class Ea{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=Xa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Sa(e.x,t.x),i=Sa(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:r}=Ui;this.history.push({...i,timestamp:r});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ra(t,this.transformPagePoint),tr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,r=Xa("pointercancel"===e.type?this.lastMoveEventInfo:Ra(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},!Li(e))return;this.handlers=t,this.transformPagePoint=n;const i=Ra(Wi(e),this.transformPagePoint),{point:r}=i,{timestamp:o}=Ui;this.history=[{...r,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Xa(i,this.history)),this.removeListeners=Di(Fi(window,"pointermove",this.handlePointerMove),Fi(window,"pointerup",this.handlePointerUp),Fi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),nr(this.updatePoint)}}function Ra(e,t){return t?{point:t(e.point)}:e}function Ma(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Xa({point:e},t){return{point:e,delta:Ma(e,Wa(t)),offset:Ma(e,La(t)),velocity:Fa(t,.1)}}function La(e){return e[0]}function Wa(e){return e[e.length-1]}function Fa(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=Wa(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>yr(t)));)n--;if(!i)return{x:0,y:0};const o=xr(r.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const a={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Oa(e){return e.max-e.min}function Da(e,t=0,n=.01){return Math.abs(e-t)<=n}function Za(e,t,n,i=.5){e.origin=i,e.originPoint=Kr(t.min,t.max,e.origin),e.scale=Oa(n)/Oa(t),(Da(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Kr(n.min,n.max,e.origin)-e.originPoint,(Da(e.translate)||isNaN(e.translate))&&(e.translate=0)}function za(e,t,n,i){Za(e.x,t.x,n.x,i?i.originX:void 0),Za(e.y,t.y,n.y,i?i.originY:void 0)}function Ha(e,t,n){e.min=n.min+t.min,e.max=e.min+Oa(t)}function ja(e,t,n){e.min=t.min-n.min,e.max=e.min+Oa(t)}function Ya(e,t,n){ja(e.x,t.x,n.x),ja(e.y,t.y,n.y)}function Ja(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 Ua(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 $a=.35;function Qa(e,t,n){return{min:_a(e,t),max:_a(e,n)}}function _a(e,t){return"number"==typeof e?e:e[t]||0}const Ka=()=>({x:{min:0,max:0},y:{min:0,max:0}});function qa(e){return[e("x"),e("y")]}function es({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function ts(e){return void 0===e||1===e}function ns({scale:e,scaleX:t,scaleY:n}){return!ts(e)||!ts(t)||!ts(n)}function is(e){return ns(e)||rs(e)||e.z||e.rotate||e.rotateX||e.rotateY}function rs(e){return os(e.x)||os(e.y)}function os(e){return e&&"0%"!==e}function as(e,t,n){return n+t*(e-n)}function ss(e,t,n,i,r){return void 0!==r&&(e=as(e,r,i)),as(e,n,i)+t}function ls(e,t=0,n=1,i,r){e.min=ss(e.min,t,n,i,r),e.max=ss(e.max,t,n,i,r)}function cs(e,{x:t,y:n}){ls(e.x,t.translate,t.scale,t.originPoint),ls(e.y,n.translate,n.scale,n.originPoint)}function us(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ds(e,t){e.min=e.min+t,e.max=e.max+t}function ps(e,t,[n,i,r]){const o=void 0!==t[r]?t[r]:.5,a=Kr(e.min,e.max,o);ls(e,t[n],t[i],a,t.scale)}const ms=["x","scaleX","originX"],hs=["y","scaleY","originY"];function gs(e,t){ps(e.x,t,ms),ps(e.y,t,hs)}function fs(e,t){return es(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 bs=new WeakMap;class vs{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 Ea(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Wi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ji(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),qa(e=>{let t=this.getAxisMotionValue(e).get()||0;if(_n.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Oa(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&tr.update(()=>r(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=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&&r&&r(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&tr.update(()=>r(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||!ys(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?Kr(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?Kr(n,e,i.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&un(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:r}){return{x:Ja(e.x,n,r),y:Ja(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=$a){return!1===e?e=0:!0===e&&(e=$a),{x:Qa(e,"left","right"),y:Qa(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&qa(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||!un(e))return!1;const n=e.current;vr(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 r=function(e,t,n){const i=fs(e,n),{scroll:r}=t;return r&&(ds(i.x,r.offset.x),ds(i.y,r.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Ua(e.x,t.x),y:Ua(e.y,t.y)}}(i.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=es(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=qa(a=>{if(!ys(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(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,...r,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(ia(e,n,0,t))}stopAnimation(){qa(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){qa(t=>{const{drag:n}=this.getProps();if(!ys(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[t];r.set(e[t]-Kr(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!un(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};qa(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=Oa(e),r=Oa(t);return r>i?n=yo(t.min,t.max-i,e.min):i>r&&(n=yo(e.min,e.max-r,t.min)),On(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),qa(t=>{if(!ys(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];n.set(Kr(r,o,i[t]))})}addListeners(){if(!this.visualElement.current)return;bs.set(this.visualElement,this);const e=Fi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();un(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 r=Xi(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(qa(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),i(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=$a,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function ys(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const xs=e=>(t,n)=>{e&&tr.update(()=>e(t,n))};const Is={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ws(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Cs={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Kn.test(e))return e;e=parseFloat(e)}return`${ws(e,t.target.x)}% ${ws(e,t.target.y)}%`}},Ns={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=mo.parse(e);if(r.length>5)return i;const o=mo.createTransformer(e),a="number"!=typeof r[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;r[0+a]/=s,r[1+a]/=l;const c=Kr(s,l,.5);return"number"==typeof r[2+a]&&(r[2+a]/=c),"number"==typeof r[3+a]&&(r[3+a]/=c),o(r)}};class As extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=e;var o;o=Gs,Object.assign(Vn,o),r&&(t.group&&t.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Is.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,o=n.projection;return o?(o.isPresent=r,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||tr.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection: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 ks(e){const[t,n]=function(){const e=h(an);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,r=f();return u(()=>i(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}(),i=h(In);return r.createElement(As,{...e,layoutGroup:i,switchLayoutGroup:h(wn),isPresent:t,safeToRemove:n})}const Gs={borderRadius:{...Cs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Cs,borderTopRightRadius:Cs,borderBottomLeftRadius:Cs,borderBottomRightRadius:Cs,boxShadow:Ns},Ps=["TopLeft","TopRight","BottomLeft","BottomRight"],Vs=Ps.length,Ts=e=>"string"==typeof e?parseFloat(e):e,Bs=e=>"number"==typeof e||Kn.test(e);function Ss(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Es=Ms(0,.5,Wr),Rs=Ms(.5,.95,or);function Ms(e,t,n){return i=>i<e?0:i>t?1:n(yo(e,t,i))}function Xs(e,t){e.min=t.min,e.max=t.max}function Ls(e,t){Xs(e.x,t.x),Xs(e.y,t.y)}function Ws(e,t,n,i,r){return e=as(e-=t,1/n,i),void 0!==r&&(e=as(e,1/r,i)),e}function Fs(e,t,[n,i,r],o,a){!function(e,t=0,n=1,i=.5,r,o=e,a=e){_n.test(t)&&(t=parseFloat(t),t=Kr(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Kr(o.min,o.max,i);e===o&&(s-=t),e.min=Ws(e.min,t,n,s,r),e.max=Ws(e.max,t,n,s,r)}(e,t[n],t[i],t[r],t.scale,o,a)}const Os=["x","scaleX","originX"],Ds=["y","scaleY","originY"];function Zs(e,t,n,i){Fs(e.x,t,Os,n?n.x:void 0,i?i.x:void 0),Fs(e.y,t,Ds,n?n.y:void 0,i?i.y:void 0)}function zs(e){return 0===e.translate&&1===e.scale}function Hs(e){return zs(e.x)&&zs(e.y)}function js(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 Ys(e){return Oa(e.x)/Oa(e.y)}class Js{constructor(){this.members=[]}add(e){aa(this.members,e),e.scheduleRender()}remove(e){if(sa(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 Us(e,t,n){let i="";const r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(i=`translate3d(${r}px, ${o}px, 0) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),r&&(i+=`rotateY(${r}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 $s=(e,t)=>e.depth-t.depth;class Qs{constructor(){this.children=[],this.isDirty=!1}add(e){aa(this.children,e),this.isDirty=!0}remove(e){sa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort($s),this.isDirty=!1,this.children.forEach(e)}}const _s=["","X","Y","Z"];let Ks=0;const qs={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function el({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ks++,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;qs.totalNodes=qs.resolvedTargetDeltas=qs.recalculatedProjection=0,this.nodes.forEach(il),this.nodes.forEach(ul),this.nodes.forEach(dl),this.nodes.forEach(rl),e=qs,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 Qs)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new la),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:r,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(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:r})=>{const o=r-n;o>=t&&(nr(i),e(o-t))};return tr.read(i,!0),()=>nr(i)}(i,250),Is.hasAnimatedSinceResize&&(Is.hasAnimatedSinceResize=!1,this.nodes.forEach(cl))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&a&&(r||o)&&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 r=this.options.transition||a.getDefaultTransition()||bl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!js(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={...na(r,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||cl(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,nr(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(pl),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(al);this.isUpdating||this.nodes.forEach(sl),this.isUpdating=!1,this.nodes.forEach(ll),this.nodes.forEach(tl),this.nodes.forEach(nl),this.clearAllSnapshots();const e=performance.now();Ui.delta=On(0,1e3/60,e-Ui.timestamp),Ui.timestamp=e,Ui.isProcessing=!0,Ki.update.process(Ui),Ki.preRender.process(Ui),Ki.render.process(Ui),Ui.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ol),this.sharedNodes.forEach(ml)}scheduleUpdateProjection(){tr.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tr.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(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Hs(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;e&&(t||is(this.latestValues)||o)&&(r(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)),vl((i=n).x),vl(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&&(ds(t.x,n.offset.x),ds(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ls(t,e);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:r,options:o}=i;if(i!==this.root&&r&&o.layoutScroll){if(r.isRoot){Ls(t,e);const{scroll:n}=this.root;n&&(ds(t.x,-n.offset.x),ds(t.y,-n.offset.y))}ds(t.x,r.offset.x),ds(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ls(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&&gs(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),is(i.latestValues)&&gs(n,i.latestValues)}return is(this.latestValues)&&gs(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ls(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!is(n.latestValues))continue;ns(n.latestValues)&&n.updateSnapshot();const i=Ka();Ls(i,n.measurePageBox()),Zs(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return is(this.latestValues)&&Zs(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!==Ui.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:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=Ui.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}},Ya(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ls(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,Ha(a.x,s.x,l.x),Ha(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ls(this.target,this.layout.layoutBox),cs(this.target,this.targetDelta)):Ls(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}},Ya(this.relativeTargetOrigin,this.target,e.target),Ls(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}qs.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ns(this.parent.latestValues)&&!rs(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===Ui.timestamp&&(i=!1),i)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Ls(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,i=!1){const r=n.length;if(!r)return;let o,a;t.x=t.y=1;for(let s=0;s<r;s++){o=n[s],a=o.projectionDelta;const r=o.instance;r&&r.style&&"contents"===r.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&gs(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,cs(e,a)),i&&is(o.latestValues)&&gs(e,o.latestValues))}t.x=us(t.x),t.y=us(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;za(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Us(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),qs.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:{},r={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(fl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;hl(o.x,e.x,n),hl(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ya(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){gl(e.x,t.x,n.x,i),gl(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&js(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ls(d,this.relativeTarget)),s&&(this.animationValues=r,function(e,t,n,i,r,o){r?(e.opacity=Kr(0,void 0!==n.opacity?n.opacity:1,Es(i)),e.opacityExit=Kr(void 0!==t.opacity?t.opacity:1,0,Rs(i))):o&&(e.opacity=Kr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<Vs;r++){const o=`border${Ps[r]}Radius`;let a=Ss(t,o),s=Ss(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Bs(a)===Bs(s)?(e[o]=Math.max(Kr(Ts(a),Ts(s),i),0),(_n.test(s)||_n.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=Kr(t.rotate||0,n.rotate||0,i))}(r,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&&(nr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tr.update(()=>{Is.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=En(e)?e:pa(e);return i.start(ia("",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:r}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&yl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Oa(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Oa(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Ls(t,n),gs(t,r),za(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Js);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<_s.length;t++){const r="rotate"+_s[t];n[r]&&(i[r]=n[r],e.setStaticValue(r,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 r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=Bi(e.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Bi(e.pointerEvents)||""),this.hasProjected&&!is(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=Us(this.projectionDeltaWithTransform,this.treeScale,a),r&&(i.transform=r(a,i.transform));const{x:s,y:l}=this.projectionDelta;i.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:i.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Vn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Vn[e],r="none"===i.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=r}else i[e]=r}return this.options.layoutId&&(i.pointerEvents=o===this?Bi(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(al),this.root.sharedNodes.clear()}}}function tl(e){e.updateLayout()}function nl(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:r}=e.options,o=n.source!==e.layout.source;"size"===r?qa(e=>{const i=o?n.measuredBox[e]:n.layoutBox[e],r=Oa(i);i.min=t[e].min,i.max=i.min+r}):yl(r,n.layoutBox,t)&&qa(i=>{const r=o?n.measuredBox[i]:n.layoutBox[i],a=Oa(t[i]);r.max=r.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}};za(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?za(s,e.applyTransform(i,!0),n.measuredBox):za(s,t,n.layoutBox);const l=!Hs(a);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:r,layout:o}=i;if(r&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};Ya(a,n.layoutBox,r.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ya(s,t,o.layoutBox),js(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 il(e){qs.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 rl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ol(e){e.clearSnapshot()}function al(e){e.clearMeasurements()}function sl(e){e.isLayoutDirty=!1}function ll(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ul(e){e.resolveTargetDelta()}function dl(e){e.calcProjection()}function pl(e){e.resetRotation()}function ml(e){e.removeLeadSnapshot()}function hl(e,t,n){e.translate=Kr(t.translate,0,n),e.scale=Kr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function gl(e,t,n,i){e.min=Kr(t.min,n.min,i),e.max=Kr(t.max,n.max,i)}function fl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const bl={duration:.45,ease:[.4,0,.1,1]};function vl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function yl(e,t,n){return"position"===e||"preserve-aspect"===e&&!Da(Ys(t),Ys(n),.2)}const xl=el({attachResizeListener:(e,t)=>Xi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Il={current:void 0},wl=el({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Il.current){const e=new xl({});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)}),Cl={pan:{Feature:class extends Ji{constructor(){super(...arguments),this.removePointerDownListener=or}onPointerDown(e){this.session=new Ea(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:xs(e),onStart:xs(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&tr.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=Fi(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 Ji{constructor(e){super(e),this.removeGroupControls=or,this.removeListeners=or,this.controls=new vs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||or}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:wl,MeasureLayout:ks}},Nl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Al(e,t,n=1){vr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=function(e){const t=Nl.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():Wn(r)?Al(r,t,n+1):r}const kl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Gl=e=>kl.has(e),Pl=e=>e===Dn||e===Kn,Vl=(e,t)=>parseFloat(e.split(", ")[t]),Tl=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/);if(r)return Vl(r[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?Vl(t[1],e):0}},Bl=new Set(["x","y","z"]),Sl=Tn.filter(e=>!Bl.has(e));const El={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:Tl(4,13),y:Tl(5,14)},Rl=(e,t,n={},i={})=>{t={...t},i={...i};const r=Object.keys(t).filter(Gl);let o=[],a=!1;const s=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=ga(c);const d=t[r];let p;if(Vi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ga(c);for(let n=t;n<e&&null!==d[n];n++)p?vr(ga(d[n])===p,"All keyframes must be of the same type"):(p=ga(d[n]),vr(p===u||Pl(u)&&Pl(p),"Keyframes must be of the same dimension as the current value"))}else p=ga(d);if(u!==p)if(Pl(u)&&Pl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===Kn&&(t[r]=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[r]=u.transform(d):(a||(o=function(e){const t=[];return Sl.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(r),i[r]=void 0!==i[r]?i[r]:t[r],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const i=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=El[e](i,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const i=t.getValue(n);i&&i.jump(s[n]),e[n]=El[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),sn&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:i}}return{target:t,transitionEnd:i}};function Ml(e,t,n,i){return(e=>Object.keys(e).some(Gl))(t)?Rl(e,t,n,i):{target:t,transitionEnd:i}}const Xl=(e,t,n,i)=>{const r=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(!Wn(t))return;const n=Al(t,i);n&&e.set(n)});for(const e in t){const r=t[e];if(!Wn(r))continue;const o=Al(r,i);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,i);return Ml(e,t=r.target,n,i=r.transitionEnd)},Ll={current:null},Wl={current:!1};const Fl=new WeakMap,Ol=Object.keys(xn),Dl=Ol.length,Zl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],zl=hn.length;class Hl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tr.render(this.render,!1,!0);const{latestValues:a,renderState:s}=r;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=o,this.isControllingVariants=gn(t),this.isVariantNode=fn(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]&&En(t)&&(t.set(a[e],!1),ra(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Fl.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)),Wl.current||function(){if(Wl.current=!0,sn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ll.current=e.matches;e.addListener(t),t()}else Ll.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ll.current),"production"!==process.env.NODE_ENV&&ua(!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(){Fl.delete(this.current),this.projection&&this.projection.unmount(),nr(this.notifyUpdate),nr(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=Bn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&tr.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,i,r){let o,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?br(!1,e):vr(!1,e)}for(let e=0;e<Dl;e++){const n=Ol[e],{isEnabled:i,Feature:r,ProjectionNode:s,MeasureLayout:l}=xn[n];s&&(o=s),i(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||a&&un(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,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<Zl.length;t++){const n=Zl[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 r in t){const o=t[r],a=n[r];if(En(o))e.addValue(r,o),ra(i)&&i.add(r),"development"===process.env.NODE_ENV&&ua("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(En(a))e.addValue(r,pa(o,{owner:e})),ra(i)&&i.remove(r);else if(a!==o)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,pa(void 0!==t?t:o,{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<zl;e++){const n=hn[e],i=this.props[n];(dn(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=pa(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(t=Gi(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||En(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new la),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class jl extends Hl{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},r){let o=function(e,t,n){const i={};for(const r in e){const e=ya(r,t);if(void 0!==e)i[r]=e;else{const e=n.getValue(r);e&&(i[r]=e.get())}}return i}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),o&&(o=i(o))),r){!function(e,t,n){var i,r;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(i=n[a])&&void 0!==i?i:e.readValue(a))&&void 0!==r?r:t[a]),null!=c&&("string"==typeof c&&(oa(c)||ea(c))?c=parseFloat(c):!ba(c)&&mo.test(l)&&(c=qo(a,l)),e.addValue(a,pa(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Xl(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Yl extends jl{readValueFromInstance(e,t){if(Bn.has(t)){const e=Ko(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),r=(Ln(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return fs(e,t)}build(e,t,n,i){ri(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ai(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;En(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){wi(e,t,n,i)}}class Jl extends jl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Bn.has(t)){const e=Ko(t);return e&&e.default||0}return t=Ci.has(t)?t:Ii(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ki(e,t)}build(e,t,n,i){fi(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){Ni(e,t,0,i)}mount(e){this.isSVGTag=vi(e.tagName),super.mount(e)}}const Ul=(e,t)=>Pn(e)?new Jl(t,{enableHardwareAcceleration:!1}):new Yl(t,{enableHardwareAcceleration:!0}),$l={...Ba,...mr,...Cl,...{layout:{ProjectionNode:wl,MeasureLayout:ks}}},Ql=kn((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...Pn(e)?Ri:Mi,preloadedFeatures:n,useRender:xi(t),createVisualElement:i,Component:e}}(e,t,$l,Ul));function _l(){const e=l(!1);return ln(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Kl 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 ql({children:e,isPresent:t}){const n=f(),r=l(null),o=l({width:0,height:0,top:0,left:0});return g(()=>{const{width:e,height:i,top:a,left:s}=o.current;if(t||!r.current||!e||!i)return;r.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(Kl,{isPresent:t,childRef:r,sizeRef:o},i.cloneElement(e,{ref:r}))}const ec=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:l})=>{const c=Pi(tc),u=f(),d=a(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;r&&r()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),i.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),"popLayout"===l&&(e=i.createElement(ql,{isPresent:n},e)),i.createElement(an.Provider,{value:d},e)};function tc(){return new Map}const nc=e=>e.key||"";const ic=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{vr(!o,"Replace exitBeforeEnter with mode='wait'");const p=h(In).forceRender||function(){const e=_l(),[t,n]=c(0),i=d(()=>{e.current&&n(t+1)},[t]);return[d(()=>tr.postRender(i),[i]),t]}()[0],m=_l(),g=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let f=g;const x=l(new Map).current,I=l(f),w=l(new Map).current,C=l(!0);var N;if(ln(()=>{C.current=!1,function(e,t){e.forEach(e=>{const n=nc(e);t.set(n,e)})}(g,w),I.current=f}),N=()=>{C.current=!0,w.clear(),x.clear()},u(()=>()=>N(),[]),C.current)return i.createElement(i.Fragment,null,f.map(e=>i.createElement(ec,{key:nc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));f=[...f];const A=I.current.map(nc),k=g.map(nc),G=A.length;for(let e=0;e<G;e++){const t=A[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(f=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const o=w.get(n);if(!o)return;const l=A.indexOf(n);let c=e;if(!c){const e=()=>{w.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(),r&&r()}};c=i.createElement(ec,{key:nc(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},o),x.set(n,c)}f.splice(l,0,c)}),f=f.map(e=>{const t=e.key;return x.has(t)?e:i.createElement(ec,{key:nc(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&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 rc(){return rc=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},rc.apply(null,arguments)}function oc(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 ac(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function sc(...e){return d(ac(...e),e)}function lc(...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 a(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const cc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:()=>{},uc=i["useId".toString()]||(()=>{});let dc=0;function pc(e){const[t,n]=i.useState(uc());return cc(()=>{n(e=>null!=e?e:String(dc++))},[e]),e||(t?`radix-${t}`:"")}function mc(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function hc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,r]=function({defaultProp:e,onChange:t}){const n=c(e),[i]=n,r=l(i),o=mc(t);return u(()=>{r.current!==i&&(o(i),r.current=i)},[i,r,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:i,s=mc(n);return[a,d(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else r(t)},[o,e,r,s])]}const gc=o((e,t)=>{const{children:n,...i}=e,r=v.toArray(n),o=r.find(vc);if(o){const e=o.props.children,n=r.map(t=>t===o?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(fc,rc({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return s(fc,rc({},i,{ref:t}),n)});gc.displayName="Slot";const fc=o((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...yc(i,n.props),ref:t?ac(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});fc.displayName="SlotClone";const bc=({children:e})=>s(x,null,e);function vc(e){return y(e)&&e.type===bc}function yc(e,t){const n={...t};for(const i in t){const r=e[i],o=t[i];/^on[A-Z]/.test(i)?r&&o?n[i]=(...e)=>{o(...e),r(...e)}:r&&(n[i]=r):"style"===i?n[i]={...r,...o}:"className"===i&&(n[i]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}const xc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=o((e,n)=>{const{asChild:i,...r}=e,o=i?gc:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(o,rc({},r,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Ic="dismissableLayer.update",wc="dismissableLayer.pointerDownOutside",Cc="dismissableLayer.focusOutside";let Nc;const Ac=p({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kc=o((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:d,onDismiss:p,...m}=e,g=h(Ac),[f,b]=c(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=sc(t,e=>b(e)),I=Array.from(g.layers),[w]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),C=I.indexOf(w),N=f?I.indexOf(f):-1,A=g.layersWithOutsidePointerEventsDisabled.size>0,k=N>=C,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e),i=l(!1),r=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!i.current){const o={originalEvent:e};function a(){Pc(wc,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",r.current),r.current=a,t.addEventListener("click",r.current,{once:!0})):a()}else t.removeEventListener("click",r.current);i.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...g.branches].some(e=>e.contains(t));k&&!n&&(null==o||o(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e),i=l(!1);return u(()=>{const e=e=>{if(e.target&&!i.current){Pc(Cc,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;[...g.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mc(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{N===g.layers.size-1&&(null==r||r(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),u(()=>{if(f)return i&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(Nc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(f)),g.layers.add(f),Gc(),()=>{i&&1===g.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Nc)}},[f,v,i,g]),u(()=>()=>{f&&(g.layers.delete(f),g.layersWithOutsidePointerEventsDisabled.delete(f),Gc())},[f,g]),u(()=>{const e=()=>y({});return document.addEventListener(Ic,e),()=>document.removeEventListener(Ic,e)},[]),s(xc.div,rc({},m,{ref:x,style:{pointerEvents:A?k?"auto":"none":void 0,...e.style},onFocusCapture:oc(e.onFocusCapture,P.onFocusCapture),onBlurCapture:oc(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:oc(e.onPointerDownCapture,G.onPointerDownCapture)}))});function Gc(){const e=new CustomEvent(Ic);document.dispatchEvent(e)}function Pc(e,t,n,{discrete:i}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),i?function(e,t){e&&S(()=>e.dispatchEvent(t))}(r,o):r.dispatchEvent(o)}const Vc="focusScope.autoFocusOnMount",Tc="focusScope.autoFocusOnUnmount",Bc={bubbles:!1,cancelable:!0},Sc=o((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:r,onUnmountAutoFocus:o,...a}=e,[p,m]=c(null),h=mc(r),g=mc(o),f=l(null),b=sc(t,e=>m(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(i){function e(e){if(v.paused||!p)return;const t=e.target;p.contains(t)?f.current=t:Xc(f.current,{select:!0})}function t(e){if(v.paused||!p)return;const t=e.relatedTarget;null!==t&&(p.contains(t)||Xc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Xc(p)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return p&&r.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[i,p,v.paused]),u(()=>{if(p){Lc.add(v);const t=document.activeElement;if(!p.contains(t)){const n=new CustomEvent(Vc,Bc);p.addEventListener(Vc,h),p.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(Xc(i,{select:t}),document.activeElement!==n)return}((e=Ec(p),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Xc(p))}return()=>{p.removeEventListener(Vc,h),setTimeout(()=>{const e=new CustomEvent(Tc,Bc);p.addEventListener(Tc,g),p.dispatchEvent(e),e.defaultPrevented||Xc(null!=t?t:document.body,{select:!0}),p.removeEventListener(Tc,g),Lc.remove(v)},0)}}var e},[p,h,g,v]);const y=d(e=>{if(!n&&!i)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[i,o]=function(e){const t=Ec(e),n=Rc(t,e),i=Rc(t.reverse(),e);return[n,i]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&Xc(o,{select:!0})):(e.preventDefault(),n&&Xc(i,{select:!0})):r===t&&e.preventDefault()}},[n,i,v.paused]);return s(xc.div,rc({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Ec(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 Rc(e,t){for(const n of e)if(!Mc(n,{upTo:t}))return n}function Mc(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 Xc(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 Lc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Wc(e,t),e.unshift(t)},remove(t){var n;e=Wc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Wc(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const Fc=o((e,t)=>{var n;const{container:i=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...r}=e;return i?B.createPortal(s(xc.div,rc({},r,{ref:t})),i):null});const Oc=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=c(),i=l({}),r=l(e),o=l("none"),a=e?"mounted":"unmounted",[s,p]=function(e,t){return I((e,n)=>{const i=t[e][n];return null!=i?i:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=Dc(i.current);o.current="mounted"===s?e:"none"},[s]),cc(()=>{const t=i.current,n=r.current;if(n!==e){const i=o.current,a=Dc(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")}r.current=e}},[e,p]),cc(()=>{if(t){const e=e=>{const n=Dc(i.current).includes(e.animationName);e.target===t&&n&&S(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=Dc(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(s),ref:d(e=>{e&&(i.current=getComputedStyle(e)),n(e)},[])}}(t),r="function"==typeof n?n({present:i.isPresent}):v.only(n),o=sc(i.ref,r.ref);return"function"==typeof n||i.isPresent?b(r,{ref:o}):null};function Dc(e){return(null==e?void 0:e.animationName)||"none"}Oc.displayName="Presence";let Zc=0;function zc(){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 Hc=function(){return Hc=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Hc.apply(this,arguments)};function jc(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 r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Yc="right-scroll-bar-position",Jc="width-before-scroll-bar";function Uc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var $c="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,Qc=new WeakMap;function _c(e,t){var n,i,r,o=(n=null,i=function(t){return e.forEach(function(e){return Uc(e,t)})},(r=c(function(){return{value:n,callback:i,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0]).callback=i,r.facade);return $c(function(){var t=Qc.get(o);if(t){var n=new Set(t),i=new Set(e),r=o.current;n.forEach(function(e){i.has(e)||Uc(e,null)}),i.forEach(function(e){n.has(e)||Uc(e,r)})}Qc.set(o,e)},[e]),o}function Kc(e){return e}var qc=function(e){var t=e.sideCar,n=jc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,Hc({},n))};qc.isSideCarExport=!0;var eu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Kc);var n=[],i=!1,r={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 r=t(e,i);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},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 r=n;n=[],r.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=Hc({async:!0,ssr:!1},e),t}(),tu=function(){},nu=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:tu,onWheelCapture:tu,onTouchMoveCapture:tu}),o=r[0],a=r[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=jc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,I=_c([n,t]),w=Hc(Hc({},y),o);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:eu,removeScrollBar:u,shards:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),Hc(Hc({},w),{ref:I})):i.createElement(v,Hc({},w,{className:c,ref:I}),l))});nu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nu.classNames={fullWidth:Jc,zeroRight:Yc};function iu(){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 ru=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=iu())&&(!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)}}},ou=function(){var e,t=(e=ru(),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}},au={left:0,top:0,right:0,gap:0},su=function(e){return parseInt(e||"",10)||0},lu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return au;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],i=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[su(n),su(i),su(r)]}(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])}},cu=ou(),uu="data-scroll-locked",du=function(e,t,n,i){var r=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(i,";\n padding-right: ").concat(s,"px ").concat(i,";\n }\n body[").concat(uu,"] {\n overflow: hidden ").concat(i,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(i,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(i,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(i,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Yc," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Jc," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Yc," .").concat(Yc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(Jc," .").concat(Jc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(uu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},pu=function(){var e=parseInt(document.body.getAttribute(uu)||"0",10);return isFinite(e)?e:0},mu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;i.useEffect(function(){return document.body.setAttribute(uu,(pu()+1).toString()),function(){var e=pu()-1;e<=0?document.body.removeAttribute(uu):document.body.setAttribute(uu,e.toString())}},[]);var a=i.useMemo(function(){return lu(o)},[o]);return i.createElement(cu,{styles:du(a,!t,o,n?"":"!important")})},hu=!1;if("undefined"!=typeof window)try{var gu=Object.defineProperty({},"passive",{get:function(){return hu=!0,!0}});window.addEventListener("test",gu,gu),window.removeEventListener("test",gu,gu)}catch(e){hu=!1}var fu=!!hu&&{passive:!1},bu=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])},vu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),yu(e,n)){var i=xu(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},yu=function(e,t){return"v"===e?function(e){return bu(e,"overflowY")}(t):function(e){return bu(e,"overflowX")}(t)},xu=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]},wu=function(e){return[e.deltaX,e.deltaY]},Cu=function(e){return e&&"current"in e?e.current:e},Nu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Au=0,ku=[];var Gu,Pu=(Gu=function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(Au++)[0],a=i.useState(function(){return ou()})[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(o));var t=function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Cu),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=Iu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=vu(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=vu(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return function(e,t,n,i){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=r*i,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=xu(e,a),m=p[0],h=p[1]-p[2]-r*m;(m||h)&&yu(e,a)&&(u+=h,d+=m),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=i.useCallback(function(e){var n=e;if(ku.length&&ku[ku.length-1]===a){var i="deltaY"in n?wu(n):Iu(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=i,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var o=(s.current.shards||[]).map(Cu).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,i,r){var o={name:e,delta:n,target:i,should:r};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=i.useCallback(function(e){n.current=Iu(e),r.current=void 0},[]),p=i.useCallback(function(t){u(t.type,wu(t),t.target,l(t,e.lockRef.current))},[]),m=i.useCallback(function(t){u(t.type,Iu(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return ku.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,fu),document.addEventListener("touchmove",c,fu),document.addEventListener("touchstart",d,fu),function(){ku=ku.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,fu),document.removeEventListener("touchmove",c,fu),document.removeEventListener("touchstart",d,fu)}},[]);var h=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:Nu(o)}):null,h?i.createElement(mu,{gapMode:"margin"}):null)},eu.useMedium(Gu),qc),Vu=i.forwardRef(function(e,t){return i.createElement(nu,Hc({},e,{ref:t,sideCar:Pu}))});Vu.classNames=nu.classNames;var Tu=new WeakMap,Bu=new WeakMap,Su={},Eu=0,Ru=function(e){return e&&(e.host||Ru(e.parentNode))},Mu=function(e,t,n,i){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Ru(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]);Su[n]||(Su[n]=new WeakMap);var o=Su[n],a=[],s=new Set,l=new Set(r),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};r.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),r=null!==t&&"false"!==t,l=(Tu.get(e)||0)+1,c=(o.get(e)||0)+1;Tu.set(e,l),o.set(e,c),a.push(e),1===l&&r&&Bu.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(i,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Eu++,function(){a.forEach(function(e){var t=Tu.get(e)-1,r=o.get(e)-1;Tu.set(e,t),o.set(e,r),t||(Bu.has(e)||e.removeAttribute(i),Bu.delete(e)),r||e.removeAttribute(n)}),--Eu||(Tu=new WeakMap,Tu=new WeakMap,Bu=new WeakMap,Su={})}},Xu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(i.push.apply(i,Array.from(r.querySelectorAll("[aria-live], script"))),Mu(i,r,n,"aria-hidden")):function(){return null}};const Lu="Dialog",[Wu,Fu]=function(e,t=[]){let n=[];const i=()=>{const t=n.map(e=>p(e));return function(n){const i=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){const r=p(i),o=n.length;function l(t){const{scope:n,children:i,...l}=t,c=(null==n?void 0:n[e][o])||r,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},i)}return n=[...n,i],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][o])||r,l=h(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},lc(i,...t)]}(Lu),[Ou,Du]=Wu(Lu),Zu="DialogPortal",[zu,Hu]=Wu(Zu,{forceMount:void 0}),ju="DialogOverlay",Yu=o((e,t)=>{const n=Hu(ju,e.__scopeDialog),{forceMount:i=n.forceMount,...r}=e,o=Du(ju,e.__scopeDialog);return o.modal?s(Oc,{present:i||o.open},s(Ju,rc({},r,{ref:t}))):null}),Ju=o((e,t)=>{const{__scopeDialog:n,...i}=e,r=Du(ju,n);return s(Vu,{as:gc,allowPinchZoom:!0,shards:[r.contentRef]},s(xc.div,rc({"data-state":nd(r.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),Uu="DialogContent",$u=o((e,t)=>{const n=Hu(Uu,e.__scopeDialog),{forceMount:i=n.forceMount,...r}=e,o=Du(Uu,e.__scopeDialog);return s(Oc,{present:i||o.open},o.modal?s(Qu,rc({},r,{ref:t})):s(_u,rc({},r,{ref:t})))}),Qu=o((e,t)=>{const n=Du(Uu,e.__scopeDialog),i=l(null),r=sc(t,n.contentRef,i);return u(()=>{const e=i.current;if(e)return Xu(e)},[]),s(Ku,rc({},e,{ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:oc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:oc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:oc(e.onFocusOutside,e=>e.preventDefault())}))}),_u=o((e,t)=>{const n=Du(Uu,e.__scopeDialog),i=l(!1),r=l(!1);return s(Ku,rc({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());i.current=!1,r.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(r.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&&r.current&&t.preventDefault()}}))}),Ku=o((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:r,onCloseAutoFocus:o,...a}=e,c=Du(Uu,n),d=sc(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:zc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:zc()),Zc++,()=>{1===Zc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Zc--}},[]),s(x,null,s(Sc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:r,onUnmountAutoFocus:o},s(kc,rc({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":nd(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),qu="DialogTitle",ed="DialogClose",td=o((e,t)=>{const{__scopeDialog:n,...i}=e,r=Du(ed,n);return s(xc.button,rc({type:"button"},i,{ref:t,onClick:oc(e.onClick,()=>r.onOpenChange(!1))}))});function nd(e){return e?"open":"closed"}!function(e,t){const n=p(t);function i(e){const{children:t,...i}=e,r=a(()=>i,Object.values(i));return s(n.Provider,{value:r},t)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Uu,titleName:qu,docsSlug:"dialog"});const id=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:r,onOpenChange:o,modal:a=!0}=e,c=l(null),u=l(null),[p=!1,m]=hc({prop:i,defaultProp:r,onChange:o});return s(Ou,{scope:t,triggerRef:c,contentRef:u,contentId:pc(),titleId:pc(),descriptionId:pc(),open:p,onOpenChange:m,onOpenToggle:d(()=>m(e=>!e),[m]),modal:a},n)},rd=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:r}=e,o=Du(Zu,t);return s(zu,{scope:t,forceMount:n},v.map(i,e=>s(Oc,{present:n||o.open},s(Fc,{asChild:!0,container:r},e))))},od=Yu,ad=$u,sd=td,ld=n=>{const{isOpen:i,onRequestClose:r,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(id,{open:i,onOpenChange:()=>i&&(null==r?void 0:r()),children:t(rd,{children:[e(Ql.div,{initial:"closed",animate:i?"open":"closed",variants:en,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(od,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Ql.div,{initial:"closed",animate:i?"open":"closed",variants:tn,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(ad,{className:Qe("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:nn[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(sd,{asChild:!0,children:e(It,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(it,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(rt,{className:Qe("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(rt,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},cd=({children:n,background:i,className:r,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof i&&i in d,m=p?d[i]:void 0,h=i&&!p?{background:i}:void 0,g=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${a?"max-content":""} ${null!=m?m:h?"":"bg-white"}`,style:h,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:r,style:h,children:n})},ud=({title:n,background:i="white",button:r,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:m})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[i]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[n&&e(rt,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(rt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(It,{...r,renderCheckPlans:m,onModalButtonClick:p,size:{base:"large"}})})]})}),dd=({background:i="white",description:r,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[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(rt,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(rt,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[r&&e(rt,{as:"p",className:"body1",children:r}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),i=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const o=r*n+e;o<t.length&&i.push(t[o])}return i.map((t,n)=>e("li",{children:e(at,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),i=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const o=r*n+e;o<t.length&&i.push(t[o])}return i.map((t,n)=>e("li",{children:e(at,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Nt,{width:472,height:100,src:a,alt:"image"})})]})]})}),pd=({title:n,disclaimer:i,table:r,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:r}),e(rt,{as:"div",className:"micro mt-8 text-center",children:i})]})}),md=({currentPage:n,totalPages:i,onPageChange:r,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const i=Math.max(2,e-1),r=Math.min(t-1,e+1);for(let e=i;e<=r;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":o,children:[e(mt,{className:s,onClick:()=>r(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(it,{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(mt,{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:()=>r(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(mt,{className:s,onClick:()=>r(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(it,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function hd(e){return hd="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},hd(e)}function gd(e){var t=function(e,t){if("object"!=hd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=hd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hd(t)?t:t+""}function fd(e,t,n){return(t=gd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bd(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 vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach(function(t){fd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yd(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 xd(e,t){if(e){if("string"==typeof e)return yd(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)?yd(e,t):void 0}}function Id(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,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||xd(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 wd(e,t){if(null==e)return{};var n,i,r=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 o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Cd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Nd(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,gd(i.key),i)}}function Ad(e,t){return Ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ad(e,t)}function kd(e){return kd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kd(e)}function Gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gd=function(){return!!e})()}function Pd(e,t){if(t&&("object"==hd(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 Vd(e){return function(e){if(Array.isArray(e))return yd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||xd(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 Td=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}(),Bd="-ms-",Sd="-moz-",Ed="-webkit-",Rd="comm",Md="rule",Xd="decl",Ld="@keyframes",Wd=Math.abs,Fd=String.fromCharCode,Od=Object.assign;function Dd(e){return e.trim()}function Zd(e,t,n){return e.replace(t,n)}function zd(e,t){return e.indexOf(t)}function Hd(e,t){return 0|e.charCodeAt(t)}function jd(e,t,n){return e.slice(t,n)}function Yd(e){return e.length}function Jd(e){return e.length}function Ud(e,t){return t.push(e),e}var $d=1,Qd=1,_d=0,Kd=0,qd=0,ep="";function tp(e,t,n,i,r,o,a){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:$d,column:Qd,length:a,return:""}}function np(e,t){return Od(tp("",null,null,"",null,null,0),e,{length:-e.length},t)}function ip(){return qd=Kd>0?Hd(ep,--Kd):0,Qd--,10===qd&&(Qd=1,$d--),qd}function rp(){return qd=Kd<_d?Hd(ep,Kd++):0,Qd++,10===qd&&(Qd=1,$d++),qd}function op(){return Hd(ep,Kd)}function ap(){return Kd}function sp(e,t){return jd(ep,e,t)}function lp(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 cp(e){return $d=Qd=1,_d=Yd(ep=e),Kd=0,[]}function up(e){return ep="",e}function dp(e){return Dd(sp(Kd-1,hp(91===e?e+2:40===e?e+1:e)))}function pp(e){for(;(qd=op())&&qd<33;)rp();return lp(e)>2||lp(qd)>3?"":" "}function mp(e,t){for(;--t&&rp()&&!(qd<48||qd>102||qd>57&&qd<65||qd>70&&qd<97););return sp(e,ap()+(t<6&&32==op()&&32==rp()))}function hp(e){for(;rp();)switch(qd){case e:return Kd;case 34:case 39:34!==e&&39!==e&&hp(qd);break;case 40:41===e&&hp(e);break;case 92:rp()}return Kd}function gp(e,t){for(;rp()&&e+qd!==57&&(e+qd!==84||47!==op()););return"/*"+sp(t,Kd-1)+"*"+Fd(47===e?e:rp())}function fp(e){for(;!lp(op());)rp();return sp(e,Kd)}function bp(e){return up(vp("",null,null,null,[""],e=cp(e),0,[0],e))}function vp(e,t,n,i,r,o,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,h=0,g=1,f=1,b=1,v=0,y="",x=r,I=o,w=i,C=y;f;)switch(h=v,v=rp()){case 40:if(108!=h&&58==Hd(C,d-1)){-1!=zd(C+=Zd(dp(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=dp(v);break;case 9:case 10:case 13:case 32:C+=pp(h);break;case 92:C+=mp(ap()-1,7);continue;case 47:switch(op()){case 42:case 47:Ud(xp(gp(rp(),ap()),t,n),l);break;default:C+="/"}break;case 123*g:s[c++]=Yd(C)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(C=Zd(C,/\f/g,"")),m>0&&Yd(C)-d&&Ud(m>32?Ip(C+";",i,n,d-1):Ip(Zd(C," ","")+";",i,n,d-2),l);break;case 59:C+=";";default:if(Ud(w=yp(C,t,n,c,u,r,s,y,x=[],I=[],d),o),123===v)if(0===u)vp(C,t,w,w,x,o,d,s,I);else switch(99===p&&110===Hd(C,3)?100:p){case 100:case 108:case 109:case 115:vp(e,w,w,i&&Ud(yp(e,w,w,0,0,r,s,y,r,x=[],d),I),r,I,d,s,i?x:I);break;default:vp(C,w,w,w,[""],I,0,s,I)}}c=u=m=0,g=b=1,y=C="",d=a;break;case 58:d=1+Yd(C),m=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==ip())continue;switch(C+=Fd(v),v*g){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Yd(C)-1)*b,b=1;break;case 64:45===op()&&(C+=dp(rp())),p=op(),u=d=Yd(y=C+=fp(ap())),v++;break;case 45:45===h&&2==Yd(C)&&(g=0)}}return o}function yp(e,t,n,i,r,o,a,s,l,c,u){for(var d=r-1,p=0===r?o:[""],m=Jd(p),h=0,g=0,f=0;h<i;++h)for(var b=0,v=jd(e,d+1,d=Wd(g=a[h])),y=e;b<m;++b)(y=Dd(g>0?p[b]+" "+v:Zd(v,/&\f/g,p[b])))&&(l[f++]=y);return tp(e,t,n,0===r?Md:s,l,c,u)}function xp(e,t,n){return tp(e,t,n,Rd,Fd(qd),jd(e,2,-2),0)}function Ip(e,t,n,i){return tp(e,t,n,Xd,jd(e,0,i),jd(e,i+1,-1),i)}function wp(e,t){for(var n="",i=Jd(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Cp(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Xd:return e.return=e.return||e.value;case Rd:return"";case Ld:return e.return=e.value+"{"+wp(e.children,i)+"}";case Md:e.value=e.props.join(",")}return Yd(n=wp(e.children,i))?e.return=e.value+"{"+n+"}":""}function Np(e){var t=Jd(e);return function(n,i,r,o){for(var a="",s=0;s<t;s++)a+=e[s](n,i,r,o)||"";return a}}var Ap="undefined"!=typeof document,kp=function(e,t,n){for(var i=0,r=0;i=r,r=op(),38===i&&12===r&&(t[n]=1),!lp(r);)rp();return sp(e,Kd)},Gp=function(e,t){return up(function(e,t){var n=-1,i=44;do{switch(lp(i)){case 0:38===i&&12===op()&&(t[n]=1),e[n]+=kp(Kd-1,t,n);break;case 2:e[n]+=dp(i);break;case 4:if(44===i){e[++n]=58===op()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Fd(i)}}while(i=rp());return e}(cp(e),t))},Pp=new WeakMap,Vp=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)||Pp.get(n))&&!i){Pp.set(e,!0);for(var r=[],o=Gp(t,r),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Tp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Bp(e,t){switch(function(e,t){return 45^Hd(e,0)?(((t<<2^Hd(e,0))<<2^Hd(e,1))<<2^Hd(e,2))<<2^Hd(e,3):0}(e,t)){case 5103:return Ed+"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 Ed+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ed+e+Sd+e+Bd+e+e;case 6828:case 4268:return Ed+e+Bd+e+e;case 6165:return Ed+e+Bd+"flex-"+e+e;case 5187:return Ed+e+Zd(e,/(\w+).+(:[^]+)/,Ed+"box-$1$2"+Bd+"flex-$1$2")+e;case 5443:return Ed+e+Bd+"flex-item-"+Zd(e,/flex-|-self/,"")+e;case 4675:return Ed+e+Bd+"flex-line-pack"+Zd(e,/align-content|flex-|-self/,"")+e;case 5548:return Ed+e+Bd+Zd(e,"shrink","negative")+e;case 5292:return Ed+e+Bd+Zd(e,"basis","preferred-size")+e;case 6060:return Ed+"box-"+Zd(e,"-grow","")+Ed+e+Bd+Zd(e,"grow","positive")+e;case 4554:return Ed+Zd(e,/([^-])(transform)/g,"$1"+Ed+"$2")+e;case 6187:return Zd(Zd(Zd(e,/(zoom-|grab)/,Ed+"$1"),/(image-set)/,Ed+"$1"),e,"")+e;case 5495:case 3959:return Zd(e,/(image-set\([^]*)/,Ed+"$1$`$1");case 4968:return Zd(Zd(e,/(.+:)(flex-)?(.*)/,Ed+"box-pack:$3"+Bd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ed+e+e;case 4095:case 3583:case 4068:case 2532:return Zd(e,/(.+)-inline(.+)/,Ed+"$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(Yd(e)-1-t>6)switch(Hd(e,t+1)){case 109:if(45!==Hd(e,t+4))break;case 102:return Zd(e,/(.+:)(.+)-([^]+)/,"$1"+Ed+"$2-$3$1"+Sd+(108==Hd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~zd(e,"stretch")?Bp(Zd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hd(e,t+1))break;case 6444:switch(Hd(e,Yd(e)-3-(~zd(e,"!important")&&10))){case 107:return Zd(e,":",":"+Ed)+e;case 101:return Zd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ed+(45===Hd(e,14)?"inline-":"")+"box$3$1"+Ed+"$2$3$1"+Bd+"$2box$3")+e}break;case 5936:switch(Hd(e,t+11)){case 114:return Ed+e+Bd+Zd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ed+e+Bd+Zd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ed+e+Bd+Zd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ed+e+Bd+e+e}return e}var Sp,Ep,Rp,Mp=Ap?void 0:(Sp=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},Ep=new WeakMap,function(e){if(Ep.has(e))return Ep.get(e);var t=Sp(e);return Ep.set(e,t),t}),Xp=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Xd:e.return=Bp(e.value,e.length);break;case Ld:return wp([np(e,{value:Zd(e.value,"@","@"+Ed)})],i);case Md: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 wp([np(e,{props:[Zd(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return wp([np(e,{props:[Zd(t,/:(plac\w+)/,":"+Ed+"input-$1")]}),np(e,{props:[Zd(t,/:(plac\w+)/,":-moz-$1")]}),np(e,{props:[Zd(t,/:(plac\w+)/,Bd+"input-$1")]})],i)}return""})}}],Lp=function(e){var t=e.key;if(Ap&&"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,r,o=e.stylisPlugins||Xp,a={},s=[];Ap&&(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=[Vp,Tp];if(Mp){var u=[Cp],d=Np(c.concat(o,u)),p=Mp(o)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=wp(bp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,i){var r=t.name,o=m(e,t);return void 0===b.compat?(i&&(b.inserted[r]=!0),o):i?void(b.inserted[r]=o):o}}else{var h,g=[Cp,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Np(c.concat(o,g));r=function(e,t,n,i){h=n,wp(bp(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Td({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return b.sheet.hydrate(s),b},Wp={exports:{}},Fp={};var Op,Dp,Zp,zp,Hp={};
|
|
4
4
|
/** @license React v16.13.1
|
|
5
5
|
* react-is.development.js
|
|
6
6
|
*
|
|
@@ -8,30 +8,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o 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 Up(){return Zp||(Zp=1,"production"===process.env.NODE_ENV?Xp.exports=function(){if(Fp)return jp;Fp=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=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 o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case f:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return jp.AsyncMode=l,jp.ConcurrentMode=c,jp.ContextConsumer=s,jp.ContextProvider=a,jp.Element=t,jp.ForwardRef=u,jp.Fragment=o,jp.Lazy=f,jp.Memo=m,jp.Portal=n,jp.Profiler=i,jp.StrictMode=r,jp.Suspense=d,jp.isAsyncMode=function(e){return x(e)||y(e)===l},jp.isConcurrentMode=x,jp.isContextConsumer=function(e){return y(e)===s},jp.isContextProvider=function(e){return y(e)===a},jp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},jp.isForwardRef=function(e){return y(e)===u},jp.isFragment=function(e){return y(e)===o},jp.isLazy=function(e){return y(e)===f},jp.isMemo=function(e){return y(e)===m},jp.isPortal=function(e){return y(e)===n},jp.isProfiler=function(e){return y(e)===i},jp.isStrictMode=function(e){return y(e)===r},jp.isSuspense=function(e){return y(e)===d},jp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},jp.typeOf=y,jp}():Xp.exports=(zp||(zp=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,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=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 h=e.type;switch(h){case l:case c:case o:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case u:case f:case m:case a:return g;default:return p}}case n:return p}}}var x=l,w=c,C=s,I=a,N=t,A=u,k=o,E=f,S=m,P=n,T=i,G=r,V=d,R=!1;function B(e){return y(e)===c}Jp.AsyncMode=x,Jp.ConcurrentMode=w,Jp.ContextConsumer=C,Jp.ContextProvider=I,Jp.Element=N,Jp.ForwardRef=A,Jp.Fragment=k,Jp.Lazy=E,Jp.Memo=S,Jp.Portal=P,Jp.Profiler=T,Jp.StrictMode=G,Jp.Suspense=V,Jp.isAsyncMode=function(e){return R||(R=!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.")),B(e)||y(e)===l},Jp.isConcurrentMode=B,Jp.isContextConsumer=function(e){return y(e)===s},Jp.isContextProvider=function(e){return y(e)===a},Jp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Jp.isForwardRef=function(e){return y(e)===u},Jp.isFragment=function(e){return y(e)===o},Jp.isLazy=function(e){return y(e)===f},Jp.isMemo=function(e){return y(e)===m},Jp.isPortal=function(e){return y(e)===n},Jp.isProfiler=function(e){return y(e)===i},Jp.isStrictMode=function(e){return y(e)===r},Jp.isSuspense=function(e){return y(e)===d},Jp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},Jp.typeOf=y}()),Jp)),Xp.exports}!function(){if(Yp)return Hp;Yp=1;var e=Up(),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},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Hp=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var m=s(o);l&&(m=m.concat(l(o)));for(var f=i(t),h=i(o),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||r&&r[b]||h&&h[b]||f&&f[b])){var v=c(o,b);try{a(t,b,v)}catch(e){}}}}return t}}();var $p="undefined"!=typeof document;var _p=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===$p&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Qp={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 Kp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var qp=/[A-Z]|^ms/g,em=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tm=function(e){return 45===e.charCodeAt(1)},nm=function(e){return null!=e&&"boolean"!=typeof e},om=Kp(function(e){return tm(e)?e:e.replace(qp,"-$&").toLowerCase()}),rm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(em,function(e,t,n){return am={name:t,styles:n,next:am},t})}return 1===Qp[e]||tm(e)||"number"!=typeof t||0===t?t:t+"px"};function im(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return am={name:r.name,styles:r.styles,next:am},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)am={name:a.name,styles:a.styles,next:am},a=a.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=im(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;nm(s)&&(o+=om(i)+":"+rm(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)nm(a[l])&&(o+=om(i)+":"+rm(i,a[l])+";");else{var c=im(e,t,a);switch(i){case"animation":case"animationName":o+=om(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=am,l=n(e);return am=s,im(e,t,l)}}return n}var am,sm=/label:\s*([^\s;{]+)\s*(;|$)/g;function lm(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";am=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=im(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=im(n,t,e[a]),o)r+=i[a]}sm.lastIndex=0;for(var s,l="";null!==(s=sm.exec(r));)l+="-"+s[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:am}}var cm="undefined"!=typeof document,um=function(e){return e()},dm=!!o.useInsertionEffect&&o.useInsertionEffect,pm=cm&&dm||um,mm="undefined"!=typeof document,fm=o.createContext("undefined"!=typeof HTMLElement?Lp({key:"css"}):null);fm.Provider;var hm=function(e){return i(function(t,n){var o=f(fm);return e(t,o,n)})};mm||(hm=function(e){return function(t){var n=f(fm);return null===n?(n=Lp({key:"css"}),o.createElement(fm.Provider,{value:n},e(t,n))):e(t,n)}});var gm,bm,vm=o.createContext({}),ym={}.hasOwnProperty,xm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",wm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;_p(t,n,r);var i=pm(function(){return function(e,t,n){_p(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);$p||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!$p&&0!==r.length)return r}}(t,n,r)});if(!mm&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return o.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Cm=hm(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[xm],a=[r],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=lm(a,void 0,o.useContext(vm));s+=t.key+"-"+l.name;var c={};for(var u in e)ym.call(e,u)&&"css"!==u&&u!==xm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(wm,{cache:t,serialized:l,isStringTag:"string"==typeof i}),o.createElement(i,c))}),Im=Cm,Nm=function(e,t){var n=arguments;if(null==t||!ym.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Im,i[1]=function(e,t){var n={};for(var o in t)ym.call(t,o)&&(n[o]=t[o]);return n[xm]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)};function Am(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return lm(t)}gm=Nm||(Nm={}),bm||(bm=gm.JSX||(gm.JSX={}));const km=Math.min,Em=Math.max,Sm=Math.round,Pm=Math.floor,Tm=e=>({x:e,y:e});function Gm(){return"undefined"!=typeof window}function Vm(e){return Om(e)?(e.nodeName||"").toLowerCase():"#document"}function Rm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Bm(e){var t;return null==(t=(Om(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Om(e){return!!Gm()&&(e instanceof Node||e instanceof Rm(e).Node)}function Mm(e){return!!Gm()&&(e instanceof HTMLElement||e instanceof Rm(e).HTMLElement)}function Lm(e){return!(!Gm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Rm(e).ShadowRoot)}const Wm=new Set(["inline","contents"]);function Dm(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Xm(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Wm.has(r)}const Fm=new Set(["html","body","#document"]);function Xm(e){return Rm(e).getComputedStyle(e)}function jm(e){const t=function(e){if("html"===Vm(e))return e;const t=e.assignedSlot||e.parentNode||Lm(e)&&e.host||Bm(e);return Lm(t)?t.host:t}(e);return function(e){return Fm.has(Vm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mm(t)&&Dm(t)?t:jm(t)}function zm(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=jm(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Rm(r);if(i){const e=Zm(a);return t.concat(a,a.visualViewport||[],Dm(r)?r:[],e&&n?zm(e):[])}return t.concat(r,zm(r,[],n))}function Zm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Hm(e){return t=e,Gm()&&(t instanceof Element||t instanceof Rm(t).Element)?e:e.contextElement;var t}function Ym(e){const t=Hm(e);if(!Mm(t))return Tm(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Xm(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Mm(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Sm(n)!==i||Sm(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?Sm(n.width):n.width)/o,s=(i?Sm(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Jm(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=Hm(e);let a=Tm(1);t&&(a=Ym(e));const s=Tm(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=o;let t=Rm(i),n=Zm(t);for(;n&&o&&e!==t;){const e=Ym(n),o=n.getBoundingClientRect(),r=Xm(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=Rm(n),n=Zm(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Um(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $m(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Hm(e),u=r||i?[...c?zm(c):[],...zm(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,o=null;const r=Bm(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const f={rootMargin:-Pm(d)+"px "+-Pm(r.clientWidth-(u+p))+"px "+-Pm(r.clientHeight-(d+m))+"px "+-Pm(u)+"px",threshold:Em(0,km(1,l))||1};let h=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!h)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||Um(c,e.getBoundingClientRect())||a(),h=!1}try{o=new IntersectionObserver(g,{...f,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,f)}o.observe(e)}(!0),i}(c,n):null;let p,m=-1,f=null;a&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let h=l?Jm(e):null;return l&&function t(){const o=Jm(e);h&&!Um(h,o)&&n();h=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}var _m="undefined"!=typeof document?m:function(){},Qm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Km=function(){};function qm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ef(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(qm(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var tf=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===fd(e)&&null!==e?[e]:[];var t},nf=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,vd({},Id(e,Qm))},of=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,a=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),a)}};function rf(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function af(e){return rf(e)?window.pageYOffset:e.scrollTop}function sf(e,t){rf(e)?window.scrollTo(0,t):e.scrollTop=t}function lf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Km,r=af(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;sf(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function cf(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?sf(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&sf(e,Math.max(t.offsetTop-r,0))}function uf(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var df=!1,pf={get passive(){return df=!0}},mf="undefined"!=typeof window?window:{};mf.addEventListener&&mf.removeEventListener&&(mf.addEventListener("p",Km,pf),mf.removeEventListener("p",Km,!1));var ff=df;function hf(e){return null!=e}function gf(e,t,n){return e?t:n}var bf=["children","innerProps"],vf=["children","innerProps"];function yf(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,f=p.height,h=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:rf(u=l)?window.innerHeight:u.clientHeight,v=af(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,C=b-h,I=w+v,N=d-v-h,A=m-b+v+y,k=v+h-x,E=160;switch(r){case"auto":case"bottom":if(C>=f)return{placement:"bottom",maxHeight:t};if(N>=f&&!a)return i&&lf(l,A,E),{placement:"bottom",maxHeight:t};if(!a&&N>=o||a&&C>=o)return i&&lf(l,A,E),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===r||a){var S=t,P=a?w:I;return P>=o&&(S=Math.min(P-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===r)return i&&sf(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(I>=f&&!a)return i&&lf(l,k,E),{placement:"top",maxHeight:t};if(!a&&I>=o||a&&w>=o){var T=t;return(!a&&I>=o||a&&w>=o)&&(T=a?w-x:I-x),i&&lf(l,k,E),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var xf,wf=function(e){return"auto"===e?"bottom":e},Cf=p(null),If=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(f(Cf)||{}).setPortalPlacement,d=l(null),p=wd(c(o),2),m=p[0],h=p[1],g=wd(c(null),2),b=g[0],v=g[1],y=s.spacing.controlHeight;return _m(function(){var e=d.current;if(e){var t="fixed"===i,s=yf({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});h(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[o,r,i,a,n,u,y]),t({ref:d,placerProps:vd(vd({},e),{},{placement:b||wf(r),maxHeight:m})})},Nf=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Nm("div",rc({},of(e,"menu",{menu:!0}),{ref:n},o),t)},Af=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return vd({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},kf=Af,Ef=Af,Sf=["size"],Pf=["innerProps","isRtl","size"];var Tf,Gf,Vf="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Rf=function(e){var t=e.size,n=Id(e,Sf);return Nm("svg",rc({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Vf},n))},Bf=function(e){return Nm(Rf,rc({size:20},e),Nm("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"}))},Of=function(e){return Nm(Rf,rc({size:20},e),Nm("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"}))},Mf=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return vd({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Lf=Mf,Wf=Mf,Df=function(){var e=Am.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_"}}}(xf||(Tf=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Gf||(Gf=Tf.slice(0)),xf=Object.freeze(Object.defineProperties(Tf,{raw:{value:Object.freeze(Gf)}})))),Ff=function(e){var t=e.delay,n=e.offset;return Nm("span",{css:Am({animation:"".concat(Df," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Xf=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Nm("div",rc({ref:r},of(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},jf=["data"],zf=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Nm("div",rc({},of(e,"group",{group:!0}),s),Nm(i,rc({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Nm("div",null,t))},Zf=["innerRef","isDisabled","isHidden","inputClassName"],Hf={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Yf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vd({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Hf)},Jf=function(e){return vd({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Hf)},Uf=function(e){var t=e.cx,n=e.value,o=nf(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=Id(o,Zf);return Nm("div",rc({},of(e,"input",{"input-container":!0}),{"data-value":n||""}),Nm("input",rc({className:t({input:!0},s),ref:r,style:Jf(a),disabled:i},l)))},$f=function(e){var t=e.children,n=e.innerProps;return Nm("div",n,t)};var _f=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Nm(l,{data:o,innerProps:vd(vd({},of(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},Nm(c,{data:o,innerProps:vd({},of(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Nm(u,{data:o,innerProps:vd(vd({},of(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Qf={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Nm("div",rc({},of(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Nm(Bf,null))},Control:Xf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Nm("div",rc({},of(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Nm(Of,null))},DownChevron:Of,CrossIcon:Bf,Group:zf,GroupHeading:function(e){var t=nf(e);t.data;var n=Id(t,jf);return Nm("div",rc({},of(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Nm("div",rc({},of(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Nm("span",rc({},t,of(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Uf,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Id(e,Pf);return Nm("div",rc({},of(vd(vd({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Nm(Ff,{delay:0,offset:n}),Nm(Ff,{delay:160,offset:!0}),Nm(Ff,{delay:320,offset:!n}))},Menu:Nf,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Nm("div",rc({},of(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,s=e.menuPosition,u=l(null),p=l(null),m=wd(c(wf(i)),2),f=m[0],h=m[1],g=a(function(){return{setPortalPlacement:h}},[]),b=wd(c(null),2),v=b[0],y=b[1],x=d(function(){if(o){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}}(o),t="fixed"===s?0:window.pageYOffset,n=e[f]+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})}},[o,s,f,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);_m(function(){x()},[x]);var w=d(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&u.current&&(p.current=$m(o,u.current,x,{elementResize:"ResizeObserver"in window}))},[o,x]);_m(function(){w()},[w]);var C=d(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==s||!v)return null;var I=Nm("div",rc({ref:C},of(vd(vd({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return Nm(Cf.Provider,{value:g},t?R(I,t):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Id(e,vf);return Nm("div",rc({},of(vd(vd({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=Id(e,bf);return Nm("div",rc({},of(vd(vd({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:_f,MultiValueContainer:$f,MultiValueLabel:$f,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Nm("div",rc({role:"button"},n),t||Nm(Bf,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,a=e.innerProps;return Nm("div",rc({},of(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Nm("div",rc({},of(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Nm("div",rc({},of(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Nm("div",rc({},of(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return Nm("div",rc({},of(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},Kf=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function qf(e,t){return e===t||!(!Kf(e)||!Kf(t))}function eh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!qf(e[n],t[n]))return!1;return!0}for(var th="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)."}},nh=function(e){return Nm("span",rc({css:th},e))},oh={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".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,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,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(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},rh=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,f=l.isMulti,h=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,w=l.tabSelectsValue,C=l.isLoading,I=l["aria-label"],N=l["aria-live"],A=a(function(){return vd(vd({},oh),d||{})},[d]),k=a(function(){var e,n="";if(t&&A.onChange){var o=t.option,r=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,m=d?d.map(p):[],f=vd({isDisabled:c&&h(c,s),label:u,labels:m},t);n=A.onChange(f)}return n},[t,A,h,s,p]),E=a(function(){var e="",t=n||o,i=!!(n&&s&&s.includes(n));if(t&&A.onFocus){var a={focused:t,label:p(t),isDisabled:h(t,s),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=A.onFocus(a)}return e},[n,o,p,h,A,r,s,u]),S=a(function(){var e="";if(b&&v.length&&!C&&A.onFilter){var t=y({count:r.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[r,m,b,A,v,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),T=a(function(){var e="";if(A.guidance){var t=o?"value":b?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:n&&h(n,s),isMulti:f,isSearchable:g,tabSelectsValue:w,isInitialFocus:P})}return e},[I,n,o,f,h,g,b,A,s,w,P]),G=Nm(x,null,Nm("span",{id:"aria-selection"},k),Nm("span",{id:"aria-focused"},E),Nm("span",{id:"aria-results"},S),Nm("span",{id:"aria-guidance"},T));return Nm(x,null,Nm(nh,{id:c},P&&G),Nm(nh,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!P&&G))},ih=[{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źẑżžẓẕƶȥɀⱬꝣ"}],ah=new RegExp("["+ih.map(function(e){return e.letters}).join("")+"]","g"),sh={},lh=0;lh<ih.length;lh++)for(var ch=ih[lh],uh=0;uh<ch.letters.length;uh++)sh[ch.letters[uh]]=ch.base;var dh=function(e){return e.replace(ah,function(e){return sh[e]})},ph=function(e,t){void 0===t&&(t=eh);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(dh),mh=function(e){return e.replace(/^\s+|\s+$/g,"")},fh=function(e){return"".concat(e.label," ").concat(e.value)},hh=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=vd({ignoreCase:!0,ignoreAccents:!0,stringify:fh,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?mh(n):n,u=s?mh(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=ph(c),u=dh(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},gh=["innerRef"];function bh(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=wd(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=wd(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Id(e,gh),"onExited","in","enter","exit","appear");return Nm("input",rc({ref:t},n,{css:Am({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var vh=["boxSizing","height","overflow","paddingRight","position"],yh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function xh(e){e.cancelable&&e.preventDefault()}function wh(e){e.stopPropagation()}function Ch(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ih(){return"ontouchstart"in window||navigator.maxTouchPoints}var Nh=!("undefined"==typeof window||!window.document||!window.document.createElement),Ah=0,kh={capture:!1,passive:!1};var Eh=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Sh="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Ph(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,a=l(!1),s=l(!1),c=l(0),p=l(null),m=d(function(e,t){if(null!==p.current){var l=p.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,m=p.current,f=t>0,h=u-d-c,g=!1;h>t&&a.current&&(o&&o(e),a.current=!1),f&&s.current&&(i&&i(e),s.current=!1),f&&t>h?(n&&!a.current&&n(e),m.scrollTop=u,g=!0,a.current=!0):!f&&-t>c&&(r&&!s.current&&r(e),m.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,r,i]),f=d(function(e){m(e,e.deltaY)},[m]),h=d(function(e){c.current=e.changedTouches[0].clientY},[]),g=d(function(e){var t=c.current-e.changedTouches[0].clientY;m(e,t)},[m]),b=d(function(e){if(e){var t=!!ff&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",g,t)}},[g,h,f]),v=d(function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",g,!1))},[g,h,f]);return u(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=l({}),i=l(null),a=d(function(e){if(Nh){var t=document.body,n=t&&t.style;if(o&&vh.forEach(function(e){var t=n&&n[e];r.current[e]=t}),o&&Ah<1){var i=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(yh).forEach(function(e){var t=yh[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ih()&&(t.addEventListener("touchmove",xh,kh),e&&(e.addEventListener("touchstart",Ch,kh),e.addEventListener("touchmove",wh,kh))),Ah+=1}},[o]),s=d(function(e){if(Nh){var t=document.body,n=t&&t.style;Ah=Math.max(Ah-1,0),o&&Ah<1&&vh.forEach(function(e){var t=r.current[e];n&&(n[e]=t)}),t&&Ih()&&(t.removeEventListener("touchmove",xh,kh),e&&(e.removeEventListener("touchstart",Ch,kh),e.removeEventListener("touchmove",wh,kh)))}},[o]);return u(function(){if(t){var e=i.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){i.current=e}}({isEnabled:n});return Nm(x,null,n&&Nm("div",{onClick:Eh,css:Sh}),t(function(e){r(e),i(e)}))}var Th="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)."}},Gh=function(e){var t=e.name,n=e.onFocus;return Nm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Th,value:"",onChange:function(){}})};function Vh(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 Rh(){return Vh(/^Mac/i)}function Bh(){return Vh(/^iPhone/i)||Vh(/^iPad/i)||Rh()&&navigator.maxTouchPoints>1}var Oh={clearIndicator:Wf,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,o=e.isFocused,r=e.theme,i=r.colors,a=r.borderRadius;return vd({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:Lf,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,o=n.colors,r=n.spacing;return vd({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return vd({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,a=r.colors;return vd(vd({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Yf),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,a=r.spacing.baseUnit;return vd({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Ef,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return vd((gd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),gd(n,"position","absolute"),gd(n,"width","100%"),gd(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,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,o=e.theme.spacing.baseUnit;return vd({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return vd({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return vd({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,a=e.isFocused;return vd({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:kf,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return vd({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:r?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return vd({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return vd({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return vd({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Mh={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}},Lh={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:uf(),captureMenuScroll:!uf(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:hh(),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 Wh(e,t,n,o){return{type:"option",data:t,isDisabled:Yh(e,t,n),isSelected:Jh(e,t,n),label:Zh(e,t),value:Hh(e,t),index:o}}function Dh(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Wh(e,n,t,o)}).filter(function(t){return jh(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Wh(e,n,t,o);return jh(e,i)?i:void 0}).filter(hf)}function Fh(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Td(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Xh(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Td(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 jh(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!$h(e)||!i)&&Uh(e,{label:a,value:s,data:r},o)}var zh=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Zh=function(e,t){return e.getOptionLabel(t)},Hh=function(e,t){return e.getOptionValue(t)};function Yh(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Jh(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Hh(e,t);return n.some(function(t){return Hh(e,t)===o})}function Uh(e,t,n){return!e.filterOption||e.filterOption(t,n)}var $h=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},_h=1,Qh=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&&kd(e,t)}(t,C);var e=function(e){var t=Sd();return function(){var n,o=Ed(e);if(t){var r=Ed(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Pd(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue(a.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(Td(a),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),a=gf(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(gf(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=gf(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return zh(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Xh(Dh(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ef.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Zh(o.props,e)},o.getOptionValue=function(e){return Hh(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Oh[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,vd(vd({},Qf),e.components);var e},o.buildCategorizedOptions=function(){return Dh(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Fh(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:vd({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&rf(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return $h(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=o.state,f=m.focusedOption,h=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)o.removeValue(h);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&o.isOptionSelected(f,g))return;o.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(o.isComposing)return;o.selectOption(f);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!f)return;o.selectOption(f);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++_h),o.state.selectValue=tf(n.value),n.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),a=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[a],o.state.focusedOptionId=zh(r,i[a])}return o}return function(e,t,n){t&&Ad(e.prototype,t),n&&Ad(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&&cf(this.menuListRef,this.focusedOptionRef),(Rh()||Bh())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(cf(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,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+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,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Mh):vd(vd({},Mh),this.props.theme):Mh}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=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:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,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 Yh(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Jh(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Uh(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}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,r=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,f=this.commonProps,h=r||this.getElementId("input"),g=vd(vd(vd({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,rc({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,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:i},g)):o.createElement(bh,rc({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Km,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,f=u.inputValue,h=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return f?null:o.createElement(l,rc({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),h);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,rc({},c,{components:{Container:r,Label:i,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(f)return null;var x=b[0];return o.createElement(s,rc({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,rc({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.createElement(e,rc({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.createElement(n,rc({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,rc({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,f=m.captureMenuScroll,h=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,I=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,k=m.noOptionsMessage,E=m.onMenuScrollToTop,S=m.onMenuScrollToBottom;if(!x)return null;var P,T=function(t,n){var r=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===i,f=a?void 0:function(){return e.onOptionHover(i)},h=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return o.createElement(u,rc({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return o.createElement(n,rc({},d,{key:l,data:i,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return T(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return T(t,"".concat(t.index))});else if(g){var G=b({inputValue:h});if(null===G)return null;P=o.createElement(l,d,G)}else{var V=k({inputValue:h});if(null===V)return null;P=o.createElement(c,d,V)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},B=o.createElement(If,rc({},d,R),function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return o.createElement(i,rc({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),o.createElement(Ph,{captureEnabled:f,onTopArrive:E,onBottomArrive:S,lockEnabled:N},function(t){return o.createElement(a,rc({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),P)}))});return I||"fixed"===C?o.createElement(s,rc({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return o.createElement(Gh,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return o.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return o.createElement(rh,rc({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=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 o.createElement(r,rc({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,rc({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(i,rc({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,rc({},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,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,f=tf(u),h={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Fh(Dh(e,t))}(e,f):[],b=d?Xh(Dh(e,f),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,f):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);h={selectValue:f,focusedOption:y,focusedOptionId:zh(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},w=i,C=a&&s;return a&&!C&&(w={value:gf(m,f,f[0]||null),options:f,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),vd(vd(vd({},h),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),t}();Qh.defaultProps=Lh;var Kh=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,a=void 0===i?null:i,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,p=e.onInputChange,m=e.onMenuClose,f=e.onMenuOpen,h=e.value,g=Id(e,Nd),b=wd(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=wd(c(void 0!==l?l:r),2),w=x[0],C=x[1],I=wd(c(void 0!==h?h:a),2),N=I[0],A=I[1],k=d(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),E=d(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),S=d(function(){"function"==typeof f&&f(),C(!0)},[f]),P=d(function(){"function"==typeof m&&m(),C(!1)},[m]),T=void 0!==s?s:v,G=void 0!==l?l:w,V=void 0!==h?h:N;return vd(vd({},g),{},{inputValue:T,menuIsOpen:G,onChange:k,onInputChange:E,onMenuClose:P,onMenuOpen:S,value:V})}(e);return o.createElement(Qh,rc({ref:t},n))}),qh=Kh;const eg=r.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:m,menuClassName:f,helperText:h,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":w,...C})=>{const I=a(()=>hh(d),[d]),N=a(()=>({control:({isFocused:e})=>_e("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},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return _e("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",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,f,n,p,v]);return"unstyled"===y?e(qh,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:I,className:_e("rounded-xl",o),classNames:N,"data-cy":x,"data-testid":w,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(qh,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:I,className:_e("rounded-xl",o),classNames:N,"data-cy":x,"data-testid":w,...C}),m&&e(rt,{className:"footnote mt-1 text-text-critical",children:m}),!m&&h&&e(rt,{className:"footnote mt-1 text-text-info",children:h})]})});function tg({paginatedArticles:n,totalArticles:o,currentPage:r,totalPages:i,selectedCategory:a,categoryOptions:s}){const l=B(),c=O(),u=M();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(rt,{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(rt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(rt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(rt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",o," 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,n)=>{var o,r,i,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url)?{src:null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(vt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(rt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e(md,{currentPage:r,totalPages:i,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}eg.displayName="Select";const ng=n=>{const{links:o=[],textColor:r="dark",maxWidth:i=!0}=n,a="dark"===r?"text-white xl:text-text":"text-text xl:text-white";return o.length?e("nav",{"aria-label":"Breadcrumb",className:(i?"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((n,r)=>r===o.length-1?e("li",{className:"flex min-w-0 items-center",children:e(rt,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})},r):t("li",{className:"flex flex-none items-center",children:[e(wt,{...n,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(ot,{name:"chevron_right",className:`${a} `})]},r))})}):null},og=n=>{const{anchorId:o="SearchBlock",title:r,subTitle:i,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:f}=n,[h,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:o,"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(rt,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),children:r}),i&&e(rt,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),children:i})]}),s?e(rt,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==f||f({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(mt,{type:"submit",className:"ml-2 inline-flex",children:e(ot,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Jt,{value:h,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},rg={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"}},ig=n=>{const{title:o,variant:r="yellow",cta:i,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=rg[null==r?void 0:r.toLowerCase()]||rg.yellow;if(!s)return null;const u=(null==i?void 0:i.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(rt,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:o}),d]})};function ag(o){var r,i,a;const[s,l]=c(0),[d,p]=c(""),{title:m,subTitle:f,tabs:h,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=o;u(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==h?void 0:h.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[h,d]);const y=(e,t)=>{l(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===(r=null==h?void 0:h.items)||void 0===r?void 0:r.map((t,n)=>e(wt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==g?void 0:g.map((t,n)=>e("div",{children:e(oc,{children:e(_l.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),w=e(n,{children:null===(i=null==h?void 0:h.items)||void 0===i?void 0:i.map((n,o)=>t("div",{className:"py-5",children:[t(wt,{showButtonAs:"unstyled",onClick:()=>y(o,null==n?void 0:n.anchorId),buttonClassName:_e("w-full flex justify-between items-center px-4 py-5",o===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(ot,{name:o===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(ft,{open:o===s,children:e("div",{className:_e("px-4 py-4"),children:null==g?void 0:g[o]})})]},o))}),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==h?void 0:h.items)||void 0===a?void 0:a.map((t,n)=>e(wt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==g?void 0:g.map((t,n)=>e("div",{children:e(oc,{children:e(_l.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[m||f?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[m?e(rt,{className:"heading2 px-5 md:heading1 md:text-center",children:m}):null,f?e(rt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:f}):null]}):null,e("div",{className:"md:hidden",children:v?x:w}),e("div",{className:"hidden md:block",children:b?x:C})]})}const sg=({ctaSuffixText:n,backgroundColor:o,iconName:r,boxShadow:i,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===o||!o?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${o?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[o]:"bg-bg-fill-brand-accent"} ${i||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(P,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e(ot,{name:r,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function lg({content:n}){let o=3;const[r,i]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=N.get(e);return t?I.decode(t):null}("cookieBannerClosed");i("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,o;return r?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(o=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===o||o.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[r]),u(()=>{if(!r)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let o;const i=()=>{clearTimeout(o),o=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(o),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[r,a]);a&&(o=14);return r?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*o}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(wt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);i(!1),((e,t,n)=>{if("undefined"==typeof window)return;const o=JSON.stringify(t),r=I.encode(o);N.set(e,r,n)})("cookieBannerClosed",!0,{expires:e})},children:e(ot,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const cg=n=>{const{anchorId:o="email-input",title:r,subTitle:i,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:p,onSubmit:m}=n||{},f={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},h=f[d]||f.green,g=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[w,C]=c("");return t("section",{id:o,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${h} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[r&&e("h1",{className:`text-heading1 font-black ${g}`,children:r}),i&&e("h2",{className:`text-heading1 font-black ${g}`,children:i}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${g}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),w&&C(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(wt,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(m({email:b}),v(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),w&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:w}),p&&y&&!w&&e("p",{className:`mt-2 text-label4 font-semibold ${g}`,children:p})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})};var ug,dg={exports:{}},pg={},mg={exports:{}},fg={exports:{}},hg={};var gg,bg,vg,yg,xg,wg,Cg,Ig,Ng,Ag,kg,Eg,Sg,Pg,Tg,Gg={};
|
|
12
|
-
/** @license React v16.13.1
|
|
13
|
-
* react-is.development.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/function Vg(){return bg||(bg=1,"production"===process.env.NODE_ENV?fg.exports=function(){if(ug)return hg;ug=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=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 o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case f:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return hg.AsyncMode=l,hg.ConcurrentMode=c,hg.ContextConsumer=s,hg.ContextProvider=a,hg.Element=t,hg.ForwardRef=u,hg.Fragment=o,hg.Lazy=f,hg.Memo=m,hg.Portal=n,hg.Profiler=i,hg.StrictMode=r,hg.Suspense=d,hg.isAsyncMode=function(e){return x(e)||y(e)===l},hg.isConcurrentMode=x,hg.isContextConsumer=function(e){return y(e)===s},hg.isContextProvider=function(e){return y(e)===a},hg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},hg.isForwardRef=function(e){return y(e)===u},hg.isFragment=function(e){return y(e)===o},hg.isLazy=function(e){return y(e)===f},hg.isMemo=function(e){return y(e)===m},hg.isPortal=function(e){return y(e)===n},hg.isProfiler=function(e){return y(e)===i},hg.isStrictMode=function(e){return y(e)===r},hg.isSuspense=function(e){return y(e)===d},hg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},hg.typeOf=y,hg}():fg.exports=(gg||(gg=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,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=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 h=e.type;switch(h){case l:case c:case o:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case u:case f:case m:case a:return g;default:return p}}case n:return p}}}var x=l,w=c,C=s,I=a,N=t,A=u,k=o,E=f,S=m,P=n,T=i,G=r,V=d,R=!1;function B(e){return y(e)===c}Gg.AsyncMode=x,Gg.ConcurrentMode=w,Gg.ContextConsumer=C,Gg.ContextProvider=I,Gg.Element=N,Gg.ForwardRef=A,Gg.Fragment=k,Gg.Lazy=E,Gg.Memo=S,Gg.Portal=P,Gg.Profiler=T,Gg.StrictMode=G,Gg.Suspense=V,Gg.isAsyncMode=function(e){return R||(R=!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.")),B(e)||y(e)===l},Gg.isConcurrentMode=B,Gg.isContextConsumer=function(e){return y(e)===s},Gg.isContextProvider=function(e){return y(e)===a},Gg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Gg.isForwardRef=function(e){return y(e)===u},Gg.isFragment=function(e){return y(e)===o},Gg.isLazy=function(e){return y(e)===f},Gg.isMemo=function(e){return y(e)===m},Gg.isPortal=function(e){return y(e)===n},Gg.isProfiler=function(e){return y(e)===i},Gg.isStrictMode=function(e){return y(e)===r},Gg.isSuspense=function(e){return y(e)===d},Gg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},Gg.typeOf=y}()),Gg)),fg.exports}
|
|
20
|
-
/*
|
|
21
|
-
object-assign
|
|
22
|
-
(c) Sindre Sorhus
|
|
23
|
-
@license MIT
|
|
24
|
-
*/function Rg(){if(yg)return vg;yg=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return vg=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},vg}function Bg(){if(wg)return xg;wg=1;return xg="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Og(){return Ig?Cg:(Ig=1,Cg=Function.call.bind(Object.prototype.hasOwnProperty))}function Mg(){if(Ag)return Ng;Ag=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Bg(),n={},o=Og();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ng=r}function Lg(){if(Eg)return kg;Eg=1;var e=Vg(),t=Rg(),n=Bg(),o=Og(),r=Mg(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),kg=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:f(a),arrayOf:function(e){return f(function(t,o,r,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:f(function(e,t,n,o,r){var i=e[t];return s(i)?null:new m("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:f(function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new m("Invalid "+r+" `"+i+"` of type `"+v(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return f(function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||u;return new m("Invalid "+r+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+a+"`.")}var s;return null})},node:f(function(e,t,n,o,r){return b(e[t])?null:new m("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return f(function(t,r,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new m("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return f(function(t,n,o,r,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new m("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),a}return f(function(t,r,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,s,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return f(function(t,o,r,i,a){var s=t[o],l=v(s);if("object"!==l)return new m("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,a,c,y(u));var d=u(s,c,r,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return f(function(r,i,a,s,l){var c=r[i],u=v(c);if("object"!==u)return new m("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var f=e[p];if(o(e,p)&&"function"!=typeof f)return g(a,s,l,p,y(f));if(!f)return new m("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(c,p,a,s,l+"."+p,n);if(h)return h}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,s,c,d,p,f){if(c=c||u,p=p||s,f!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==a[s]?r?null===a[s]?new m("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function h(e){return f(function(t,n,o,r,i,a){var s=t[n];return v(s)!==e?new m("Invalid "+r+" `"+i+"` of type `"+y(s)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,o,r){return new m((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},kg}function Wg(){if(Pg)return Sg;Pg=1;var e=Bg();function t(){}function n(){}return n.resetWarningCache=t,Sg=function(){function o(t,n,o,r,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function Dg(){if(Tg)return mg.exports;if(Tg=1,"production"!==process.env.NODE_ENV){var e=Vg();mg.exports=Lg()(e.isElement,true)}else mg.exports=Wg()();return mg.exports}var Fg,Xg,jg={exports:{}},zg={},Zg={exports:{}};function Hg(){return Fg||(Fg=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
|
|
25
|
-
/*!
|
|
26
|
-
* Adapted from jQuery UI core
|
|
27
|
-
*
|
|
28
|
-
* http://jqueryui.com
|
|
29
|
-
*
|
|
30
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
31
|
-
* Released under the MIT license.
|
|
32
|
-
* http://jquery.org/license
|
|
33
|
-
*
|
|
34
|
-
* http://api.jqueryui.com/category/ui-core/
|
|
35
|
-
*/
|
|
36
|
-
var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Zg,Zg.exports)),Zg.exports}function Yg(){if(Xg)return zg;Xg=1,Object.defineProperty(zg,"__esModule",{value:!0}),zg.resetState=function(){o=[]},zg.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},zg.handleBlur=a,zg.handleFocus=s,zg.markForFocusLater=function(){o.push(document.activeElement)},zg.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},zg.popWithoutFocus=function(){o.length>0&&o.pop()},zg.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},zg.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=Hg(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return zg}var Jg,Ug={exports:{}};function $g(){return Jg||(Jg=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=Hg(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Ug,Ug.exports)),Ug.exports}var _g,Qg,Kg={};function qg(){if(Qg)return _g;Qg=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return _g=e}var eb,tb,nb,ob={},rb={exports:{}};function ib(){if(tb)return ob;tb=1,Object.defineProperty(ob,"__esModule",{value:!0}),ob.canUseDOM=ob.SafeNodeList=ob.SafeHTMLCollection=void 0;var e,t,n=(eb||(eb=1,e=rb,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),rb.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return ob.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},ob.SafeNodeList=o.canUseDOM?window.NodeList:{},ob.canUseDOM=o.canUseDOM,ob.default=r,ob}function ab(){if(nb)return Kg;nb=1,Object.defineProperty(Kg,"__esModule",{value:!0}),Kg.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Kg.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Kg.assertNodeList=i,Kg.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Kg.validateElement=a,Kg.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Kg.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Kg.documentNotReadyOrSSRTesting=function(){r=null};var e,t=qg(),n=(e=t)&&e.__esModule?e:{default:e},o=ib();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Kg}var sb,lb={};function cb(){if(sb)return lb;sb=1,Object.defineProperty(lb,"__esModule",{value:!0}),lb.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},lb.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return lb.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},lb.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},lb}var ub,db={};function pb(){if(ub)return db;ub=1,Object.defineProperty(db,"__esModule",{value:!0}),db.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},db.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return db.default=t,db}var mb,fb,hb={};function gb(){return fb||(fb=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(Dg()),l=h(Yg()),c=g($g()),u=h(ab()),d=h(cb()),p=ib(),m=g(p),f=g(pb());function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(mb)return hb;mb=1,Object.defineProperty(hb,"__esModule",{value:!0}),hb.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},hb.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=pb(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(m.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(m.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(jg,jg.exports)),jg.exports}function bb(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function vb(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function yb(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}bb.__suppressDeprecationWarning=!0,vb.__suppressDeprecationWarning=!0,yb.__suppressDeprecationWarning=!0;var xb,wb,Cb=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=bb,t.componentWillReceiveProps=vb),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=yb;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),Ib=Dp(Cb);function Nb(){if(xb)return pg;xb=1,Object.defineProperty(pg,"__esModule",{value:!0}),pg.bodyOpenClassName=pg.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(G),a=p(Dg()),s=p(gb()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(ab()),c=ib(),u=p(c),d=Ib;function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=pg.portalClassName="ReactModalPortal",h=pg.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,b=function(e){return document.createElement(e)},v=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function y(e){return e()}var x=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=m(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=y(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=v()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},m(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=b("div")),this.node.className=this.props.portalClassName,y(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:y(e.parentSelector),nextParent:y(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=b("div")),v()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return x.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},x.defaultProps={isOpen:!1,portalClassName:f,bodyOpenClassName:h,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(x),"production"!==process.env.NODE_ENV&&(x.setCreateHTMLElement=function(e){return b=e}),pg.default=x,pg}var Ab=Wp((wb||(wb=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=Nb(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(dg,dg.exports)),dg.exports));var kb=Wp(Dg()),Eb=!1,Sb="production"!==process.env.NODE_ENV?kb.oneOfType([kb.number,kb.shape({enter:kb.number,exit:kb.number,appear:kb.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&kb.oneOfType([kb.string,kb.shape({enter:kb.string,exit:kb.string,active:kb.string}),kb.shape({enter:kb.string,enterDone:kb.string,enterActive:kb.string,exit:kb.string,exitDone:kb.string,exitActive:kb.string})]);var Pb=r.createContext(null),Tb="unmounted",Gb="exited",Vb="entering",Rb="entered",Bb="exiting",Ob=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Gb,o.appearStatus=Vb):r=Rb:r=t.unmountOnExit||t.mountOnEnter?Tb:Gb,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kd(e,t)}(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Tb?{status:Gb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Vb&&n!==Rb&&(t=Vb):n!==Vb&&n!==Rb||(t=Bb)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Vb){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:G.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gb&&this.setState({status:Tb})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[G.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||Eb?this.safeSetState({status:Rb},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:Vb},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Rb},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:G.findDOMNode(this);t&&!Eb?(this.props.onExit(o),this.safeSetState({status:Bb},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Gb},function(){e.props.onExited(o)})})})):this.safeSetState({status:Gb},function(){e.props.onExited(o)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:G.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Tb)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=Cd(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(Pb.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Mb(){}Ob.contextType=Pb,Ob.propTypes="production"!==process.env.NODE_ENV?{nodeRef:kb.shape({current:"undefined"==typeof Element?kb.any:function(e,t,n,o,r,i){var a=e[t];return kb.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:kb.oneOfType([kb.func.isRequired,kb.element.isRequired]).isRequired,in:kb.bool,mountOnEnter:kb.bool,unmountOnExit:kb.bool,appear:kb.bool,enter:kb.bool,exit:kb.bool,timeout:function(e){var t=Sb;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:kb.func,onEnter:kb.func,onEntering:kb.func,onEntered:kb.func,onExit:kb.func,onExiting:kb.func,onExited:kb.func}:{},Ob.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Mb,onEntering:Mb,onEntered:Mb,onExit:Mb,onExiting:Mb,onExited:Mb},Ob.UNMOUNTED=Tb,Ob.EXITED=Gb,Ob.ENTERING=Vb,Ob.ENTERED=Rb,Ob.EXITING=Bb;const Lb=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:l,children:d,bodyStyle:p,className:m,bodyClassName:f,portalClassName:h,overlayClassName:g,closeButtonClassName:b,closeWrapperClassName:v,onRequestClose:y,parentSelector:x,hideScrollOnIsOpenFalse:w=!0,hideCloseButton:C=!1,...I})=>{!function(e,t){u(()=>{if("undefined"==typeof document)return;const n=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${n}px`:"unset",document.body.style.overflow=e?"hidden":t?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,t])}(l,w);const[N,A]=c(!1);u(()=>{A(l)},[l]);const k=a(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return x&&(e=document.querySelector(x)||document.body),e},[x]);if(!k)return null;if(!l)return null;const E=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),S=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Ob,{enter:!0,exit:!0,in:N,timeout:0,children:a=>t(Ab,{ariaHideApp:!1,isOpen:l,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>k,className:_e("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",E(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",S(r,a),m),portalClassName:_e("z-80",h),overlayClassName:_e("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...I,children:[!C&&e("div",{className:_e(v),children:e(mt,{className:_e("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(ot,{name:"close",size:24})})}),s?e("div",{className:_e("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:_e("p-5",f),style:p,"data-testid":I["data-testid"],"data-cy":I["data-cy"],children:d})]})})};Lb.displayName="Modal";const Wb=({fields:n,isInPopupContainer:o=!1,onClose:r,onContinueCheckout:i,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:p,mainHeading:m,description:f,cta:h}=n,[g,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!g&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==i||i()};return o?t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(rt,{className:"heading5 lg:heading3 text-center",children:m||"Welcome back. Let’s finish your order"}),f&<(qe(null==f?void 0:f.json),!1,"body1 my-4"),e(mt,{onClick:v,children:null!==(l=null==h?void 0:h.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(Lb,{size:"sm",isOpen:g,onRequestClose:()=>{null==r||r(),b(!1)},bodyClassName:"flex items-center justify-center",children:t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(rt,{className:"heading5 lg:heading3 text-center",children:m||"Welcome back. Let's finish your order"}),f&<(qe(null==f?void 0:f.json),!1,"body1 my-4"),e(mt,{onClick:v,children:null!==(d=null==h?void 0:h.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{bt as Accordion,ig as AddressInputBanner,sg as AnchoredBottomBanner,vt as BlogCard,tg as BlogGrid,ng as BreadcrumbNavigation,wt as Button,kt as Callout,Et as Cards,Mt as Carousel,Wb as CartRetentionBanner,pd as ComparisonTable,lg as CookieBanner,ud as CtaCallout,ag as DynamicTabs,cg as EmailInputBlock,dd as FindKinetic,Lt as FloatingBanner,Wt as Footer,jt as ImagePromoBar,ld as Modal,Ut as Navigation,Kt as PrimaryHero,Tt as ProductCard,og as SearchBlock,cd as ShapeBackgroundWrapper,At as SimpleCard,Gt as TestimonialCard,qt as Text,dt as label1BoldOptions,lt as renderContentfulRichText,ut as renderContentfulRichTextTable,qe as toDocument,ct as useContentfulRichText,pt as useProcessedChecklist};
|
|
11
|
+
*/function jp(){return Dp||(Dp=1,"production"===process.env.NODE_ENV?Wp.exports=function(){if(Rp)return Fp;Rp=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,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case i:case o:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Fp.AsyncMode=l,Fp.ConcurrentMode=c,Fp.ContextConsumer=s,Fp.ContextProvider=a,Fp.Element=t,Fp.ForwardRef=u,Fp.Fragment=i,Fp.Lazy=h,Fp.Memo=m,Fp.Portal=n,Fp.Profiler=o,Fp.StrictMode=r,Fp.Suspense=d,Fp.isAsyncMode=function(e){return x(e)||y(e)===l},Fp.isConcurrentMode=x,Fp.isContextConsumer=function(e){return y(e)===s},Fp.isContextProvider=function(e){return y(e)===a},Fp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Fp.isForwardRef=function(e){return y(e)===u},Fp.isFragment=function(e){return y(e)===i},Fp.isLazy=function(e){return y(e)===h},Fp.isMemo=function(e){return y(e)===m},Fp.isPortal=function(e){return y(e)===n},Fp.isProfiler=function(e){return y(e)===o},Fp.isStrictMode=function(e){return y(e)===r},Fp.isSuspense=function(e){return y(e)===d},Fp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===o||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Fp.typeOf=y,Fp}():Wp.exports=(Op||(Op=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,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case l:case c:case i:case o:case r:case d:return g;default:var f=g&&g.$$typeof;switch(f){case s:case u:case h:case m:case a:return f;default:return p}}case n:return p}}}var x=l,I=c,w=s,C=a,N=t,A=u,k=i,G=h,P=m,V=n,T=o,B=r,S=d,E=!1;function R(e){return y(e)===c}Hp.AsyncMode=x,Hp.ConcurrentMode=I,Hp.ContextConsumer=w,Hp.ContextProvider=C,Hp.Element=N,Hp.ForwardRef=A,Hp.Fragment=k,Hp.Lazy=G,Hp.Memo=P,Hp.Portal=V,Hp.Profiler=T,Hp.StrictMode=B,Hp.Suspense=S,Hp.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},Hp.isConcurrentMode=R,Hp.isContextConsumer=function(e){return y(e)===s},Hp.isContextProvider=function(e){return y(e)===a},Hp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Hp.isForwardRef=function(e){return y(e)===u},Hp.isFragment=function(e){return y(e)===i},Hp.isLazy=function(e){return y(e)===h},Hp.isMemo=function(e){return y(e)===m},Hp.isPortal=function(e){return y(e)===n},Hp.isProfiler=function(e){return y(e)===o},Hp.isStrictMode=function(e){return y(e)===r},Hp.isSuspense=function(e){return y(e)===d},Hp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===o||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Hp.typeOf=y}()),Hp)),Wp.exports}!function(){if(zp)return Zp;zp=1;var e=jp(),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},r={};function o(n){return e.isMemo(n)?i:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=i;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Zp=function e(t,i,r){if("string"!=typeof i){if(d){var p=u(i);p&&p!==d&&e(t,p,r)}var m=s(i);l&&(m=m.concat(l(i)));for(var h=o(t),g=o(i),f=0;f<m.length;++f){var b=m[f];if(!(n[b]||r&&r[b]||g&&g[b]||h&&h[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Yp="undefined"!=typeof document;var Jp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===Yp&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var Up={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 $p(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Qp=/[A-Z]|^ms/g,_p=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kp=function(e){return 45===e.charCodeAt(1)},qp=function(e){return null!=e&&"boolean"!=typeof e},em=$p(function(e){return Kp(e)?e:e.replace(Qp,"-$&").toLowerCase()}),tm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(_p,function(e,t,n){return im={name:t,styles:n,next:im},t})}return 1===Up[e]||Kp(e)||"number"!=typeof t||0===t?t:t+"px"};function nm(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 r=n;if(1===r.anim)return im={name:r.name,styles:r.styles,next:im},r.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)im={name:a.name,styles:a.styles,next:im},a=a.next;return o.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=nm(e,t,n[r])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;qp(s)&&(i+=em(o)+":"+tm(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)qp(a[l])&&(i+=em(o)+":"+tm(o,a[l])+";");else{var c=nm(e,t,a);switch(o){case"animation":case"animationName":i+=em(o)+":"+c+";";break;default:i+=o+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=im,l=n(e);return im=s,nm(e,t,l)}}return n}var im,rm=/label:\s*([^\s;{]+)\s*(;|$)/g;function om(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,r="";im=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,r+=nm(n,t,o)):r+=o[0];for(var a=1;a<e.length;a++){if(r+=nm(n,t,e[a]),i)r+=o[a]}rm.lastIndex=0;for(var s,l="";null!==(s=rm.exec(r));)l+="-"+s[1];var c=function(e){for(var t,n=0,i=0,r=e.length;r>=4;++i,r-=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(r){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)}(r)+l;return{name:c,styles:r,next:im}}var am="undefined"!=typeof document,sm=function(e){return e()},lm=!!i.useInsertionEffect&&i.useInsertionEffect,cm=am&&lm||sm,um="undefined"!=typeof document,dm=i.createContext("undefined"!=typeof HTMLElement?Lp({key:"css"}):null);dm.Provider;var pm=function(e){return o(function(t,n){var i=h(dm);return e(t,i,n)})};um||(pm=function(e){return function(t){var n=h(dm);return null===n?(n=Lp({key:"css"}),i.createElement(dm.Provider,{value:n},e(t,n))):e(t,n)}});var mm,hm,gm=i.createContext({}),fm={}.hasOwnProperty,bm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",vm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Jp(t,n,r);var o=cm(function(){return function(e,t,n){Jp(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",o=t;do{var a=e.insert(t===o?"."+i:"",o,e.sheet,!0);Yp||void 0===a||(r+=a),o=o.next}while(void 0!==o);if(!Yp&&0!==r.length)return r}}(t,n,r)});if(!um&&void 0!==o){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:o},a.nonce=t.sheet.nonce,a))}return null},ym=pm(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[bm],a=[r],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=om(a,void 0,i.useContext(gm));s+=t.key+"-"+l.name;var c={};for(var u in e)fm.call(e,u)&&"css"!==u&&u!==bm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(vm,{cache:t,serialized:l,isStringTag:"string"==typeof o}),i.createElement(o,c))}),xm=ym,Im=function(e,t){var n=arguments;if(null==t||!fm.call(t,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=xm,o[1]=function(e,t){var n={};for(var i in t)fm.call(t,i)&&(n[i]=t[i]);return n[bm]=e,n}(e,t);for(var a=2;a<r;a++)o[a]=n[a];return i.createElement.apply(null,o)};function wm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return om(t)}mm=Im||(Im={}),hm||(hm=mm.JSX||(mm.JSX={}));const Cm=Math.min,Nm=Math.max,Am=Math.round,km=Math.floor,Gm=e=>({x:e,y:e});function Pm(){return"undefined"!=typeof window}function Vm(e){return Sm(e)?(e.nodeName||"").toLowerCase():"#document"}function Tm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Bm(e){var t;return null==(t=(Sm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Sm(e){return!!Pm()&&(e instanceof Node||e instanceof Tm(e).Node)}function Em(e){return!!Pm()&&(e instanceof HTMLElement||e instanceof Tm(e).HTMLElement)}function Rm(e){return!(!Pm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Tm(e).ShadowRoot)}const Mm=new Set(["inline","contents"]);function Xm(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Wm(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!Mm.has(r)}const Lm=new Set(["html","body","#document"]);function Wm(e){return Tm(e).getComputedStyle(e)}function Fm(e){const t=function(e){if("html"===Vm(e))return e;const t=e.assignedSlot||e.parentNode||Rm(e)&&e.host||Bm(e);return Rm(t)?t.host:t}(e);return function(e){return Lm.has(Vm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Em(t)&&Xm(t)?t:Fm(t)}function Om(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Fm(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),a=Tm(r);if(o){const e=Dm(a);return t.concat(a,a.visualViewport||[],Xm(r)?r:[],e&&n?Om(e):[])}return t.concat(r,Om(r,[],n))}function Dm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zm(e){return t=e,Pm()&&(t instanceof Element||t instanceof Tm(t).Element)?e:e.contextElement;var t}function zm(e){const t=Zm(e);if(!Em(t))return Gm(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=function(e){const t=Wm(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Em(e),o=r?e.offsetWidth:n,a=r?e.offsetHeight:i,s=Am(n)!==o||Am(i)!==a;return s&&(n=o,i=a),{width:n,height:i,$:s}}(t);let a=(o?Am(n.width):n.width)/i,s=(o?Am(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Hm(e,t,n,i){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),o=Zm(e);let a=Gm(1);t&&(a=zm(e));const s=Gm(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(o){const e=i;let t=Tm(o),n=Dm(t);for(;n&&i&&e!==t;){const e=zm(n),i=n.getBoundingClientRect(),r=Wm(n),o=i.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=i.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Tm(n),n=Dm(t)}}return function(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function jm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ym(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=Zm(e),u=r||o?[...c?Om(c):[],...Om(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,i=null;const r=Bm(e);function o(){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),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-km(d)+"px "+-km(r.clientWidth-(u+p))+"px "+-km(r.clientHeight-(d+m))+"px "+-km(u)+"px",threshold:Nm(0,Cm(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||jm(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...h,root:r.ownerDocument})}catch(e){i=new IntersectionObserver(f,h)}i.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let g=l?Hm(e):null;return l&&function t(){const i=Hm(e);g&&!jm(g,i)&&n();g=i,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Jm="undefined"!=typeof document?m:function(){},Um=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],$m=function(){};function Qm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function _m(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[].concat(i);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Qm(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Km=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===hd(e)&&null!==e?[e]:[];var t},qm=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,vd({},wd(e,Um))},eh=function(e,t,n){var i=e.cx,r=e.getStyles,o=e.getClassNames,a=e.className;return{css:r(t,e),className:i(null!=n?n:{},o(t,e),a)}};function th(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function nh(e){return th(e)?window.pageYOffset:e.scrollTop}function ih(e,t){th(e)?window.scrollTo(0,t):e.scrollTop=t}function rh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:$m,r=nh(e),o=t-r,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+r;ih(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function oh(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?ih(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&ih(e,Math.max(t.offsetTop-r,0))}function ah(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var sh=!1,lh={get passive(){return sh=!0}},ch="undefined"!=typeof window?window:{};ch.addEventListener&&ch.removeEventListener&&(ch.addEventListener("p",$m,lh),ch.removeEventListener("p",$m,!1));var uh=sh;function dh(e){return null!=e}function ph(e,t,n){return e?t:n}var mh=["children","innerProps"],hh=["children","innerProps"];function gh(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=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 r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:th(u=l)?window.innerHeight:u.clientHeight,v=nh(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,w=b-g,C=I+v,N=d-v-g,A=m-b+v+y,k=v+g-x,G=160;switch(r){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return o&&rh(l,A,G),{placement:"bottom",maxHeight:t};if(!a&&N>=i||a&&w>=i)return o&&rh(l,A,G),{placement:"bottom",maxHeight:a?w-y:N-y};if("auto"===r||a){var P=t,V=a?I:C;return V>=i&&(P=Math.min(V-y-s,t)),{placement:"top",maxHeight:P}}if("bottom"===r)return o&&ih(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(C>=h&&!a)return o&&rh(l,k,G),{placement:"top",maxHeight:t};if(!a&&C>=i||a&&I>=i){var T=t;return(!a&&C>=i||a&&I>=i)&&(T=a?I-x:C-x),o&&rh(l,k,G),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var fh,bh=function(e){return"auto"===e?"bottom":e},vh=p(null),yh=function(e){var t=e.children,n=e.minMenuHeight,i=e.maxMenuHeight,r=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(vh)||{}).setPortalPlacement,d=l(null),p=Id(c(i),2),m=p[0],g=p[1],f=Id(c(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return Jm(function(){var e=d.current;if(e){var t="fixed"===o,s=gh({maxHeight:i,menuEl:e,minHeight:n,placement:r,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});g(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[i,r,o,a,n,u,y]),t({ref:d,placerProps:vd(vd({},e),{},{placement:b||bh(r),maxHeight:m})})},xh=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return Im("div",rc({},eh(e,"menu",{menu:!0}),{ref:n},i),t)},Ih=function(e,t){var n=e.theme,i=n.spacing.baseUnit,r=n.colors;return vd({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},wh=Ih,Ch=Ih,Nh=["size"],Ah=["innerProps","isRtl","size"];var kh,Gh,Ph="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Vh=function(e){var t=e.size,n=wd(e,Nh);return Im("svg",rc({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ph},n))},Th=function(e){return Im(Vh,rc({size:20},e),Im("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"}))},Bh=function(e){return Im(Vh,rc({size:20},e),Im("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"}))},Sh=function(e,t){var n=e.isFocused,i=e.theme,r=i.spacing.baseUnit,o=i.colors;return vd({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*r,":hover":{color:n?o.neutral80:o.neutral40}})},Eh=Sh,Rh=Sh,Mh=function(){var e=wm.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_"}}}(fh||(kh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Gh||(Gh=kh.slice(0)),fh=Object.freeze(Object.defineProperties(kh,{raw:{value:Object.freeze(Gh)}})))),Xh=function(e){var t=e.delay,n=e.offset;return Im("span",{css:wm({animation:"".concat(Mh," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Lh=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,r=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Im("div",rc({ref:r},eh(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Wh=["data"],Fh=function(e){var t=e.children,n=e.cx,i=e.getStyles,r=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Im("div",rc({},eh(e,"group",{group:!0}),s),Im(o,rc({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:r,cx:n}),l),Im("div",null,t))},Oh=["innerRef","isDisabled","isHidden","inputClassName"],Dh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Zh={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":vd({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Dh)},zh=function(e){return vd({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Dh)},Hh=function(e){var t=e.cx,n=e.value,i=qm(e),r=i.innerRef,o=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=wd(i,Oh);return Im("div",rc({},eh(e,"input",{"input-container":!0}),{"data-value":n||""}),Im("input",rc({className:t({input:!0},s),ref:r,style:zh(a),disabled:o},l)))},jh=function(e){var t=e.children,n=e.innerProps;return Im("div",n,t)};var Yh=function(e){var t=e.children,n=e.components,i=e.data,r=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Im(l,{data:i,innerProps:vd(vd({},eh(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:s},Im(c,{data:i,innerProps:vd({},eh(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Im(u,{data:i,innerProps:vd(vd({},eh(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Jh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Im("div",rc({},eh(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Im(Th,null))},Control:Lh,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Im("div",rc({},eh(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Im(Bh,null))},DownChevron:Bh,CrossIcon:Th,Group:Fh,GroupHeading:function(e){var t=qm(e);t.data;var n=wd(t,Wh);return Im("div",rc({},eh(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Im("div",rc({},eh(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Im("span",rc({},t,eh(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Hh,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,r=void 0===i?4:i,o=wd(e,Ah);return Im("div",rc({},eh(vd(vd({},o),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Im(Xh,{delay:0,offset:n}),Im(Xh,{delay:160,offset:!0}),Im(Xh,{delay:320,offset:!n}))},Menu:xh,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,r=e.isMulti;return Im("div",rc({},eh(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,i=e.controlElement,r=e.innerProps,o=e.menuPlacement,s=e.menuPosition,u=l(null),p=l(null),m=Id(c(bh(o)),2),h=m[0],g=m[1],f=a(function(){return{setPortalPlacement:g}},[]),b=Id(c(null),2),v=b[0],y=b[1],x=d(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"===s?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[i,s,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Jm(function(){x()},[x]);var I=d(function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&u.current&&(p.current=Ym(i,u.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);Jm(function(){I()},[I]);var w=d(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var C=Im("div",rc({ref:w},eh(vd(vd({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return Im(vh.Provider,{value:f},t?E(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,r=wd(e,hh);return Im("div",rc({},eh(vd(vd({},r),{},{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,r=wd(e,mh);return Im("div",rc({},eh(vd(vd({},r),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Yh,MultiValueContainer:jh,MultiValueLabel:jh,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Im("div",rc({role:"button"},n),t||Im(Th,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.innerRef,a=e.innerProps;return Im("div",rc({},eh(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":r}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Im("div",rc({},eh(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,r=e.isRtl;return Im("div",rc({},eh(e,"container",{"--is-disabled":i,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return Im("div",rc({},eh(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,r=e.hasValue;return Im("div",rc({},eh(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),n),t)}},Uh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function $h(e,t){return e===t||!(!Uh(e)||!Uh(t))}function Qh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!$h(e[n],t[n]))return!1;return!0}for(var _h="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)."}},Kh=function(e){return Im("span",rc({css:_h},e))},qh={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,r=e.context,o=e.isInitialFocus;switch(r){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 o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,i=void 0===n?"":n,r=e.labels,o=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(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(i,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,r=e.label,o=void 0===r?"":r,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},eg=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,r=e.focusableOptions,o=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,f=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],N=l["aria-live"],A=a(function(){return vd(vd({},qh),d||{})},[d]),k=a(function(){var e,n="";if(t&&A.onChange){var i=t.option,r=t.options,o=t.removedValue,a=t.removedValues,l=t.value,c=o||i||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,m=d?d.map(p):[],h=vd({isDisabled:c&&g(c,s),label:u,labels:m},t);n=A.onChange(h)}return n},[t,A,g,s,p]),G=a(function(){var e="",t=n||i,o=!!(n&&s&&s.includes(n));if(t&&A.onFocus){var a={focused:t,label:p(t),isDisabled:g(t,s),isSelected:o,options:r,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=A.onFocus(a)}return e},[n,i,p,g,A,r,s,u]),P=a(function(){var e="";if(b&&v.length&&!w&&A.onFilter){var t=y({count:r.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[r,m,b,A,v,y,w]),V="initial-input-focus"===(null==t?void 0:t.action),T=a(function(){var e="";if(A.guidance){var t=i?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:n&&g(n,s),isMulti:h,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[C,n,i,h,g,f,b,A,s,I,V]),B=Im(x,null,Im("span",{id:"aria-selection"},k),Im("span",{id:"aria-focused"},G),Im("span",{id:"aria-results"},P),Im("span",{id:"aria-guidance"},T));return Im(x,null,Im(Kh,{id:c},V&&B),Im(Kh,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!V&&B))},tg=[{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źẑżžẓẕƶȥɀⱬꝣ"}],ng=new RegExp("["+tg.map(function(e){return e.letters}).join("")+"]","g"),ig={},rg=0;rg<tg.length;rg++)for(var og=tg[rg],ag=0;ag<og.letters.length;ag++)ig[og.letters[ag]]=og.base;var sg=function(e){return e.replace(ng,function(e){return ig[e]})},lg=function(e,t){void 0===t&&(t=Qh);var n=null;function i(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return i.clear=function(){n=null},i}(sg),cg=function(e){return e.replace(/^\s+|\s+$/g,"")},ug=function(e){return"".concat(e.label," ").concat(e.value)},dg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=vd({ignoreCase:!0,ignoreAccents:!0,stringify:ug,trim:!0,matchFrom:"any"},e),r=i.ignoreCase,o=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?cg(n):n,u=s?cg(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=lg(c),u=sg(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},pg=["innerRef"];function mg(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 r=Object.entries(e).filter(function(e){var t=Id(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=Id(t,2),i=n[0],r=n[1];return e[i]=r,e},{})}(wd(e,pg),"onExited","in","enter","exit","appear");return Im("input",rc({ref:t},n,{css:wm({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var hg=["boxSizing","height","overflow","paddingRight","position"],gg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function fg(e){e.cancelable&&e.preventDefault()}function bg(e){e.stopPropagation()}function vg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function yg(){return"ontouchstart"in window||navigator.maxTouchPoints}var xg=!("undefined"==typeof window||!window.document||!window.document.createElement),Ig=0,wg={capture:!1,passive:!1};var Cg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ng="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Ag(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,r=e.onTopArrive,o=e.onTopLeave,a=l(!1),s=l(!1),c=l(0),p=l(null),m=d(function(e,t){if(null!==p.current){var l=p.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,m=p.current,h=t>0,g=u-d-c,f=!1;g>t&&a.current&&(i&&i(e),a.current=!1),h&&s.current&&(o&&o(e),s.current=!1),h&&t>g?(n&&!a.current&&n(e),m.scrollTop=u,f=!0,a.current=!0):!h&&-t>c&&(r&&!s.current&&r(e),m.scrollTop=0,f=!0,s.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,r,o]),h=d(function(e){m(e,e.deltaY)},[m]),g=d(function(e){c.current=e.changedTouches[0].clientY},[]),f=d(function(e){var t=c.current-e.changedTouches[0].clientY;m(e,t)},[m]),b=d(function(e){if(e){var t=!!uh&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,h]),v=d(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,h]);return u(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}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,r=l({}),o=l(null),a=d(function(e){if(xg){var t=document.body,n=t&&t.style;if(i&&hg.forEach(function(e){var t=n&&n[e];r.current[e]=t}),i&&Ig<1){var o=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(gg).forEach(function(e){var t=gg[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&yg()&&(t.addEventListener("touchmove",fg,wg),e&&(e.addEventListener("touchstart",vg,wg),e.addEventListener("touchmove",bg,wg))),Ig+=1}},[i]),s=d(function(e){if(xg){var t=document.body,n=t&&t.style;Ig=Math.max(Ig-1,0),i&&Ig<1&&hg.forEach(function(e){var t=r.current[e];n&&(n[e]=t)}),t&&yg()&&(t.removeEventListener("touchmove",fg,wg),e&&(e.removeEventListener("touchstart",vg,wg),e.removeEventListener("touchmove",bg,wg)))}},[i]);return u(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return Im(x,null,n&&Im("div",{onClick:Cg,css:Ng}),t(function(e){r(e),o(e)}))}var kg="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Gg=function(e){var t=e.name,n=e.onFocus;return Im("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:kg,value:"",onChange:function(){}})};function Pg(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 Vg(){return Pg(/^Mac/i)}function Tg(){return Pg(/^iPhone/i)||Pg(/^iPad/i)||Vg()&&navigator.maxTouchPoints>1}var Bg={clearIndicator:Rh,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,r=e.theme,o=r.colors,a=r.borderRadius;return vd({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:i?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},dropdownIndicator:Eh,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,r=n.spacing;return vd({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.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,r=i.spacing.baseUnit,o=i.colors;return vd({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,i=e.value,r=e.theme,o=r.spacing,a=r.colors;return vd(vd({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Zh),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,i=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return vd({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Ch,menu:function(e,t){var n,i=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,s=r.colors;return vd((fd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),fd(n,"position","absolute"),fd(n,"width","100%"),fd(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,i=e.theme.spacing.baseUnit;return vd({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,r=n.borderRadius,o=n.colors;return vd({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,i=n.borderRadius,r=n.colors,o=e.cropWithEllipsis;return vd({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,i=n.spacing,r=n.borderRadius,o=n.colors,a=e.isFocused;return vd({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:wh,option:function(e,t){var n=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return vd({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?s.primary:i?s.primary25:"transparent",color:n?s.neutral20:r?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,i=n.spacing,r=n.colors;return vd({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,i=e.theme,r=i.spacing,o=i.colors;return vd({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,i=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return vd({alignItems:"center",display:i&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Sg={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}},Eg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ah(),captureMenuScroll:!ah(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:dg(),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 Rg(e,t,n,i){return{type:"option",data:t,isDisabled:Zg(e,t,n),isSelected:zg(e,t,n),label:Og(e,t),value:Dg(e,t),index:i}}function Mg(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(n,i){return Rg(e,n,t,i)}).filter(function(t){return Wg(e,t)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=Rg(e,n,t,i);return Wg(e,o)?o:void 0}).filter(dh)}function Xg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Vd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Lg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Vd(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 Wg(e,t){var n=e.inputValue,i=void 0===n?"":n,r=t.data,o=t.isSelected,a=t.label,s=t.value;return(!jg(e)||!o)&&Hg(e,{label:a,value:s,data:r},i)}var Fg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Og=function(e,t){return e.getOptionLabel(t)},Dg=function(e,t){return e.getOptionValue(t)};function Zg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function zg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=Dg(e,t);return n.some(function(t){return Dg(e,t)===i})}function Hg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var jg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Yg=1,Jg=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&&Ad(e,t)}(t,w);var e=function(e){var t=Gd();return function(){var n,i=kd(e);if(t){var r=kd(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Pd(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,r=n.onChange,o=n.name;t.name=o,i.ariaOnChange(e,t),r(e,t)},i.setValue=function(e,t,n){var r=i.props,o=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(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,r=t.isMulti,o=t.name,a=i.state.selectValue,s=r&&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:o});r?i.setValue([].concat(Vd(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,r=i.getOptionValue(e),o=n.filter(function(e){return i.getOptionValue(e)!==r}),a=ph(t,o,o[0]||null);i.onChange(a,{action:"remove-value",removedValue:e}),i.focusInput()},i.clearValue=function(){var e=i.state.selectValue;i.onChange(ph(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],r=t.slice(0,t.length-1),o=ph(e,r,r[0]||null);n&&i.onChange(o,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return Fg(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return Lg(Mg(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 _m.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return Og(i.props,e)},i.getOptionValue=function(e){return Dg(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,r=Bg[e](t,n);r.boxSizing="border-box";var o=i.props.styles[e];return o?o(r,t):r},i.getClassNames=function(e,t){var n,r;return null===(n=(r=i.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},i.getElementId=function(e){return"".concat(i.state.instancePrefix,"-").concat(e)},i.getComponents=function(){return e=i.props,vd(vd({},Jh),e.components);var e},i.buildCategorizedOptions=function(){return Mg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Xg(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:vd({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,r=t.menuIsOpen;i.focusInput(),r?(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&&th(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 r=Math.abs(n.clientX-i.initialTouchX),o=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=r>5||o>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 jg(i.props)},i.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),i.focus()},i.onKeyDown=function(e){var t=i.props,n=t.isMulti,r=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=i.state,h=m.focusedOption,g=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(i.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;i.focusValue("previous");break;case"ArrowRight":if(!n||a)return;i.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)i.removeValue(g);else{if(!r)return;n?i.popValue():s&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&i.isOptionSelected(h,f))return;i.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(i.isComposing)return;i.selectOption(h);break}return;case"Escape":c?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:a}),i.onMenuClose()):s&&o&&i.clearValue();break;case" ":if(a)return;if(!c){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":c?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":c?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!c)return;i.focusOption("pageup");break;case"PageDown":if(!c)return;i.focusOption("pagedown");break;case"Home":if(!c)return;i.focusOption("first");break;case"End":if(!c)return;i.focusOption("last");break;default:return}e.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Yg),i.state.selectValue=Km(n.value),n.menuIsOpen&&i.state.selectValue.length){var r=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),a=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=r,i.state.focusedOption=o[a],i.state.focusedOptionId=Fg(r,o[a])}return i}return function(e,t,n){t&&Nd(e.prototype,t),n&&Nd(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&&oh(this.menuListRef,this.focusedOptionRef),(Vg()||Tg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&i&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(oh(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,r=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(i);i||(r=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(a=r+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 r=0,o=i.indexOf(n);n||(o=-1),"up"===e?r=o>0?o-1:i.length-1:"down"===e?r=(o+1)%i.length:"pageup"===e?(r=o-t)<0&&(r=0):"pagedown"===e?(r=o+t)>i.length-1&&(r=i.length-1):"last"===e&&(r=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Sg):vd(vd({},Sg),this.props.theme):Sg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,r=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Zg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return zg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Hg(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,r=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,g=r||this.getElementId("input"),f=vd(vd(vd({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,rc({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},f)):i.createElement(mg,rc({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:$m,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,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return h?null:i.createElement(l,rc({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,rc({},c,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return i.createElement(s,rc({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,rc({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.createElement(e,rc({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,rc({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,rc({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,g=m.inputValue,f=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,I=m.menuPlacement,w=m.menuPosition,C=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,k=m.noOptionsMessage,G=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!x)return null;var V,T=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===o,h=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,rc({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:f,label:l,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i.createElement(n,rc({},d,{key:l,data:o,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return T(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return T(t,"".concat(t.index))});else if(f){var B=b({inputValue:g});if(null===B)return null;V=i.createElement(l,d,B)}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:w,menuShouldScrollIntoView:A},R=i.createElement(yh,rc({},d,E),function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return i.createElement(o,rc({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(Ag,{captureEnabled:h,onTopArrive:G,onBottomArrive:P,lockEnabled:N},function(t){return i.createElement(a,rc({},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 C||"fixed"===w?i.createElement(s,rc({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:I,menuPosition:w}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return i.createElement(Gg,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){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,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(eg,rc({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.createElement(r,rc({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,rc({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(o,rc({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,rc({},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,r=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=Km(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return Xg(Mg(e,t))}(e,h):[],b=d?Lg(Mg(e,h),"".concat(l,"-option")):[],v=i?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:h,focusedOption:y,focusedOptionId:Fg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},I=o,w=a&&s;return a&&!w&&(I={value:ph(m,h,h[0]||null),options:h,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),vd(vd(vd({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:w})}}]),t}();Jg.defaultProps=Eg;var Ug=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,i=e.defaultMenuIsOpen,r=void 0!==i&&i,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,p=e.onInputChange,m=e.onMenuClose,h=e.onMenuOpen,g=e.value,f=wd(e,Cd),b=Id(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Id(c(void 0!==l?l:r),2),I=x[0],w=x[1],C=Id(c(void 0!==g?g:a),2),N=C[0],A=C[1],k=d(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),G=d(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),P=d(function(){"function"==typeof h&&h(),w(!0)},[h]),V=d(function(){"function"==typeof m&&m(),w(!1)},[m]),T=void 0!==s?s:v,B=void 0!==l?l:I,S=void 0!==g?g:N;return vd(vd({},f),{},{inputValue:T,menuIsOpen:B,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:P,value:S})}(e);return i.createElement(Jg,rc({ref:t},n))}),$g=Ug;const Qg=r.memo(({options:n,className:i,controlClassName:r,value:o,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...w})=>{const C=a(()=>dg(d),[d]),N=a(()=>({control:({isFocused:e})=>Qe("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},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Qe(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Qe("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:i})=>{var r;return Qe("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",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==i?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,h,n,p,v]);return"unstyled"===y?e($g,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:Qe("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}):t("div",{className:"w-full",children:[f&&e("label",{className:Qe("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e($g,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:Qe("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}),m&&e(rt,{className:"footnote mt-1 text-text-critical",children:m}),!m&&g&&e(rt,{className:"footnote mt-1 text-text-info",children:g})]})});function _g({paginatedArticles:n,totalArticles:i,currentPage:r,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=R(),c=M(),u=X();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(rt,{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(rt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(rt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(rt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(Qg,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var i,r,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(vt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(rt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(md,{currentPage:r,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Qg.displayName="Select";const Kg=n=>{const{links:i=[],textColor:r="dark",maxWidth:o=!0}=n,a="dark"===r?"text-white xl:text-text":"text-text xl:text-white";return i.length?e("nav",{"aria-label":"Breadcrumb",className:(o?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e("ol",{className:"relative right-0 z-10 mt-4 flex w-full flex-nowrap items-center gap-2 xl:absolute xl:flex-wrap",children:i.map((n,r)=>r===i.length-1?e("li",{className:"flex min-w-0 items-center",children:e(rt,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})},r):t("li",{className:"flex flex-none items-center",children:[e(It,{...n,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(it,{name:"chevron_right",className:`${a} `})]},r))})}):null},qg=n=>{const{anchorId:i="SearchBlock",title:r,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[g,f]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:i,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(rt,{as:a?"h1":"h2",className:Qe("heading2 md:heading1"),children:r}),o&&e(rt,{as:"div",className:Qe("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(rt,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(mt,{type:"submit",className:"ml-2 inline-flex",children:e(it,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Jt,{value:g,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},ef={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"}},tf=n=>{const{title:i,variant:r="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=ef[null==r?void 0:r.toLowerCase()]||ef.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Qe(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(rt,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:i}),d]})};function nf(i){var r,o,a;const[s,l]=c(0),[d,p]=c(""),{title:m,subTitle:h,tabs:g,tabsContent:f,navigationType:b=!0,mobileSidebarTabType:v=!0}=i;u(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{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 l(t),!0})},[g,d]);const y=(e,t)=>{l(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===(r=null==g?void 0:g.items)||void 0===r?void 0:r.map((t,n)=>e(It,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Qe("py-2 whitespace-nowrap",n===s?"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(ic,{children:e(Ql.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),I=e(n,{children:null===(o=null==g?void 0:g.items)||void 0===o?void 0:o.map((n,i)=>t("div",{className:"py-5",children:[t(It,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:Qe("w-full flex justify-between items-center px-4 py-5",i===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(it,{name:i===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(ht,{open:i===s,children:e("div",{className:Qe("px-4 py-4"),children:null==f?void 0:f[i]})})]},i))}),w=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(It,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Qe("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"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(ic,{children:e(Ql.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[m||h?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[m?e(rt,{className:"heading2 px-5 md:heading1 md:text-center",children:m}):null,h?e(rt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:h}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:w})]})}const rf=({ctaSuffixText:n,backgroundColor:i,iconName:r,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===i||!i?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${i?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[i]:"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(V,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e(it,{name:r,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function of({content:n}){let i=3;const[r,o]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=N.get(e);return t?C.decode(t):null}("cookieBannerClosed");o("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,i;return r?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(i=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===i||i.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[r]),u(()=>{if(!r)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let i;const o=()=>{clearTimeout(i),i=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(i),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[r,a]);a&&(i=14);return r?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*i}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(It,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),r=C.encode(i);N.set(e,r,n)})("cookieBannerClosed",!0,{expires:e})},children:e(it,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const af=n=>{const{anchorId:i="email-input",title:r,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:p,onSubmit:m}=n||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},g=h[d]||h.green,f=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,w]=c("");return t("section",{id:i,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${g} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[r&&e("h1",{className:`text-heading1 font-black ${f}`,children:r}),o&&e("h2",{className:`text-heading1 font-black ${f}`,children:o}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&w(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(It,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(m({email:b}),v(""),x(!0),w("")):w("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),p&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:p})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},sf=({fields:n,isInPopupContainer:i=!1,onClose:r,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:p,mainHeading:m,description:h,cta:g}=n,[f,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!f&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==o||o()};return i?t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(rt,{className:"heading5 lg:heading3 text-center",children:m||"Welcome back. Let’s finish your order"}),h&<(qe(null==h?void 0:h.json),!1,"body1 my-4"),e(It,{onClick:v,buttonLabel:null!==(l=null==g?void 0:g.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(ld,{size:"sm",isOpen:f,onRequestClose:()=>{null==r||r(),b(!1)},bodyClassName:"flex items-center justify-center",children:t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(rt,{className:"heading5 lg:heading3 text-center",children:m||"Welcome back. Let's finish your order"}),h&<(qe(null==h?void 0:h.json),!1,"body1 my-4"),e(It,{onClick:v,buttonLabel:null!==(d=null==g?void 0:g.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{bt as Accordion,tf as AddressInputBanner,rf as AnchoredBottomBanner,vt as BlogCard,_g as BlogGrid,Kg as BreadcrumbNavigation,It as Button,kt as Callout,Gt as Cards,Xt as Carousel,sf as CartRetentionBanner,pd as ComparisonTable,of as CookieBanner,ud as CtaCallout,nf as DynamicTabs,af as EmailInputBlock,dd as FindKinetic,Lt as FloatingBanner,Wt as Footer,Zt as ImagePromoBar,ld as Modal,Ut as Navigation,Kt as PrimaryHero,Tt as ProductCard,qg as SearchBlock,cd as ShapeBackgroundWrapper,At as SimpleCard,Bt as TestimonialCard,qt as Text,dt as label1BoldOptions,lt as renderContentfulRichText,ut as renderContentfulRichTextTable,qe as toDocument,ct as useContentfulRichText,pt as useProcessedChecklist};
|
|
37
12
|
//# sourceMappingURL=index.esm.js.map
|